Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to listen for inbound traffic with Netcat?

Reply
Thread Tools Display Modes

How to listen for inbound traffic with Netcat?

 
 
darin dimitrov
Guest
Posts: n/a

 
      08-06-2004, 08:28 PM
Hello,

I am looking for a tool that logs all the traffic that occurs on a
specified port of my server (in particular the http port).

When I use netcat with the following syntax: "C:\netcat>nc.exe -l
-p 80" I get "Can't grab 0.0.0.0:80 with bind" error if a web server
already listens to that port. If I stop the web server netcat runs
successfully but that's not what I want. I need to listen, with the
web server started, so that I can log the information that is received
AND sent on that port. Is this possible? Could you please point me to
some tools that could do this if there are any?

P.S. I use Windows but Unix tools are also welcome.
 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      08-06-2004, 08:44 PM
darin dimitrov wrote:
> Hello,
>
> I am looking for a tool that logs all the traffic that occurs on a
> specified port of my server (in particular the http port).
>
> [snip]


tcpdump for Linux.
windump for Windows.
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      08-06-2004, 09:12 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking darin dimitrov <(E-Mail Removed)> suggested:
> Hello,


> I am looking for a tool that logs all the traffic that occurs on a
> specified port of my server (in particular the http port).


> When I use netcat with the following syntax: "C:\netcat>nc.exe -l

[..]

> P.S. I use Windows but Unix tools are also welcome.


Great, but what has your question to do with "Networking and
communications under Linux."?

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBE/Q6AkPEju3Se5QRApFsAKCk4Zd4BywssmUjGvJIMhoyotFeDwCg o+4w
4QtEtlGHEH8jbqA8ULLDgJg=
=0fNb
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBS 2003 automatically Blocking Inbound Traffic New Administrator Windows Networking 3 06-28-2007 05:30 PM
No Inbound Traffic Matt Windows Networking 0 06-17-2006 07:12 PM
Help in dropping inbound multicast and unicast UDP traffic. William Hargrove Linux Networking 0 04-22-2005 01:02 PM
Slow inbound traffic through Netgear Router FM114P dannyboy Home Networking 1 12-08-2003 01:00 PM
Slow inbound traffic through Netgear Router FM114P dannyboy Broadband 0 12-08-2003 08:59 AM



1 2 3 4 5 6 7 8 9 10 11