LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2014, 01:10 AM   #1
jagafirst
LQ Newbie
 
Registered: May 2011
Posts: 3

Rep: Reputation: 0
How to find which process generating random port


Hi

In my Linux server there is continuous SYNC packets are transmiting, please help me to find out which service is generating traffic in my server.

10:57:40.042491 IP 107.150.42.123.45000 > 10.200.2.10.51385: Flags [R.], seq 0, ack 636954941, win 0, length 0
10:57:40.042606 IP 10.200.2.10.51386 > 107.150.42.123.45000: Flags [S], seq 3131847555, win 14600, options [mss 1460,sackOK,TS val 3271985 ecr 0,nop,wscale 7], length 0
10:57:40.310085 IP 107.150.42.123.45000 > 10.200.2.10.51386: Flags [R.], seq 0, ack 3131847556, win 0, length 0
10:57:40.310160 IP 10.200.2.10.51387 > 107.150.42.123.45000: Flags [S], seq 3040208328, win 14600, options [mss 1460,sackOK,TS val 3272253 ecr 0,nop,wscale 7], length 0

Thanks for Helping.
 
Old 10-16-2014, 01:16 AM   #2
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
which app is showing these logs? grep for it using ps..
 
1 members found this post helpful.
Old 10-16-2014, 01:51 AM   #3
jagafirst
LQ Newbie
 
Registered: May 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Sabhi,

Its the output of tcpdump and also i tried netstat -antlp command but not find any result..

---------- Post added 10-16-14 at 12:21 PM ----------

Hi Sabhi,

Its the output of tcpdump and also i tried netstat -antlp command but not find any result..
 
Old 10-16-2014, 02:53 AM   #4
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Ah ok i am not an expert with that but these might help:

http://www.computerhope.com/unix/tcpdump.htm
http://noahdavids.org/self_published/tcpdump.html
 
  


Reply



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
How to find what process is listening on a certain port? laredotornado Linux - General 15 11-28-2017 12:26 PM
Examine to find 18000 port availability on different random servers yahoosam Linux - Server 7 02-14-2013 11:58 PM
generating random numbers in C abk4523 Programming 20 01-10-2011 04:08 PM
find a port of a particular process ak.lokesh Linux - Newbie 1 03-19-2009 07:05 AM
find process runnning on particular port varunbihani Linux - Newbie 1 05-19-2005 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:16 PM.

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