Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Anyone know of a tool to test tcp connections in linux.. I'm looking for something to tell me if it experienced a dropped packet or such

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

tcpdump serves this purpose. http://www.tcpdump.org/tcpdump_man.html

share|improve this answer
add comment

tcptrack - Monitor TCP connections on the network

http://linux.die.net/man/1/tcptrack

share|improve this answer
add comment

Server:

Open a tcp port with netcat so for example to open port 80 tcp I would use:

nc -l 80

Client:

Check the tcp port with telnet so to connect to port 80:

telnet destination_ip 80

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.