summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_static.py
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2021-08-26 18:15:36 +0300
committerzsdc <taras@vyos.io>2021-08-26 18:55:27 +0300
commit4523e9c897b3fa8d12c1b16c830c01820fee5583 (patch)
treea09f819420cb55b912c687236610b3b0118fcc69 /src/conf_mode/protocols_static.py
parentb1411baf3bd32d149cb60f5a05c862e81054471a (diff)
downloadvyos-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/conf_mode/protocols_static.py')
0 files changed, 0 insertions, 0 deletions