Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-29-2013, 09:06 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 14

Rep: Reputation: 0
Question tracking TCP packets?


we have the following setup

to java process communicating by sockets with each other, and another one on an external machine.

from time to time, there seem to be "outages" where one process is unable to communicate with the other, the simply indicate things like "connection refused" exceptions, and while it seems the processes themselves are mis-behaving i'm not sure that is the case.

how can i know for sure the a tcp packet sent from one process (at least in the same machine) was received by another process and vice versa ? that it wasn't blocked by anything else?
i think IPTABLES has this log feature , but not sure how to use it.
Old 04-29-2013, 10:12 AM   #2
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
try LOG target and the matched packets will have traces in syslog (most likely /var/log/syslog)
Old 04-29-2013, 10:14 AM   #3
LQ Newbie
Registered: Nov 2003
Posts: 14

Original Poster
Rep: Reputation: 0
can you be more specific?

i'm sorta of a noob in linux?


java, tcp, trace

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
LXer: Tracking TCP Connections With tcptrack LXer Syndicated Linux News 0 08-01-2007 08:31 PM
Accessing TCP flags in TCP packets on Linux using C !! vishamr2000 Programming 2 10-16-2006 10:46 AM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 03:53 PM
tcp packets wedgeworth Linux - Software 7 05-10-2004 05:40 PM
tcp/ip packets lackluster Programming 4 07-07-2002 06:57 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:30 AM.

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