On Sat, Jan 20, 2001 at 11:39:37PM -0600, Steve Price wrote:
> On Sat, Jan 20, 2001 at 09:20:39PM -0800, Crist J. Clark wrote:
> #
> # You can write to the /dev/log (usually symlinked to /var/run/log)
> # socket with '-s' set.
> #
> # If you want to or need to use network sockets,
> #
> # # syslogd -a localhost
> #
> # Should provide the behavior you want. As you noted this is not the
> # same as '-s'. It is a feature and not a bug.
>
> I'm still deciding on that... Here's what I see:
>
> steve@test1(~)$ telnet localhost 514
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host.
> steve@test1(/tmp/tard)$
>
> steve@bonsai(~)$ telnet 192.168.21.28 514
> Trying 192.168.21.28...
> Connected to 192.168.21.28.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> And here is what I see in syslogd:
>
> test1# syslogd -d -a localhost
> ...
> logmsg: pri 45, flags 0, from test1, msg Jan 20 23:34:52 rshd[53675]:
> connection from 127.0.0.1 on illegal port 1186
> Logging to CONSOLE /dev/console
> Logging to FILE /var/log/messages
> Logging to USERS
> logmsg: pri 45, flags 0, from test1, msg Jan 20 23:34:54 rshd[53676]:
> connection from 192.168.21.1 on illegal port 2855
> Logging to CONSOLE /dev/console
> Logging to FILE /var/log/messages
> Logging to USERS
It looks like syslogd(8) is working fine from this. Is something with
syslogd(8) not working? 'tail /var/log/messages' aren't those messages
there?
--
Crist J. Clark [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message