LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-07-2009, 12:16 PM   #1
sp149
Member
 
Registered: May 2007
Posts: 73

Rep: Reputation: 17
Linux server sending data to public ip


Hi,

I'm running Redhat Enterprise Linux AS 4 Update 4

My network engineer told me recently that one of my server is sending data to a public ip (he found it out with wireshark)

Can anyone guide me on this.
How do i find out what is being sent and my which service?
How do i stop this, is it a virus?

Any help/ guidance is appreciated.

Thanks
 
Old 05-07-2009, 01:13 PM   #2
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
You could try using tcpdump (it's a sniffer for unix, just like wireshark).

By the way, before it, you could firstly try to disable all the network services, then this box should stop sending data, otherwise yes it could be a virus/bot/whatever.

There are many ways to debug it, try these options. If you cannot solve it, then come back here and we'll help you.

But please, let us know what you did, in the case you got it solved.


This is an excellent tcpdump tutorial that might help you:

http://www.alexonlinux.com/tcpdump-for-dummies
 
Old 05-07-2009, 02:07 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
did he say what data ? could it simply be doing DNS lookups ? kinda vague..

Packet Capture.. as suggested.
 
Old 05-07-2009, 02:15 PM   #4
sp149
Member
 
Registered: May 2007
Posts: 73

Original Poster
Rep: Reputation: 17
Thank you - Appreciate your prompt reply

Will try the same and get back on the findings.
 
Old 05-07-2009, 03:36 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Could you post some data please? The last person who posted a thread like this had made a mistake, and assumed that some upnp/avahi/mdns/bonjour packets were being sent to an external address (to be fair, that is how it looks, until you know not to be deceived by appearances).

It is a quite important factor, as the various 'there is a network service here' packets are generally harmless, but may be a bit irritating if they are for a service that you don't use.

OTOH, the other explanation goes along the lines 'you've been hacked and...' or 'you've got something seriously misconfigured and...' (or something like 'you've forgotten DNS lookups...' as mentioned earlier) and some of those are pull the cable out and try to work out what went wrong before it gets any worse.
 
Old 05-12-2009, 11:25 AM   #6
sp149
Member
 
Registered: May 2007
Posts: 73

Original Poster
Rep: Reputation: 17
The ip was showing data going to amsterdam - europe. The server is configured for metalink - oracle and the ip address and data passing is legitimate.

Thank you everyone..appreciate your help/guidance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UDP server: how to stop the server sending data kumarvkm Linux - Newbie 0 02-21-2009 03:33 PM
Where you mount public data folders? terosaur Slackware 2 02-10-2007 10:05 PM
Sending data from one server to the other ganninu Linux - General 6 12-10-2003 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration