summaryrefslogtreecommitdiff
path: root/usr.sbin/tftp-proxy
AgeCommit message (Collapse)Author
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
2021-01-17Remove a __KAME__ block for extracting the scope_id from IPV6_PKTINFO.Claudio Jeker
struct in6_pktinfo includes the interface index in ipi6_ifindex but no struct sockaddr_in6. OK jca@
2018-11-05mark up AUTHORS; from raf czlonkaJason McIntyre
2017-10-17add missing HISTORY; based on CVS logs and release announcementsIngo Schwarze
2017-07-04Include stdarg.h explicitly instead of relying on event.h to bring it in.Florian Obser
prompted by dlg's commit to identd OK dlg
2017-05-26Sync the severity of the syslog_* functions shared between identd, slowcgi,Florian Obser
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@
2017-04-16Different compilers and versions of compilers have different warnings.Jonathan Gray
Remove -Werror to give code a greater chance of building. ok deraadt@ florian@
2016-09-19the pf.conf sample should refer to group _tftp_proxy, not proxy;Jason McIntyre
from joel knight
2016-09-04Add format attribute to logger functions.Florian Obser
Add syslog_debug to keep in sync with others. Input & OK benno@
2016-02-24satisfy whiny compiler on m88k, noticed by aoyama, solution from gsoaresTheo de Raadt
2016-02-12Call daemon(3) later, to catch errors from getpwnam and others.Jeremie Courreges-Anglas
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@
2015-12-01switch to new _tftp_proxy user; ok dlgTheo de Raadt
2015-11-14pledge "stdio inet sendfd" before entering main loop in network speakingTheo de Raadt
child. (All those I asked to test timed out before commit, so now they get to test for real...)
2015-11-12Remove repeat of getpwnam() that is not needed at all.Theo de Raadt
2015-11-12spacesTheo de Raadt
2015-10-10Convert FIONBIO to SOCK_NONBLOCKPhilip Guenther
ok dlg@
2015-01-21Include <netinet/in.h> before <net/pfvar.h>. In a future change whenTheo de Raadt
ports is ready, <net/pfvar.h> will stop including a pile of balony.
2012-07-11bring in a persistent event driven tftp-proxy to replace the libexecDavid Gwynne
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@
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
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)
2013-12-23When no address for the current AF was specified with -a generate passFlorian Obser
rules instead of erroring out. ok dlg, benno, camield
2013-12-23Make it possible to give -a multiple times on the command line.Florian Obser
Initial diff by camield, tweaked by me. ok dlg, benno, camield manpage input/ok jmc
2013-12-23Implement -a option in tftp-proxy to make it work on a NAT gateway.Florian Obser
input/ok dlg, benno, camield manpage input/ok jmc
2013-12-23fix IPv6 in proxy_dst6()Sebastian Benoit
ok florian camield dlg
2013-12-19By default, tftp-proxy listens on localhost addresses.Florian Obser
Ok benno@ Input / Ok jmc@
2013-12-19plug mem leak; Ok benno@Florian Obser
2012-10-06fix usage(); ok dlgJason McIntyre
2012-10-06inetd Xr no longer relevant; ok dlgJason McIntyre
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
2012-08-19decls before codeTheo de Raadt
2012-07-11first go at a manpageDavid Gwynne
2012-07-11fix getopt to not eat tDavid Gwynne
2012-07-11-t pftag doesnt do anything, trim the getopt side of it until i get to it.David Gwynne
2012-07-11manpage is comingDavid Gwynne
2012-07-11bring in a persistent event driven tftp-proxy to replace the libexecDavid Gwynne
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@