- Python pizza status
- Why Gen Y Is Going to Change the Web
- Understanding how you process information to help you get organized, part 2
- OLPC Will Ship With Windows XP
- How to Be On Time Every Time
- Poor Children Of The World No Longer Will Have To Struggle With Linux
- HubSpot Gets $12 Million To Drive Traffic to Your Site
- Google kills Anonymous AdSense account
- Epic Fail....
- Lifehack Digest for May 14
- Debian/Ubuntu users: update your SSL keys and certs
- Information Overload
- Scattered Clouds
- Cleaning Your Display and Keyboard
- Knievel Fail
- New Google Service Turns Web Pages into Networking Sites
- Ice Cream Fail
- Strange Fail
- Obedience Fail
- Scary Clown
Remote Syslog with DD-WRT and syslog-ng
Submitted by rene on Sat, 02/09/2008 - 14:15.Enable syslog-ng to accept logging from the network
/etc/syslog/syslog-ng.conf
source src{
udp(ip("192.168.1.10") port(514));
}
Substitute the IP address '192.168.1.10' for the IP address of your syslog-ng server.
Reload syslogn-ng
# /etc/init.d/syslog-ng reloadConfigure DD-WRT to send syslog messages to your syslog-ng server
# nvram set syslogd_rem_ip=192.168.1.10 # nvram set syslogd_enable=1 # nvram commit # rebootTo enable logs from the firewall you may want to use the following configuration.
# nvram set log_level=2 # nvram set log_enable=1 # nvram set log_rejected=1 # nvram set log_dropped=1 # nvram set log_accepted=0 # nvram commit # rebootLogging packets that hit your firewall may overwhelm you with useless information. Once DD-WRT reboots, /var/log/messages on your syslog-ng box should be collecting syslog messages from DD-WRT.





















