From: "Borovoy M." <massa_lists@pisem.net> To: community@altlinux.ru Subject: Re: [Comm] Битые пакеты? Date: Sun, 26 Oct 2003 16:28:06 +0300 Message-ID: <3F9BCBE6.3090207@pisem.net> (raw) In-Reply-To: <3F97E910.7020009@psv.com.ua> Slava Dubrovskiy пишет: > Hello Community! > > Стоит вот такой фильтр > ...... > $IPTABLES -N > bad_tcp_packets > > $IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j LOG > --log-prefix "New not syn:" > $IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j DROP > ...... > $IPTABLES -A INPUT -p tcp -j bad_tcp_packets > ...... > > И периодически получаю в лог вот такие записи: > > Oct 23 17:22:44 server kernel: New not syn:IN= OUT=lo SRC=192.168.1.1 > DST=192.168.1.1 LEN=51 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP > SPT=36977 DPT=143 WINDOW=49188 RES=0x00 ACK PSH FIN URGP=0 > Oct 23 17:23:10 server last message repeated 5 times > Oct 23 17:24:30 server last message repeated 2 times > > Что это такое? Кто может посылать с интерфейса lo пакеты NEW без бита > --syn? Или я не правильно настроил фильтрацию? man iptables: "... NEW meaning that the packet has started a new connection, or otherwise associated with a connection which has not seen packets in both directions ..." "... NEW означает, что пакеты начинают новое соединение, или же связаны с соединением, которое не видит пакеты в обоих направлениях..." Сколько не экспериментировал с установкой соединения по TCP - всегда в состоянии NEW был только первый пакет с битом SYN. В самом деле, в каких еще случаях пакет считается NEW? > Слава Д. > > _______________________________________________ > Community mailing list > Community@altlinux.ru > http://www.altlinux.ru/mailman/listinfo/community > -- С уважением, Боровой Михаил
prev parent reply other threads:[~2003-10-26 13:28 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-10-23 14:43 Slava Dubrovskiy 2003-10-26 13:28 ` Borovoy M. [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=3F9BCBE6.3090207@pisem.net \ --to=massa_lists@pisem.net \ --cc=community@altlinux.ru \ /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
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git