[K12OSN] Reading TCP packets

Rob Owens rob.owens at biochemfluidics.com
Wed Jul 23 13:56:06 UTC 2008

How about putting a hub (not a switch) in between the remote device and 
the host in question.  Then you can hook up another computer to that hub 
and use wireshark or something similar.  The hub will cause all traffic 
to be broadcast to all ports on the hub so you'll be able to see it all 
with wireshark.

Or maybe just run wireshark on the host in question, and omit the hub.


Sudev Barar wrote:
> This may not be correct place but collective wisdom can perhaps point
> me to a good resource.
> I have a remote device that is generating data and is sending as a TCP
> packet to designated IP:Port. If I open and set a non standard port I
> am able to receive the packets using a listener. Problem is that the
> host where I have to move this project allows listening only on port
> 80 (apache) or port 25/110 (mail) or port 22 (ssh)
> How can I set up apache or iptables to log in incoming data packets
> while at the same time allow apache to serve web pages?
> My google time continues to turn up inconclusive leads.

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy


More information about the K12OSN mailing list