Up to [local] / src / libexec / tftp-proxy
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.9, Thu Aug 30 01:09:21 2012 UTC (11 years, 9 months ago) by dlg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
remove libexec/tftp-proxy now we have usr.sbin/tftp-proxy ok deraadt@
Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 28 12:38:59 2011 UTC (12 years, 8 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.7: +57 -62 lines
Diff to previous 1.7 (colored)
tweak tftp-proxy to: 1. use a BINDANY socket to connect from the proxy to the server using the clients address. 2. fork a child to do the work so inetd doesnt keep trying to send more packets to the proxy, as per doco in the inetd manpage for dgram wait sockets. because of 1 you now have to add a pass out divert-reply for the proxy to server packet to your pf ruleset. this allows a series of rapid tftp connections from the same host to a server in my environment. without this diff there's several minutes of waiting in between requests because of issues with the rules from previous requests stealing packets but not forwarding them combined with inetd giving too many packets to tftp-proxy that only expects to handle one. this is going in so i can hack on PFRULE_ONCE support. ok mikeb@ sthen@
Revision 1.7 / (download) - annotate - [select for diffs], Thu May 5 12:25:51 2011 UTC (13 years, 1 month ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.6: +21 -76 lines
Diff to previous 1.6 (colored)
Switch tftp-proxy over to using divert-to. Based on a diff from oga@ with lots of help from claudio@. Earlier version was ok mikeb@ and looks good to markus@. Note: tftp-proxy rdr-to rules must be changed to use divert-to and must specify the address family. pass in quick on internal proto udp to port tftp rdr-to 127.0.0.1 port 6969 -changes to- pass in quick on internal inet proto udp to port tftp divert-to 127.0.0.1 port 6969
Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 13 00:22:17 2008 UTC (16 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
Use arc4random_buf() when requesting more than a single word of output Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@
Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 24 16:11:00 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
msg_controllen has to be CMSG_SPACE so that the kernel can account for each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 15 16:25:00 2008 UTC (16 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
Repair more msg_controllen dealing with structures or arrays of descriptors; ok hshoexer, also looked at by kettenis and henning
Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 13 01:49:52 2008 UTC (16 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +7 -5 lines
Diff to previous 1.2 (colored)
Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to an extensive discussion with otto, kettenis, millert, and hshoexer
Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 20 03:33:38 2006 UTC (17 years, 5 months ago) by joel
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored)
add an additional rule to the filter anchor that allows traffic out from the server to the client. this is necessary in case the server is not otherwise allowed to talk to the client. ok jcs@
Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 28 19:07:07 2005 UTC (18 years, 5 months ago) by jcs
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9
import tftp-proxy 1.6, a tftp helper for pf ok jolan@, msf@, millert@ man page help from jmc@