OMG I spent 4-5 hours trying to send Draytek logs to an OpenBSD box. At last succeeded. Damn syslog has no information about facilities, previledeges etc.Without knowing anything about what kind of logs (I mean facilites,priviledeges etc) Draytek sends to openbsd I found a web page finally talking about the same problem. Inspired with this web page and after much time realising that syslog.conf DONT accept SPACES but TABS (OMG this made me crazy) I have succeeded relaying logs to OpenBSD box. Thanks to this web page which enlightened me that it is mandatory to use tabs. Now I have lines like
local0.* /var/log/router-firewall.log
local1.* /var/log/router-vpn.log
local2.* /var/log/router-user.log
local3.* /var/log/router-call.log
local4.* /var/log/router-wan.log
local5.* /var/log/router-adsl.log
in syslog.conf which are seperated by TABS not SPACES. I still dont know what happens if I put another router into the same scheme or if another program sends logs to such damn facilities local0-7. Now it is working enough for me.
Edit: OMG I found a previous bookmark of mine from delicious which is about understanding the facility and previleges from routers packets.
Here it is. Shame on me.
Hiç yorum yok:
Yorum Gönder