* syslog facilities problem
@ 2000-10-07 4:00 Robert Lowe
2000-10-09 1:20 ` Andrew Moar
0 siblings, 1 reply; 4+ messages in thread
From: Robert Lowe @ 2000-10-07 4:00 UTC (permalink / raw)
Hi!
I'm trying to log messages from a firewall to a Tru64 box. The firewall
allows me to choose facilities 16-23, which are to correspond with
local0-local7. I have not been successful in logging anything however.
So I went digging a bit. In /usr/include/syslog_pri.h, one will find
the entries listed for the various facilities. You will note, that
while the entries for local0-local7 appear to be shown as 16-23, they
are bit-shifted three places. A brief trip through the logger man
page seems to support this, since one can specify facilities by name
or by number, and the numbers are all 8x what you would expect. So,
how can I log messages to my Tru64 4.0d box if the firewall s/w lets
me specify 16-23 but syslogd really seems to want 16...23 x 8 ??? Or
are message facilities from incoming messages shifted appropriately,
and the code for logger just didn't bother, i.e. my problem lies
elsewhere?
TIA,
Robert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: syslog facilities problem
2000-10-07 4:00 syslog facilities problem Robert Lowe
@ 2000-10-09 1:20 ` Andrew Moar
2000-10-09 4:00 ` Robert Lowe
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Moar @ 2000-10-09 1:20 UTC (permalink / raw)
In article <39DF71A1.437C8C77@x-no.spam-x.lawrence.edu>,
Robert Lowe <Robert.H.Lowe@X-no.spam-X.lawrence.edu> writes:
> Hi!
>
> I'm trying to log messages from a firewall to a Tru64 box. The firewall
> allows me to choose facilities 16-23, which are to correspond with
> local0-local7. I have not been successful in logging anything however.
Not sure if this is the problem, but to log remote messages, a
/etc/syslog.auth containing an entry for each host you want to log from,
must be set up on the local machine. See man syslog.auth for more info.
Andrew
--
Andrew Moar : Ph +61 3 9479 1505 email A.Moar@latrobe.edu.au
Unix Environment Specialist, Information Technology Services
La Trobe University, Bundoora
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: syslog facilities problem
2000-10-09 1:20 ` Andrew Moar
@ 2000-10-09 4:00 ` Robert Lowe
2000-10-10 4:00 ` Nick Hill
0 siblings, 1 reply; 4+ messages in thread
From: Robert Lowe @ 2000-10-09 4:00 UTC (permalink / raw)
Andrew Moar wrote:
>
> In article <39DF71A1.437C8C77@x-no.spam-x.lawrence.edu>,
> Robert Lowe <Robert.H.Lowe@X-no.spam-X.lawrence.edu> writes:
> > Hi!
> >
> > I'm trying to log messages from a firewall to a Tru64 box. The firewall
> > allows me to choose facilities 16-23, which are to correspond with
> > local0-local7. I have not been successful in logging anything however.
>
> Not sure if this is the problem, but to log remote messages, a
> /etc/syslog.auth containing an entry for each host you want to log from,
> must be set up on the local machine. See man syslog.auth for more info.
Yeah, except that's for v5, but it wasn't there for 4.0d. :-( It was a
good thought though. I'll get a packet trace and see if I can't learn
more that way.
-Robert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: syslog facilities problem
2000-10-09 4:00 ` Robert Lowe
@ 2000-10-10 4:00 ` Nick Hill
0 siblings, 0 replies; 4+ messages in thread
From: Nick Hill @ 2000-10-10 4:00 UTC (permalink / raw)
Robert Lowe wrote:
>
> > Not sure if this is the problem, but to log remote messages, a
> > /etc/syslog.auth containing an entry for each host you want to log from,
> > must be set up on the local machine. See man syslog.auth for more info.
>
> Yeah, except that's for v5, but it wasn't there for 4.0d. :-( It was a
> good thought though. I'll get a packet trace and see if I can't learn
> more that way.
>
> -Robert
It was! From one of the patch kits onwards I believe it was introduced
for 4.0d. I cannot remember when it came in but it did. I need to a
syslog.auth entry to allow systems to syslog to my 4.0d systems.
Nick Hill
ITD SCS Group
Rutherford Appleton Labs
Chilton, Didcot
OXON, UK
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-10-10 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-07 4:00 syslog facilities problem Robert Lowe
2000-10-09 1:20 ` Andrew Moar
2000-10-09 4:00 ` Robert Lowe
2000-10-10 4:00 ` Nick Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox