I've been interested in wrighting a packet sniffer for a while now, but I've never been able to find a decent amount of documentation or examples of such a program in PB. Now with PB4 on the verge of release I thought it might be about time to fireup this old project.
Does anyone here have any idea how I'd go about this?
Packet Sniffer
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
Packet Sniffer
~I see one problem with your reasoning: the fact is thats not a chicken~
I was searching info to such thing (sniffer, firewall ...) and found that it is a very hard task, you will have to code a driver using the ndis interface wich is impossible to do with purebasic (you need the ddk) or at least, until the ddk is natively callable (sorry for my bad english ^^) from PB.
I think that the better thing to do to ease this task is to use winpcap, a network packet driver, used for example by Ethereal.
I think that the better thing to do to ease this task is to use winpcap, a network packet driver, used for example by Ethereal.
-
Bonne_den_kule
- Addict

- Posts: 841
- Joined: Mon Jun 07, 2004 7:10 pm
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm