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?
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Nov 25 2018
Nov 24 2018
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 23 2018
Nov 10 2018
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
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
fiWhis way the wireguard.py shuld only execute on the first "execution" and be skipped on all recurring runs.
Nov 9 2018
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 7 2018
Oct 30 2018
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 17 2018
Ahh, my mistake! Will remember that :)
Oct 10 2018
@hagbard, the powerctrl.py script allready have everything needed, --check to check for scheduled reboot. :)
Oct 9 2018
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 8 2018
General:
Support for multiple non-ASCII, non-Unicode encodings
- Remove it
Sep 20 2018
I've now sucessfully labbed your config, and are able to get dmvpn up and running with your ipsec config :
Sep 5 2018
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 1 2018
Aug 26 2018
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 24 2018
@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 23 2018
@c-po did you manage to test disabling cisco-unity in a mixed vyos/cisco environment?
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
@c-po, As far as i can see it does not distinguish between server and client mode.
From the manual:
Aug 22 2018
@hagbard i actually haven't tried it in real life, only looked at the command syntax'es.
@hagbard
Thats much better! :D
"peer" in "peer-pubkey" is also a bit redundant, just call it "pubkey"
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.
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...
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 19 2018
I got dmvpn up and running. here is the list of things to do:
Aug 18 2018
To do the same example as it is running in the current-rolling devel i have reverted my patch:
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:
after intense searching i came across this:
Aug 17 2018
Aug 16 2018
Aug 15 2018
i will try to do some work on implementing this if its possible to get it upstream if i succeed?
Aug 6 2018
Jun 24 2018
Jun 23 2018
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.
@dmbaturin ahh, my fault.
Jun 19 2018
Jun 17 2018
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 9 2018
Jun 8 2018
Jun 7 2018
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.
Finished so far:
- reboot
- poweroff
- show arp
- show bridge
- show date
- show disk
- show configuration
- show hardware
- show raid
- show users