summaryrefslogtreecommitdiffstats
path: root/libexec/tftp-proxy/filter.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove libexec/tftp-proxy now we have usr.sbin/tftp-proxydlg2012-08-301-192/+0
| | | | ok deraadt@
* remove unused functions, ok phesslersthen2012-07-081-41/+1
|
* rename prio in struct pf_rule and related structs to set_prio so it ishenning2012-07-071-2/+2
| | | | | | | 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
* Fill in default values for rtableid/onrdomain/prio when creating PF rules,sthen2012-03-061-1/+4
| | | | prompted by a mail from Gabriel Linder. OK henning@
* fix whitespacesthen2011-06-221-5/+5
|
* Switch tftp-proxy over to using divert-to. Based on a diff from oga@sthen2011-05-051-77/+1
| | | | | | | | | | | | 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
* pfr.rule.*.addr.type must be initialized to PF_ADDR_NONE for things thatclaudio2010-01-131-1/+5
| | | | | are not used. bzero() of the rule structure is not enough. Found with dlg@, OK mcbride@
* First pass at removing the 'pf_pool' mechanism for translation and routingmcbride2010-01-121-15/+5
| | | | | | | | | | | 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
* Move from the PF_RULESET_FILTER world order to PF_TRANS_RULESETderaadt2009-11-221-2/+2
| | | | | due to the standard henning+oga commit-and-run-for-beer problem. ok claudio
* remove unused variablechl2009-11-011-2/+1
| | | | ok sthen@
* adapt to new pf, ok henning@sthen2009-09-011-77/+26
|
* Remove unused add_nat() function, ok jcs@sthen2009-07-301-35/+1
|
* default rule.flags and rule.flagset to 0 instead of nulljcs2007-06-231-3/+3
| | | | from max laier
* import tftp-proxy 1.6, a tftp helper for pfjcs2005-12-281-0/+397
ok jolan@, msf@, millert@ man page help from jmc@