Bug 15737

Summary: rc.conf should have '-s' for syslogd options
Product: Base System Reporter: toasty <toasty>
Component: confAssignee: bill fumerola <billf>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-STABLE   
Hardware: Any   
OS: Any   

Description toasty 1999-12-28 08:30:00 UTC
To quote syslogd's man page:

     The ability to log messages received in UDP packets is equivalent to an
     unauthenticated remote disk-filling service, and should probably be dis-
     abled by default. 


FreeBSD systems ship with syslogd enabled, but not with -s added to the
command line. If the goal is to make systems secure 'out of the box', it
would probably be wise to add -s.

After having a new machine 'remotely disk filled' for me, it occurred to me
that changing the defailt would be good.

If an option to make syslogd discard foreign packets silently is desired,
I'll whip up a patch.

Fix: 

change etc/defaults/rc.conf to:

 ### Network daemon (miscellaneous) & NFS options: ###
 syslogd_enable="YES"		# Run syslog daemon (or NO).
-syslogd_flags=""		# Flags to syslogd (if enabled).
+syslogd_flags="-s"		# Flags to syslogd (if enabled).
Comment 1 Sheldon Hearn 1999-12-29 12:31:56 UTC
On Tue, 28 Dec 1999 02:23:40 CST, Kevin Day wrote:

> FreeBSD systems ship with syslogd enabled, but not with -s added to the
> command line. If the goal is to make systems secure 'out of the box', it
> would probably be wise to add -s.

Don't you think it'd be even wiser to add -ss, once PR 15414 is
resolved?

Ciao,
Sheldon.
Comment 2 bill fumerola freebsd_committer freebsd_triage 2000-01-17 15:53:12 UTC
Responsible Changed
From-To: freebsd-bugs->billf

I'll be looking into this (and most likely committing it soon). 
Comment 3 bill fumerola freebsd_committer freebsd_triage 2000-03-20 19:51:57 UTC
State Changed
From-To: open->closed

Committed. thanks.