|
| |||||
| Home | Reviews | Tools | Forums | FAQs | Find Service | ISP News | Maps | About |
how-to block ads |
You can setup logging with 3rd party firmware: HyperWRT SveaSoft Satori SveaSoft Alchemy Here is a solution for those that want to turn on the logging capabilities of the WRT54G. This will send logs (syslog) to the destination set in the syslog command (change to suit your needs). I use Wallwatcher but KIWI syslog or any other syslog based viewer works fine. The current busybox .60 implementation used in the Linksys 3.x.x code (and hyperWRT2.0x) has some funny behavior with klogd and with cron so this solution does not use cron and kills and restarts klogd every 15 minutes. If you dont run much traffic you can change this to a greater number. Gamers and bit torrent uses should be fine with the 15 minute (960 seconds) setting. Be sure to remember to 'enable' logging in the web interface!! ALSO be sure to put the address of your logging PC in place of my address on the 'syslogd' line - Mine is 192.168.1.99 - your address may be different!!!! In the Startup script: sleep 2 /sbin/klogd /sbin/syslogd -R 192.168.1.99 echo "#!/bin/sh" > /tmp/loggit.sh echo "while true" >> /tmp/loggit.sh echo "/usr/bin/killall -9 klogd" >> /tmp/loggit.sh echo "sleep 1" >> /tmp/loggit.sh echo "/sbin/klogd" >> /tmp/loggit.sh echo "sleep 960" >> /tmp/loggit.sh echo "done" >> /tmp/loggit.sh chmod 700 /tmp/loggit.sh /tmp/loggit.sh & Firewall Script: /usr/sbin/iptables -R INPUT 7 -j logdrop /usr/sbin/iptables -R INPUT 1 -j logdrop -m state --state INVALID Thanks to dellsweig
by Lanik | |||||
| Saturday, 11-Feb 19:35:01 | Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo over 12.5 years online! © 1999-2012 dslreports.com. |