diff options
author | zsdc <taras@vyos.io> | 2021-08-26 18:15:36 +0300 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2021-08-26 18:55:27 +0300 |
commit | 4523e9c897b3fa8d12c1b16c830c01820fee5583 (patch) | |
tree | a09f819420cb55b912c687236610b3b0118fcc69 /src/op_mode | |
parent | b1411baf3bd32d149cb60f5a05c862e81054471a (diff) | |
download | vyos-1x-4523e9c897b3fa8d12c1b16c830c01820fee5583.tar.gz vyos-1x-4523e9c897b3fa8d12c1b16c830c01820fee5583.zip |
wireguard: T3763: Added check for listening port availability
Each wireguard interface requires a unique port for in and out
connections. This commit adds the new `vyos.util` function -
`check_port_availability`, and uses it to be sure that a port
that is planned to be used for wireguard interface is truly
available and not used by any other services (not only other
wireguard interfaces).
Diffstat (limited to 'src/op_mode')
0 files changed, 0 insertions, 0 deletions