Page MenuHomeVyOS Platform

VyConfProject
ActivePublic

Details

Description

Software appliance configuration framework

Recent Activity

Feb 23 2021

basalblas renamed T3340: Add dhcp-helper package to replace ISC DHCP Relay from Add dhcp-helper package to support DHCP Relay over GRE tunnel to Add dhcp-helper package to replace ISC DHCP Relay.
Feb 23 2021, 11:23 PM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf

Feb 22 2021

HON added a comment to T3340: Add dhcp-helper package to replace ISC DHCP Relay.

The ISC DHCP relay in VyOS is completely broken for my (non-GRE) use case, I would really like to see it get tossed out for something that works. This might not be the best place to describe my relay problems, but I might as well (skip this paragraph it you're not interested). My setup basically consists of the (ISC) DHCP server host connected to the VyOS router (running on a Dell R320), directly connected to a Cisco ASR920 router. Both VyOS and the ASR are directly connected to user VLANs (VyOS for firewalled/NATed zones and ASR for high-traffic users) and have DHCP relays set up targeting the DHCP server, such that the relayed messages from the ASR passes through the VyOS router towards the DHCP server and should get routed normally (i.e. ignored by the VyOS relay). The VyOS DHCP relay doesn't like this and starts spamming the DHCP messages up to ten or more times, causing wired clients to have to wait maybe ten seconds before getting an IPv4 address and wireless clients to just time out and abort the connection. I can provide the relay logs (mainly screenshots unless i dig up the disk I used) and VyOS config if anyone wants them, but as they have sensitive addresses, I don't intend to post them publicly. EDIT: I should mention that I didn't notice any problems while testing it with only myself, it was when 200 people started connecting the problems started occurring. And the DHCP server VM was not showing any noticable load.

Feb 22 2021, 11:13 AM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf
Viacheslav changed Difficulty level from unknown to normal on T3340: Add dhcp-helper package to replace ISC DHCP Relay.
Feb 22 2021, 9:00 AM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf

Feb 18 2021

c-po added a comment to T3340: Add dhcp-helper package to replace ISC DHCP Relay.

If this package supports all existing setups and the GRE usecase I see no reason to not replace it. @basalblas PR is happily accepted.

Feb 18 2021, 7:36 PM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf
basalblas added a project to T3340: Add dhcp-helper package to replace ISC DHCP Relay: VyOS 1.3 Equuleus.
Feb 18 2021, 3:42 PM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf
basalblas added a comment to T3340: Add dhcp-helper package to replace ISC DHCP Relay.

Keep in mind you cannot run dhcp-helper and ISC DHCP server at the same time on a single router. The Vyos CLI should not allow this.

Feb 18 2021, 3:35 PM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf
basalblas created T3340: Add dhcp-helper package to replace ISC DHCP Relay.
Feb 18 2021, 1:40 PM · VyOS 1.3 Equuleus, vyatta-cfg-dhcp-relay, VyConf

Jan 27 2021

dmbaturin closed T387: Prevent command injection in VyConf external validator execution as Resolved.
Jan 27 2021, 6:39 PM · VyConf

Jan 18 2021

c-po created T3231: "system option ctrl-alt-delete" has no effect.
Jan 18 2021, 3:55 PM · VyOS 1.3 Equuleus

Jan 6 2021

qiuchengxuan closed T3187: Add support to pdns-recursor dont-throttle-netmasks configuration as Invalid.
Jan 6 2021, 6:42 AM · VyConf
qiuchengxuan created T3187: Add support to pdns-recursor dont-throttle-netmasks configuration.
Jan 6 2021, 2:41 AM · VyConf

Nov 28 2020

Viacheslav closed T2539: Issues with parsing ip range for source nat translation address as Resolved.

Fixed

set nat source rule 1000 outbound-interface 'eth1'
set nat source rule 1000 source address '203.0.113.1-203.0.113.4'
set nat source rule 1000 translation address '10.0.0.1-10.0.0.4'
vyos@r5# commit
[ nat ]
Warning: IP address 10.0.0.1 does not exist on the system!
Warning: IP address 10.0.0.4 does not exist on the system!
Nov 28 2020, 4:37 PM · VyConf

Jun 5 2020

BcTpe4HbIu removed a watcher for VyConf: BcTpe4HbIu.
Jun 5 2020, 5:40 PM
jjakob merged task T2552: [BUG] commit-archive domain recognition error into T2468: Passwords with Special Characters in Commit Archive Fai.
Jun 5 2020, 1:17 PM · VyConf
jjakob added a comment to T2552: [BUG] commit-archive domain recognition error.

duplicate of T2468

Jun 5 2020, 1:17 PM · VyConf
ccieliu renamed T2552: [BUG] commit-archive domain recognition error from [BUG] report to [BUG] commit-archive domain recognition error.
Jun 5 2020, 1:17 PM · VyConf
ccieliu created T2552: [BUG] commit-archive domain recognition error.
Jun 5 2020, 1:15 PM · VyConf

Jun 2 2020

thomas-mangin added a comment to T2539: Issues with parsing ip range for source nat translation address.

Thank you for reporting this issue, it looks like that parser allows ranges of IP address (IP hyphen IP) but the parser does not. You could get around using CIDR notation but this indeed need looking into.

Jun 2 2020, 7:44 PM · VyConf
yurij185 created T2539: Issues with parsing ip range for source nat translation address.
Jun 2 2020, 6:56 AM · VyConf

Jan 3 2020

MapleWang added a comment to T1885: vyos hostname configuration failure and it triggers vyos-router restarted.

By the way, may I say there are several bugs of stop function in vyos-router?

Jan 3 2020, 10:30 AM · VyConf
MapleWang added a comment to T1885: vyos hostname configuration failure and it triggers vyos-router restarted.

Why not use WantedBy instead of RequiredBy in vyos-hostsd.service like:

Jan 3 2020, 10:16 AM · VyConf

Jan 2 2020

MapleWang added a comment to T1885: vyos hostname configuration failure and it triggers vyos-router restarted.

My original thoughts was quite straight forward, modify /usr/libexec/vyos/init/vyos-router as below:

Jan 2 2020, 5:22 AM · VyConf

Dec 31 2019

zsdc added a comment to T1885: vyos hostname configuration failure and it triggers vyos-router restarted.

Hello, @MapleWang!
Unfortunately, I cannot find any other reliable way to configure vyos-hostsd service to be running before the vyos-router. In fact, vyos-hostsd is really necessary to be running for proper work of the VyOS system, so we can consider this even from the other point of view - how to keep all services operable after the vyos-router restart?
If you will have any ideas, which can help to decrease the overall impact of this situation, we would be happy to get them.

Dec 31 2019, 3:17 PM · VyConf

Dec 20 2019

MapleWang added a comment to T1885: vyos hostname configuration failure and it triggers vyos-router restarted.

Really thanks for your reply. It's nice to have this fix. But to be honest, crash of vyos-hostsd is not so big deal for me, what really concern me is that restart of vyos-hostsd is followed by restart of vyos-router.

Dec 20 2019, 3:39 AM · VyConf

Dec 19 2019

zsdc changed the status of T1885: vyos hostname configuration failure and it triggers vyos-router restarted from Open to In progress.

Hello, @MapleWang!
Thank you for pointing our attention to this issue! It is really bad that such simple action as changing hostname in some cases (well, in fact not only this but it is easy to reproduce) leads to the whole router crash.
The problem consists of several parts:

  1. In old systemd versions (which is used in Debian Jessie and VyOS 1.2) exists a problem, when during a restart of systemd-journald all pipes between this daemon and systemd services are disconnecting.
  2. In vyos-hostsd, which is responsible for hostname and DNS and controlled by systemd we used print() for logging and debug purposed without enough handling of errors.

So, when arises the situation when there is no PIPE connection between vyos-hostsd and systemd-journald, vyos-hostsd not able to print messages and crashes. :(

Dec 19 2019, 6:37 PM · VyConf

Dec 18 2019

MapleWang added a comment to T1885: vyos hostname configuration failure and it triggers vyos-router restarted.

I found a easy way to reproduce.

Dec 18 2019, 1:50 PM · VyConf

Dec 17 2019

MapleWang created T1885: vyos hostname configuration failure and it triggers vyos-router restarted.
Dec 17 2019, 4:14 PM · VyConf

May 3 2019

dmbaturin added a comment to T1364: libvyosconfig does not allow comments after node.

There are things that should be simply incorrect grammar, and this is one of them, as of me.

May 3 2019, 1:06 PM · VyConf
Tjeu created T1364: libvyosconfig does not allow comments after node.
May 3 2019, 12:08 PM · VyConf

Apr 16 2019

jestabro added a watcher for VyConf: jestabro.
Apr 16 2019, 4:34 PM

Feb 26 2019

bnjf claimed T1269: GCE build script fixes.

https://github.com/vyos/vyos-build/pull/46

Feb 26 2019, 11:41 PM · VyOS-1.2.0-GA
bnjf created T1269: GCE build script fixes.
Feb 26 2019, 11:41 PM · VyOS-1.2.0-GA

Nov 13 2018

nirmal changed Difficulty level from unknown to normal on T1005: Support for multiple SSID in station mode , WPA-EAP.
Nov 13 2018, 5:23 PM · VyOS 1.3 Equuleus
nirmal created T1005: Support for multiple SSID in station mode , WPA-EAP.
Nov 13 2018, 5:23 PM · VyOS 1.3 Equuleus

Sep 6 2018

darkdragon-001 asked Q148: Configuration Reference.
Sep 6 2018, 8:16 PM · Restricted Project, VyConf
darkdragon-001 added a comment to Q147: Automatically delete old logs.

I'm using VyOS 1.2.0-beta1 (lithium) with a 1 GB HDD on ESXi.

Sep 6 2018, 6:50 PM · VyConf
c-po added a comment to Q147: Automatically delete old logs.

I‘m using VyOS 1.2.x wirh a 4GB HDD on ESXi

Sep 6 2018, 5:53 PM · VyConf
darkdragon-001 asked Q147: Automatically delete old logs.
Sep 6 2018, 4:13 PM · VyConf

Aug 4 2018

dmbaturin closed T255: Add curly config renderer as Resolved.

The renderer works now (for a long time already, even), so it's time to close this task finally. ;)

Aug 4 2018, 7:01 PM · VyOS 2.0.x, VyConf

Jun 1 2018

c-po moved T599: Bind NTP service to specific interface from Need Triage to Finished on the VyOS 1.2 Crux board.
Jun 1 2018, 7:17 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

May 31 2018

maugli13 added a comment to T599: Bind NTP service to specific interface.

It looks pretty clear from configuration point of view. Actually this request was made to avoid potential security breach if somebody doesn't have correct acl on wan facing interface.

May 31 2018, 11:23 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
dmbaturin moved T597: Code testing on sonarcloud.com from Need Triage to In Progress on the VyOS 1.2 Crux board.
May 31 2018, 12:13 AM · VyOS 1.3 Equuleus

May 27 2018

c-po added a comment to T599: Bind NTP service to specific interface.

As soon as someone sets set system ntp allow-clients address 172.16.0.0/12 we act as NTP server for this network,too. It's a bit odd that this node is under system but ... it is as it is.

May 27 2018, 6:57 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer added a comment to T599: Bind NTP service to specific interface.

that is weird,
i was under impression that we have it as client.
So it perfectly make sense have it under service

May 27 2018, 2:47 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
c-po added a comment to T599: Bind NTP service to specific interface.

@syncer we do offer NTP as service (unfortunately it's unter the system tree instead of service.

May 27 2018, 2:43 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
syncer triaged T599: Bind NTP service to specific interface as Normal priority.

@c-po i think we not offer ntp service as of now, but i think maybe we should?

May 27 2018, 10:02 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

May 1 2018

c-po updated subscribers of T599: Bind NTP service to specific interface.

We already have set system ntp allow-clients address 172.16.0.0/12 which can become a brother to a new command named set system ntp listen-on.

May 1 2018, 4:35 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Apr 12 2018

c-po added a project to T599: Bind NTP service to specific interface: VyOS 1.2 Crux.
Apr 12 2018, 7:45 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
maugli13 created T599: Bind NTP service to specific interface.
Apr 12 2018, 3:20 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Apr 7 2018

syncer triaged T590: openvpn config using openvpn config file as Wishlist priority.
Apr 7 2018, 11:08 AM · VyOS 1.4 Sagitta