From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d8e85f262497990 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-01-31 14:28:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!cyclone.nyroc.rr.com!news-east.rr.com!portc01.blue.aol.com!audrey05.news.aol.com!not-for-mail X-Admin: news@aol.com From: spammerspitter@aol.com.invalid (SpitsOnSpammers) Newsgroups: comp.unix.tru64 Date: 31 Jan 2002 22:27:39 GMT References: Organization: AOL http://www.aol.com Subject: Re: syslog Message-ID: <20020131172739.04360.00000127@mb-mq.aol.com> Xref: archiver1.google.com comp.unix.tru64:6667 >I don't remember for sure, but I think the man page is wrong (the file must >exist and the host must be listed, or it's denied). Interesting. I'm doing as you suggested (running syslogd with the -d switch) and one of the lines in there was "The file /etc/syslog.auth is non-empty, nhosts = 1" AFTER I made an entry in /etc/syslog.auth for the firewall. This would seem to mean that it would detect an empty syslog.auth file. And this is proven when I deleted the file and reran syslogd with the -d switch. It generated the following line: "The /etc/syslog.auth file does not exist. Messages from all remote hosts will be accepted." Then, without a syslog.auth file, I pinged my firewall from a remote Unix host to trigger a log message (my firewall is configured to blackhole ICMP packets but report the attempts) while syslogd was running with the -d switch and got lots of these: got a message (1, 0x10) cvthname() - IP address of source host is 192.168.1.1 cvthname() - return full host name cerberus-lan. Allowing remote forwarding from any host configured, source host is cerberus-lan. cvthname() - IP address of source host is 192.168.1.1 cvthname() - return short host name cerberus-lan logmsg: pri 205, flags 0, from cerberus-lan, msg id=firewall sn=11523503 time="2002-01-31 17:04:16" fw= pri=5 c=256 m=38 msg="ICMP packet dropped" n=7 src=:8:WAN dst=:8:WAN rule=0^M I only cropped out the domain names and IP addresses but I assume from the above that the priority is 5 (which maps to an "notice" priority according to /usr/include/sys/syslog_pri.h and thus should be logged since I have specified that anything above "debug" is to be considered). How can I tell from the above log message what the facility is? Maybe syslogd thinks that the above message is not coming from the "user" facility and is thus ignoring it? If so, what facility does it think the log message is coming from? ----------------------------- POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME: THIS ACCOUNT REJECTS ALL EMAIL. SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!