Commit Graph

68 Commits

Author SHA1 Message Date
peter
9641151edb Remove the zombie reaper and set SIG_IGN on SIGCHLD. We won't get a zombie
when the child exists this way and it should also fix the race condition
as mentioned in PR bin/30253 from Patrick McPhee.

Approved by christos.
2005-05-18 00:31:32 +00:00
peter
914d68e290 Fix a typo; some minor nits and tweaks; add a CAVEATS section which
describes where identd needs access to when using certain flags.
2005-04-04 18:43:55 +00:00
peter
f90aa792d5 Add forward/proxy support to identd(8).
Approved by christos.
2005-04-03 22:15:32 +00:00
peter
6e30b59e96 Some minor cleanup:
* Improve some comments and (error) messages.
* Use EXIT_FAILURE and EXIT_SUCCESS.
* Add function `maybe_syslog' (only log when -l is enabled).

Reviewed by christos.
2005-03-11 15:49:52 +00:00
dsl
1869f0e146 Add (unsigned char) cast to ctype functions 2004-11-05 21:56:01 +00:00
kim
7e384e20a9 The "FORMAL SYNTAX" on RFC-1314 (page 5) does not show any spaces
around the delimiters (commas and colons).  Also, at the end of
the "RESPONSE TYPES" section for "USERID" it is explicitly noted
that any spaces after the colon following the OSTYPE field *are*
part of the identifier.
2004-08-05 18:05:22 +00:00
christos
16816b44a8 PR/24320: Alan Barrett: new identd does not report random data when getpwuid()
fails. Also improve some log messages.
2004-02-05 13:18:48 +00:00
wiz
29dcd7f961 Standardize flag listing; sort options; remove ending dot in Nd argument;
sort sections and SEE ALSO; new sentence, new line; replace some man
macros with mdoc macros.
2004-01-31 22:39:24 +00:00
christos
2a56437104 add RCSID. 2004-01-31 22:03:31 +00:00
christos
f9ce139688 remove unused pidentd files. 2004-01-31 21:48:22 +00:00
christos
6310d36554 new identd from Peter Postma. 2004-01-31 21:47:17 +00:00
christos
81e1fcb367 downgrade the accept error to a warning so that we don't exit if we are being
port scanned.
2003-09-14 22:38:23 +00:00
itojun
013cd625a4 use arc4random 2003-09-06 12:52:10 +00:00
tsutsui
e40b9a1c1d Include <stdlib.h> for exit(3) prototype, warned by gcc-3.3. 2003-07-05 12:34:12 +00:00
christos
1e3cf33d74 fix botch in sysctl arg. 2003-06-27 18:37:48 +00:00
christos
cf96f20a95 Rewrite from scratch; modify sysctl so that it does not abuse the new pointer. 2003-06-26 17:31:12 +00:00
christos
be4bd83a25 No need to define _KERNEL 2003-06-26 16:23:53 +00:00
itojun
bb3fc85900 use snprintf 2003-05-17 21:24:38 +00:00
itojun
0f00216d14 string manipulation cleanup 2003-05-17 21:17:43 +00:00
tron
8e10566c2f Output a usefull error message if sysctl(3) fails. 2003-04-22 16:42:00 +00:00
christos
99437fe16f PR/2352: Tor Egge: Use sysctl to get uid. 2003-04-19 20:57:35 +00:00
jdolecek
bcc4e12368 s/USER-ID/USERID/ in response when -L is used
fixes PR bin/20911 by der Mouse
2003-03-27 22:32:59 +00:00
wiz
83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz
a6bd266319 Correct spelling of "preferred". From PR 20716 by Igor Sobrado. 2003-03-15 19:15:58 +00:00
christos
580d21c8c2 undo mallocvar.h change! 2003-02-02 02:31:14 +00:00
tron
edb9087c05 Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
build failure because MALLOC_DECLARE() is not defined.
2003-02-01 21:12:25 +00:00
tron
3125c302ff Fix build problem by rearranging the order of "#include" statements so
that "sys/mallocvar.h" gets include while "_KERNEL" is defined.
2003-02-01 17:59:47 +00:00
lukem
764c86e2b1 don't need -lutil here 2002-11-30 03:16:14 +00:00
wiz
64ffd490cb Fix typos. Found by Adrian Mrva. 2002-10-29 16:19:49 +00:00
wiz
d6285bbf1d Begin new sentences on new lines.
Patch from Robert Elz (kre at munnari oz au).
2002-09-29 14:05:52 +00:00
mycroft
aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun
a9fc5f306a poll.h, not sys/poll.h 2002-09-23 03:32:34 +00:00
mycroft
015ea63be5 Fix an error message. 2002-09-18 20:20:28 +00:00
mycroft
315144beb5 select() -> poll() 2002-09-18 20:17:55 +00:00
wiz
bf840df2cd __STDC__ is always defined on NetBSD. 2002-05-26 00:02:06 +00:00
sommerfeld
eac46437d4 Truth in advertising. 2002-03-28 15:09:14 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
a493296832 Whitespace nits and fix xref section. 2002-01-15 02:22:28 +00:00
wiz
456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
christos
bad4697a91 remove redundant decls 2001-02-04 22:10:11 +00:00
matt
9bf906d2e1 Make things builds with GCC 2.96 2000-07-03 03:34:25 +00:00
bad
167b74c2d9 Do not xref non-existant man pages. 1999-05-19 13:35:54 +00:00
jwise
76cd940256 Add a -L (lie brazenly) flag, to demonstrate the perils of proof by
assertion^W^W^W^W^W^W^Wprovide admins with a means of providing a
standard host-wide identd response.  From the man page:

The -L<user name> option instructs identd to lie  brazenly
about  the  identity  of the user in question.  You didn't
really intend to trust my assertion about who I  was  any-
way, right?
This  flag  provides  a way for a site to support services
requiring the ident protocol while  providing  a  standard
answer to all ident queries. All queries to identd will
respond with a host type of  `OTHER'  and  a  username  of
<user name>.
1999-05-18 04:49:41 +00:00
mycroft
2e9ada3aff const propagation. 1998-07-27 15:11:06 +00:00
mycroft
5dd823ab5d const poisoning. 1998-07-26 19:44:12 +00:00
msaitoh
718c318d9e Add a perl script to convert a standard distribution directory for
pidentd into a NetBSD source tree.
1998-07-15 07:37:26 +00:00
msaitoh
db19dcec0d Upgrade to version 2.8.3. 1998-07-15 07:31:55 +00:00
mrg
2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
mrg
0cb14e7641 fix warnings on the alpha. 1997-10-08 07:24:51 +00:00
mrg
7796977716 WARNS?=1. RCS ids. 1997-10-08 07:07:40 +00:00