tcpdump and connection troubleshooting


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat tcpdump and connection troubleshooting
# 1  
Old 04-09-2008
tcpdump and connection troubleshooting

Hello,

I have a client server application and the connection from client (redhat) becomes lost.

Is there a connection limit on Redhat Linux 4?
I want to use tcpdump to trace all packets between server and client: On the client side, I thought of running tcpdump. Is there a way to filter the tcpdump so that it displays only the traffic between the client and the remote server?

Do you have any other hints?

thanks.
# 2  
Old 04-09-2008
There is no connection limit, what is your application, which protocol is using ? For the tcpdump, start tcpdump as root on the client side with :
Code:
tcpdump dst your-host-name

This will sniff all the packets from localhost to the destination server.
# 3  
Old 04-09-2008
Hello sysgate,

the protocole used is RMI.
Can we narrow down the tcpdump you passed me so that it displays the traffic of a specific port?

thanks
# 4  
Old 04-09-2008
talking about RMI, could there be a limitation on the tcp port number on my machine?
# 5  
Old 04-10-2008
I don't think so, see the man pages for tcpdump and especially dst port and scr port.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. IP Networking

TCPdump

I've recently started learning to use TCPdump, and I find it pretty interesting. There's one thing I don't understand. When I tell it to capture packets on, say, the WiFi interface en1, it often captures packets sent or received by other hosts on the network. How can it do this? My... (3 Replies)
Discussion started by: Ultrix
3 Replies

2. Debian

Tcpdump Help !

Hi. Need Help with TcpDump Trying to sniff associatio-request with tcpdump but when i run this tcpdump -i eth0 wlan subtype assoc-req i get this error can anyone help me with this error ? Thanks alot !!:) (1 Reply)
Discussion started by: SoulZB
1 Replies

3. UNIX for Advanced & Expert Users

How keep running a program n an another computer via a connection ssh when the connection is closed?

Hi everybody, I am running a program on a supercomputer via my personal computer through a ssh connection. My program take more than a day to run, so when I left work with my PC I stop the connection with the supercomputer and the program stop. I am wondering if someone know how I can manage... (2 Replies)
Discussion started by: TomTomGre
2 Replies

4. Ubuntu

[TCPDUMP] Connection lost

I'm on Ubuntu – but it's the same on Debian. I'm using tcpdump in order to track the connection of computers on my private network. At some point, the internet connection of the computers launching the script is lost as well as the targeted computers. Here's the command line: tcpdump -i wlan0... (0 Replies)
Discussion started by: Skirmjan
0 Replies

5. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

6. Cybersecurity

i would like to know about tcpdump

i would like to know about tcpdump i would like to use tcpdump to get information about these - Date - time - source hostname - source mac address - source ip address - destination ip address - see outbound only then i use command like this tcpdump -i le0 -n -q -tttt -e src net... (0 Replies)
Discussion started by: chamnanpol
0 Replies

7. Programming

How To Use tcpdump

I have two net-card. one is 172.16.24.99(ENG) ,another is 172.16.25.99(ENG-B). Both masks is 255.255.255.0. I will monitor data on the tcp port 8055 in ENG, How do I set option of tcpdump command (2 Replies)
Discussion started by: chenhao_no1
2 Replies
Login or Register to Ask a Question