* Reasons for INVALID packets ?
@ 2005-02-27 11:32 Mikhail Zotov
2005-02-27 14:32 ` Michael Tautschnig
0 siblings, 1 reply; 2+ messages in thread
From: Mikhail Zotov @ 2005-02-27 11:32 UTC (permalink / raw)
To: netfilter
Hello everybody,
My iptables script drops (and logs) INVALID packets in
INPUT, OUTPUT, and FORWARD chains.
Sometimes a router that is running the script generates ICMP
packets of type 11 that it considers INVALID. (In other words, it
generates packets that by itself considers to be INVALID.) The
problem is that I cannot figure out what makes the router generate
invalid packets.
Typical records of this kind look this way:
IN= OUT=eth0 SRC=ROUTER DST=193.108.155.115 LEN=68 TOS=0x00 PREC=0xC0 TTL=64
ID=22467 PROTO=ICMP TYPE=11 CODE=0 [SRC=193.108.155.115 DST=A.LAN.HOST LEN=40
TOS=0x00 PREC=0x00 TTL=1 ID=40760 PROTO=ICMP TYPE=8 CODE=0 ID=20244
SEQ=45126 ]
or:
IN= OUT=eth0 SRC=ROUTER DST=66.150.8.26 LEN=60 TOS=0x00 PREC=0xC0 TTL=64
ID=30495 PROTO=ICMP TYPE=11 CODE=0 [SRC=66.150.8.26 DST=A.LAN.HOST LEN=32
TOS=0x00 PREC=0x20 TTL=1 ID=1294 PROTO=UDP SPT=12895 DPT=33440 LEN=12 ]
It seems that they appear in situations when an exterior host either pings or
"traceroutes" a host in the LAN. Both pings and "traceroutes" are normally
logged and dropped. In these cases, none of these types of packets were
registered _before_ invalid packets but a few seconds _later_. No connection
breakdowns were logged either. My question is: what can make a router
generate INVALID packets and how dangerous can this be in the sense of
security of the router and the LAN?
Thanks in advance,
Mikhail
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reasons for INVALID packets ?
2005-02-27 11:32 Reasons for INVALID packets ? Mikhail Zotov
@ 2005-02-27 14:32 ` Michael Tautschnig
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tautschnig @ 2005-02-27 14:32 UTC (permalink / raw)
To: Mikhail Zotov; +Cc: netfilter
>
> IN= OUT=eth0 SRC=ROUTER DST=193.108.155.115 LEN=68 TOS=0x00 PREC=0xC0 TTL=64
> ID=22467 PROTO=ICMP TYPE=11 CODE=0 [SRC=193.108.155.115 DST=A.LAN.HOST LEN=40
> TOS=0x00 PREC=0x00 TTL=1 ID=40760 PROTO=ICMP TYPE=8 CODE=0 ID=20244
> SEQ=45126 ]
>
[...]
Why would you consider these packets invalid - TYPE=11 is "time exceeded",
CODE=0 is "maximum lifetime of the datagram exceeded" - for whatever
reason those packets are generated ...
Regards,
Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-27 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-27 11:32 Reasons for INVALID packets ? Mikhail Zotov
2005-02-27 14:32 ` Michael Tautschnig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox