Logging with DD-WRT
From DD-WRT Wiki
(Difference between revisions)
Revision as of 15:56, 7 April 2008 (edit) Soulstace (Talk | contribs) (Logging with DD-WRT) ← Previous diff |
Revision as of 16:26, 7 April 2008 (edit) (undo) Soulstace (Talk | contribs) m (firewall logs do not function in micro) Next diff → |
||
Line 1: | Line 1: | ||
- | DD-WRT | + | DD-WRT uses the '''syslog''' and '''klog''' daemons to log system, kernel, and firewall events. This can be useful for troubleshooting purposes, or just to keep an eye on how your router/network is behaving. |
+ | |||
+ | Logging is probably disabled by default. To enable it, | ||
#Enable Syslogd under the Services tab. | #Enable Syslogd under the Services tab. | ||
- | #*If you wish to send logs to a remote system, enter the IP of that machine which is also running a syslog utility (it needs an open network socket in order to accept logs being sent by the router). | + | #*If you wish to send logs to a remote system, enter the IP address of that machine which is also running a syslog utility (it needs an open network socket in order to accept logs being sent by the router). |
- | #To log firewall events, go to the Security tab and enable the appropriate options. | + | #To log firewall events, go to the Security tab and enable the appropriate options. (Note: this doesn't function in micro) |
- | That's all there is to it. DD-WRT should now be logging...either locally to /tmp/var/log/messages, or remotely to the IP you specified earlier. | + | That's all there is to it. DD-WRT should now be logging...either locally to ''/tmp/var/log/messages'', or remotely to the IP address you specified earlier. |
'''Recommended tools''' (if logging remotely):<br> | '''Recommended tools''' (if logging remotely):<br> |
Revision as of 16:26, 7 April 2008
DD-WRT uses the syslog and klog daemons to log system, kernel, and firewall events. This can be useful for troubleshooting purposes, or just to keep an eye on how your router/network is behaving.
Logging is probably disabled by default. To enable it,
- Enable Syslogd under the Services tab.
- If you wish to send logs to a remote system, enter the IP address of that machine which is also running a syslog utility (it needs an open network socket in order to accept logs being sent by the router).
- To log firewall events, go to the Security tab and enable the appropriate options. (Note: this doesn't function in micro)
That's all there is to it. DD-WRT should now be logging...either locally to /tmp/var/log/messages, or remotely to the IP address you specified earlier.
Recommended tools (if logging remotely):
WallWatcher
syslog-ng (CYGWIN)
Kiwi Syslog
Linux already has syslog built in.