summaryrefslogtreecommitdiff
path: root/src/read_config_lex.l
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-03-13 14:00:59 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-03-13 14:00:59 +0100
commit41e8560ea7c09533d03f523380c1cb5c62d87261 (patch)
tree684fdff336751ef76b1527c8f9de6af968701b4c /src/read_config_lex.l
parent338d8fc2da19f5d6a75c339d9e6ecac43b68a1e4 (diff)
downloadconntrack-tools-41e8560ea7c09533d03f523380c1cb5c62d87261.tar.gz
conntrack-tools-41e8560ea7c09533d03f523380c1cb5c62d87261.zip
sync-mode: add unicast UDP support to propagate state-changes
This patch adds support for unicast UDP to the channel infrastructure. With this patch, you can select UDP unicast to propagate state-changes instead of multicast. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/read_config_lex.l')
-rw-r--r--src/read_config_lex.l10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/read_config_lex.l b/src/read_config_lex.l
index d75e299..44ccf0b 100644
--- a/src/read_config_lex.l
+++ b/src/read_config_lex.l
@@ -58,11 +58,14 @@ notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k]
"UNIX" { return T_UNIX; }
"IPv4_address" { return T_IPV4_ADDR; }
"IPv6_address" { return T_IPV6_ADDR; }
+"IPv4_Destination_Address" { return T_IPV4_DEST_ADDR; }
+"IPv6_Destination_Address" { return T_IPV6_DEST_ADDR; }
"IPv4_interface" { return T_IPV4_IFACE; }
"IPv6_interface" { return T_IPV6_IFACE; }
"Interface" { return T_IFACE; }
"Port" { return T_PORT; }
"Multicast" { return T_MULTICAST; }
+"UDP" { return T_UDP; }
"HashSize" { return T_HASHSIZE; }
"RefreshTime" { return T_REFRESH; }
"CacheTimeout" { return T_EXPIRE; }
@@ -75,6 +78,7 @@ notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k]
"StripNAT" { return T_STRIP_NAT; }
"Backlog" { return T_BACKLOG; }
"Group" { return T_GROUP; }
+"Port" { return T_PORT; }
"LogFile" { return T_LOG; }
"Syslog" { return T_SYSLOG; }
"LockFile" { return T_LOCK; }
@@ -109,8 +113,10 @@ notrack [N|n][O|o][T|t][R|r][A|a][C|c][K|k]
"LISTEN" { return T_LISTEN; }
"LogFileBufferSize" { return T_STAT_BUFFER_SIZE; }
"DestroyTimeout" { return T_DESTROY_TIMEOUT; }
-"McastSndSocketBuffer" { return T_MCAST_SNDBUFF; }
-"McastRcvSocketBuffer" { return T_MCAST_RCVBUFF; }
+"McastSndSocketBuffer" { return T_SNDBUFF; /* deprecated */ }
+"McastRcvSocketBuffer" { return T_RCVBUFF; /* deprecated */ }
+"SndSocketBuffer" { return T_SNDBUFF; }
+"RcvSocketBuffer" { return T_RCVBUFF; }
"Filter" { return T_FILTER; }
"Protocol" { return T_PROTOCOL; }
"Address" { return T_ADDRESS; }