All of lore.kernel.org
 help / color / mirror / Atom feed
* Checksum problem in tcp-window-tracking
@ 2004-06-12 19:32 Martin Josefsson
  2004-06-13  4:28 ` Patrick McHardy
  2004-06-14  8:23 ` Jozsef Kadlecsik
  0 siblings, 2 replies; 11+ messages in thread
From: Martin Josefsson @ 2004-06-12 19:32 UTC (permalink / raw)
  To: Jozsef Kadlecsik; +Cc: Netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]

Hi Jozsef

Upgraded my kernel and started seeing lots of complaints from the
tcp-window-tracking code.

I only get the complaints on localhost<->localhost traffic, all other
traffic is complaint-free and working great :)

Jun 12 21:14:30 tux ip_conntrack_tcp: INVALID: bad T IN= OUT= MAC=
SRC=127.0.0.1 DST=127.0.0.1 LEN=93 TOS=00 PREC=0x00 TTL=64 ID=6306 DF
PROTO=TCP SPT=6667 DPT=32813 SEQ=2226635880 ACK=2237541190 WINDOW=4095
ACK PSH URGP=0

"bad T" can only be this code from unclean()

        /* Checksum invalid?  Ignore. */
        /* FIXME: Source route IP option packets --RR */
        if (csum_tcpudp_magic(iph->saddr, iph->daddr,
                              tcplen, IPPROTO_TCP,
                              skb->ip_summed == CHECKSUM_HW
                                ? skb->csum
                                : skb_checksum(skb, iph->ihl*4, tcplen, 0))) {
                if (NET_RATELIMIT(ip_ct_tcp_log_invalid))
                        nf_log_packet(PF_INET, 0, skb, NULL, NULL,
                                  "ip_conntrack_tcp: INVALID: "
                                  "bad TCP checksum ");
                return 1;
        }

According to tcpdump the checksum is correct (otherwise we'd have a
serious bug in the tcp-stack :)

Any ideas?

-- 
/Martin

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-06-15 19:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-12 19:32 Checksum problem in tcp-window-tracking Martin Josefsson
2004-06-13  4:28 ` Patrick McHardy
2004-06-13 20:15   ` Jozsef Kadlecsik
2004-06-15 13:14     ` Jozsef Kadlecsik
2004-06-15 18:32       ` Patrick McHardy
2004-06-15 18:51         ` Martin Josefsson
2004-06-15 19:06         ` Jozsef Kadlecsik
2004-06-14  8:23 ` Jozsef Kadlecsik
2004-06-14  8:43   ` Martin Josefsson
2004-06-14  8:57     ` Jozsef Kadlecsik
2004-06-14  8:58       ` Martin Josefsson

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.