Skip to contentSkip to conversation

State RELATED and more then one conntrack helper

DISCUSSION [email protected] 2 participants 2 messages Dec 21, 2004

lore
Share & tools
lore
#0 lore raw

Hello

we have the following rule fpr ftp in our iptables rule iptables -A INPUT -p tcp --dport 1023: -m state --state RELATED -j ACCEPT

As far as i can tell from the docu this matches for every module with RELATED states ip_conntrack_ftp, ip_conntrack_irc and maybe others...

Is there a possibility to limit this matching to only a special module??

Thanxs

Regards

Andreas

#1 lore raw
Quoted 1 line · Le mardi 21 décembre 2004 à 09:02 +0100, [email protected] a écrit :

Is there a possibility to limit this matching to only a special module??

See helper match.

helper match v1.2.11 options:
[!] --helper string Match helper identified by string

So restricting to ftp helper :

	-m helper --helper ftp
Signature · 2 lines
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
Quoted 2 lines
Quoted 2 lines

Hi! I'm your friendly neighbourhood signature virus. Copy me to your signature file and help me spread!