summaryrefslogtreecommitdiff
path: root/libexec/ftp-proxy
AgeCommit message (Collapse)Author
2001-08-28remove unneeded code (this is done later)Bob Beck
2001-08-28oh, some cleanups etc etcTheo de Raadt
2001-08-22oopsBob Beck
2001-08-22Fixes for my worst abuses of nroff from mpech@Bob Beck
Add a sentence at the start for espie in dumb user mode :)
2001-08-22Duh.Bob Beck
2001-08-22-Functionify some of the main loop, so it isn't so horrificly deep and isBob Beck
a bit easier to look at, for small values of easier. -Add two options for -u user and -g group to optionally make the proxy drop privs after doing it's pf ioctl's to find out where to go. Running as non root does mean that the PORT and EPRT backchannels do not come from port 20, but this isn't a problem for most sensible ftp clients and sets of packet filter rules that aren't written by a knuckle dragging ape living in the 90's. I would make it drop privs by default, but technically this breaks the ftp specs, and for the upcoming stuff to deal with EPRT, we will need root privs to manipulate rdr rules).
2001-08-19unsmokecrack - thanks millertBob Beck
2001-08-19decruftify with prejudiceBob Beck
2001-08-19decruftifyBob Beck
2001-08-19Argh. I must be wearing a stupid sign todayBob Beck
2001-08-19bye bye atoi.Bob Beck
2001-08-19oopsBob Beck
2001-08-19I'm a knuckle-dragging moron, the fd_set is overflowable - make it soBob Beck
it isn't.
2001-08-191564 lines of cleanupTheo de Raadt
2001-08-19KNFBob Beck
2001-08-19gratuitous KNFism's, don't have it looking like it's your first dayBob Beck
with your new crack pipe
2001-08-19transparent ftp proxy, based on Obtuse Systems juniper stuff with muchBob Beck
modernizing and cleanup. still needs looking at. Currently supports PORT PASV EPRT data connections with only a pf rdr to capture the control connection. (I.E. you don't need ip forwarding or other NAT stuff). Runs from inetd. Supports all passive (EPSV PASV) when using -n flag, where the proxy ignores passive mode data connections (and assumes nat will get them through). Todo yet: More audit IpV6 Handle EPSV in proxy (with an rdr added then removed) Option to Daemonize and bind only to the loopback More Content/Login filtering, etc. etc. and more bloat