Age | Commit message (Collapse) | Author |
|
(cherry-picked from commits dc936192e87f114df6ab6a4df44967ce0f2b8390
c291d18377eb6eea6693050c338b0392e1297e74)
|
|
Stopping and starting ddclient should only happen if the DNS dynamic service
is actually configured. In addition it should always be checked if the file
we try to delete really exists.
(cherry picked from commit 0525e443fa68cda451c9f4c838e1f55cec913d2a)
|
|
(cherry picked from commit b4544f196c2beededdd76f581690b1490c755dac)
|
|
previous state
|
|
(cherry picked from commit 9f20bee81c0a0f4632aa152297d0fdf89139d6af)
|
|
(cherry picked from commit 7a27f6f93b58abd2fabc9e80e429e14a70ebd6aa)
|
|
|
|
|
|
Conflicts:
Makefile
|
|
- 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
|
|
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.
(cherry picked from commit a8b5fae5581c03c5037c5fdc840be3e5bf984484)
|
|
The script did not check if the service was actually configured or not.
This caused a FileNotFoundError for unconfigured services.
vyos@vyos:~$ show dhcp server leases
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/show_dhcp.py", line 123, in <module>
leases = get_leases(lease_file, state='active')
File "/usr/libexec/vyos/op_mode/show_dhcp.py", line 60, 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/dhcpd.leases'
(cherry picked from commit ed620ef7e8ba741e165698c558b110a31cc35dfd)
|
|
The script did not check if the service was actually configured or not.
This caused a FileNotFoundError for unconfigured services.
vyos@vyos:~$ show dhcpv6 server leases
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 77, in <module>
leases = get_leases(lease_file, state='active')
File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 46, 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'
(cherry picked from commit a6700c7d3b75854c3b213b65951a51464cd073be)
|
|
- keypair can now be generated and used from the running iso to create wg tunnels on the fly
Conflicts:
debian/changelog
|
|
Not sure it's a normal case scenario, the one highlighted in T1256.
To managed it I changed the "if" logic.
|
|
in case when no active SAs are found.
|
|
|
|
T1077: Update show_ipsec_sa.py
|
|
|
|
Removed duplicates from "connections" list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Current implementation referred to a no longer existing Perl script to
restart the IPv4 and IPv6 instance of dhcrelay.
> restart dhcp relay-agent
> restart dhcpv6 relay-agent
|
|
Examples:
=========
CFG commands:
vyos@vyos# set protocols igmp-proxy disable-quickleave
vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.16.35.0/24'
vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.31.0.0/24'
vyos@vyos# set protocols igmp-proxy interface eth0 role 'upstream'
vyos@vyos# set protocols igmp-proxy interface eth1 role 'downstream'
vyos@vyos# show protocols
igmp-proxy {
disable-quickleave
interface eth0 {
alt-subnet 172.16.35.0/24
alt-subnet 172.31.0.0/24
role upstream
}
interface eth1 {
role downstream
}
}
OP mode commands:
-----------------
vyos@vyos:~$ show ip multicast interface
Interface BytesIn PktsIn BytesOut PktsOut Local
eth0 0.0b 0 0.0b 0 xxx.xxx.xxx.65
eth1 0.0b 0 0.0b 0 xxx.xxx.xx.201
vyos@vyos:~$ show ip multicast mfc
Group Origin Pkts Bytes Wrong In Out
xxx.x.xx.1 xxx.xx.0.1 10 9.81KB 0 eth0 eth1
xxx.x.xx.2 xxx.xx.0.1 --
|
|
|
|
|
|
I don't really do python, please check/test.
|
|
T870: Commit-confirm restarts the server even after commit
|
|
- adding removal of the at job and /var/run/confirm.job
- indent fixed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
T689: Reboot/Poweroff now not working after last changes
|
|
|
|
|
|
T689: Rewritten poweroff/reboot script to use systemd-shutdownd service
|
|
|
|
|
|
- 'generate wireguard keypair' added
- 'show wireguard [pubkey|privkey]' added
|