Page MenuHomeVyOS Platform
Feed Search

Nov 25 2018

runar created T1045: static route dhcp-interface failes on bootup in the S1 VyOS Public space.
Nov 25 2018, 8:40 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc10)

Nov 24 2018

runar added a comment to T1019: Enable Google BBR support at kernel compile time.

Hmm, please enligthen me. Google BBR is a new way to handle congesition instead of the traditional way tcp deals with it. This functionallity needs to be enabled in the end host systems starting the tcp session to have any impact on troughput and congestion control.. as vyos is a router and are not responsible to start tcp sessions on behalf of any end system, what is the benefit of adding this functionallity?

Nov 24 2018, 11:04 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc10)
runar added a comment to T1012: vyos-build configure script should check /etc/issue to avoid confusion.

Another way is to check in /etc/os-release, but that is also a changeable file.... Wondering where lsb_release reads it from ( no pc atm, so cannot check)

Nov 24 2018, 10:10 AM · VyOS 1.3 Equuleus (1.3.5), vyos-build

Nov 23 2018

runar created T1036: NHRP starts before IPSEC is set up..
Nov 23 2018, 6:50 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc9)

Nov 10 2018

runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

Its a little hack, but not the ultimate one i think :p temporary files for storing state is used quite a few times inn the original bash/perl scripts

Nov 10 2018, 9:04 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

as noted on slack:
A way to implement the run once for tag :
If we in the tag after first execution add a temp file 'touch /tmp/complete-blah' , then we check for existance on that file on every run and skip of it exists..
in eg. wireguard/node.def:

end: if [ ! -f /tmp/runonce-wireguard.lock ]; then
         sudo sh -c "${vyos_conf_scripts_dir}/wireguard.py"
         touch /tmp/runonce-wireguard.lock
     fi

Whis way the wireguard.py shuld only execute on the first "execution" and be skipped on all recurring runs.

Nov 10 2018, 8:41 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

Nov 9 2018

runar updated subscribers of T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

I've been looking into how this is implemented in all instances of interfaces/* and everyone uses the same run on every tag value instance approach.
Here are a couple of examples of easy implementations looked from node.def
openvpn:
sudo /opt/vyatta/sbin/vyatta-update-ovpn.pl "$VAR(@)"

Nov 9 2018, 11:28 PM · VyOS 1.3 Equuleus (1.3.0-epa1)

Nov 7 2018

runar added a comment to T975: `Show ip multicast mfc/interface` prints adresses the wrong way around.

I see T959 is targeted for 1.3 release and is hereby requesting a backport of these commands from T959 into 1.2 before LTS is released (if there isn't any dependencies between the show commands and the rewrite of conf mode scripts)

Nov 7 2018, 11:11 AM · VyOS 1.2 Crux (VyOS 1.2.0-rc7), VyOS-1.2.0-GA
runar created T975: `Show ip multicast mfc/interface` prints adresses the wrong way around.
Nov 7 2018, 10:37 AM · VyOS 1.2 Crux (VyOS 1.2.0-rc7), VyOS-1.2.0-GA

Oct 30 2018

runar added a comment to T949: config issue when creating multiple wg interfaces at the same time..

This is exactly the same issue i reported in T786, for every interface thats created the script runs its full processing.. when 10 interfaces are created it tries to execute it 10 times and so on. I have purposed a fix for this behaveor in T786 and there is a PR (https://github.com/vyos/vyos-1x/pull/33) on this. Another thing that could be done to fix this is to fix the underlaying vbash code that makes this happen, but i think that is a larger task.

Oct 30 2018, 5:15 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc6)

Oct 17 2018

runar added a comment to T908: op mode command show bridge brX is broken.

Ahh, my mistake! Will remember that :)

Oct 17 2018, 3:53 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc4)

Oct 10 2018

runar added a comment to T870: Commit-confirm restarts the server even after commit.

@hagbard, the powerctrl.py script allready have everything needed, --check to check for scheduled reboot. :)

Oct 10 2018, 4:38 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc2)

Oct 9 2018

runar added a comment to T870: Commit-confirm restarts the server even after commit.

Hmm.. i think some things is missing here... the "reboot" and "poweroff" commands is using the new /usr/libexec/vyos/op_mode/powerctrl.py script to schedule reboots, but "show reboot" and "show poweroff"

Oct 9 2018, 7:51 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc2)

Oct 8 2018

runar added a comment to T875: Kernel config cleanup.

General:
Support for multiple non-ASCII, non-Unicode encodings

  • Remove it
Oct 8 2018, 8:41 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux ( VyOS 1.2.0-EPA)

Sep 20 2018

runar added a comment to T848: OpenNHRP / DMVPN not working in HUB mode.

I've now sucessfully labbed your config, and are able to get dmvpn up and running with your ipsec config :

Sep 20 2018, 8:21 AM · Invalid

Sep 5 2018

runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

Yes, in some situations this is resolvable eg in the service broadcast-relay example. Here the owner parameter could be moved to the "top-node" for that block. the problem with interfaces is that every config block is a tagNode, so we can't do that trick without moving it to the interfaces node that catches all interfaces., and not just interfaces of the type you want.

Sep 5 2018, 8:21 PM · VyOS 1.3 Equuleus (1.3.0-epa1)

Sep 1 2018

runar created T822: monitor traffic interface.... not working in latest rolling VyOS 1.2.0-rolling+201809011952.
Sep 1 2018, 10:37 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar created T821: show | commands . in conf mode fails when commands are in commit queue.
Sep 1 2018, 8:35 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 26 2018

runar added a comment to T787: DMVPN on 1.2.0.

nize @c-po!
a new image is created to hotfix frr not starting before vyatta-router: http://dev.packages.vyos.net/tmp/vyos-1.2.0-frr-20180825.iso

Aug 26 2018, 4:50 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 24 2018

runar added a comment to T787: DMVPN on 1.2.0.

@c-po, Ahh! :)
You could compile the vyos/vyos-strongswan github repo, but a image is the best to test with.
i had issues with just apply'ing strongswan patches. (strongswan crashed and hung my device when restarting services)
The latest image created is http://dev.packages.vyos.net/tmp/vyos-dmvpn-0820.iso created by @dmbaturin on 21.aug ..
after that is installed change this:

Aug 24 2018, 12:50 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 23 2018

runar added a comment to T787: DMVPN on 1.2.0.

@c-po did you manage to test disabling cisco-unity in a mixed vyos/cisco environment?

Aug 23 2018, 7:56 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T427: Wireguard support.

I think the best is to use the default from the protocoll.. (autogenerate port if none is specified) 51820 could be a completion help option on the listen-port command

Aug 23 2018, 2:16 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T427: Wireguard support.

@c-po, As far as i can see it does not distinguish between server and client mode.
From the manual:

Aug 23 2018, 8:04 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 22 2018

runar added a comment to T427: Wireguard support.

@hagbard i actually haven't tried it in real life, only looked at the command syntax'es.

Aug 22 2018, 7:42 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T791: wirguard: implement 'set interfaces wireguard wg01 peer name...'.

@hagbard
Thats much better! :D
"peer" in "peer-pubkey" is also a bit redundant, just call it "pubkey"

Aug 22 2018, 7:35 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T787: DMVPN on 1.2.0.

as far as i can see this should be possible. it looks like the cisco_unity plugin is used to automatically install routes and other things that is not needed when we are running inside a gre tunnel as is done in dmvpn. but i have not looked into the unity plugins code so i'm not completely sure.

Aug 22 2018, 1:27 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T427: Wireguard support.

I think that using the key as a peer identifier makes the configuration unreadable its quite hard to identify each peer when you have more than one of them. I would like to se the peer identifier to be a name/description instead and that key is added as a leafNode instead...

Aug 22 2018, 10:58 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar updated subscribers of T787: DMVPN on 1.2.0.

after @dmbaturin rolled a new image with patched opennhrp script and swanctl code dmvpn works as expected when manually disabling the cisco_unity plugin in /etc/strongswan.d/charon/unity.conf .

Aug 22 2018, 7:38 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 19 2018

runar committed rVYOSONEX55ee5d903817: T689: Reboot/Poweroff now not working after last changes.
Aug 19 2018, 9:29 PM
runar added a comment to T787: DMVPN on 1.2.0.

I got dmvpn up and running. here is the list of things to do:

Aug 19 2018, 7:20 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 18 2018

runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

To do the same example as it is running in the current-rolling devel i have reverted my patch:

Aug 18 2018, 7:11 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
runar added a comment to T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.

The current implementation of the config interpretor does not work that way.
It is correct that your config script needs to take account of all added/removed config within your tagNode, but the script will actually run once for every tagNode instance you define.
let me take an easy example:

Aug 18 2018, 6:56 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
runar added a comment to T787: DMVPN on 1.2.0.

after intense searching i came across this:

Aug 18 2018, 10:52 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar created T787: DMVPN on 1.2.0.
Aug 18 2018, 9:16 AM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Aug 17 2018

runar committed rVYOSONEXd61112ec2950: T786: Add tagNode value as a Env.variable passed into config script.
Aug 17 2018, 11:49 PM
runar created T786: new style xml and conf-mode scripts: posibillity to add tagNode value as parameter to conf-script.
Aug 17 2018, 11:25 PM · VyOS 1.3 Equuleus (1.3.0-epa1)

Aug 16 2018

runar committed rVYOSONEX86088fa6e081: T689: poweroff/reboot added brackets around HH:MM help text.
Aug 16 2018, 10:32 PM
runar committed rVYOSONEXce35b9830e53: T689: Added support for specifying date on poweroff and reboot.
Aug 16 2018, 10:22 PM
runar committed rVYOSONEX0a9bcf9a7706: T689: Undoing help text change on reboot and poweroff commands.
Aug 16 2018, 8:45 PM
runar committed rVYOSONEX519192f0d82a: T689: Rewritten poweroff/reboot script to use systemd-shutdownd service.
Aug 16 2018, 6:15 PM

Aug 15 2018

runar added a comment to T766: Implement support for the Tinc VPN daemon.

i will try to do some work on implementing this if its possible to get it upstream if i succeed?

Aug 15 2018, 6:38 AM

Aug 6 2018

runar created T766: Implement support for the Tinc VPN daemon.
Aug 6 2018, 10:09 AM

Jun 24 2018

runar committed rVYOSONEX0c8e4605f19e: T689: Removed 'show host os', if anyone wants kernel information i think they….
Jun 24 2018, 9:56 AM
runar committed rVYOSONEXdb121fec464c: T689: Removed show host date, it's a duplicate of show date.
Jun 24 2018, 8:32 AM

Jun 23 2018

runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

in my latest PR i've also added a rewrite of "show host *" in show-host.xml. this rewrite does not need any wrapper scripts.

Jun 23 2018, 10:17 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

@dmbaturin ahh, my fault.

Jun 23 2018, 10:03 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar committed rVYOSONEXd4e3868629fd: T689: updated xml to reflect filename change in last commit.
Jun 23 2018, 10:02 PM
runar committed rVYOSONEX598f1e0385c3: Merge branch 'current' of git://github.com/vyos/vyos-1x into current.
Jun 23 2018, 10:02 PM
runar committed rVYOSONEXef15a3760a1d: T689: changed from dash to underscore in filenames.
Jun 23 2018, 10:02 PM
runar committed rVYOSONEX9b77c401bdd0: rewrite show host to new syntax.
Jun 23 2018, 10:02 PM

Jun 19 2018

runar committed rVYOSONEXa02c7c2fb213: Migrate away from vyatta-config-gen-sets.pl.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXd1b2c5efa4f1: Migrate away from vyatta-interfaces.pl.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXdaa11d894000: migrate away from vyatta-cpu-summary.pl.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXdb5d2d62e7b6: Merge branch 'current' of git://github.com/vyos/vyos-1x into current.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX7eb2c5f97a17: T689: Changed syntax on 'show arp XXX' to 'show arp interface XXX' to be….
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXbfd9bf340cc3: T689: Removed less from commands in show hardware. using system pager insted..
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXfdb1518b33ab: T689: Added missing show-configuration-files.sh wrappwe script.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX1cde6ed4ae88: T689: updated edge nodes to leafNode instead of node..
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX018210ffc724: T689: op_mode script for 'show disk X format'.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX563b9fdf4977: T689: Convert show hardware to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXb00886cab4bf: T689: Convert shwo configuration to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX260c1e9736dc: T689: Convert show raid to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX57e615f07e2c: T689: Convert show users to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX5e3195e7e0a3: T689: Convert show bridge to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX5c22ed773ca5: T689: convert show disks with completion script to new script.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEX26369b337851: T689: onvert show arp to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXab4bdfd684ce: T689 Convert reboot and poweroff commands to new syntax.
Jun 19 2018, 8:39 PM
runar committed rVYOSONEXea10edf29684: T689: Convert show date to new syntax.
Jun 19 2018, 8:39 PM

Jun 17 2018

runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

When trying to migrate " show login " and "show history" the new syntax scripts fails to retrieve information from the current user.
The reason is that everything that is executed by the new syntax scripts are wrapped inside sudo.
(from build-command-op-templates line 140: node_def += "run: sudo sh -c \"{0}\"\n".format(command.text) . )

Jun 17 2018, 10:11 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)

Jun 9 2018

runar committed rVYOSONEXcf6be68abc1d: Migrate away from vyatta-config-gen-sets.pl.
Jun 9 2018, 9:44 PM
runar committed rVYOSONEX78b9ce489589: migrate away from vyatta-cpu-summary.pl.
Jun 9 2018, 8:48 PM
runar committed rVYOSONEX863aeffa530e: Migrate away from vyatta-interfaces.pl.
Jun 9 2018, 8:44 PM
runar committed rVYOSONEXf3b4cfecbe48: Merge branch 'current' of git://github.com/vyos/vyos-1x into current.
Jun 9 2018, 8:44 PM

Jun 8 2018

runar committed rVYOSONEX06b807f9b898: T689: Changed syntax on 'show arp XXX' to 'show arp interface XXX' to be….
Jun 8 2018, 8:48 AM
runar committed rVYOSONEX54796fb7d01f: T689: Removed less from commands in show hardware. using system pager insted..
Jun 8 2018, 8:34 AM
runar committed rVYOSONEX3399149b8b07: T689: Added missing show-configuration-files.sh wrappwe script.
Jun 8 2018, 7:48 AM
runar committed rVYOSONEXf1568230e946: T689: updated edge nodes to leafNode instead of node..
Jun 8 2018, 5:14 AM
runar committed rVYOSONEX61dfffa48bac: T689: op_mode script for 'show disk X format'.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEX327e8d203635: T689: Convert show raid to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEXaad1bd7eed67: T689: Convert shwo configuration to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEX55110c80f480: T689: Convert show hardware to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEXaf3ce969cc18: T689: Convert show users to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEXa10e594c1ad8: T689: Convert show bridge to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEXffabc3f80faa: T689: onvert show arp to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEX9e14244d84e1: T689: convert show disks with completion script to new script.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEX6b9e8d75d87b: T689: Convert show date to new syntax.
Jun 8 2018, 5:14 AM
runar committed rVYOSONEX0c7bb65bb8c8: T689 Convert reboot and poweroff commands to new syntax.
Jun 8 2018, 5:14 AM

Jun 7 2018

runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

i've added all files i have finished now.
i also have nearly completed files for show system and show log, but they need some tweeking and completion/op_mode scripts to be finished.

Jun 7 2018, 10:39 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar added a comment to T689: Converting simple op-mode commands from vyatta-op to new syntax.

Finished so far:

  • reboot
  • poweroff
  • show arp
  • show bridge
  • show date
  • show disk
  • show configuration
  • show hardware
  • show raid
  • show users
Jun 7 2018, 10:30 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar updated subscribers of T689: Converting simple op-mode commands from vyatta-op to new syntax.
Jun 7 2018, 9:33 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)
runar created T689: Converting simple op-mode commands from vyatta-op to new syntax.
Jun 7 2018, 9:31 PM · VyOS-1.2.0-GA, VyOS 1.2 Crux (VyOS 1.2.0-rc1)