Bugtraq mailing list archives
Re: syslogd fun (erratum)
From: deraadt () CVS OPENBSD ORG (Theo de Raadt)
Date: Thu, 28 Aug 1997 23:55:38 -0600
I wasn't exactly right about using netstat to determine if remote reception is on. I looked at the sources of syslogd 1.3 more carefully. In fact, even though it defaults to no remote reception, it creates an AF_INET socket and binds to it unconditionally (well, if SYSLOG_INET was defined during the compilation, and it was defined in RedHat 4.2 build). It doesn't pay attention to it from that point on, though, if remote reception is off, but socket is there and it does appear in netstat output. I don't know why it's done this way, I guess you may consider it as a feature. No harm, just could be misleading.
It is done that way because @loghost transfers use that same socket for communication with remote syslogd's. You can't simply not create it. If the config file contains any packet redirections, you are going to need the socket. Hence in 'secure mode' syslogd simply ignores all input packets. Here's the relevant entry from the OpenBSD syslogd man page: -u Select the historical ``insecure'' mode, in which syslogd will accept input from the UDP port. Some software wants this, but you can be subjected to a variety of attacks over the network, including attackers remotely filling logs.
Current thread:
- Re: syslogd fun (erratum) Yuri Volobuev (Aug 28)
- Having fun with eggdrop bot Giuliano COCAINE (Aug 28)
- Re: Having fun with eggdrop bot The Nolander (Aug 29)
- Re: Having fun with eggdrop bot -*- Chotaire -*- (Aug 29)
- DDB/securelevel Aleph One (Aug 30)
- Re: DDB/securelevel Andrew Brown (Aug 30)
- Mac TCP/IP Stack glitch. nomad () APOLLO TOMCO NET (Aug 31)
- Re: Having fun with eggdrop bot The Nolander (Aug 29)
- Having fun with eggdrop bot Giuliano COCAINE (Aug 28)
- Re: syslogd fun (erratum) Theo de Raadt (Aug 28)
- SGI security patches Martin J. Dellwo (Aug 29)
- Somewhat of a security hole in CVS Elliot Lee (Aug 29)
- Re: Somewhat of a security hole in CVS Theo de Raadt (Aug 29)
- Re: Somewhat of a security hole in CVS Marc Slemko (Aug 29)
- rpm 2.4.6 (with /tmp fixes) Erik Troan (Aug 29)