Networking Forums

Networking Forums > Computer Networking > Linux Networking > help, analyzing traffic, am I being attacked or what?

Reply
Thread Tools Display Modes

help, analyzing traffic, am I being attacked or what?

 
 
Tobias Skytte
Guest
Posts: n/a

 
      10-29-2004, 04:53 PM
Hi,

I need some help analyzing tcpdump traffic (see below). What's
happening is this: our server (ip 196.28.yyy.zzz), running RH 9, sends
out via that ip but receives via a receiveonly satlink with ip
(196.36.aaa.bbb). Also the server is a NAT for a lan behind it. So
normally we dont receive much on the 196.28.yyy.zzz link but mostly
transmit. In the last coupple days though I'm seing alot of traffic
(see dump below ) which I don't know what is.
If NAT'ed machines or the server itself had made connections to these
sites then it would be receiving these packets on the other
satellite-interface with the other ip. So as far as I can figure out
these packets are 'un-solicited'. They are also going to ports that
are firewalled in the server and they don't show up in netstat or
ip_conntrack. So what are these packets? Currently it's a problem
because it's consuming 50% of our available bandwidth which is only
64k for transmitting.

What can I do to find out more about this traffic? any hint's would be
much appreciated.
Like, I need to know if these packets are being dropped or if not
where are they going etc. Am I under attack?
Thanks in advance,

Tobias Skytte

-------------------------------------------------
tcpdump (our server is with sanitized ip: 196.28.yyy.zzz)
-------------------------------------------------

15:52:59.009854 81.185.195.179.3149 > 196.28.yyy.zzz.1075: P
1441:2881(1440) ack 1 win 16937 (DF)
15:52:59.630421 80.222.196.4.3786 > 196.28.yyy.zzz.1053: P
12572:14032(1460) ack 1 win 31660 (DF)
15:52:59.804400 80.222.196.4.3786 > 196.28.yyy.zzz.1053: P
14032:15360(1328) ack 1 win 31660 (DF)
15:53:00.005924 81.69.133.78.2830 > 196.28.yyy.zzz.1038: .
2920:4380(1460) ack 1 win 17179 (DF)
15:53:00.196920 81.69.133.78.2830 > 196.28.yyy.zzz.1038: .
4380:5840(1460) ack 1 win 17179 (DF)
15:53:00.287613 81.98.56.67.1214 > 196.28.yyy.zzz.1068: P
1460:2132(672) ack 1 win 63899 (DF)
15:53:00.478410 81.69.133.78.2830 > 196.28.yyy.zzz.1038: .
5840:7300(1460) ack 1 win 17179 (DF)
15:53:00.669618 80.200.111.86.1175 > 196.28.yyy.zzz.4908: P
10221:11681(1460) ack 0 win 17217 (DF)
 
Reply With Quote
 
 
 
 
Moe Trin
Guest
Posts: n/a

 
      10-30-2004, 11:15 PM
In article <(E-Mail Removed) >,
Tobias Skytte wrote:

>What's happening is this: our server (ip 196.28.yyy.zzz), running RH 9,
>sends out via that ip but receives via a receiveonly satlink with ip
>(196.36.aaa.bbb). Also the server is a NAT for a lan behind it. So
>normally we dont receive much on the 196.28.yyy.zzz link but mostly
>transmit.


OK - I'm sure you also know what the normal stuff looks like.

>In the last coupple days though I'm seing alot of traffic
>(see dump below ) which I don't know what is.


The hosts all appear to be residential type DSL. Hard to say much more
without seeing more of the packets, but all of them appear to think
that they have established a connection, yet the ACK numbers are low
(0 or 1) meaning that they haven't heard much from you.

With the exception of the last one, these packet look as if they are
aimed at a client ("you" initiated the conversation) on a system that
hasn't been running very long OR an O/S that tends to reuse originating
ephemeral ports. I'm not really used to seeing that many packets with
the 'P' (PUSH) flag set.

>So as far as I can figure out these packets are 'un-solicited'. They are
>also going to ports that are firewalled in the server and they don't show
>up in netstat or ip_conntrack.


Do you see any earlier stuff. For example

>15:52:59.630421 80.222.196.4.3786 > 196.28.yyy.zzz.1053: P

12572:14032(1460) ack 1 win 31660 (DF)
>15:52:59.804400 80.222.196.4.3786 > 196.28.yyy.zzz.1053: P

14032:15360(1328) ack 1 win 31660 (DF)

If you look at "his" sequence numbers, 12572 suggests that 9 data packets
(maybe more - 12572/1460 = 8.6 ) preceded this one, nevermind the stuff
needed to open the connection.

>So what are these packets? Currently it's a problem because it's consuming
>50% of our available bandwidth which is only 64k for transmitting.


These aren't showing any transmit on your side, so it's just sucking up
your received bandwidth.

>What can I do to find out more about this traffic? any hint's would be
>much appreciated.


I'd suggest looking at different tools. 'snort' and 'p0f' come to mind.
Neither comes with RH9. A google search should find them.

>Like, I need to know if these packets are being dropped or if not
>where are they going etc.


You aren't showing them going anywhere, or any responses, but that could
be your tcpdump command line. What is your firewall rules defaults for
this - drop or reject?

>Am I under attack?


Somebody is slinging packets at you - as to whether it's an attack or not
is difficult to say.

Old guy
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should traffic control root qdisc & child class limit traffic? Washington Ratso Linux Networking 1 02-25-2011 06:48 PM
Immune system 'attacked by mobile phones' Lenny Broadband 59 06-07-2007 04:39 PM
WEP authentication, why WEP authentication scheme is flawed and how it can be attacked Johnny Wireless Internet 3 08-02-2006 03:44 AM
measuring/analyzing datastreams question.... Peterken Network Routers 0 03-16-2005 11:45 PM
analyzing tcpdump traffic AA Linux Networking 2 09-20-2004 03:29 AM



1 2 3 4 5 6 7 8 9 10 11