summaryrefslogtreecommitdiff
path: root/usr.sbin/ftp-proxy/ftp-proxy.c
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2020-02-12Standardize argument naming for "sourceaddr" and unify the wording a bit,Ingo Schwarze
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-09-26Exit early from rdaemon() is the passed fd is invalid.Jeremie Courreges-Anglas
2016-09-15Go in the background later, using rdaemon().Jeremie Courreges-Anglas
2016-02-12Exit early with an error if the "_ftp_proxy" user does not exist. This preventsAntoine Jacoutot
2015-12-22commiting -> committingmmcc
2015-12-04Make the NOPRIV_USER match that is actually intended to be used forSebastian Reitenbach
2015-12-01switch to new _ftp_proxy user; ok dlgTheo de Raadt
2015-01-21Include <netinet/in.h> before <net/pfvar.h>. In a future change whenTheo de Raadt
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2013-03-15camield requested backout of rev 1.26, and indeed ftp-proxy does notSebastian Benoit
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2013-03-10reserve a filedescriptor on accept() for subsequent connect() call, asSebastian Benoit
2012-04-05Rate-limit accepting of new connections while we are experiencingCamiel Dobbelaar
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
2011-06-21Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudioMike Belopuhov
2011-04-28switch ftp-proxy over to divert-to instead of rdr-to. this avoidsMike Belopuhov
2011-03-25Use the rdomain information returned by DIOCNATLOOK to install theClaudio Jeker
2009-09-01Bring ftp-proxy in sync with the massive pf change just commited by Henning.Claudio Jeker
2008-06-13Better error messages. Include the function causing the problem and do notClaudio Jeker
2008-04-22Flush output buffers before closing TCP session. Fixes the case whereJoel Knight
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
2008-02-26Don't pass quick when tagging, so the tag can be used outsideHenning Brauer
2007-08-15Some servers / proxies out there like to open the data connectionCamiel Dobbelaar
2007-08-01allow ftp-proxy to add tag statements to teh rules it insertsHenning Brauer
2006-12-30Remove stub write callback functions now that libevent allows them to be NULL.Camiel Dobbelaar
2006-12-30Convert three instances of atoi() to strtonum() and apply sane upper bounds.Camiel Dobbelaar
2006-12-12Ignore sigpipe as libevent does not handle that for us. Confirmed byCamiel Dobbelaar
2006-10-15Close file descriptors before cleaning up the events, might cause a raceCamiel Dobbelaar
2006-03-25unused variableCamiel Dobbelaar
2006-03-22Rework signal handling the idiomatic libevent way. From ospfd.Camiel Dobbelaar
2005-11-18don't assume that close() can fail, from deraadtCamiel Dobbelaar
2005-11-17buffer overflowTheo de Raadt
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
2005-05-30Don't call va_start() when we do not log. From Andrey Matveev.Camiel Dobbelaar
2005-05-27do not allow nul in the control connection.Camiel Dobbelaar
2005-05-26Import new FTP proxy. Handles IPv6 and all FTP modes. It wasCamiel Dobbelaar