From owner-freebsd-questions@FreeBSD.ORG Thu Apr 30 12:43:26 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D89EB676 for ; Thu, 30 Apr 2015 12:43:26 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A301E1370 for ; Thu, 30 Apr 2015 12:43:26 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-245.adsl.hiwaay.net [216.180.76.245]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t3UChImP020306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 30 Apr 2015 07:43:18 -0500 Message-ID: <55422366.8060000@hiwaay.net> Date: Thu, 30 Apr 2015 07:49:33 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" , NetBSD ARM port Subject: minor syslog issue Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2015 12:43:26 -0000 I have a small LAN w/ a Raspberry Pi B+ as my time server & a FreeBSD 9.3Rp13 machine (this box, as it happens), among others. The FBSD box is my daily driver, & I want to get the RPi to syslog messages to the FBSD box for convenience, & possibly reduced write fatigue of the microSDHC 'HDD' on the RPi. I (think I) configured the RPi to log to the FreeBSD box, named 'kabini1': rpi # cat syslog.conf # $NetBSD: syslog.conf,v 1.9 2004/07/23 03:45:42 mycroft Exp $ *.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console *.err;kern.*;auth.notice;authpriv.none;mail.crit /var/log/messages *.err;kern.*;auth.notice;authpriv.none;mail.crit @kabini1 *.info;auth,authpriv,cron,ftp,kern,lpr,mail.none /var/log/messages kern.debug /var/log/messages *.info;auth,authpriv,cron,ftp,kern,lpr,mail.none @kabini1 kern.debug @kabini1 # The authpriv log file should be restricted access; these # messages shouldn't go to terminals or publically-readable # files. auth,authpriv.info /var/log/authlog cron.info /var/log/cron ftp.info /var/log/xferlog lpr.info /var/log/lpd-errs mail.info /var/log/maillog #uucp.info /var/spool/uucp/ERRORS *.emerg * *.emerg @kabini1 #*.notice root rpi # uname -a NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.201503272230Z) evbarm rpi # I also told the syslogd on kabini1 to accept log traffic from everything on my LAN: [root@kabini1, /etc, 10:31:19am] 462 % ps -aux | grep syslog root 743 0.0 0.0 12096 1772 ?? Ss 14Apr15 0:03.63 /usr/sbin/syslogd -a 192.168.0.0/16 -C -T root 783 0.0 0.1 24344 20352 ?? Ss 14Apr15 0:37.61 /usr/sbin/amd -p -a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map root 66565 0.0 0.0 16336 2028 7 S+ 7:36AM 0:00.00 grep syslog You have new mail. [root@kabini1, /etc, 7:36:09am] 463 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr 7 03:01:12 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 7:47:19am] 464 % So far after a day or 2, nothing appears from the RPi on kabini1, including nothing in /var/log/security (possibly indicating firewall impeding traffic). Almost certainly pilot error, any help appreciated :-) .... TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.