summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tftp-proxy (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mark up AUTHORS; from raf czlonkajmc2018-11-051-3/+3
|
* add missing HISTORY; based on CVS logs and release announcementsschwarze2017-10-171-2/+7
|
* Include stdarg.h explicitly instead of relying on event.h to bring it in.florian2017-07-041-1/+2
| | | | | prompted by dlg's commit to identd OK dlg
* Sync the severity of the syslog_* functions shared between identd, slowcgi,florian2017-05-261-5/+5
| | | | | | | | tftp-proxy and tftpd to the severity used in log.c style loggers. This also fixes an issue where syslog_err and syslog_errx logged with different severities. Sure deraadt@
* Different compilers and versions of compilers have different warnings.jsg2017-04-161-2/+2
| | | | | | Remove -Werror to give code a greater chance of building. ok deraadt@ florian@
* the pf.conf sample should refer to group _tftp_proxy, not proxy;jmc2016-09-191-3/+3
| | | | from joel knight
* Add format attribute to logger functions.florian2016-09-041-13/+43
| | | | | Add syslog_debug to keep in sync with others. Input & OK benno@
* satisfy whiny compiler on m88k, noticed by aoyama, solution from gsoaresderaadt2016-02-241-2/+1
|
* Call daemon(3) later, to catch errors from getpwnam and others.jca2016-02-121-17/+11
| | | | | | | | Also set up syslog logging earlier, so that error messages don't end on stderr which has been closed by daemon(3). One additional s/errx/lerrx/ for consistency. Inspired by a proposal from ajacoutot@, ok ajacoutot@ sthen@
* switch to new _tftp_proxy user; ok dlgderaadt2015-12-012-11/+4
|
* pledge "stdio inet sendfd" before entering main loop in network speakingderaadt2015-11-141-1/+4
| | | | | child. (All those I asked to test timed out before commit, so now they get to test for real...)
* Remove repeat of getpwnam() that is not needed at all.deraadt2015-11-121-5/+1
|
* spacesderaadt2015-11-121-13/+13
|
* Convert FIONBIO to SOCK_NONBLOCKguenther2015-10-101-16/+7
| | | | ok dlg@
* Include <netinet/in.h> before <net/pfvar.h>. In a future change whenderaadt2015-01-211-3/+3
| | | | ports is ready, <net/pfvar.h> will stop including a pile of balony.
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+2
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* When no address for the current AF was specified with -a generate passflorian2013-12-231-14/+13
| | | | | rules instead of erroring out. ok dlg, benno, camield
* Make it possible to give -a multiple times on the command line.florian2013-12-232-6/+14
| | | | | | Initial diff by camield, tweaked by me. ok dlg, benno, camield manpage input/ok jmc
* Implement -a option in tftp-proxy to make it work on a NAT gateway.florian2013-12-232-14/+97
| | | | | input/ok dlg, benno, camield manpage input/ok jmc
* fix IPv6 in proxy_dst6()benno2013-12-231-3/+8
| | | | ok florian camield dlg
* By default, tftp-proxy listens on localhost addresses.florian2013-12-191-3/+3
| | | | | Ok benno@ Input / Ok jmc@
* plug mem leak; Ok benno@florian2013-12-191-1/+2
|
* fix usage(); ok dlgjmc2012-10-061-3/+3
|
* inetd Xr no longer relevant; ok dlgjmc2012-10-061-3/+2
|
* Define empty CDIAGFLAGS for programs that use Werror.haesbaert2012-09-121-1/+2
| | | | | | Makes "make build" build with WARNINGS=Yes on amd64. ok espie
* decls before codederaadt2012-08-191-5/+2
|
* first go at a manpagedlg2012-07-112-2/+134
|
* fix getopt to not eat tdlg2012-07-111-2/+2
|
* -t pftag doesnt do anything, trim the getopt side of it until i get to it.dlg2012-07-111-8/+3
|
* manpage is comingdlg2012-07-111-2/+2
|
* bring in a persistent event driven tftp-proxy to replace the libexecdlg2012-07-114-0/+1223
one run out of inetd. the libexec tftp-proxy had the same problems as the libexec tftpd, in that it didnt scale as well as we needed. it also had a bunch of interesting races with states and addresses on sockets. manpage is coming. ok deraadt@ sthen@ henning@ matthew@