summaryrefslogtreecommitdiff
path: root/libexec/identd
AgeCommit message (Collapse)Author
2009-05-20Do not fall back to using nobody if _user is missing, butThordur I. Bjornsson
error out. Add a new user _rwalld for rpc.rwalld, and use that instead of nobody, also unconditionally drop to _rwalld not only if rpc.rwalld was started with euid 0 (as root). ok deraadt@
2008-05-24IPv6 support for standalone mode with assistance from millert@ and deraadt@Brad Smith
Tested by brad@ and sobrado@ ok deraadt@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
2007-09-26From Tamas TEVESZ:Ray Lai
- Use strcspn to strip \r and \n. OK chl.
2007-09-26From Tamas TEVESZ:Ray Lai
- atoi -> strtonum with proper bounds check - Use vfprintf and vsyslog in the appropriate places. OK millert.
2007-09-25- sort options and sync usage()Jason McIntyre
- kill some .Tn whilst here
2007-09-25more accurate description of -U; from Tamas TEVESZJason McIntyre
ok millert
2007-08-26Fix some error messages and comments, from Brad.Ray Lai
OK otto.
2007-06-28Add a SIGCHLD handler for background mode instead of doing waitpid()Todd C. Miller
at a single point in the event loop (which would always leave a single zombie around after the first connection). Also use daemon() instead of doing it by hand. OK deraadt@ beck@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-03-21remove extra *p tests, from charles longeauTed Unangst
ok deraadt millert
2006-11-10`elminate' etc. is not really the right way to spell `eliminate'.Michael Knudsen
ok brad
2005-12-06avoid variable aliasingTheo de Raadt
2005-04-04nlist.h not neededTheo de Raadt
2005-01-04add some more snprintf sanity checks and fix two previously added checks.Moritz Jodeit
ok millert@, henning@
2004-11-17remove NI_WITHSCOPEID (which is not standard)Jun-ichiro itojun Hagino
2004-09-16i hate macros with 50 , :? and ())()()((()())); otto okTheo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-08-08spacingTheo de Raadt
2004-04-07Remove those option letters from the getopt string which do not have a caseAaron Campbell
handler below. millert@ ok
2004-01-04spacesTheo de Raadt
2003-12-09preventative measure against format string problem; from art, viaTheo de Raadt
bruno & grange
2003-07-29spacesTheo de Raadt
2003-06-28missing protosTheo de Raadt
2003-06-07identd runs as _identd by default now; help and ok jmc@Henning Brauer
2003-06-07drop privileges to _identd by default and fall back to nobody in case of errorHenning Brauer
inspired by PR 3294 and a conversation with theo ok millert@
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02- kill whitespace at EOL;Jason McIntyre
2003-02-03typos;Jason McIntyre
ipsecadm(8): examples ho@ help and ok markus@
2002-11-25Missing check around snprintf().Mike Pechkin
millert@ ok
2002-09-13Add -H option to hide nonexistent users (useful on NAT gateways). ok millert@Damien Miller
2002-07-24Sanity check snprintf() return values before using them. OK deraadt@Todd C. Miller
2002-07-17whoops, wrong typeTheo de Raadt
2002-07-16remove more junkTheo de Raadt
2002-07-16by now, this README is way out of dateTheo de Raadt
2002-07-16minor tweaks of no consequenceTheo de Raadt
2002-07-16ERROR2() is not usedTheo de Raadt
2002-07-16let BSS work to our advantageTheo de Raadt
2002-07-16delintTheo de Raadt
2002-07-16minor cleanup, and toast -VTheo de Raadt
2002-06-22ansiTheo de Raadt
2002-03-12Fix typo that prevented user's gid in passwd entry from being applied;Todd C. Miller
Brian Poole
2002-03-121) user and group name may start with a number (though it is a bad idea).Todd C. Miller
For the -u/-g flags do passwd/group file lookups first and then try as a numeric id. 2) Set the gid based on the uid's passwd file entry if there is one, just like we do with names. Partially based on a patch from Brian Poole
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-07While I'm here (next issue):Mike Pechkin
o) __progname; o) remove #define LOG_DAEMON; o) use openlog() before syslog(); o) write $version to stderr; millert@ ok
2002-01-07o) int -> {uid,gid}_t; %d -> %u;Mike Pechkin
o) int -> pid_t; deraadt@ ok
2001-12-01fix fd_set overflowTheo de Raadt
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/