From owner-freebsd-bugs Tue Oct 5 21:32:41 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ED4571533D for ; Tue, 5 Oct 1999 21:32:37 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA18512; Tue, 5 Oct 1999 21:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 5 Oct 1999 21:30:01 -0700 (PDT) Message-Id: <199910060430.VAA18512@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jacques Vidrine Subject: Re: bin/12091 syslog packets from a remote machine are not accepted unless the address is specified as xxx.xxx.xxx.xxx/32 -- shorter masks (including defaults) cause packets to be dropped by syslogd. Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/12091; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org Cc: adrian@freebsd.org Subject: Re: bin/12091 syslog packets from a remote machine are not accepted unless the address is specified as xxx.xxx.xxx.xxx/32 -- shorter masks (including defaults) cause packets to be dropped by syslogd. Date: Tue, 05 Oct 1999 23:22:38 -0500 The right thing to do is to DTRT (fix the address/mask pair) and give them a warning. I would use a warning message such as: $ syslogd -a 1.1.1.1/24 WARNING: matching 1.1.1.0/24, I hope this is what you wanted. There's nothing intrinsically _wrong_ with specifying something such as 1.1.1.1/24, and it can be handy when cutting & pasting (I want to accept anything from the network THAT machine is on). To me this is a bug in the packet matching code, because 1.1.1.1 & 255.255.255.0 = 1.1.1.0. Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message