From: spammerspitter@aol.com.invalid (SpitsOnSpammers)
Subject: Re: syslog
Date: 31 Jan 2002 22:27:39 GMT [thread overview]
Message-ID: <20020131172739.04360.00000127@mb-mq.aol.com> (raw)
In-Reply-To: a3cae0$bep$3@news.ndsu.nodak.edu
>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.<dest domain name>
Allowing remote forwarding from any host configured, source host is
cerberus-lan.<dest domain name>
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=<dest IP> pri=5 c=256 m=38 msg="ICMP packet
dropped" n=7 src=<src IP>:8:WAN dst=<dest IP>: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!!!
next prev parent reply other threads:[~2002-01-31 22:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-30 18:53 syslog SpitsOnSpammers
2002-01-31 11:09 ` syslog Emmanuel Choquet
2002-01-31 20:30 ` syslog SpitsOnSpammers
2002-01-31 20:45 ` syslog Tim Mooney
2002-01-31 22:27 ` SpitsOnSpammers [this message]
2002-02-01 9:17 ` syslog Emmanuel Choquet
2002-02-01 17:06 ` syslog SpitsOnSpammers
2002-01-31 23:08 ` syslog SpitsOnSpammers
2002-02-06 16:00 ` syslog Richard Brust
2002-02-08 19:33 ` syslog SpitsOnSpammers
2002-01-31 21:03 ` syslog Michael Heiming
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox