Linux Netfilter discussions
 help / color / mirror / Atom feed
From: nedco <nedco@unacs.bg>
To: netfilter@lists.netfilter.org
Subject: some packets are not droped due heavy load
Date: Fri, 27 Feb 2004 14:18:56 +0000	[thread overview]
Message-ID: <1077891536.14921.38.camel@cold> (raw)

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




Hi, 

i try to filter some traffic but some of the packets are miss :(


Linux version 2.6.3
iptables v1.2.9
udp traffic is about 4-6MByte per second 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source          
destination
 8502 8944K LOG       udp  --  eth1   *       0.0.0.0/0           
0.0.0.0/0           udp dpt:22 LOG flags 0 level 4
 8502 8944K DROP    udp  --  eth1   *       0.0.0.0/0           
0.0.0.0/0           udp dpt:22


Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.185
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=59138 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.90
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=52483 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.142
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=45824 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.150
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=16384 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.104
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=45568 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.216
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=47107 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.91
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=53762 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.109
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=46594 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.13
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=62467 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.65
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=11522 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.126
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=1025 DPT=22 LEN=1032 
Feb 27 09:54:21 shaper kernel: IN=eth1 OUT=eth0 SRC=212.5.150.178
DST=66.193.175.152 LEN=1052 TOS=0x00 PREC=0x00 TTL=126 ID=256 PROTO=UDP
SPT=46083 DPT=22 LEN=1032 



after this router i put other router and i have 
tcpdump -n udp port 22 -c 200
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
14:46:35.531086 IP 212.5.150.47.62977 > 66.193.175.152.22: UDP, length:
1024
14:46:35.531201 IP 212.5.150.42.19969 > 66.193.175.152.22: UDP, length:
1024
14:46:37.608255 IP 212.5.150.45.27906 > 66.193.175.152.22: UDP, length:
1024
14:46:37.608345 IP 212.5.150.35.20482 > 66.193.175.152.22: UDP, length:
1024
14:46:39.685715 IP 212.5.150.44.26881 > 66.193.175.152.22: UDP, length:
1024
14:46:39.685798 IP 212.5.150.34.13568 > 66.193.175.152.22: UDP, length:
1024


for me iptables miss some packets 
or is there some other problem 

Is anyone have a idea how to solve this problem?
10x in advance 



[-- Attachment #2: Type: text/html, Size: 4204 bytes --]

                 reply	other threads:[~2004-02-27 14:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1077891536.14921.38.camel@cold \
    --to=nedco@unacs.bg \
    --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