Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-11 | ifconfig: T2223: rename Section.listing to interfaces | Thomas Mangin | |
update all code using the API. Interface.interfaces() could be used but the code was change to use Section.interfaces() which make more sense when reading it. | |||
2020-04-11 | ifconfig: T2223: rename Register to Section | Thomas Mangin | |
While the class does indeed all the registration, it work is really to map classes to interface section. ie: interface ethernet -> EthernetIf Therefore it can also list which interface are from which type, therefore the name change. Other function name will also be renamed as a consequence | |||
2020-04-11 | Merge branch 't2264-l2tp' of github.com:c-po/vyos-1x into current | Christian Poessinger | |
* 't2264-l2tp' of github.com:c-po/vyos-1x: (25 commits) vpn: l2tp: sstp: T2264: create config dir on demand vpn: l2tp: T2264: migrate IPv6 prefix node to common CLI style vpn: l2tp: T2264: simplify IPv6 config dictionary elements vpn: sstp: T2008: migrate from SysVinit -> systemd vpn: sstp: T2008: bugfix KeyError 'client_gateway' vpn: l2tp: T2264: migrate from SysVinit -> systemd vpn: l2tp: T2264: remove debug pprint vpn: l2tp: T2264: proper set PPP default values to ease Jinja2 template vpn: l2tp: T2110: re-use RADIUS XML include file vpn: l2tp: T2264: remove RADIUS req-limit node vpn: l2tp: T2264: migrate to new dictionary keys for radius auth vpn: sstp: T2008: set accell default values in config dict vpn: l2tp: T2264: use "with open()" when writing config vpn: l2tp: T2264: migrate to new dictionary keys for local auth vpn: sstp: T2008: improve error message for non existent local-users vpn: l2tp: T2264: cleanup thread_cnt generation vpn: sstp: T2008: cleanup thread_cnt generation vpn: l2tp: T2264: combine WINS CLI syntax vpn: l2tp: T2264: combine IPv4/IPv6 name-server CLI syntax vpn: sstp: T2008: adjust DNS error message ... | |||
2020-04-11 | vpn: l2tp: sstp: T2264: create config dir on demand | Christian Poessinger | |
2020-04-11 | Merge pull request #326 from thomas-mangin/T2265 | Christian Poessinger | |
dhcp: T2265: refactor DHCP class | |||
2020-04-11 | vpn: l2tp: T2264: migrate IPv6 prefix node to common CLI style | Christian Poessinger | |
Combining multiple options into a single CLI node is considered bad practice. IPv6 prefixes consited of the prefix itself and a mask send to the client in one node only. The following CLI parts have been migrated from client-ipv6-pool { delegate-prefix fc00:0:1::/48,64 prefix 2001:db8::/64,64 } to client-ipv6-pool { delegate fc00:0:1::/48 { delegation-prefix 48 } prefix 2001:db8::/48 { mask 64 } } Thus regular validation steps from the VyOS CLI can be used when a prefix is configured. | |||
2020-04-11 | dhcp: T2230: use external template files | Thomas Mangin | |
2020-04-11 | template: T2230: helper to generate templates | Thomas Mangin | |
Currently the pattern is to import jinja2 and re-generate the template in every file. Dimitriy reported a reduction in performance (1s) when commiting. This code provide an helper function which caches the Environment and template renderer, and can generate template from one line (instead of the few currently) | |||
2020-04-11 | vpn: l2tp: T2264: simplify IPv6 config dictionary elements | Christian Poessinger | |
2020-04-11 | dhcp: T2265: refactor DHCP class | Thomas Mangin | |
Break the code between v4 and v6, remove need for getter/setter as they are just exposing the underlying dict. Move FixedDict from tunnel code and expose it to other part so it can be used to prevent accidental change to the dhcp option if no default exists already. | |||
2020-04-11 | dhcp: T2265: v4/v6 conflict for lease file | Thomas Mangin | |
The vyatta-dhclient-hook is not differentiating between v4 and v6 and attempting to use the same lease file for both protocol. Therefore only dhcp v4 or v6 could be setup on an interface and not both. | |||
2020-04-11 | vpn: sstp: T2008: migrate from SysVinit -> systemd | Christian Poessinger | |
2020-04-11 | vpn: sstp: T2008: bugfix KeyError 'client_gateway' | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: migrate from SysVinit -> systemd | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: remove debug pprint | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: proper set PPP default values to ease Jinja2 template | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2110: re-use RADIUS XML include file | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: remove RADIUS req-limit node | Christian Poessinger | |
It makes less sense for the user to specify this behavior. | |||
2020-04-11 | vpn: l2tp: T2264: migrate to new dictionary keys for radius auth | Christian Poessinger | |
2020-04-11 | vpn: sstp: T2008: set accell default values in config dict | Christian Poessinger | |
This will remove the required if/else parts int he Jinja2 template. | |||
2020-04-11 | vpn: l2tp: T2264: use "with open()" when writing config | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: migrate to new dictionary keys for local auth | Christian Poessinger | |
2020-04-11 | vpn: sstp: T2008: improve error message for non existent local-users | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: cleanup thread_cnt generation | Christian Poessinger | |
2020-04-11 | vpn: sstp: T2008: cleanup thread_cnt generation | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: combine WINS CLI syntax | Christian Poessinger | |
There is no reason to distinguish between WINS servers in terms of priority. This is solely a task which can be done in the underlaying Python scripts. | |||
2020-04-11 | vpn: l2tp: T2264: combine IPv4/IPv6 name-server CLI syntax | Christian Poessinger | |
There is no reason to distinguish between an IPv4 and IPv6 name-server node on the CLI - this can be done in the underlaying Python scripts. | |||
2020-04-11 | vpn: sstp: T2008: adjust DNS error message | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: comment cleanup on chk_con() | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: use default_config_data dict | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: introduce common config base | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: import cleanup | Christian Poessinger | |
2020-04-11 | vpn: l2tp: T2264: rename files to match CLI levels | Christian Poessinger | |
2020-04-11 | Merge pull request #327 from DmitriyEshenko/fix-res-ra | Christian Poessinger | |
sstp: T2263: Implement reset feature | |||
2020-04-11 | Merge pull request #328 from DmitriyEshenko/patch-12 | Christian Poessinger | |
sstp: T2269: Set template for tunnel names | |||
2020-04-11 | sstp: T2269: Set template for tunnel names | Eshenko Dmitriy | |
2020-04-10 | sstp: T2263: Implement reset feature | DmitriyEshenko | |
2020-04-10 | Merge pull request #324 from DmitriyEshenko/fix-res-ra | Christian Poessinger | |
pptp: l2tp: T2262: Fix call to function run() | |||
2020-04-10 | pptp: l2tp: T2262: Fix call to function run() | DmitriyEshenko | |
2020-04-10 | Merge pull request #323 from jjakob/openvpn-verify-bridge-fix | Christian Poessinger | |
openvpn: T2266: fix verify for client-server bridged mode | |||
2020-04-10 | openvpn: T2266: fix verify for client-server bridged mode | jjakob | |
2020-04-10 | Merge pull request #230 from DaniilHarun/upstream | hagbard-01 | |
ipoe-server: T2073: reset op-mode command for sessions | |||
2020-04-10 | Merge branch 'upstream' of https://github.com/DaniilHarun/vyos-1x into upstream | Daniil Kharun | |
2020-04-10 | ipoe-server: T2073: reset op-mode command for sessions | Daniil Kharun | |
2020-04-10 | util: T2253: fix translation to cmd | John Estabrook | |
2020-04-10 | Revert "Revert "util: T2226: rewrite merge config to use cmd"" | John Estabrook | |
This reverts commit 6086b7fa718f502563a17569abc81d4ccb94818c. | |||
2020-04-10 | util: T2253: fix translation of subprocess.check_output to cmd | John Estabrook | |
2020-04-10 | Revert "Revert "util: T2226: rewrite remote function helpers to use cmd"" | John Estabrook | |
This reverts commit 10717c6a3cdf7da7025b03c1abdbd813b4970b19. | |||
2020-04-10 | l2tp: xml: group interface definition into vpn section | Christian Poessinger | |
2020-04-10 | pppoe: T2248: connect-on-demand and vrf are mutually exclusive | Christian Poessinger | |
As PPP can be used to establish a connection on-demand it manages the Kernel default route. This can not be used when using VRFs which are managed by the ip-up.d and ip-down.d scripts - thus those options are now mutially exclusive. The best fix would be adding support for VRFs into PPP. |