listening network traffic

Posted on 2006-05-09
Medium Priority
Last Modified: 2010-04-05

Can anyone provide me any links that describes or gives examples how to listen traffic at some X port?
The idea would be to record everything that happens for example in the ports 21,80,110, etc...

I havent found any examples myself, so links to the materials that explain how to do it or give some information how it could be done etc...

Question by:PSERK
  • 4
  • 3

Author Comment

ID: 16638247
Oh and the language itself is not important, can be Delphi, Visual Basic, Python, C whatever...
LVL 40

Expert Comment

by:Richard Quadling
ID: 16638318

Probably one of the best "listeners" around is Ethereal. This comes with full source, so you should be able to get to grips with it.



Richard Quadling.
LVL 11

Expert Comment

by:A. Cristian Csiki
ID: 16638359
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 16638565
Seems nice, but the idea is to record the data that was sent/received in the port activity. It seems that this program does not support it.
I will go through the api, maybe its there somewhere :)
LVL 40

Expert Comment

by:Richard Quadling
ID: 16638610
Ethereal uses a port monitor/device driver WinPCap I think it is called.

This is just the sort of tool you are wanting. You talk to WinPCap and deal with the data as you see fit. As far as I know it is a Read only device.

Author Comment

ID: 16638642
I need to get the data to my app. So the idea would be to get somehow connected with this WinPCap and start reading information.
THis WinPCap is new to me, does it support connections from system apps?
LVL 40

Accepted Solution

Richard Quadling earned 1000 total points
ID: 16638660
It is a driver, just like any other hardware driver. Appropriate APIs exist.



Author Comment

ID: 16638680
OKey, if driver then fantastic!!!
Will get into details in the evening.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question