Skip to contentSkip to conversation

Direction Confusion

DISCUSSION Ricky Foo 1 participant 1 message Jun 16, 2003 netfilter

lore
Share & tools
lore

Ricky Foo

author
#0 lore raw

Hi all,

For the netbios name service protocol, it is not request-reply based. I have observed from ethereal that the client machine will send a request out but will not receive back any replies. Thus for the similar code segment part below for my case, what should I put since the connection will never be "established" or "related" nor "reply" in any sense?

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
this is the part for FTP:

	/* Until there's been traffic both ways, don't look in packets. */
	if (ctinfo != IP_CT_ESTABLISHED
	    && ctinfo != IP_CT_ESTABLISHED+IP_CT_IS_REPLY) {
		printk("ftp: Conntrackinfo = %u\n", ctinfo);
		return NF_ACCEPT;
	}

Ricky

_________________________________________________________________
Get 10mb of inbox space with MSN Hotmail Extra Storage http://join.msn.com/?pgmarket=en-sg