summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-29tftp_server.py: switch to new IP address validatorsChristian Poessinger
Commit a30dac7c2 ("vyos package: add IP address validators") added system wide Python validators for IP addresses. Remove duplicated code and switch to a single source.
2018-08-29vyos package: add IP address validatorsChristian Poessinger
* is_addr_assigned(addr) - Test if address is assigned to ANY interface on the system * is_ipv4(addr) - Test if it is an IPv4 address, both network and host * is_ipv6(addr) - Test if it is an IPv6 address, both network and host
2018-08-29dhcp_server.py: beautify error messages generated in verify()Christian Poessinger
2018-08-29dhcp_server.py: check if AF_INET address is configure before using it in ↵Christian Poessinger
verify()
2018-08-29dhcp_server.py: fix KeyError in verify()Christian Poessinger
2018-08-29dhcp_server.py: improve handling of 'dhcpd.leases' fileChristian Poessinger
If there was yet no lease file present, dhcpd refused to start. Lease file is created if required. Ususally this is handeled by the isc-dhcp-server init script but we use our own path (for persistance) of that file.
2018-08-28bcast-relay.xml: move priority from tagNode to base nodeChristian Poessinger
2018-08-28T778: harden dhcp_server.py for non existing filesChristian Poessinger
2018-08-28T810: bugfix broadcast-relay address validator, add 'disable' functionalityChristian Poessinger
Whole broadcast relay service can be temporary disabled via set service broadcast-relay disable Individual instances of the broadcast relay service can be disabled set service broadcast-relay id <n> disable
2018-08-28dhcp_server.py: issue warning and don't generate config if service is disabledChristian Poessinger
2018-08-28dhcp_server.py: rename dictionary key 'disable' to 'disabled'Christian Poessinger
2018-08-27Merge branch 'dhcp-server-rewrite' into currentChristian Poessinger
2018-08-27T778: T782: dhcp-server: XML and Python rewriteChristian Poessinger
This commit changes in addtion the DHCP server config syntax as defined in "T782: Cleanup dhcp-server configuration". Replace boolean parameter from the folowing nodes and make it valueless. This requires a migration script which is tracked with this task * set service dhcp-server shared-network-name <xyz> subnet 172.31.0.0/24 ip-forwarding enable (true|false) * set service dhcp-server shared-network-name <xyz> authoritative (true|false) * set service dhcp-server disabled (true|false) * set service dhcp-server dynamic-dns-update enable (true|fals) * set service dhcp-server hostfile-update (enable|disable) Replace the nested start/stop ip address from "subnet 172.31.0.0/24 start 172.31.0.101 stop 172.31.0.149" to "subnet 172.31.0.0/24 range <foo> start" and "subnet 172.31.0.0/24 range <foo> stop" where foo can be any character or number. In addition the vyatta-cfg-dhcp-server package used it's own init/config file for service startup. This has been migrated to the vanilla Debian files. Copy 'on-dhcp-event.sh' from vyatta-cfg-shcp-server package commit 4749e648bca6.
2018-08-26Merge pull request #46 from hagbard-01/currenthagbard-01
T427: wireguard support
2018-08-26Merge remote-tracking branch 'upstream/current' into currenthagbard
2018-08-26T427: changed option listen-port to only porthagbard
2018-08-26tftp_server.py: change umask for created filesChristian Poessinger
2018-08-26Merge remote-tracking branch 'upstream/current' into currenthagbard
2018-08-26Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2018-08-26T801: correct parsing of returnValues and listNodes output.Daniil Baturin
2018-08-26tftp_server.py: fix copy-paste commentChristian Poessinger
2018-08-26tftp_server.py: fix indention and add more verbose commentsChristian Poessinger
2018-08-26Merge branch 'tftp-server' into currentChristian Poessinger
* tftp-server: T792: add TFTP server functionality ssh.py: start/stop service via systemctl ntp.py: start/stop service via systemctl
2018-08-26T792: add TFTP server functionalityChristian Poessinger
2018-08-26ssh.py: start/stop service via systemctlChristian Poessinger
2018-08-26ntp.py: start/stop service via systemctlChristian Poessinger
2018-08-25Merge remote-tracking branch 'upstream/current' into currenthagbard
2018-08-25idents fixed (sonarcloud complains)hagbard
2018-08-25validate-value.py: remove tailing whitespacesChristian Poessinger
2018-08-25ntp.py: fix typo in commentChristian Poessinger
2018-08-24T791: endpoint pattern doesn't need to be checked, wg returns an error ↵hagbard
message if it's not IP:port
2018-08-24T791: mtu size implementationhagbard
2018-08-23T793: fwmark implementationhagbard
2018-08-23changed back Makefile and enabled test again.hagbard
2018-08-23persitent-keepalive validator chnaged, checks now if it's between 1 and 65535hagbard
2018-08-23listen-port for update mode needs to be 0 to switch back to randomly chosen ↵hagbard
if previously configured
2018-08-23adding validation for listen-porthagbard
2018-08-23T791: implementationhagbard
TODO: fwmark, mtu and pre-shared key
2018-08-22T791: rename peer-pubkey to pubkey only.hagbard
2018-08-22T791: interface file updatedhagbard
2018-08-22T791: interface implementationhagbard
2018-08-22Merge pull request #39 from hagbard-01/currentDaniil Baturin
T790: wireguard: add status commands
2018-08-21Merge pull request #41 from alkersan/force_arpDaniil Baturin
T689: Moved force arp ops from vyatta-op
2018-08-21T689: Moved force arp ops from vyatta-opDmytro Aleksandrov
2018-08-20Merge branch 'T427' into currenthagbard
2018-08-20T790: wireguard: add status commandshagbard
2018-08-20show/interfecaces/node.def removalhagbard
2018-08-20remove show/interfaces/node.def from generated treehagbard
2018-08-20Merge pull request #36 from runborg/testChristian Poessinger
T689: Reboot/Poweroff now not working after last changes
2018-08-20Merge pull request #38 from hagbard-01/currentChristian Poessinger
T427, T783 minor bugfixes