summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-03T1504: wait for commit lock before trying to update resolv.conf in the out ↵Daniil Baturin
of CLI mode.
2019-07-03T1503: add functions for commit lock checking and waiting.Daniil Baturin
2019-07-02Merge branch 'current' of https://github.com/vyos/vyos-1x into currenthagbard
2019-07-02[IPoE] T1495 - IA-PD via IPoE implementedhagbard
2019-07-02Merge pull request #83 from UnicronNL/currentKim
T1497: "set system name-server" generates invalid/incorrect resolv.conf
2019-07-02T1497: "set system name-server" generates invalid/incorrect resolv.confUnicronNL
2019-07-01Merge pull request #82 from jestabro/service-httpsJohn Estabrook
[service https] T1443: add service https and service https api
2019-07-01[service https] T1443: add service https and service https apiJohn Estabrook
2019-07-01[HTTP API] T1431: check init/vyos-config before starting HTTP API serviceJohn Estabrook
2019-07-01Merge pull request #80 from UnicronNL/currentKim
T1498: Nameservers are not propagated into resolv.conf
2019-07-01T1498: Nameservers are not propagated into resolv.confKim Hagen
2019-06-28[IPoE] config structure improvedhagbard
* fixed minor issues * fixed lower function for mac addresses if user capitalized it (local mode only) * added some checks to verify() * cli ip-address checks on input
2019-06-28[IPoE] configerror message fixed to show the interface where subnet is missinghagbard
2019-06-28[IPoE] if authentication is local use .lower() for mac addresseshagbard
2019-06-27[IPoE] fixed show commandshagbard
2019-06-27Merge pull request #77 from jjakob/T1470-improve-show-dhcpv6-server-leaseshagbard-01
T1470: improve output of "show dhcpv6 server leases"
2019-06-27Merge pull request #79 from hagbard-01/IPoEhagbard-01
[IPoE] T989 - IPoE implementation
2019-06-27[IPoE] T989 - IPoE implementationhagbard
* chap-secrets file generation * noauth in accel config as option * local auth with csid implemented * radius implementation * shaper per user implemented * op comands for stats
2019-06-24 T1470: improve output of "show dhcpv6 server leases"Jernej Jakob
- change DUID to IAID_DUID - format IAID_DUID as colon-separated hex list - implement functions: pool, sort, state - add op-mode definitions for pool, sort, state - add columns: State, Type, Last communication, Pool - implement json output - implement completionHelp function
2019-06-23Merge branch 'bfd' into currentChristian Poessinger
* bfd: bfd: T1183: support show of individual BFD peer bfd: T1183: move "multiplier" configuration node to "interval multiplier" bfd: T1183: add rx/tx interval configuration bfd: T1183: multihop doesn't accept interface names bfd: T1183: add support to configure detection multiplier bfd: T1183: adjust CLI syntax for source address/interface bfd: T1137: add 'show protocols bfd peer' command bfd: T1183: add support for multihop bfd: T1183: first working FRR bfd peer configuration bfd: T1183: IPv6 peers require explicit local address/interface bfd: T1183: initial CLI implementation
2019-06-23bfd: T1183: support show of individual BFD peerChristian Poessinger
vyos@vyos:~$ show protocols bfd peer BFD Peers: peer 172.18.1.2 interface eth0.701 ID: 3762227714 Remote ID: 3787683864 Status: up Uptime: 24 minute(s), 54 second(s) Diagnostics: ok Remote diagnostics: ok Local timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms peer 172.18.0.2 interface eth0.700 ID: 3132309989 Remote ID: 859733951 Status: up Uptime: 25 minute(s), 24 second(s) Diagnostics: ok Remote diagnostics: ok Local timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms vyos@vyos:~$ show protocols bfd peer Possible completions: <Enter> Execute the current command 172.18.0.2 Show Bidirectional Forwarding Detection (BFD) peer status 172.18.1.2 vyos@vyos:~$ show protocols bfd peer 1 172.18.0.2 172.18.1.2 vyos@vyos:~$ show protocols bfd peer 172.18.0.2 BFD Peer: peer 172.18.0.2 interface eth0.700 ID: 3132309989 Remote ID: 859733951 Status: up Uptime: 25 minute(s), 29 second(s) Diagnostics: ok Remote diagnostics: ok Local timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms Remote timers: Receive interval: 300ms Transmission interval: 300ms Echo transmission interval: 50ms
2019-06-22Merge pull request #74 from jjakob/T1433-fix-show-dhcpv6-server-leasesChristian Poessinger
T1433: fix show dhcpv6 server leases
2019-06-22[pdns-recursor] T1469 - replace forward-zones with forward-zones-recurse (#75)qiuchengxuan
forward-zones-recurse behaves identically to dnsmasq server option in legacy vyos 1.1.8, while forward-zones option disallow recursive name resolving, which leads to dns lookup failure
2019-06-22T1433: fix also filenames in /etc/default/isc-dhcpv6-serverJernej Jakob
2019-06-22bfd: T1183: move "multiplier" configuration node to "interval multiplier"Christian Poessinger
2019-06-22bfd: T1183: add rx/tx interval configurationChristian Poessinger
vyos@vyos# show protocols bfd { peer 1.1.1.1 { interval { receive 400 transmit 300 } } }
2019-06-22bfd: T1183: multihop doesn't accept interface namesChristian Poessinger
2019-06-22bfd: T1183: add support to configure detection multiplierChristian Poessinger
Configures the detection multiplier to determine packet loss. The remote transmission interval will be multiplied by this value to determine the connection loss detection timer. The default value is 3. Example: when the local system has detect-multiplier 3 and the remote system has transmission interval 300, the local system will detect failures only after 900 milliseconds without receiving packets.
2019-06-22bfd: T1183: adjust CLI syntax for source address/interfaceChristian Poessinger
Place address/interface under new source node. vyis@vyos# show protocols bfd peer 1.1.1.1 { source { address 1.2.3.4 interface eth0.201 } }
2019-06-22bfd: T1137: add 'show protocols bfd peer' commandChristian Poessinger
2019-06-22bfd: T1183: add support for multihopChristian Poessinger
multihop tells the BFD daemon that we should expect packets with TTL less than 254 (because it will take more than one hop) and to listen on the multihop port (4784). When using multi-hop mode echo-mode will not work (see RFC 5883 section 3).
2019-06-22bfd: T1183: first working FRR bfd peer configurationChristian Poessinger
2019-06-22bfd: T1183: IPv6 peers require explicit local address/interfaceChristian Poessinger
2019-06-22bfd: T1183: initial CLI implementationChristian Poessinger
vyos@vyos# show protocols bfd peer 172.18.202.10 { local-address 172.18.201.10 local-interface eth0.201 shutdown } peer 172.18.202.12 { shutdown }
2019-06-20firewall: T1461: deleting 'firewall options' causes Python TypeErrorChristian Poessinger
[ firewall options interface wg01 ] Traceback (most recent call last): File "/usr/libexec/vyos/conf_mode/firewall_options.py", line 139, in <module> apply(c) File "/usr/libexec/vyos/conf_mode/firewall_options.py", line 97, in apply if tcp['new_chain4']: TypeError: 'NoneType' object is not subscriptable delete [ firewall options ] failed delete [ firewall ] failed Commit failed
2019-06-20T1458: Regression in 1.2.1-S2 hostname & loggingKim Hagen
2019-06-19[wireguard] T1425 - assign a /31 address on Wireguard interfacehagbard
- added a validator for checking if the address is any cidr noted address
2019-06-18[pppoe-server] T1452 - add vendor option to shaperhagbard
2019-06-18Merge pull request #73 from UnicronNL/currentKim
[ config ] T1447: Python subprocess called without import in host_nam…
2019-06-18[ config ] T1447: Python subprocess called without import in host_name.pyKim Hagen
2019-06-17[HTTP API] T1431: disallow empty config paths.Daniil Baturin
2019-06-17[HTTP API] T1431: make the value field optional.Daniil Baturin
2019-06-17Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-17[HTTP API] T1431: allow sending a single command, and make sure commands are ↵Daniil Baturin
dicts.
2019-06-17[syslog/hostname.py] T1394 - syslog systemd and host_name.py race conditionhagbard
- checking if the hostname has changed, otherwise the script and systemd try to restart rsyslogd at the same time, at the end it's not started at all.
2019-06-17[HTTP API] T1431: make the value field optional and add better validation.Daniil Baturin
2019-06-17[HTTP API] T1431: make systemd restart the HTTP API service on failure.Daniil Baturin
2019-06-17[pppoe-server] T1408 - improve verify() function to enable IPv6 only deploymentshagbard
2019-06-17Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-17T1431: release the lock even if discard() caused an exception.Daniil Baturin
It may be better to crash the process in that situation.