msaitoh
2b50e65cd3
s/numberic/numeric/ in comment.
2021-12-05 05:03:05 +00:00
andvar
72e44f84cb
fix typos in word "successfully", mainly s/succesfully/successfully/.
2021-09-16 21:29:41 +00:00
christos
4ce8846de5
Fix varargs.
2016-12-10 22:08:13 +00:00
christos
b525cd90e0
add npf support.
2016-12-10 05:43:11 +00:00
joerg
66dd2755f5
Add __printflike attribution to use vprintf and friends with an argument
...
as format string.
2012-03-15 02:02:20 +00:00
joerg
9eba1e423c
Use __dead
2011-08-29 20:41:06 +00:00
lukem
fb103c5334
fix -Wsign-compare issues
2009-01-18 00:37:53 +00:00
christos
a0feefba6a
Avoid buffer overflow.
2006-09-29 17:02:04 +00:00
christos
36ac62d963
PR/34658: der Mouse: identd truncates queries to first segment
2006-09-29 15:49:29 +00:00
peter
23b24500dc
Minor cleanup:
...
- remove the silly limit of 490 chars in change_format
- improve the timeout message
- delint (where it makes sense)
2005-06-14 12:17:13 +00:00
lukem
818f7c82fa
appease gcc -Wuninitialized
2005-06-01 15:51:23 +00:00
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
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
christos
2a56437104
add RCSID.
2004-01-31 22:03:31 +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
bb3fc85900
use snprintf
2003-05-17 21:24:38 +00:00
christos
99437fe16f
PR/2352: Tor Egge: Use sysctl to get uid.
2003-04-19 20:57:35 +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
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +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
msaitoh
db19dcec0d
Upgrade to version 2.8.3.
1998-07-15 07:31:55 +00:00
mrg
7796977716
WARNS?=1. RCS ids.
1997-10-08 07:07:40 +00:00
mycroft
24704de42f
Ignore SIGCHLD.
1997-08-04 18:00:14 +00:00
thorpej
78e6c4ebc5
RCS id police.
1996-08-30 17:41:29 +00:00
cgd
788733b7a9
typeof(timeval.tv_sec) != time_t
1995-06-07 17:14:21 +00:00
mycroft
5860921eda
Fill in sin_len.
1995-06-03 22:37:19 +00:00
mycroft
cc8066939d
Use inet_aton(), not inet_addr().
1995-05-21 00:39:11 +00:00
cgd
9caa83cfc6
clean up, rcs ids, etc.
1994-02-04 23:17:50 +00:00
cgd
642afa1850
import of pidentd 2.1.2, by Peter Eriksson <pen@lysator.liu.se>. needs clennup
1994-02-04 21:41:32 +00:00