| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
fd exhaustion.
ok deraadt mikeb
|
| |
|
|
|
| |
occurrences to get_line().
Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
|
| | |
|
| |
|
|
|
| |
an expensive state lookup (via natlook ioctl) and shrinks the code.
tested by me and sthen, ok reyk sthen
|
| |
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
include the program name in logmsg() plus exit_daemon() does not return so
make it a void function. OK mpf@
|
| |
|
|
|
|
|
|
|
|
| |
the proxy would eat the 221 response coming from the server towards the
client.
Patch from camield@. Tested by Camiel and myself.
ok camield@
|
| |
|
|
|
|
|
| |
Use arc4random_uniform() when the desired random number upper bound
is not a power of two
ok deraadt@ millert@
|
| |
|
|
|
|
| |
the ftp-proxy anchor. Exotic setups with route-to etc.
can be implemented this way.
from camield, ok reyk beck canacar and manpage polished by jmc
|
| |
|
|
|
|
|
|
|
|
|
|
| |
immediately after the client sends the PORT command. The "normal"
behaviour is to wait for the client to actually request a transfer.
Make ftp-proxy add the active mode rules immediately too, so that
both scenario's work.
ok david pyr
Tested by Frank Denis, Stephan A. Rickauer, Ingo Schwarze, Stuart
Henderson. Thanks.
|
| |
|
|
| |
clever, nice and easy diff from bsd@openbsd.rutgers.edu, ok pyr reyk
|
| | |
|
| |
|
|
|
|
| |
Triggered by Rik/harry Bobbaers on bugs@.
ok mbalmer@ ray@
|
| |
|
|
|
|
|
|
|
| |
provos.
Fixes race condition where ftp-proxy would silently exit if a write was
attempted on a socket that was closed by an RST. Should fix PR 5260.
ok claudio@
|
| |
|
|
| |
otherwise.
|
| |
|
|
| |
from Andrey Matveev
|
| |
|
|
| |
ok claudio henning
|
| |
|
|
| |
ok henning deraadt
|
| | |
|
| | |
|
| |
|
|
| |
ok beck mpf
|
| | |
|
| |
|
|
| |
ok beck
|
|
|
previously known as pftpx.
Not connected to the builds yet.
ok beck
|