Skip to contentSkip to conversation

to use or not to use stateful capabilities

DISCUSSION __ Radien__ 2 participants 2 messages Apr 6, 2004

lore
Share & tools
lore
#0 lore raw

Thanks Antony, you did fine.

ByTheWay, about ftp service, do u mean that w/ iptables I can set such rules that can detect and pass the data connection corresponding to existing control-connection further than ordinary accepting control-conneciton to fwd.

Does RELATED state match such cases?

Regards
__Radien__

#1 lore raw
Quoted 5 lines · __ Radien__

ByTheWay, about ftp service, do u mean that w/ iptables I can set such rules that can detect and pass the data connection corresponding to existing control-connection further than ordinary accepting control-conneciton to fwd.
Does RELATED state match such cases?

Yes.
For FTP, the date connection first packet will have RELATED state, for it complies to informations that were gathered within control connection by ip_conntrack_ftp module, allowing you to match and accept it.

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!