Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 16:11:04 +0200
From:      Georg Graf <georg.graf@wu-wien.ac.at>
To:        freebsd-hubs@freebsd.org, eik@freebsd.org
Cc:        azi-sys@wu-wien.ac.at
Subject:   Re: Problems with looping fetch auditfile.tbz from ftp sites
Message-ID:  <20040331141104.GD27753@wu-wien.ac.at>
In-Reply-To: <20040331123114.GA74562@fit.vutbr.cz>
References:  <20040331121736.GA68135@fit.vutbr.cz> <20040331123114.GA74562@fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 31, 2004 at 02:31:14PM +0200, Rudolf Cejka wrote:

[...]

> Oops - I forgot to say the point: I have slowly growing number of active
> ftp connectoins permanently trying to retrieve portaudit.tbz from the
> server. Setting the idle timeout does not help, because the ftp control
> connection is alive all the time, because it tries to RETR portaudit.tbz
> with small delays equal to the data connection timeout from the server
> to the ftp client.

Here on ftp.at.freebsd.org we have 5-10 failures per second on
auditfile.tbz because of the usage of active ftp. We even get
complaints from (so called?) firewall admins about our server
scanning their networks.

And fetch seems to be rather agressive when the socket connection
fails immediately, which is caused by firewalls which reset the
connection or send icmp unreachables or the like.

I suggest changing the default retrieval method to passive ftp.

Thanks,
  George

Extract from logfile:

Mar 31 15:56:14 playboy ftpd[17716]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[57973]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[65243]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[57973]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[17716]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[57973]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[65243]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
Mar 31 15:56:14 playboy ftpd[17716]: get pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz = 0 bytes
--
Vienna University of Economics and Business Administration
Central and Internet Services Section
Center for Computer Services
UNIX Server Administration
PGP/GPG Key ID: 0xa5232ad5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331141104.GD27753>