Hopefully this is easy, but I am not seeing straight any more. Sure would appreciate another pair of eyes. I can see that the packets arrive at the server using TCPDump on that server, but get a ICMP UDP port unreachable from the server back to the client.
20:07:43.057814 IP 10.30.55.254.52193 > 10.30.55.44.syslog: SYSLOG local7.notice, length: 169
20:08:27.594271 IP 10.30.55.254.52193 > 10.30.55.44.syslog: SYSLOG local7.notice, length: 109
20:08:47.054824 IP 10.30.55.44 > 10.30.55.254: ICMP 10.30.55.44 udp port domain unreachable, length 87
logfiles /var/log/router.log is empty and nothing related in /var/log/messages
I am setting up the syslog SERVER 12.0-RELEASE-p8 on IP addr 10.30.55.44
CLIENT is a Cisco router sending log messages from 10.30.55.254
Server Syslog Config:
/etc/rc.conf
/etc/syslog.conf
Code:
tcpdump host 10.30.55.44 and 10.30.55.254
20:08:27.594271 IP 10.30.55.254.52193 > 10.30.55.44.syslog: SYSLOG local7.notice, length: 109
20:08:47.054824 IP 10.30.55.44 > 10.30.55.254: ICMP 10.30.55.44 udp port domain unreachable, length 87
logfiles /var/log/router.log is empty and nothing related in /var/log/messages
I am setting up the syslog SERVER 12.0-RELEASE-p8 on IP addr 10.30.55.44
CLIENT is a Cisco router sending log messages from 10.30.55.254
Server Syslog Config:
/etc/rc.conf
Code:
ifconfig_re0="inet 10.30.55.44 netmask 255.255.255.0"
defaultrouter="10.30.55.254"
syslogd_enable="YES"
sylogd_flags="-a -d -4 10.30.55.254 -v -v"
Code:
# $FreeBSD: releng/12.0/usr.sbin/syslogd/syslog.conf 338146 2018-08-21 17:01:47Z brd $
#
# Spaces ARE valid field separators in this file. However,
# other *nix-like systems still insist on using tabs as field
# separators. If you are sharing this file between systems, you
# may want to use only tabs as field separators here.
# Consult the syslog.conf(5) manpage.
*.err;kern.warning;auth.notice;mail.crit /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info /var/log/maillog
cron.* /var/log/cron
!-devd
*.=debug /var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to /var/log/console.log
# touch /var/log/console.log and chmod it to mode 600 before it will work
#console.info /var/log/console.log
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
*.=debug /var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to /var/log/console.log
# touch /var/log/console.log and chmod it to mode 600 before it will work
#console.info /var/log/console.log
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
#*.* /var/log/all.log
# uncomment this to enable logging to a remote loghost named loghost
#*.* @loghost
# uncomment these if you're running inn
# news.crit /var/log/news/news.crit
# news.err /var/log/news/news.err
# news.notice /var/log/news/news.notice
# Uncomment this if you wish to see messages produced by devd
# !devd
# *.>=notice /var/log/devd.log
!*
include /etc/syslog.d
include /usr/local/etc/syslog.d
+10.33.55.254
*.* /var/log/router.log