From owner-freebsd-isp Sat Feb 7 22:07:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06030 for freebsd-isp-outgoing; Sat, 7 Feb 1998 22:07:21 -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 WAA06024 for ; Sat, 7 Feb 1998 22:07:16 -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 AAA00306 for ; Sun, 8 Feb 1998 00:07:13 -0600 (CST) (envelope-from hetzels@westbend.net) Message-ID: <004601bd3457$544be120$c3e0d9cf@admin.westbend.net> From: "Scot W. Hetzel" To: "FreeBSD-ISP" Subject: logging messages to remote host w/syslogd Date: Sun, 8 Feb 1998 00:03:51 -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 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). syslogd_flags="-a 10.0.0.1" # Flags to syslogd (if enabled). and added the following to syslog.conf local7.* /var/log/test.log On the Portmaster 3 [10.0.0.1], I set the loghost to hostA and changed the logging priorities to use local7. Now when I execute the command "show netconns" it displays: Hnd Recv-Q Send-Q Local Address Foreign Address (state) 4 0 0 portmaster.1023 hostA.514 UDP I also tried another FreeBSD server to send its log messages to hostA and this didn't work either. I changed the ip address to hostB [ 10.0.0.2] for syslogd_flags, and changed the syslog.conf on hostB: local7.* /var/log/test.log local7.* @hostA NOTE: Both syslogd on hostA, and hostB were restarted. When I execute on hostB: logger -p local7.notice Logging Test The output appears in test.log on hostB, and doesn't show on hostA. If I execute the same command on hostA, the output appears in hostA's test.log file. Any Ideas as to why it is not working? Scot. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message