Re: TCP connection timeout problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Jul 2006, Arno van Amersfoort wrote:

> Yep: I have ipt_LOG loaded (actually compiled into the kernel) and not
> ipt_ULOG. So the only thing I'm getting in my kernel log is:
>
> Jul 17 04:02:07 rulhm2 kernel: INVALID packet: IN=eth0 OUT=
> MAC=00:01:02:05:1d:25:00:01:03:d2:b8:75:08:00 SRC=132.229.96.110
> DST=132.229.96.12 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=56700 DF PROTO=TCP
> SPT=54858 DPT=445 WINDOW=5840 RES=0x00 ACK FIN URGP=0
>
> (But of course this also is shown when
> /proc/sys/net/ipv4/netfilter/ip_conntrack_log_invalid = 0 )

That line is created by your explicit rule of logging invalid packets. If
there were any TCP related problem which would forced conntrack to mark
the packet as invalid, you should see kernel log messages with the prefix
"ip_ct_tcp: " (when logging invalid packets is enabled). That's really
strange.  As the packet is not truncated, there isn't really anything
which should trigger to mark it as INVALID.

It seems to me only catching such packets by tcpdump can really help.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux