|
-
November 9th, 2001, 08:16 AM
#1
c++ and firewalls
Hey all,
I'm a college student in florida and for a final project in a client-server class, i wanted to make a simple little network sniffer\firewall program that will grab som information(time, source, port, request type, etc) whenever someone tries to ping or send other traffic to my machine, log that info to a mysql db, then be able to view, query the data etc.
I've had some success using c++ sockets, but i have to bind each one to a particular port. My question is : can i catch all traffic regardless of ports (like ping requests - i cant seem to catch ping requests at all) that comes to my machine? I'm not looking to make the next zone alarm here or anything, i just want to get the relevant info about the request (and block the request if possible)
Any help would be greatly appreciated...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|