Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-22 | pppoe: T2488: bugfix, missing not in if condition prevented startup | Christian Poessinger | |
Commit 39c53aadbf9e ("pppoe: T2488: remove logfile generation") accidently missed a not in an if statement. | |||
2020-05-21 | pppoe: T2380: fix NameError: name 'intf' is not defined | Christian Poessinger | |
2020-05-21 | pppoe: T2380: dis-/connect should use proper systemd calls | Christian Poessinger | |
2020-05-21 | pppoe: T2488: remove logfile generation | Christian Poessinger | |
2020-05-17 | pppoe: dhcpv6-pd: T421: stop service when config is removed | Christian Poessinger | |
2020-05-17 | pppoe: dhcpv6-pd: T421: start/stop delegation with interface status | Christian Poessinger | |
2020-05-17 | pppoe: dhcpv6-pd: T421: initial support | Christian Poessinger | |
The following configuration will assign a /64 prefix out of a /56 delegation to eth0. The IPv6 address assigned to eth0 will be <prefix>::ffff/64. If you do not know the prefix size delegated to you, start with sla-len 0. pppoe pppoe0 { authentication { password vyos user vyos } description sadfas dhcpv6-options { delegate eth0 { interface-id 65535 sla-id 0 sla-len 8 } } ipv6 { address { autoconf } enable } source-interface eth1 } vyos@vyos:~$ show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 2001:db8:8003:400::ffff/64 u/u | |||
2020-04-29 | pppoe: template: T2388: fix unexpected keyword argument | Christian Poessinger | |
Commit 2bf12b579e0 ("template: T2388: move mkdir/chmod/chown within render()") passed an unexpected keyword to the render() function, it was simply wrongly spelled. | |||
2020-04-27 | template: T2388: move mkdir/chmod/chown within render() | Thomas Mangin | |
2020-04-12 | template: T2230: use render to generate templates | Thomas Mangin | |
convert all call to jinja to use template.render | |||
2020-04-12 | vyos.util: rename chmod_x() -> chmod_755() | 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. | |||
2020-04-09 | pppoe: enable Jinja2 trim_blocks | Christian Poessinger | |
2020-04-08 | vyos-util: rename chown_file() > chown() | Christian Poessinger | |
... to make it clear also directories can be chown(-ed) | |||
2020-04-06 | util: T2226: rewrite pppoe to use cmd | Thomas Mangin | |
2020-04-04 | vyos.util: rename chmod_x_file() to chmod_x() | Christian Poessinger | |
Now both files and directories are supported. | |||
2020-04-04 | pppoe: T1318: bugfix: proper use of ip-pre-up.d directory | Christian Poessinger | |
Commit b250b233ec1 ("pppoe: T1318: move Jinja2 templates to data/templates folder") actually placed the pre-up configuration script into the ip-up folder. | |||
2020-04-04 | pppoe: T2219: move adding of default route to ip-(up|down) script | Christian Poessinger | |
As PPPoE interfaces should be part of a VRF it is required that the default can also be set into the specified VRF. The default way of PPP by setting the "defaultroute" option does not take a VRF into account. In this case PPP installs a Kernel route forwarding all default traffic over this interface. This change installs a static route with metric 1 instead into the routing table via FRR. This is not the same as a Kernel route in terms of metric 1 compared to 0 but it should do the trick. | |||
2020-04-04 | pppoe: T1318: move Jinja2 templates to data/templates folder | Christian Poessinger | |
This makes the actual code which generates the configs much more human readable. | |||
2020-04-04 | vyos.util: use common subprocess_cmd wrapper | Christian Poessinger | |
2020-04-03 | pppoe: T1318: minor cleanups | Christian Poessinger | |
2020-04-03 | pppoe: bugfix template name after migration to ip-up scripts | Christian Poessinger | |
Commit 6a0c6783d8b2 ("pppoe: migrate alias and vrf script from pre-up to up") changed the name of the ip-up script template but the template definition has been forgotten. This caused: NameError: name 'config_pppoe_ip_up_tmpl' is not defined | |||
2020-04-02 | pppoe: migrate alias and vrf script from pre-up to up | Christian Poessinger | |
As the pre-up script is only run once when the interface is brought up but not when the interface maybe only comes up 20 seconds later due to the remote site some actions can not be performed as placing the interface e.g. into a VRF instance. | |||
2020-04-02 | pppoe: migrate to new new helpers in vyos.util | Christian Poessinger | |
Commit d2cf287 ("vyos.util: add chown_file and chmod_x_file helpers") added common helper functions to chown or chmod +x a file. Make use of those helpers. | |||
2020-04-02 | pppoe: vrf: bugfix - only pppoe0 could be assigned to a VRF | Christian Poessinger | |
2020-03-29 | pppoe: T1318: create peer directory on demand | Christian Poessinger | |
2020-03-29 | pppoe: T1988: bugfix creating ip-pre-up.d directory after moving to vyos-1x | Christian Poessinger | |
The creation of this directory has been done in the past using vyatta- wirelessmodem and after it's replacement in vyos-1x the directory has not been deployed anymore. Thos when rendering the PPPoE configuration the directory will be created on deemand. | |||
2020-03-10 | pppoe: T1318: add missing ondemand config setting | Christian Poessinger | |
2020-03-10 | pppoe: T1318: minor code cleanup | Christian Poessinger | |
2020-03-07 | pppoe: T1318: move to Python3 f-strings where possible | Christian Poessinger | |
2020-03-07 | vrf: T31: enable vrf support for pppoe interface | Christian Poessinger | |
2020-03-07 | pppoe: T1493: rename variables on ipv6-up script | Christian Poessinger | |
2020-03-05 | pppoe: T1493: fix for fix of invalid reference of ipv6-up script file | Christian Poessinger | |
Commit d161cbb ("pppoe: T1493: fix invalid reference of ipv6-up script file") actually introduced another bug instead of fixing it. It was catched by vyos-smoketest ... luckily! Sorry! | |||
2020-03-05 | pppoe: T1493: fix invalid reference of ipv6-up script file | Christian Poessinger | |
2020-03-05 | pppoe: T1493: support IPv6 address negotiation which is required for DHCPv6-PD | Christian Poessinger | |
2020-03-04 | pppoe: T1318: IPv6 support | Christian Poessinger | |
2020-03-03 | interfaces: T1579: fix c/p error when evaluating ↵ | Christian Poessinger | |
os.environ['VYOS_TAGNODE_VALUE'] This has been only a theoretical problem but then the error condition was triggered - only an error has been printed instead of raising an Exception. | |||
2020-03-01 | pppoe: T2087: enable unlimited connection attempts | Christian Poessinger | |
2020-02-25 | pppoe: T2055: verify logfile really exists | Christian Poessinger | |
2020-02-25 | Merge branch 'pppoe-t2070' of github.com:c-po/vyos-1x into current | Christian Poessinger | |
* 'pppoe-t2070' of github.com:c-po/vyos-1x: pppoe: T2070: rewrite (dis-)connect op-mode commands in XML and Python gitignore: fix ignore pattern of all debhelper files pppoe: T2055: make logfile owned by root/vyattacfg pppoe: T1318: validate existing source-interface | |||
2020-02-25 | pppoe: T2055: make logfile owned by root/vyattacfg | Christian Poessinger | |
2020-02-25 | pppoe: T1318: validate existing source-interface | Christian Poessinger | |
It is not only sufficient to check if there is a source-interface configured, but rather it must also be checked if the source-interface exists at all in the system. If the interface does not exist pppd will complain with: pppd[2778]: /usr/sbin/pppd: In file /etc/ppp/peers/pppoe1: unrecognized option 'eth0.202' | |||
2020-02-24 | pppoe-client: T2069: Use rp_pppoe_service for send correct service-name | DmitriyEshenko | |
2020-02-23 | pppoe: T1318: set interface description | Christian Poessinger | |
2020-02-23 | pppoe: T2055: do not try to start a deleted dialer interface | Christian Poessinger | |
2020-02-23 | pppoe: T1318: declutter name-server CLI nodes | Christian Poessinger | |
Instead of letting the user choose between auto and none where auto is default, it makes more sesne to just offer an option to disable the default behavior. | |||
2020-02-23 | pppoe: T1318: migrate user-id and password nodes under an authentication node | Christian Poessinger | |
2020-02-23 | pppoe: T1318: rename link to source-interface | Christian Poessinger | |
2020-02-23 | pppoe: T1318: use lists rather then strings on Config() | Christian Poessinger | |
2020-02-23 | pppoe: T1318: support interface description | Christian Poessinger | |