Syslog server

Syslog server

Post by Mark » Thu, 20 Nov 2003 02:37:25



Hi all,

I'm trying to find some information on setting up a basic syslog server, but
the whole concept seems to be very "secret squirrel"... I've done exhaustive
searches and come up with nothing.

I just want to use a solaris 8 box to accept syslog messages from some cisco
kit (easy to set up logging on that) but can't find any helpful info.

I looked through the man pages but can't find any option for syslog to
enable acceptance of syslog messages from remote hosts... :S

Any advice greatly appreciated!

Mark

 
 
 

Syslog server

Post by Barry Margoli » Thu, 20 Nov 2003 04:09:04




>I looked through the man pages but can't find any option for syslog to
>enable acceptance of syslog messages from remote hosts... :S

Because it's not optional, it always accepts them.

--

Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

 
 
 

Syslog server

Post by Mark » Thu, 20 Nov 2003 08:30:10


Aha,

thanks guys.

That seems like rather undesirable behaviour (the default accept). I daresay
there's an exploit out there somewhere which takes advantage of it :S

Well, seeing as it'll be behind a PIX, I'm sure it won't be a problem, I'll
just have to set up rules.

Cheers!

Mark




> >>I looked through the man pages but can't find any option for syslog to
> >>enable acceptance of syslog messages from remote hosts... :S

> >Because it's not optional, it always accepts them.

> It is optional, it's just the option (-t) is to turn it off, not turn
> it on.

> P.

> --
> pir

 
 
 

Syslog server

Post by Mark » Thu, 20 Nov 2003 23:20:24


All working beautifully and out to seperate files :)

Thanks


> Aha,

> thanks guys.

> That seems like rather undesirable behaviour (the default accept). I
daresay
> there's an exploit out there somewhere which takes advantage of it :S

> Well, seeing as it'll be behind a PIX, I'm sure it won't be a problem,
I'll
> just have to set up rules.

> Cheers!

> Mark





> > >>I looked through the man pages but can't find any option for syslog to
> > >>enable acceptance of syslog messages from remote hosts... :S

> > >Because it's not optional, it always accepts them.

> > It is optional, it's just the option (-t) is to turn it off, not turn
> > it on.

> > P.

> > --
> > pir

 
 
 

Syslog server

Post by Chris Thomps » Fri, 21 Nov 2003 00:33:40






>>>I looked through the man pages but can't find any option for syslog to
>>>enable acceptance of syslog messages from remote hosts... :S

>>Because it's not optional, it always accepts them.

>It is optional, it's just the option (-t) is to turn it off, not turn
>it on.

Or, in Solaris 9, set LOG_FROM_REMOTE=NO in /etc/default/syslogd.
That way, you don't have to mess with the /etc/init.d/syslog script.

The default being to accept remote syslogs is just tradition, and
yes (as another poster suggested), there have been exploits. Not
just the easy DoS ones, but ones using overlong UDP packets to
provoke buffer overflows in syslogd.

Chris Thompson
Email: cet1 [at] cam.ac.uk

 
 
 

1. Sending syslog messages to a remote syslog server

I have successfully setup a centralized syslog server on Linux
accepting logs from remote clients.
The /etc/syslog.conf file on Linux (192.168.1.20) is configured as
follows:
*.*                               /var/log/mainlog

I have remote Linux, Windows, Snort, HP JetDirects, and Cisco devices
logging to it.  I have not been able to get Solaris to send logs
though.
The /etc/syslog.conf file on Solaris 7.0 (192.168.1.10) is configured
as follows:


The /etc/hosts file on Solaris is configured as follows:
192.168.1.20 loghost

After restarting syslog (etc/init.d/syslog stop and then a start), I
do not see any logs being sent.  I tried to log into telnet with an
incorrect password, and /var/adm/ had a log file that shows I
attempted this, but the Linux box did not.

My question is...Are either of these correct?  I would prefer to use

understand that the second line should work as well.  Any ideas?

2. Intermittent problem: touch cannot create

3. syslog server again

4. timex command

5. Syslog Server Question

6. Strange variable appears with Y2K patches on AIX 4.1.5

7. Setting up a FreeBSD Syslog Server

8. OAS 4.0.8.1 on AIX 4.3.3

9. JetDirect, Syslog Server

10. syslog server suggestions

11. Syslog Server

12. Using Linux as a Syslog server to capture firewall data

13. Setting up a Syslog Server.