| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
ok deraadt@
|
| | |
|
| |
|
|
|
|
|
| |
utterly clear this is not a filter criteria but a packet modification thing.
also preparation for upcoming changes, including one to unscrew this mess
(I should not have to touch half the tree for this - ifixitlater)
not user visible, ok gcc
|
| |
|
|
| |
prompted by a mail from Gabriel Linder. OK henning@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
are not used. bzero() of the rule structure is not enough.
Found with dlg@, OK mcbride@
|
| |
|
|
|
|
|
|
|
|
|
| |
actions. Allow interfaces to be specified in special table entries for
the routing actions. Lists of addresses can now only be done using tables,
which pfctl will generate automatically from the existing syntax.
Functionally, this deprecates the use of multiple tables or dynamic
interfaces in a single nat or rdr rule.
ok henning dlg claudio
|
| |
|
|
|
| |
due to the standard henning+oga commit-and-run-for-beer problem.
ok claudio
|
| |
|
|
| |
ok sthen@
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Use arc4random_uniform() when the desired random number upper bound
is not a power of two
ok deraadt@ millert@
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
descriptors; ok hshoexer, also looked at by kettenis and henning
|
| |
|
|
| |
an extensive discussion with otto, kettenis, millert, and hshoexer
|
| |
|
|
| |
from max laier
|
| | |
|
| |
|
|
|
|
|
| |
the server to the client. this is necessary in case the server is not
otherwise allowed to talk to the client.
ok jcs@
|
|
|
ok jolan@, msf@, millert@
man page help from jmc@
|