History log of /openbsd-src/usr.sbin/tftp-proxy/tftp-proxy.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 2ada0f0d 17-Jan-2021 claudio <claudio@openbsd.org>

Remove a __KAME__ block for extracting the scope_id from IPV6_PKTINFO.
struct in6_pktinfo includes the interface index in ipi6_ifindex but no
struct sockaddr_in6.
OK jca@


# f9ed04f2 04-Jul-2017 florian <florian@openbsd.org>

Include stdarg.h explicitly instead of relying on event.h to bring it in.
prompted by dlg's commit to identd
OK dlg


# a52b97d1 26-May-2017 florian <florian@openbsd.org>

Sync the severity of the syslog_* functions shared between identd, slowcgi,
tftp-proxy and tftpd to the severity used in log.c style loggers.
This also fixes an issue where syslog_err and syslog_errx

Sync the severity of the syslog_* functions shared between identd, slowcgi,
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@

show more ...


# cd68c002 04-Sep-2016 florian <florian@openbsd.org>

Add format attribute to logger functions.
Add syslog_debug to keep in sync with others.
Input & OK benno@


# a278458b 24-Feb-2016 deraadt <deraadt@openbsd.org>

satisfy whiny compiler on m88k, noticed by aoyama, solution from gsoares


# 5d08eca0 12-Feb-2016 jca <jca@openbsd.org>

Call daemon(3) later, to catch errors from getpwnam and others.

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/e

Call daemon(3) later, to catch errors from getpwnam and others.

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@

show more ...


# 41f70b94 01-Dec-2015 deraadt <deraadt@openbsd.org>

switch to new _tftp_proxy user; ok dlg


# 1179e37d 14-Nov-2015 deraadt <deraadt@openbsd.org>

pledge "stdio inet sendfd" before entering main loop in network speaking
child. (All those I asked to test timed out before commit, so now they
get to test for real...)


# 619f9a6d 12-Nov-2015 deraadt <deraadt@openbsd.org>

Remove repeat of getpwnam() that is not needed at all.


# 6cc41355 12-Nov-2015 deraadt <deraadt@openbsd.org>

spaces


# e18a0880 10-Oct-2015 guenther <guenther@openbsd.org>

Convert FIONBIO to SOCK_NONBLOCK

ok dlg@


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

show more ...


# b27441fe 23-Dec-2013 florian <florian@openbsd.org>

When no address for the current AF was specified with -a generate pass
rules instead of erroring out.
ok dlg, benno, camield


# a4dc3638 23-Dec-2013 florian <florian@openbsd.org>

Make it possible to give -a multiple times on the command line.
Initial diff by camield, tweaked by me.
ok dlg, benno, camield
manpage input/ok jmc


# 19875b15 23-Dec-2013 florian <florian@openbsd.org>

Implement -a option in tftp-proxy to make it work on a NAT gateway.
input/ok dlg, benno, camield
manpage input/ok jmc


# bc7a20e3 23-Dec-2013 benno <benno@openbsd.org>

fix IPv6 in proxy_dst6()
ok florian camield dlg


# 80b8c347 19-Dec-2013 florian <florian@openbsd.org>

plug mem leak; Ok benno@


# 2c4cc476 06-Oct-2012 jmc <jmc@openbsd.org>

fix usage(); ok dlg


# 8f072f6e 19-Aug-2012 deraadt <deraadt@openbsd.org>

decls before code


# adb67b24 11-Jul-2012 dlg <dlg@openbsd.org>

fix getopt to not eat t


# cc4134f5 11-Jul-2012 dlg <dlg@openbsd.org>

-t pftag doesnt do anything, trim the getopt side of it until i get to it.


# 697c8096 11-Jul-2012 dlg <dlg@openbsd.org>

bring in a persistent event driven tftp-proxy to replace the libexec
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 nee

bring in a persistent event driven tftp-proxy to replace the libexec
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@

show more ...