Page MenuHomeVyOS Platform
Feed All Stories

May 18 2020

fetzerms added a comment to T2474: Building instructions with Docker need a little more detail.

Isn't the image published on DockerHub supposed to be equal to building it manually?

May 18 2020, 8:19 PM · Restricted Project
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.
In T421#63999, @Azayaka wrote:

@c-po What did you want? Configuration of DHCPv6 PD in vyos?? Didn't you update the document? How do you configure it?? I don't quite understand!

Please...This is just embarrassing. This comment might be off-topic, but it looks like our fellow Chinese user @jack9603301 need suggestions on how to use English in a proper manner. (Your current wording style can easily offend people.)
Here are my wording suggestions.

  • Avoid double or tripple question marks.
  • Avoid rhetorical questions.
  • Use "Sorry", "Please", "Could you...", etc. for questions and requests.
  • Avoid representing others if you are not entitled. For example, when *you* want some features, do not say "VyOS fans in China" want those features.

I can translated my points to Chinese if it can be better understood.

雖然你可能沒有意識到,但是你的英語行文很不禮貌,容易冒犯他人。以下是我的幾點建議:

  • 避免使用多個問號。
  • 避免反問他人。在中文語境下,反問也可以被認為是想吵架。
  • 多用 "Sorry", "Please", "Could you..." 這種緩和語氣、表示禮貌的詞彙,特別是在提問或請求他人的時候。
  • 不要輕易“代表”他人。
May 18 2020, 8:16 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
MrLenin added a comment to T421: Add Pv6 prefix delegation support.

My take at the client config following the config I had:

May 18 2020, 7:16 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
MrLenin added a comment to T421: Add Pv6 prefix delegation support.

I had made a custom image with wide-dhcpv6-client a week ago or so, this is the client config I was running for NA and PD, WAN is eth0 and gets assigned the NA address with the prefix assigned to eth1 with the address <prefix/sla-id>::1 (if ifid is not set it will assign EUI-64 address). The lifetime value was pulled from an example config and I left it as-is while testing.

May 18 2020, 6:48 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Azayaka added a comment to T421: Add Pv6 prefix delegation support.

@c-po What did you want? Configuration of DHCPv6 PD in vyos?? Didn't you update the document? How do you configure it?? I don't quite understand!

May 18 2020, 6:32 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

@jack9603301 looking for a „service dhcpv6-server“ configuration which hands out the prefixes via ethernet so I can implement the client side.

May 18 2020, 6:29 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
GitHub <noreply@github.com> committed rVYOSONEX6e77c5b73eb0: Merge pull request #412 from thomas-mangin/T2475 (authored by c-po).
May 18 2020, 6:25 PM
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

@fetzerms Have you seen this problem with the fix mentioned above ? If not, I will close.

May 18 2020, 5:06 PM
jestabro added a comment to T2474: Building instructions with Docker need a little more detail.

You want to fetch the repo before building; cf. the 'Generating the container section':

May 18 2020, 5:02 PM · Restricted Project
thomas-mangin added a comment to T2475: linting.

https://github.com/vyos/vyos-1x/pull/412

May 18 2020, 4:42 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2475: linting.

@runar just created this as I can not create a dev env without a phabricator entry. answer in 20 minutes :-)

May 18 2020, 4:33 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin claimed T2475: linting.
May 18 2020, 4:33 PM · VyOS 1.3 Equuleus (1.3.0)
runar added a comment to T2475: linting.

What repository, and what errors? :)

May 18 2020, 4:31 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin created T2475: linting.
May 18 2020, 4:28 PM · VyOS 1.3 Equuleus (1.3.0)
craterman added a comment to T915: MPLS Support.

I found abnormal behavior during label allocation. As I wrote above VyOS generate label for all prefixes presented in routing table. But when we have for example 5 connected routes (four /24 and one /32) on Egress LSR and we start mpls VyOS allocates labels for all routes and neighbor (downstream LSR) receives label=3 (implicit null). But if we have 2 connected routes (one /24 and one /32) then we start mpls, Egress LSR allocates labels for all routes (two in this case), but if we add on Egress LSR one, two or more new connected routes VyOS does not allocate label=3 for this routes and does not send Label Mapping Message to its neighbors for FECs related to new added routes. The software version is 1.3-rolling-202005160117

May 18 2020, 4:10 PM · VyOS 1.3 Equuleus (1.3.0-epa1), VyOS 1.4 Sagitta
fetzerms updated the task description for T2474: Building instructions with Docker need a little more detail.
May 18 2020, 3:39 PM · Restricted Project
fetzerms created T2474: Building instructions with Docker need a little more detail.
May 18 2020, 3:38 PM · Restricted Project
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@c-po What did you want? Configuration of DHCPv6 PD in vyos?? Didn't you update the document? How do you configure it?? I don't quite understand!

May 18 2020, 3:30 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

I know that this does not cover all use cases but it is a PoC working for some users (not all of course). Next step would be adding this to ethernet based interfaces.

May 18 2020, 3:24 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Viacheslav claimed T2473: Xml for EIGRP [conf_mode].
May 18 2020, 3:06 PM · VyOS 1.4 Sagitta
Viacheslav created T2473: Xml for EIGRP [conf_mode].
May 18 2020, 3:06 PM · VyOS 1.4 Sagitta
Viacheslav created T2472: Ability to configure EIGRP protocol.
May 18 2020, 3:02 PM · VyOS Rolling
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

Great, dhcpv6-pd is finally coming true!

May 18 2020, 11:14 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
Azayaka added a comment to T421: Add Pv6 prefix delegation support.

Thanks @c-po for the commit! I also want to point out the same thing as @tbr has mentioned... Some ISPs do not use PPPoE but plain ethernet w/ DHCP & DHCPv6-PD for address assignment, Google Fiber for example.

May 18 2020, 9:12 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
tbr added a comment to T421: Add Pv6 prefix delegation support.

Hi, first of all, it's great that at least someone created the first work to add PD support. But for me this first commit is not usable, as my ISP provides internet via a plain ethernet interface. Moreover, I'm using VLANs on my internal network. So, best case, I will connect vyos directly to the modem on an ethernet interface, but my ISP does not use pppoe at all.

May 18 2020, 8:41 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

Documentationnupdated here https://docs.vyos.io/en/latest/interfaces/pppoe.html#ipv6

May 18 2020, 6:07 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.
In T421#63882, @Azayaka wrote:

@tbr Looking at this post, I don't think EdgeRouter has the capability...

May 18 2020, 5:44 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

May 17 2020

jestabro closed T2409: At boot, effective config should not be equal to current config as Resolved.
May 17 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX1e4dd009d711: config: T2409: effective config should be empty at boot initialization.
May 17 2020, 7:05 PM
jestabro committed rVYOSONEX936e1029ab53: config: return empty dict if configuration under path is empty.
May 17 2020, 7:05 PM
thomas-mangin added a comment to T2467: Restarting flow accounting fails with systemd error.

The run code could check the command name against a list of known "need sudo" commands and prepend it automagically so the command looks like normal but is auto-sudo'ed

May 17 2020, 6:59 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T421: Add Pv6 prefix delegation support.

Enjoy testing

May 17 2020, 6:43 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po changed the status of T421: Add Pv6 prefix delegation support from Open to Needs testing.
May 17 2020, 6:43 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEXdd6d46f7a60f: Merge branch 'ipv6-pd' of github.com:c-po/vyos-1x into current.
May 17 2020, 6:42 PM
c-po committed rVYOSONEX8f1fd7ce8e92: pppoe: dhcpv6-pd: T421: change system type to forking.
May 17 2020, 6:42 PM
c-po committed rVYOSONEX2d47eb1eba4f: pppoe: dhcpv6-pd: T421: stop service when config is removed.
May 17 2020, 6:42 PM
c-po committed rVYOSONEXfaa85accc99d: pppoe: dhcpv6-pd: T421: initial support.
May 17 2020, 6:42 PM
c-po committed rVYOSONEX9bcdb58c13b7: pppoe: dhcpv6-pd: T421: start/stop delegation with interface status.
May 17 2020, 6:42 PM
c-po committed rVYOSONEX46d92ac80bda: dhcpv6-pd: T421: migrate from ISC dhclient to wide-dhcpv6-client.
May 17 2020, 6:42 PM
c-po added a comment to T421: Add Pv6 prefix delegation support.

From the Git commit:

May 17 2020, 6:30 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T2471: PPPoE server: always add AdvAutonomousFlag when IPv6 is configured.
set service pppoe-server authentication local-users username test password 'test'
set service pppoe-server authentication mode 'local'
set service pppoe-server client-ip-pool start '192.168.0.1'
set service pppoe-server client-ip-pool stop '192.168.0.10'
set service pppoe-server client-ipv6-pool delegate '2001:db8:8003::/48' delegation-prefix '56'
set service pppoe-server client-ipv6-pool prefix '2001:db8:8002::/48' mask '64'
set service pppoe-server name-server '8.8.8.8'
set service pppoe-server name-server '2001:4860:4860::8888'
set service pppoe-server interface 'eth1'
set service pppoe-server local-ip '10.100.100.1'
May 17 2020, 4:51 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXca2f7e5e62ef: pppoe-server: T2471: add SLAAC support.
May 17 2020, 4:48 PM
c-po closed T2471: PPPoE server: always add AdvAutonomousFlag when IPv6 is configured as Resolved.
May 17 2020, 4:46 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2471: PPPoE server: always add AdvAutonomousFlag when IPv6 is configured.
May 17 2020, 4:45 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX843c789a0e92: xml: split dhcp, dhcpv6 to individual files.
May 17 2020, 2:21 PM
c-po committed rVYOSONEX2411cf35b3cf: frr: combine all templates in frr directory.
May 17 2020, 2:00 PM
jjakob added a comment to T2463: DHCP-received nameserver not added to vyos-hostsd.

After a new reboot, the DHCP nameservers were correctly added to resolv.conf and powerdns recursor.conf. I had system name-server and service dns forwarding name-server set to a static IP. But after deleting these two static nameserver nodes, the DHCP nameservers are missing from both resolv.conf and recursor.conf.

May 17 2020, 1:48 PM · VyOS 1.3 Equuleus (1.3.0)
craterman added a comment to T915: MPLS Support.

Hi, everyone.
As I understood from my lab VyOS generate label in cisco fashion (for all presented prefixes in routing table). And it is good as for me. But I think it is necessary to be able to filter the FEC for which labels will be generated (for example only for /32 routes, or only for particular routes).

May 17 2020, 11:30 AM · VyOS 1.3 Equuleus (1.3.0-epa1), VyOS 1.4 Sagitta
c-po committed rVYOSONEX7ba82de32e25: powerdns: T2470: adjust systemd RuntimeDirectory.
May 17 2020, 9:50 AM
c-po committed rVYOSONEX8117270c122c: powerdns: T2470: adjust config file permissions for recursor 4.3.
May 17 2020, 9:04 AM
Azayaka added a comment to T421: Add Pv6 prefix delegation support.

@tbr Looking at this post, I don't think EdgeRouter has the capability...

May 17 2020, 4:18 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

May 16 2020

tbr added a comment to T421: Add Pv6 prefix delegation support.

@Azayaka If I'm correct, the EdgeOs can perfectly do multiple PD at the same time (at least request the prefixes), even on one interface.

May 16 2020, 9:06 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEX7d01f7fec95f: nat: nptv6: T2198: add XML/Python skeleton.
May 16 2020, 8:53 PM
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.
In T421#63876, @Azayaka wrote:

Damn, I am so embarrassed by @jack9603301. From the avatar to the naive, rude comments... looks like a troll XD.

Another problem of the EdgeRouter-style configuration is that only one PD is possible at a time. Cisco IOS uses the concept of dhcp pool and pd name-tag to deal with multiple PDs (a possible scenario: 2 PDs from 2 different ISPs for redundancy). Not sure if it can be supported by dhclient though.

I prefer the IOS style, and here is an example.

ipv6 dhcp pool POOL-v6
 dns-server 2001:4860:4860::8888

interface GigabitEthernet0/0/0
 ipv6 address autoconfig default
 ipv6 enable
 ipv6 nd ra suppress all
 ipv6 dhcp client pd ISP-name
 ipv6 virtual-reassembly in

interface Vlan1
 ipv6 enable
 ipv6 address ISP-name ::1/64
 ipv6 nd other-config-flag
 ipv6 nd ra interval 180
 ipv6 dhcp server POOL-v6 rapid-commit
May 16 2020, 6:09 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Azayaka added a comment to T421: Add Pv6 prefix delegation support.

Damn, I am so embarrassed by @jack9603301. From the avatar to the naive, rude comments... looks like a troll XD.

May 16 2020, 5:27 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po closed T2470: Update to PowerDNS recursor 4.3 as Resolved.
May 16 2020, 4:50 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2469: Update Linux Kernel to v4.19.123 as Resolved.
May 16 2020, 4:48 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2470: Update to PowerDNS recursor 4.3.
May 16 2020, 4:47 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2469: Update Linux Kernel to v4.19.123.
May 16 2020, 4:44 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2198: Rewrite NAT in new XML/Python style as Resolved.
May 16 2020, 4:39 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX9e305400f281: Merge branch 'nat-nftables' of github.com:c-po/vyos-1x into current.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXd8891acde69b: Debian: add required dependency on systemd.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX2ba8c8499f86: nat: T2198: remove "tcp_udp" from "show nat dest stat"x.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX2a0d1e77e650: nat: T2198: add common ip-protocol validator.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX6f349ee3b4d3: nat: T2198: use Jinja2 macro for common ruleset for SNAT and DNAT.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXd7662ecfff55: nat: T2198: restructure DNAT template part for less duplicated code.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXcf6dcb61e1f1: nat: T2198: add support for SNAT based on source addresses.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXe89f19c5bb0f: nat: T2198: set default protocol to all to be backwards compatible.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX8062afa8a5be: nat: T2198: sync generated SNAT rules with VyOS 1.2.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX9cec8471dae5: nat: T2198: sync generated DNAT rules with VyOS 1.2.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXf75db67c495c: nat: T2198: do not run DNAT rule if rule is disabled.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXb2ead2d037b8: nat: T2198: verify translation address for SNAT and DNAT.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX682bfd2c869a: nat: T2198: restructure DNAT template.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX5abe2db17a6e: nat: T2198: extend verify() for destination ports.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXd0b24799d900: nat: T2198: migrate "log enable" node to only "log".
May 16 2020, 4:37 PM
c-po committed rVYOSONEX756e36da2cf4: nat: T2198: add protocol completion helper and regex constraint.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXf233a9e4073f: nat: T2198: migrate "show nat" commands to XML and Python.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX1e7d01e5b5a1: nat: T2198: add some basic verify() rules.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXac4f99ac3b17: nat: T2198: split nat-address-port include into individual files.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX1330898ed095: nat: T2198: add ipv4-{address,prefix,rage}-exclude validators.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX728e1c6073cb: nat: T2198: add new ipv4-range validator.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXfda762065c03: nat: T2198: implement deletion of NAT subsystem.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXcc2ad34ce61e: nat: T2198: make use of jmespath when walking nftables JSON output.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX1c6ae6f7e7cf: nat: T2198: automatically determine handler numbers.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXa927192af240: nat: T2198: move from iptables to nftables.
May 16 2020, 4:37 PM
c-po committed rVYOSONEXa5650abb6d57: nat: T2198: migrate to common template for source/destination NAT.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX7caf1568bbb6: nat: T2198: destination nat template for iptables-restore.
May 16 2020, 4:37 PM
c-po committed rVYOSONEX40e8938667b0: nat: T2198: initial XML and Python representation.
May 16 2020, 4:37 PM
jjakob added a comment to T2463: DHCP-received nameserver not added to vyos-hostsd.

After 2 release dhcp interface eth1 and one renew dhcp interface eth1, I now have 2 dhclients running, so there is a bug in the op-mode release/renew code.

4079 ?        Ss     0:00 /sbin/dhclient -4 -nw -cf /var/lib/dhcp/dhclient_eth1.conf -pf /var/lib/dhcp/dhclient_eth1.pid -lf /var/lib/dhcp/dhclient_eth1.leases eth1
4305 ?        Ss     0:00 /sbin/dhclient -q -nw -cf /var/lib/dhcp/dhclient_eth1.conf -pf /var/lib/dhcp/dhclient_eth1.pid -lf /var/lib/dhcp/dhclient_eth1.leases eth1
May 16 2020, 8:48 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2468: Passwords with special characters fail in commit-archive.

Passing passwords via command line arguments is very bad practice. Curl has a -u option, if passed just the user it prompts for the password on stdin. This can simply be passed via shell redirection.

May 16 2020, 8:21 AM · VyOS Rolling, Bugs
trae32566 created T2468: Passwords with special characters fail in commit-archive.
May 16 2020, 8:05 AM · VyOS Rolling, Bugs
kroy added a comment to T2467: Restarting flow accounting fails with systemd error.

@dmbaturin Maybe just anything that contains systemctl? Surely 100% of those will need it. But that also assumes anything called via /usr/lib/python3/dist-packages/vyos/util.py

May 16 2020, 5:10 AM · VyOS 1.3 Equuleus (1.3.0)
dmbaturin added a comment to T2467: Restarting flow accounting fails with systemd error.

Sometimes I wonder if we should just silently wrap every op mode command in sudo, at least those in the families other than show. It's hard to name a command that doesn't need sudo, and everyone (myself included!) has forgotten to add it at least once.

May 16 2020, 4:58 AM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX02ee6b7bf1bc: Merge pull request #410 from kroy-the-rabbit/patch-3 (authored by dmbaturin).
May 16 2020, 4:55 AM
kroy changed the status of T2467: Restarting flow accounting fails with systemd error from Open to Needs testing.

PR510 should add the necessary sudo

May 16 2020, 4:52 AM · VyOS 1.3 Equuleus (1.3.0)
trae32566 created T2467: Restarting flow accounting fails with systemd error.
May 16 2020, 4:39 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2466: live-build encounters apt dependency problem when building with local packages as Resolved.
May 16 2020, 12:25 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2466: live-build encounters apt dependency problem when building with local packages from Open to In progress.
May 16 2020, 12:05 AM · VyOS 1.3 Equuleus (1.3.0)

May 15 2020

absolutesantaja created T2465: DHCP isn't updating host file when hostfile-update enabled..
May 15 2020, 10:33 PM
jjakob updated the task description for T2464: DNS bugs (parent task).
May 15 2020, 9:37 PM · VyOS Rolling