Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This is a bit weird. I want to see the content of all TCP/IP connections coming in/out of the system.

Is any of this possible on the same machine? I know I won't be able to see encrypted content but that's fine.

Are there any hardware devices you put in between of the computer and router which logs all connections?

share|improve this question
3  
on a side note - it is perfectly possible to see the encrypted connection content as well - you just need to supply the certificate. I will not elaborate on the details but i thought it was worth mentioning... –  mnmnc Dec 20 '12 at 17:28

2 Answers 2

up vote 4 down vote accepted

Pretty simple if you're on the same machine. Look at Wireshark. If you're on a different machine, simply put a HUB between the target and the network, and connect to the hub on the computer with wireshark.

share|improve this answer
    
"simply put a HUB..." - Might be easier said than done. There are no Gigabit hubs. You won't find any new Ethernet hubs for sale at retail outlets; if you ask for a "hub" you'll get a USB hub. You will have to look for a used hub. And some "hubs" are actually switches (as documented at the Wireshark site). –  sawdust Dec 20 '12 at 21:05

If you need a dedicated machine, I would recommend untangle, as it is way easier to set up than a linux/unix distribution chosen at random.

share|improve this answer
    
Yeah, this is what I was going to say, a Linux or BSD box with two NICs to pass the traffic, logging what you need to. This running NAT with a plain 10mb ethernet hub it how we shared the connection back in the day. Haven't tried untangle. It would take some knowledge or learning to get it working, depending on your background. –  Bratch Dec 21 '12 at 1:25

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.