Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a WRT54GL router and i've installed the tomato firmware. Is there any shell command or somehting i can use to view all port 80 traffic? I want to se which internal ip has a connection to an external ip. Adress resolving is a plus.

Is this something i can do with tomato?


share|improve this question
up vote 7 down vote accepted

You'll want to upload and install tcpdump for tomato. You'll need to wget the file and host it somehow and then wget it onto your device. Put in /usr/local/bin or some /bin in your $PATH for easy keeping. See link for file: link

Once you get it installed run something like this (modify for proper interface)

tcpdump -i eth0 -n port 80

See tcpdump cheat sheet

share|improve this answer
Thanks for your answer, works like a charm. But, now i'm only getting all dst hosts, is it possible to get all absolute urls? – alexn Aug 13 '09 at 6:41
@Alexander Nyquist, trying running the -a option, that should resolve IP addresses to domains. This could be "countered" by having a more than one domain to an IP address, in which cause you would get the reserve DNS hostname. You can check all domains hosted on a single IP address here: – David Rickman Aug 13 '09 at 9:50
Oh yeah, I just remembered that the -n option doesn't resolve URLs :D. I normally try not to crush my boxes and turning that on only when I need it. So it was instinctive. – David Rickman Aug 13 '09 at 9:53

Your Answer


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.