diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org> | 2005-05-17 11:38:37 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org> | 2005-05-17 11:38:37 +0000 |
commit | 5c14f27ef46e65317ca4da8657f7c1a1a91da4c4 (patch) | |
tree | abc22db769c30b45127c793012b357a6b03df2d2 /test.sh | |
parent | a75bb977ff16c9f3b3bdccdcd4173e9ef033463f (diff) | |
download | conntrack-tools-5c14f27ef46e65317ca4da8657f7c1a1a91da4c4.tar.gz conntrack-tools-5c14f27ef46e65317ca4da8657f7c1a1a91da4c4.zip |
o Added descriptive error messages.
o Fix wrong flags check in [tcp|udp] proto helpers.
Diffstat (limited to 'test.sh')
-rw-r--r-- | test.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -44,13 +44,11 @@ case $1 in --reply-src $DST --reply-dst $SRC -p tcp \ --orig-port-src $SPORT --orig-port-dst $DPORT \ --reply-port-src $DPORT --reply-port-dst $SPORT \ - --state TIME_WAIT -u ASSURED -t 500 + --state TIME_WAIT -u ASSURED,SEEN_REPLY -t 500 ;; delete) - # 66.111.58.52 dst=85.136.125.64 sport=22 dport=60239 - $CONNTRACK -D conntrack --orig-src 66.111.58.1 \ - --orig-dst 85.136.125.64 -p tcp --orig-port-src 22 \ - --orig-port-dst 60239 + $CONNTRACK -D --orig-src $SRC --orig-dst $DST \ + -p tcp --orig-port-src $SPORT --orig-port-dst $DPORT ;; output) proc=$(cat /proc/net/ip_conntrack | wc -l) |