summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-16T1439: add dhcpv6-client-id validatorJernej Jakob
2019-06-16dhcpv6-server: Add name constraint, clarify help, fix typosJernej Jakob
2019-06-16T1439: remove quotes around dhcp6.client-idJernej Jakob
2019-06-16T1431: initial implementation of the HTTP API.Daniil Baturin
2019-06-16T1432: inject VyOS-specific environment variables into the session environment.Daniil Baturin
They are widely referenced by command templates, but a process started as a service doesn't automatically get them.
2019-06-16Revert "T849: move BGP peer-group node to ipv4 address family"Christian Poessinger
This reverts commit 685b1e0d050c7883303733d710327161fe046b60.
2019-06-16Merge branch 'bgp-address-family' into currentChristian Poessinger
* bgp-address-family: T849: move BGP peer-group node to ipv4 address family
2019-06-16T849: move BGP peer-group node to ipv4 address familyChristian Poessinger
To have a consitent IPv4/IPv6 CLI a lot of BGP neighbor nodes have been migrated. The IPv4 peer-group has been forgotten, leaving a non consistent CLI. Previously: ----------- neighbor 2001:DB8:FFFF::1 { address-family { ipv6-unicast { peer-group iBGP } } peer-group iBGP } Now: ---- neighbor 2001:DB8:FFFF::1 { address-family { ipv6-unicast { peer-group iBGP } } address-family { ipv4-unicast { peer-group iBGP } } }
2019-06-16Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-16T1432: add a finalizer to vyos.configsession to avoid leaking sessions.Daniil Baturin
2019-06-16T1438: fix permissions when invoking 'show version'Christian Poessinger
Accessing Kernel DMI data (under /sys/class/dmi) requires elevated permission and thus retrieving a Board Serial/UUID was not possible. version.py is now called via sudo to gether all facts.
2019-06-16T1432: add a discard function to vyos.configsessionDaniil Baturin
2019-06-16DHCPDv6 T1433: rename daemon configuration fileChristian Poessinger
... to have the same pattern as the DHCPDv6 lease file
2019-06-16DHCPDv6 T1433: fix wrong lease file nameChristian Poessinger
A wrong lease file caused the show command to fail: vyos@vyos:~$ show dhcpv6 server leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 81, in <module> leases = get_leases(lease_file, state='active') File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 44, in get_leases leases = IscDhcpLeases(lease_file).get() File "/usr/lib/python3/dist-packages/isc_dhcp_leases/iscdhcpleases.py", line 110, in get with open(self.filename) as lease_file: FileNotFoundError: [Errno 2] No such file or directory: '/config/dhcpdv6.leases'
2019-06-13Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-13T1431: make it possible to obtain session environment and run vyos.config ↵Daniil Baturin
functions under it. This is required for programs running outside a CLI session, like the future API daemon.
2019-06-12T1397: check for path argument in both effective and merge configJohn Estabrook
The merge config script restores the ability to restrict changes to a specified path. In the initial implementation, the path was checked for validity only with respect to the effective config; fix to allow valid paths from merge config as well.
2019-06-12T1397: use revised migration methodJohn Estabrook
2019-06-12T1397: escape backslashes in output passed to configtreeJohn Estabrook
The ouput of config.show_config (cli-shell-api showConfig) does not escape backslashes, whereas configtree expects escaped backslashes. Values containing unescaped backslashes consequently lead to a parsing error; cf. T1001.
2019-06-12T1432: correct the ConfigSessionError exception name.Daniil Baturin
2019-06-12T1431: add dependency on python3-bottle to have something to run the HTTP ↵Daniil Baturin
API with.
2019-06-12T1432: initial implementation of the config write API.Daniil Baturin
2019-06-10[wireguard] T1428: Add handling of fwmark setting (#70)Matthias Fetzer
[wireguard] T1428: correct handling of the fwmark option
2019-06-06Merge pull request #69 from jestabro/config-migrateJohn Estabrook
T1334: Migration script runner rewrite
2019-06-05T1334: Migration script runner rewriteJohn Estabrook
Python script and support code to replace the vyatta_config_migrate.pl script.
2019-06-05T1422: Remove extraneous print statement.John Estabrook
2019-06-04T1379: Deprecated functions in /sbin/dhclient-scriptKim Hagen
2019-06-03T1423: Create known_hosts file if not presentJohn Estabrook
In the recent rewrite of the config merge script, support for merging remote config files checks and adds the host key in known_hosts; however, this function fails if known_hosts is not present. Fix.
2019-06-01T1422: fix wrong file mode.Daniil Baturin
2019-06-01T1422: add a script for querying values in config files.Daniil Baturin
2019-05-30[dhcp] T1416: fix DHCP server status viewChristian Poessinger
2019-05-29Merge pull request #68 from jestabro/merge-configJohn Estabrook
T1397: Rewrite the config merge script
2019-05-29T1397: Rewrite the config merge scriptJohn Estabrook
Add the script vyos-merge-config.py to separate the merge function from the config load script and remove dependency on XorpConfigParser.
2019-05-28T1397: Rewrite the config merge scriptJohn Estabrook
Add vyos.config.show_config to show working configuration. Add vyos.remote.get_config_remote() for obtaining remote config files.
2019-05-22add tests to JenkinsfileKim Hagen
2019-05-22Create Jenkinsfile currentKim Hagen
2019-05-21[pppoe-server] T1393 - adding ip6 and ip6-pd to 'show pppoe-server sessions'hagbard
2019-05-21[pppoe-server] T1393 - pppoe IPv6 pool doesn't workhagbard
2019-05-13T1378: extend version file with Git commit IDChristian Poessinger
The Git commit ID will be crucial for the future when the full VyOS build can be reproduced by the one Git commit ID, thus start recording it in the version file.
2019-05-08T805: Drop config compatibility with Vyatta Core older than 6.5John Estabrook
Rewrite vyatta-config-migrate/migrate/system/6-to-7 in the canonical style and add to vyos-1x migration-scripts. This completes the collection of scripts needed to drop compatability with Vyatta Core older than 6.5.
2019-05-08[VRRP] T1371: add quotes around the health check script string.Daniil Baturin
2019-05-05[dhcp-server] T103: wrong hostnames in hosts fileChristian Poessinger
2019-05-03fix CVE-2019-10906UnicronNL
2019-04-27[rsyslog] T1358 - typo fixed os.path.existshagbard
2019-04-26[pppoe-server] adding CIDR based prefixes as client-ip-pool optionhagbard
2019-04-26[dhcp-server]: bugfix on wrong exit code caused due to wrong indentionChristian Poessinger
2019-04-25[rsyslogd] T1355 - rsyslog stopped after reboot or clean starthagbard
- rsyslog appears now to be started via systemd automatically, checking for the pid to avoid restart race condition between systemd vyos conf script
2019-04-23[pppoe-server] - fixed default RADIUS attribute Filter-Idhagbard
2019-04-23[migration] T1344: extend migration script for radius-source-addressChristian Poessinger
radius-source-address was backported to vyOS 1.2.2 so also migrate this node.
2019-04-21[firewall] T314: add firewall options for MSS clampingChristian Poessinger
* clamp MSS IPv4 set firewall options interface pppoe0 adjust-mss '1452' * clamp MSS IPv6 set firewall options interface pppoe0 adjust-mss6 '1452' * disable entire rule set firewall options interface pppoe0 disable Output ------ $ sudo iptables-save -t mangle # Generated by iptables-save v1.4.21 on Sun Apr 21 12:56:25 2019 *mangle :PREROUTING ACCEPT [1217:439885] :INPUT ACCEPT [290:52459] :FORWARD ACCEPT [920:375774] :OUTPUT ACCEPT [301:100053] :POSTROUTING ACCEPT [1221:475827] :VYOS_FW_OPTIONS - [0:0] -A FORWARD -j VYOS_FW_OPTIONS -A VYOS_FW_OPTIONS -o pppoe0 -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1452 COMMIT Completed on Sun Apr 21 12:56:25 2019 (cherry picked from commit 476aa4c3a561ea0ef0bf9b4c26ec8b78d18a5d02)