Connecting Tech Pros Worldwide Forums | Help | Site Map

A sniffer for my router

Familiar Sight
 
Join Date: Sep 2007
Posts: 181
#1: Nov 1 '07
Hello i am a little new c++, i know most of the basics now and im interest in making a sniffer for my router to see any and all connections made to the router from the outside world, my router does not log connections.

First i was wondering if it is possible to make a sniffer from inside a network to log connections to a router from outside the network. Also the sniffer would have to work off either ip address or mac address.

Second if that doesn't work is it possible to add to the routers software or like piggyback it or something so that its possible to log connects.

Oh yeah if you could point to any tutorials of subject matter related to and around this, that would be great, any articles, etc.

Thanks, any help appreciated in advanced

RedSon's Avatar
Site Moderator
 
Join Date: Jan 2007
Location: America
Posts: 3,393
#2: Nov 1 '07

re: A sniffer for my router


Quote:

Originally Posted by chazzy69

Hello i am a little new c++, i know most of the basics now and im interest in making a sniffer for my router to see any and all connections made to the router from the outside world, my router does not log connections.

First i was wondering if it is possible to make a sniffer from inside a network to log connections to a router from outside the network. Also the sniffer would have to work off either ip address or mac address.

Second if that doesn't work is it possible to add to the routers software or like piggyback it or something so that its possible to log connects.

Oh yeah if you could point to any tutorials of subject matter related to and around this, that would be great, any articles, etc.

Thanks, any help appreciated in advanced

The best thing to do would be to look up tools called WireShark, and Snort. You can set a machine behind your router to be the DMZ then all traffic will go to that machine. Or you can put your machine between your router and the internet. Most routers do not have firmware with write access areas so installing software on your router will be likely be impossible unless there are 3rd party firmwares for your device.
Expert
 
Join Date: Sep 2007
Location: VA
Posts: 419
#3: Nov 1 '07

re: A sniffer for my router


Sorry Studlyami, had to pull it.
Expert
 
Join Date: Sep 2007
Location: VA
Posts: 419
#4: Nov 1 '07

re: A sniffer for my router


sorry about that.

I would search google for "Internet & Network programming"
Familiar Sight
 
Join Date: Sep 2007
Posts: 181
#5: Nov 3 '07

re: A sniffer for my router


Hey thanks for the advice, i am currently trying to learn to use winsocks, and thought it might be possible to connect router or something like that. I having a bit of luck thx for the help
Reply