summaryrefslogtreecommitdiff
path: root/usr.sbin/identd/identd.c
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2018-01-05Remove useless <sys/socketvar.h> includes.Martin Pieuchot
2017-07-04consistently use the evtimer wrappers around the connection timeout.David Gwynne
2017-07-04include stdarg.h explicitly instead of relying on event.h to bring it in.David Gwynne
2017-05-26Sync the severity of the syslog_* functions shared between identd, slowcgi,Florian Obser
2017-04-18removed unused function; from Edgar PettijohnTheo de Raadt
2016-09-04Add format attribute to logger functions.Florian Obser
2015-10-24Fix pledge request to allow for setgroups.Jeremie Courreges-Anglas
2015-10-16Pledge support for the parent/resolver in identd(8).Doug Hogan
2015-08-20avoid ioctl FIONBIO by passing SOCK_NONBLOCK to the things we getDavid Gwynne
2015-08-20ignore SIGPIPE so we can handle the write(2) failures.David Gwynne
2015-08-04consider the default failure handling for errors on socket operations toDavid Gwynne
2015-03-27f the parent builts up a list of replies for the child, it helpsDavid Gwynne
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-13Use errx() after getpwnam() failure since errno may not be set.Claudio Jeker
2014-07-08Cleanup of getopt argument: -p is not supported anymore.Tobias Stoeckmann
2014-01-07the return from asprintf does NOT include the space used by theDavid Gwynne
2013-11-21get bytes off the wire as unsigned char so we can pass them toDavid Gwynne
2013-11-12handle lack of prototypeTheo de Raadt
2013-10-24no need for netinet/ip_var.h (and friends)Theo de Raadt
2013-07-17implement -H, which hides existing and non-existent users, as well asOkan Demirmen
2013-04-29add -h to usage();Jason McIntyre
2013-04-29implement -h from libexec/identd, which hides usernames/uids.David Gwynne
2013-04-23support src/libexec/identd's -e option in src/usr.sbin/identd, ok dlg@Stuart Henderson
2013-04-23sizeof(&foo) isnt as good as sizeof(foo).David Gwynne
2013-04-23use stat to see if ~/.noident is there to avoid reimplementing a securityDavid Gwynne
2013-04-23fix usage to reflect the currently accepted getopt things.David Gwynne
2013-04-23remove support for specifying which port you want to run on. there's noDavid Gwynne
2013-04-23add support for returning uids instead of usernames via -n, like libexecDavid Gwynne
2013-04-23add support for -N as per libexec/identd. this lets users putDavid Gwynne
2013-04-22handle ENOBUFS on the SEQPACKET socketpair between the child and the parentDavid Gwynne
2013-04-05kill redundant prototypeFlorian Obser
2013-03-207 #include which are not neededTheo de Raadt
2013-03-20a tiny bit of knf; mostly whitespaceTheo de Raadt
2013-03-19dont need to event_add the parent to child writing events twice. especiallyDavid Gwynne
2013-03-18whitespace fixes. no functional changeDavid Gwynne
2013-03-18limit the client to 256 bytes of input. if they send too much we just closeDavid Gwynne
2013-03-18switch from having a timeout after every read/write for the clientDavid Gwynne
2013-03-18handle EMFILE/ENFILE from accept by disabling handling of events on theDavid Gwynne
2013-03-18this is a new identd daemon to replace the libexec one that can be runDavid Gwynne