All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: fixed the bug of tracking TCP sequence number in ftp module
@ 2005-03-09 21:46 Yasuyuki KOZAKAI
  2005-03-09 21:51 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Yasuyuki KOZAKAI @ 2005-03-09 21:46 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: Text/Plain, Size: 246 bytes --]


Hi,

TCP sequence number is 32bits.

Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozkaai@toshiba.co.jp>

Regards,

-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>

[-- Attachment #2: ct_ftp_seq.patch --]
[-- Type: Text/Plain, Size: 734 bytes --]

--- linux-2.6.11/net/ipv4/netfilter/ip_conntrack_ftp.c	2005-03-10 05:48:22.000000000 +0900
+++ linux-2.6.11-fixed/net/ipv4/netfilter/ip_conntrack_ftp.c	2005-03-10 05:54:30.000000000 +0900
@@ -252,7 +252,7 @@
 }
 
 /* Look up to see if we're just after a \n. */
-static int find_nl_seq(u16 seq, const struct ip_ct_ftp_master *info, int dir)
+static int find_nl_seq(u32 seq, const struct ip_ct_ftp_master *info, int dir)
 {
 	unsigned int i;
 
@@ -263,7 +263,7 @@
 }
 
 /* We don't update if it's older than what we have. */
-static void update_nl_seq(u16 nl_seq, struct ip_ct_ftp_master *info, int dir)
+static void update_nl_seq(u32 nl_seq, struct ip_ct_ftp_master *info, int dir)
 {
 	unsigned int i, oldest = NUM_SEQ_TO_REMEMBER;
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-10 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09 21:46 [PATCH]: fixed the bug of tracking TCP sequence number in ftp module Yasuyuki KOZAKAI
2005-03-09 21:51 ` Patrick McHardy
2005-03-10  1:53   ` Patrick McHardy
2005-03-10 13:18     ` Yasuyuki KOZAKAI

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.