Linux Netfilter discussions
 help / color / mirror / Atom feed
From: David Vogt <mail@davidvogt.de>
To: Aleksander <aleksander@krediidiinfo.ee>
Cc: netfilter@lists.netfilter.org
Subject: Re: state new with SYN not set
Date: Mon, 13 Feb 2006 15:29:42 +0100	[thread overview]
Message-ID: <859616420602130629m1ad6aeb9m@mail.gmail.com> (raw)
In-Reply-To: <43F0950F.4060304@krediidiinfo.ee>

Maybe there is a problem with the network hardware? I don't really
know a lot about iptables, just crossed my mind while reading this.

David

2006/2/13, Aleksander <aleksander@krediidiinfo.ee>:
> Stephen J. Smoogen wrote:
>
> >Many times this is because of late packets getting to your server. It
> >might be because the server has finished the session (it saw a FIN or
> >RST on its side) and so has closed down the session.. or it might be
> >that the client didn't get the servers RST/FIN and is sending a second
> >ACK/PSH/FIN to make sure the session is closed.
> >
> >There are probably other reasons for this, but this has been my
> >biggest number. There are some probe tools that just send ACK-PSH-FIN
> >packets to see what they get back from firewalls.
> >
> >
> >
> >--
> >Stephen J Smoogen.
> >CSIRT/Linux System Administrator
> >
> Thanks for the explanation!
>
> I got another one:
> Feb 13 15:39:10 myyr kernel: BAD PACKET syn+ack: IN=eth0 OUT=eth1
> SRC=192.168.111.34 DST=1.2.3.4 LEN=48 TOS=0x00 PREC=0x00 TTL=63 ID=0 DF
> PROTO=TCP SPT=80 DPT=4081 WINDOW=5840 RES=0x00 ACK SYN URGP=0
>
>  From my web server to a client, matched from:
> ${IPTABLES} -t filter -A bad_tcp_packets -p tcp --tcp-flags SYN,ACK
> SYN,ACK -m state --state NEW -j DROP
>
> I guess this can be ignored as well, it's just that it's originating
> from my web server on the LAN. I can't imagine any packets being caught
> by the firewall but then being lost on the way to the webserver. It's a
> decent 100Mbit link with only one switch on the way. There's not much
> network load either.
>
> Alex
>
>


      reply	other threads:[~2006-02-13 14:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13  9:26 state new with SYN not set Aleksander
2006-02-13 12:54 ` Stephen J. Smoogen
2006-02-13 14:17   ` Aleksander
2006-02-13 14:29     ` David Vogt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=859616420602130629m1ad6aeb9m@mail.gmail.com \
    --to=mail@davidvogt.de \
    --cc=aleksander@krediidiinfo.ee \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox