<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/syslogd/syslogd.c, branch releng/5.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>logerror is used in syslogd to log errors from syslogd itself. It</title>
<updated>2003-11-16T21:51:06+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2003-11-16T21:51:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de4aac0deb603a468319d07cc9f701578d72a536'/>
<id>de4aac0deb603a468319d07cc9f701578d72a536</id>
<content type='text'>
is possible for an error to occur while trying to log an error, and
this can result in infinite recursion (or at least until we run out
of stack).

Rather than this, we ignore requests to log an error while logging an
error.

PR:		51253
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is possible for an error to occur while trying to log an error, and
this can result in infinite recursion (or at least until we run out
of stack).

Rather than this, we ignore requests to log an error while logging an
error.

PR:		51253
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove an argument to printf that is unused.</title>
<updated>2003-11-16T21:42:00+00:00</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2003-11-16T21:42:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3c453e20f9d94c17cf78d5ed994955a23059e399'/>
<id>3c453e20f9d94c17cf78d5ed994955a23059e399</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid a corrupt timestamp on the console</title>
<updated>2003-05-17T20:07:54+00:00</updated>
<author>
<name>Gregory Neil Shapiro</name>
<email>gshapiro@FreeBSD.org</email>
</author>
<published>2003-05-17T20:07:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc227858240400edffc47126fb4455aad82b4bca'/>
<id>cc227858240400edffc47126fb4455aad82b4bca</id>
<content type='text'>
PR:		51587
Submitted by:	Dmitry Sivachenko &lt;mitya@cavia.pp.ru&gt;
Approved by:	re (rwatson)
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		51587
Submitted by:	Dmitry Sivachenko &lt;mitya@cavia.pp.ru&gt;
Approved by:	re (rwatson)
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid code duplication by using libutil's trimdomain() instead of</title>
<updated>2003-05-17T20:05:18+00:00</updated>
<author>
<name>Gregory Neil Shapiro</name>
<email>gshapiro@FreeBSD.org</email>
</author>
<published>2003-05-17T20:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a22139f98de1abbbea5196e174cb62dab981210d'/>
<id>a22139f98de1abbbea5196e174cb62dab981210d</id>
<content type='text'>
an incorrect re-implementation.

PR:		52223, 52342
Submitted by:	Dan Nelson &lt;dnelson@allantgroup.com&gt;
Approved by:	re (bmah/rwatson)
MFC after:	2 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
an incorrect re-implementation.

PR:		52223, 52342
Submitted by:	Dan Nelson &lt;dnelson@allantgroup.com&gt;
Approved by:	re (bmah/rwatson)
MFC after:	2 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup hostname matching in syslogd:</title>
<updated>2003-05-04T22:05:40+00:00</updated>
<author>
<name>Gregory Neil Shapiro</name>
<email>gshapiro@FreeBSD.org</email>
</author>
<published>2003-05-04T22:05:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4095c651b0657e8dfeecccfb5573a26ae2862228'/>
<id>4095c651b0657e8dfeecccfb5573a26ae2862228</id>
<content type='text'>
1. Hostnames were not treated case insensitively in all cases.

2. The method for stripping hostnames when reading the syslog.conf
   differed from that when finding the hostname of an incoming request.
   This lead to a broken match check.  In my case, it meant I had to
   have '@scooter.smi.example.com.example.com' to have 'logger.example.com'
   properly save messages from 'scooter.smi.sendmail.com'.

3. Add paranoia to cfline() such that it doesn't try to access memory
   outside of the bounds of the f_host string.

4. While I am here, get rid of an outdated comment, argv[{0,1,2}] are now
   checked for NULL after the strdup() calls.

Reviewed by:	dwmalone
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Hostnames were not treated case insensitively in all cases.

2. The method for stripping hostnames when reading the syslog.conf
   differed from that when finding the hostname of an incoming request.
   This lead to a broken match check.  In my case, it meant I had to
   have '@scooter.smi.example.com.example.com' to have 'logger.example.com'
   properly save messages from 'scooter.smi.sendmail.com'.

3. Add paranoia to cfline() such that it doesn't try to access memory
   outside of the bounds of the f_host string.

4. While I am here, get rid of an outdated comment, argv[{0,1,2}] are now
   checked for NULL after the strdup() calls.

Reviewed by:	dwmalone
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Hostname specifications must allow commas in the value. They are</title>
<updated>2003-02-21T19:02:31+00:00</updated>
<author>
<name>Thomas Quinot</name>
<email>thomas@FreeBSD.org</email>
</author>
<published>2003-02-21T19:02:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f3a9f7841ac1f85f324fc989eba07a2d4e672ef2'/>
<id>f3a9f7841ac1f85f324fc989eba07a2d4e672ef2</id>
<content type='text'>
used to separate multiple host names.

Noted by:	Dan Nelson &lt;dnelson@allantgroup.com&gt;
Reviewed by:	roberto
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
used to separate multiple host names.

Noted by:	Dan Nelson &lt;dnelson@allantgroup.com&gt;
Reviewed by:	roberto
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow multiple hosts or programs to be named in program</title>
<updated>2003-02-13T00:08:56+00:00</updated>
<author>
<name>Thomas Quinot</name>
<email>thomas@FreeBSD.org</email>
</author>
<published>2003-02-13T00:08:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7ac1f02eed4b5c00af377c0365cd98bc427cf751'/>
<id>7ac1f02eed4b5c00af377c0365cd98bc427cf751</id>
<content type='text'>
or host specifications, eg:

!foo,bar
*.* /var/log/only_foo_or_bar.log

!-foo,bar
*.* /var/log/all_except_foo_or_bar.log

Reviewed by:		roberto
Not objected to by:	arch@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
or host specifications, eg:

!foo,bar
*.* /var/log/only_foo_or_bar.log

!-foo,bar
*.* /var/log/all_except_foo_or_bar.log

Reviewed by:		roberto
Not objected to by:	arch@
</pre>
</div>
</content>
</entry>
<entry>
<title>Factor out the code that determines whether a message must be skipped</title>
<updated>2002-11-07T19:53:29+00:00</updated>
<author>
<name>Thomas Quinot</name>
<email>thomas@FreeBSD.org</email>
</author>
<published>2002-11-07T19:53:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=68883704880cd9f38881db791fa998bbf0c01379'/>
<id>68883704880cd9f38881db791fa998bbf0c01379</id>
<content type='text'>
as a consequence of a host or program name specification into a common
function, skip_pmessage.

Reviewed by:	roberto
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as a consequence of a host or program name specification into a common
function, skip_pmessage.

Reviewed by:	roberto
</pre>
</div>
</content>
</entry>
<entry>
<title>Add used #include &lt;limits.h&gt;.</title>
<updated>2002-10-27T17:46:53+00:00</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2002-10-27T17:46:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cd9a4d5d7af063cb226359474bc5ce7844541a09'/>
<id>cd9a4d5d7af063cb226359474bc5ce7844541a09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync usage() with reality and sort it alphabetically.</title>
<updated>2002-10-18T11:48:46+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-18T11:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=50a4cf33caeb91a22188d3985c7d1b7186571a9b'/>
<id>50a4cf33caeb91a22188d3985c7d1b7186571a9b</id>
<content type='text'>
PR:		42620
Submitted by:	Jeff Ito
MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		42620
Submitted by:	Jeff Ito
MFC after:	1 month
</pre>
</div>
</content>
</entry>
</feed>
