summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-16 12:32:44 +0100
committerGitHub <noreply@github.com>2024-03-16 12:32:44 +0100
commit5daebff4a5cc570f22c75e002ded8564b8e22e33 (patch)
treec20d1d171157154d535611c3a281d5df9dbbfa78 /src
parentaea9bfb803c8943d289e939c9ec8185ffcc0985d (diff)
parent3e1e2a3e7b6f5d969819bffda2858a91132d595e (diff)
downloadvyos-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')
-rwxr-xr-xsrc/conf_mode/system_conntrack.py7
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 = []