All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mark E. Donaldson" <markee@bandwidthco.com>
To: 'ccddtt' <ccddtt@263.net>, netfilter@lists.netfilter.org
Subject: RE: Apache:access_log - 408
Date: Mon, 26 Jan 2004 21:34:53 -0800	[thread overview]
Message-ID: <200401270534.i0R5YsmK022776@server5.bandwidthco.com> (raw)
In-Reply-To: <20040126090010.1242A33DBF@smtp.263.net>

What makes you think you are being attacked?  There is not enough
information here to make that determination. "408" is a "request Time-out
error" and does not mean you are being attacked.  This appears to be an ACK
scan with spoofed IP addresses. Look at the IPID's and TTL values. They tell
me they are coming from the same machine. If you want to drop these packets,
create stateful rules for inbound connections to port 80, and they will be
dropped:

$IPT -t filter -A PORTSCAN_RULES --destination-port 80 -p tcp --tcp-flags
ALL ACK -m state --state NEW -j LOG --log-level $LOG_LEVEL --log-prefix
"PORTSCAN: ACK ON NEW: "

$IPT -t filter -A PORTSCAN_RULES --destination-port 80 -p tcp --tcp-flags
ALL ACK -m state --state NEW -j REJECT --reject-with icmp-host-unreachable

-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of ccddtt
Sent: Monday, January 26, 2004 1:00 AM
To: netfilter@lists.netfilter.org
Subject: Apache:access_log - 408

hi,all

please help me.
my linux server installed redhat 9 + apache 1.3.29. passing through some
attack.
in apache acc_log,like :
221.233.227.230 - - [17/Jan/2004:17:26:32 +0800] "-" 408 - 221.233.227.230 -
- [17/Jan/2004:17:26:32 +0800] "-" 408 - 221.233.227.230 - -
[17/Jan/2004:17:26:32 +0800] "-" 408 - 61.145.188.110 - -
[17/Jan/2004:17:26:32 +0800] "-" 408 -
210.38.179.145 - - [17/Jan/2004:17:26:32 +0800] "-" 408 - 221.233.227.230 -
- [17/Jan/2004:17:26:32 +0800] "-" 408 - but no err_log.

some packge like :
Jan 18 19:35:53 linux-sv1 kernel: IN=eth0 OUT=
MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00 SRC=220.173.8.56
DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=114 ID=42497 DF PROTO=TCP
SPT=60177 DPT=80 WINDOW=8280 RES=0x00 ACK URGP=0 Jan 18 19:35:53 linux-sv1
kernel: IN=eth0 OUT= MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00
SRC=220.173.8.56 DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=114 ID=42753
DF PROTO=TCP SPT=60177 DPT=80 WINDOW=8280 RES=0x00 ACK URGP=0 Jan 18
19:35:53 linux-sv1 kernel: IN=eth0 OUT=
MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00 SRC=61.173.25.88
DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=115 ID=53402 DF PROTO=TCP
SPT=63601 DPT=80 WINDOW=16560 RES=0x00 ACK URGP=0 Jan 18 19:35:53 linux-sv1
kernel: IN=eth0 OUT= MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00
SRC=220.173.8.56 DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=114 ID=43265
DF PROTO=TCP SPT=60182 DPT=80 WINDOW=8280 RES=0x00 ACK URGP=0 

how to set this iptables rules?

what's this attack?
thanks your any help!








  reply	other threads:[~2004-01-27  5:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-26  9:06 Apache:access_log - 408 ccddtt
2004-01-27  5:34 ` Mark E. Donaldson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-27 16:02 ccddtt

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=200401270534.i0R5YsmK022776@server5.bandwidthco.com \
    --to=markee@bandwidthco.com \
    --cc=ccddtt@263.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.