Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   lukem
Date:           Fri Feb 18 09:44:46 UTC 2000

Modified Files:
        basesrc/usr.sbin/syslogd: syslogd.c

Log Message:
* in secure mode (-s), still open the inet sockets but do a shutdown(,SHUT_RD)
  on each of them, and don't bother listening on them. this allows messages
  to be forwarded even with -s enabled.

  XXX: not 100% sure if this is susceptable to a DoS, e.g someone filling
  up kernel buffers with a backlog of packets not being read, but shutdown(2)
  should prevent that even if it possibly doesn't at this time.

* minor KNF


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 basesrc/usr.sbin/syslogd/syslogd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index