From owner-freebsd-isp Mon Feb 9 09:22:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08861 for freebsd-isp-outgoing; Mon, 9 Feb 1998 09:22:44 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mail.westbend.net (ns1.westbend.net [207.217.224.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08855 for ; Mon, 9 Feb 1998 09:22:42 -0800 (PST) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [207.217.224.195]) by mail.westbend.net (8.8.8/8.8.7) with SMTP id LAA00181 for ; Mon, 9 Feb 1998 11:22:40 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <001401bd357e$dadfe6a0$c3e0d9cf@admin.westbend.net> From: "Scot W. Hetzel" To: "FreeBSD-ISP" Subject: Re: logging messages to remote host w/syslogd Date: Mon, 9 Feb 1998 11:19:18 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----Original Message----- From: Jan Koum To: Scot W. Hetzel Cc: FreeBSD-ISP Date: Sunday, February 08, 1998 12:26 AM Subject: Re: logging messages to remote host w/syslogd > > >On Sun, 8 Feb 1998, Scot W. Hetzel wrote: > >>I am experiencing a problem with the syslogd. For some unknown reason it >>will not accept messages from remote hosts. I have read the man pages and >>searched the archives but no help. >> >>On hostA, I have made the following change to rc.conf so that it can accept >>remote messages: >> >>syslog_syslogd_enable="YES" # Run syslog daemon (or NO). > ^^^^^^^^^^^^^^^^^^^ > Shouldn't this be just `` syslogd_enable="YES" '' ? Copied & pasted it from my rc.conf, after I had typed the "syslog_", it is in fact "syslogd_enable" in my rc.conf. > Also, try starting it with "-d" -- debug mode, and do "ps ax | >grep syslog" to see which flags it really has. > After I put it into debug mode, I found the problem. If I just use just the host ipaddress then it doesn't work (ie -a 10.0.0.196). But if I use the netmask (ie -a 10.0.0.196/32, or -a 10.0.0.192/26) then messages are logged. I then tried the PM3, and found that I have to set the port to use (i.e. -a 10.0.0.206/32:\* or -a 10.0.0.206/32:1023) as the PM3 use a different port to send its syslog messages from to port 514 on the logging host. Thanks for the hint. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message