Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listen to TCP traffic and log to file

Status
Not open for further replies.

kholladay

Programmer
Sep 4, 2005
2,292
US
I need to write a simple script that listens to traffic from a specific IP address on a TCP port that I define and then dumps everything it hears to a text file. I don't even know where to begin. Can someone point me in the right direction?

Kyle Holladay
ACSS & APSS SME Communications
MCP/MCTS Exchange 2007
Adtran ATSA, Aruba ACMA

"I have one speed, I have one gear...GO!!!" - Charlie Sheen

"Thinking is the hardest work there is, which is the probable reason why so few engage in it." - Henry Ford
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top