summaryrefslogtreecommitdiff
path: root/usr.sbin/ftp-proxy/filter.h
AgeCommit message (Collapse)Author
2011-04-28switch ftp-proxy over to divert-to instead of rdr-to. this avoidsMike Belopuhov
an expensive state lookup (via natlook ioctl) and shrinks the code. tested by me and sthen, ok reyk sthen
2011-03-25Use the rdomain information returned by DIOCNATLOOK to install theClaudio Jeker
nat-to and rdr-to rules with correct rtable rule attributes. This allows to use ftp-proxy to proxy accross rdomains. Tested and OK phessler@, OK henning@
2009-09-01Bring ftp-proxy in sync with the massive pf change just commited by Henning.Claudio Jeker
This changes the way the rdr/nat rules are added to pf. Now only a single anchor is needed (the other ones do no longer exist). To convert your ruleset you need something like this at the start of your ruleset: # filter rules and anchors for ftp-proxy(8) anchor "ftp-proxy/*" pass in quick proto tcp to port ftp rdr-to 127.0.0.1 port 8021 This was tested by myself, sthen@, dlg@ and I think many more. OK by the same people plus henning.
2007-08-01allow ftp-proxy to add tag statements to teh rules it insertsHenning Brauer
clever, nice and easy diff from bsd@openbsd.rutgers.edu, ok pyr reyk
2005-06-07add OpenBSD cvs tags, prompted by xsa@Camiel Dobbelaar
2005-06-07Introduce verbose option to control the logging of the pf rules.Camiel Dobbelaar
ok beck mpf
2005-05-26Import new FTP proxy. Handles IPv6 and all FTP modes. It wasCamiel Dobbelaar
previously known as pftpx. Not connected to the builds yet. ok beck