Monitoring ASUS RT-N66U

Nice article on how to do tcpdump on your Asus RT-N66U router.

Random experiments in software engineering

To capture all traffic through the router for analysis

Install Merlin firmware build: http://www.lostrealm.ca/tower/node/79

Enable SSH server on router. Connect.

Install USB stick. Forgot how but not too hard. Had to format to ext2 using special SW on windows.

run “entware-setup.sh” as stated in https://github.com/RMerl/asuswrt-merlin/wiki/Entware

“opkg install tcpdump” <– installs tcpdump from entware

“tpcdump -c 1000 -i any -w mydump” while your working directory is on your USB stick. This causes the next 1000 packets on any interface to be saved to the file “mydump” in the directory where you run this command.

Login to your router web interface. Go to USB application->Servers Center->FTP Share->Enable FTP+Share with Account. Share the folder on your USB stick where you put the dump file. Or just share the whole stick.

Now use your FTP client (winscp is fine) to connect to your router.  Download your dump file.

Go back to the router web…

View original post 120 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s