Hello,

when using the -w command line option your receive the
following error message

rsyslogd: the -w command line option will go away soon.
Please use the global(net.permitWarning="off") configuration parameter instead.

tools/rsyslogd.c should be corrected
1215 old
"soon.\nPlease use the global(net.permitWarning=\"off\") "
1215 new
"soon.\nPlease use the global(net.permitACLWarning=\"off\") "

When trying
        global(net.permitACLWarning="off")
and setting
        $AllowedSender UDP, 127.0.0.1
        $AllowedSender TCP, 127.0.0.1
I still get messages like
 rsyslogd-2063:TCP message from disallowed sender eisnodev.ap.de discarded
or
 rsyslogd:UDP message from disallowed sender discarded
from sender with IP 192.168.1.53

runtime/glbl.c confuses me
157 { "net.permitACLwarning", eCmdHdlrBinary, 0 },
but
1098 } else if(!strcmp(paramblk.descr[i].name, "net.permitwarning")) {

Looks like net.permitACLwarning is never set.
Debug output is always
        main thread    : net.permitACLwarning: 0

But even after trying to fix the strcmp bug and debug output tells me
        main thread    : net.permitACLwarning: 1
I still get disallowed sender messages.
Probably I'm on a complete wrong way.

Could you please check the implementation of
        net.permitACLWarning
or give me a hint?

Thanks in advance
Ansgar
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to