diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-16 12:32:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 12:32:44 +0100 |
commit | 5daebff4a5cc570f22c75e002ded8564b8e22e33 (patch) | |
tree | c20d1d171157154d535611c3a281d5df9dbbfa78 /src/conf_mode | |
parent | aea9bfb803c8943d289e939c9ec8185ffcc0985d (diff) | |
parent | 3e1e2a3e7b6f5d969819bffda2858a91132d595e (diff) | |
download | vyos-1x-5daebff4a5cc570f22c75e002ded8564b8e22e33.tar.gz vyos-1x-5daebff4a5cc570f22c75e002ded8564b8e22e33.zip |
Merge pull request #3112 from Ingramz/add-rtsp-2
conntrack: T4022: add RTSP conntrack helper
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/system_conntrack.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/conf_mode/system_conntrack.py b/src/conf_mode/system_conntrack.py index 2a55daed4..a1472aaaa 100755 --- a/src/conf_mode/system_conntrack.py +++ b/src/conf_mode/system_conntrack.py @@ -58,6 +58,11 @@ module_map = { 'nftables': ['tcp dport {1723} ct helper set "pptp_tcp" return'], 'ipv4': True }, + 'rtsp': { + 'ko': ['nf_nat_rtsp', 'nf_conntrack_rtsp'], + 'nftables': ['tcp dport {554} ct helper set "rtsp_tcp" return'], + 'ipv4': True + }, 'sip': { 'ko': ['nf_nat_sip', 'nf_conntrack_sip'], 'nftables': ['tcp dport {5060,5061} ct helper set "sip_tcp" return', @@ -195,7 +200,7 @@ def generate(conntrack): def apply(conntrack): # Depending on the enable/disable state of the ALG (Application Layer Gateway) # modules we need to either insmod or rmmod the helpers. - + add_modules = [] rm_modules = [] |