patch ftp-proxy

2010-01-06 Thread Tiery DENYS
Hi,

  I would like to propose a patch for ftp-proxy. This patch implement an
option concerning specific timeout (connect_timeout).
It add an option for setting connect_timeout variable while starting
ftp-proxy (this variable is currently set to 30 in code). Setting this
variable to another value can solve many troubles with some ftp server.

How and where can I propose my patch?

Thanks in advance,

Thierry



Re: patch ftp-proxy

2010-01-06 Thread Tiery DENYS
A value higher like 40 can solve problems.

ex:
- There are some public ftp servers missconfigurated who use ident protocol
and wait 30 seconds on ident port before sending banner.
With the default connect_timeout value, it is not possible to connect to
theses servers with fw filtering ident port. With a higher value, it will
succeed
- It can be also usefull to change these value and set it to a lower value
in order to drop these kind of servers quickly.

That's why I think adding a knob can be usefull.


Remco, I read this page, but has I don't see a lot of trafic on tech mailing
list, I prefered asking here. But thanks :)

I will make the patch simple, and propose it on tech.


Thierry



On Wed, Jan 6, 2010 at 1:01 PM, Remco re...@d-compu.dyndns.org wrote:

 Tiery DENYS wrote:

  Hi,
 
I would like to propose a patch for ftp-proxy. This patch implement an
  option concerning specific timeout (connect_timeout).
  It add an option for setting connect_timeout variable while starting
  ftp-proxy (this variable is currently set to 30 in code). Setting this
  variable to another value can solve many troubles with some ftp server.
 
  How and where can I propose my patch?
 
  Thanks in advance,
 
  Thierry

 I don't know if you read http://www.openbsd.org/mail.html.

 I think the tech mailing list is the right place.
 Your patch should be inlined in the mail.