Page MenuHomeVyOS Platform

VyConfProject
ActivePublic

Details

Description

Software appliance configuration framework

Recent Activity

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 · VyConf
bnjf created T1269: GCE build script fixes.
Feb 26 2019, 11:41 PM · VyConf

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 · VyConf

Apr 6 2018

syncer triaged T597: Code testing on sonarcloud.com as Normal priority.
Apr 6 2018, 8:22 AM · VyOS 1.3 Equuleus

Apr 1 2018

squeeby added a comment to T590: openvpn config using openvpn config file.

I agree with the above, this is actually how I'm dealing with custom options with dhcpd at the moment, however the same can't be done with openvpn as the functionality to include files doesn't exist within openvpn's config format, whereas it does with dhcpd.

Apr 1 2018, 4:41 PM · VyConf
mickvav added a comment to T590: openvpn config using openvpn config file.
Apr 1 2018, 7:09 AM · VyConf
mickvav updated subscribers of T590: openvpn config using openvpn config file.

We have thing like this in dhcpd's config - there you can state something like "subnet-parameters ... include file".
I was thinkking a little bit on it and came to the following idea - may be we should implement general syntax for stanza like "hey, vyos, I have config file for this service, please use it as is, but I still need the service to be operated on by vyos CLI commands". How do you think, would it be a good option to implement @dmbaturin?

Apr 1 2018, 7:09 AM · VyConf

Mar 31 2018

squeeby added a comment to T590: openvpn config using openvpn config file.

Not just for inputting alot of commands, but making it possible to simply specifiy an opevnpn config instead of having to re-implement every possible openvpn setting using the VyOS syntax would be a huge benefit.
Not to mention the automation aspects.. copy config, load it. done.

Mar 31 2018, 8:57 PM · VyConf

Mar 22 2018

wzk created T590: openvpn config using openvpn config file.
Mar 22 2018, 6:04 AM · VyConf

Mar 3 2018

syncer closed Q4: VyOS CLI startup as resolved.
Mar 3 2018, 11:20 AM · VyOS 2.0.x, VyOS 1.1.x (1.1.8), VyConf
syncer closed Q3: Basic VyConf architecture as resolved.
Mar 3 2018, 11:20 AM · VyConf

Oct 25 2017

Lillecarl added a comment to V3: Tag node syntax for VyOS 2.0.

Considering JSON's a standard that's quite close to the VyOS syntax, i don't see why maintaining another nonstandard format is needed when JSON is available :)

Oct 25 2017, 1:03 PM · VyOS 2.0.x, VyConf

Oct 7 2017

volga629 created T415: Beta ISO VTI Tunnel.
Oct 7 2017, 8:12 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Sep 8 2017

dmbaturin created T387: Prevent command injection in VyConf external validator execution.
Sep 8 2017, 6:05 AM · VyConf

Sep 7 2017

dmbaturin added a comment to V3: Tag node syntax for VyOS 2.0.

@sebastianm In VyConf it's going to be fairly easy (ok, possible at least) to implement different input and output formats, so chances are we can add | display json or | display yaml filters if there's demand for it.

Sep 7 2017, 10:23 PM · VyOS 2.0.x, VyConf

Aug 28 2017

JulesT added a comment to V3: Tag node syntax for VyOS 2.0.

To my mind... I'd rather keep a compatible syntax than a new one, even if there are benefits in terms of uniformity and parsing.

Aug 28 2017, 9:36 PM · VyOS 2.0.x, VyConf
sebastianm added a comment to V3: Tag node syntax for VyOS 2.0.

I say don't change it (keep it the same as it's in 1.1.7). I'd consider YAML or JSON (in that order) though. (I am/was lylylyly on IRC).

Aug 28 2017, 8:25 PM · VyOS 2.0.x, VyConf

Jul 24 2017

syncer removed a member for VyConf: kostiantyn.
Jul 24 2017, 6:03 PM
syncer set the image for VyConf to F15957: profile.
Jul 24 2017, 10:58 AM
syncer changed the join policy for VyConf.
Jul 24 2017, 10:55 AM

Feb 26 2017

afics added a watcher for VyConf: afics.
Feb 26 2017, 7:06 PM
creaworlds added a member for VyConf: creaworlds.
Feb 26 2017, 12:06 AM