* syslog messages
@ 2002-04-12 10:48 SpitsOnSpammers
2002-04-12 15:48 ` Sylvain Robitaille
0 siblings, 1 reply; 3+ messages in thread
From: SpitsOnSpammers @ 2002-04-12 10:48 UTC (permalink / raw)
Can anyone tell me if the syslog messages that a syslogd daemon accepts and
writes to a log are just simple character strings? I've looked at sys/syslog.h
and sys/syslog_pri.h and all I can see are specifications for priority and
facility codes and it's not very clear from the man pages or the abovementioned
header files whether the char pointer log_tag in the syslog_data struct is
where the messages are being stored.
I'm asking this because I have a SonicWall firewall sending data that is
somewhat cryptic in terms of status codes, etc, to my syslogd daemon running on
a 600au with Tru64 V5.1. When I asked SonicWall tech support what the cryptic
status codes meant, they claimed it was "standard" and that I could find it "on
the web with a google search". I tried doing that and after wading through
thousands of irrelevant websites/webpages, I've come to the conclusion that the
SonicWall people are wrong. My contention is that the syslog messages are just
a character string that SonicWall coders have instructed their firewall to send
out and thus specific to SonicWall devices (and is thus not "standard"). I
suspect that there is someone buried deep in the depths of the SonicWall
engineering department that nobody in SonicWall tech support knows about and
who has a very detailed table that can decode the cryptic syslog messages.
Can anyone help? Thanks in advance.
-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME: THIS ACCOUNT REJECTS
ALL EMAIL. SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: syslog messages
2002-04-12 10:48 syslog messages SpitsOnSpammers
@ 2002-04-12 15:48 ` Sylvain Robitaille
2002-04-12 19:34 ` SpitsOnSpammers
0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Robitaille @ 2002-04-12 15:48 UTC (permalink / raw)
On 12 Apr 2002 10:48:58 GMT, SpitsOnSpammers wrote:
> Can anyone tell me if the syslog messages that a syslogd daemon accepts
> and writes to a log are just simple character strings?
Yes. Yes.
If you run syslogd in debug mode (-d) the syslog-er will not daemonize
and will print the incoming message to the screen as well as to the
regular targets. There you'll see as well as the actual message, the
facility/priority code sent with it (so the syslogger "knows" which
targets to send that message to).
I hope that helps...
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: syslog messages
2002-04-12 15:48 ` Sylvain Robitaille
@ 2002-04-12 19:34 ` SpitsOnSpammers
0 siblings, 0 replies; 3+ messages in thread
From: SpitsOnSpammers @ 2002-04-12 19:34 UTC (permalink / raw)
syl@alcor.concordia.ca wrote:
>> Can anyone tell me if the syslog messages that a syslogd daemon accepts
>> and writes to a log are just simple character strings?
>
>Yes. Yes.
>
>If you run syslogd in debug mode (-d) the syslog-er will not daemonize
>and will print the incoming message to the screen as well as to the
>regular targets. There you'll see as well as the actual message, the
>facility/priority code sent with it (so the syslogger "knows" which
>targets to send that message to).
>
>I hope that helps...
Excellent! Thank you for your help.
-----------------------------
POSTING TO THIS NEWSGROUP IS THE ONLY WAY TO REACH ME: THIS ACCOUNT REJECTS
ALL EMAIL. SPAMMERS CAN HARVEST AWAY AND BE DAMNED!!!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-12 19:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-12 10:48 syslog messages SpitsOnSpammers
2002-04-12 15:48 ` Sylvain Robitaille
2002-04-12 19:34 ` SpitsOnSpammers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox