From owner-freebsd-ports-bugs@freebsd.org Thu May 12 11:24:58 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D5A3B3857C for ; Thu, 12 May 2016 11:24:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1B4813BA for ; Thu, 12 May 2016 11:24:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4CBOvHO046950 for ; Thu, 12 May 2016 11:24:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209463] [net/3proxy]: ftppr became not functional in 0.8.x Date: Thu, 12 May 2016 11:24:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emz@norma.perm.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2016 11:24:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209463 Bug ID: 209463 Summary: [net/3proxy]: ftppr became not functional in 0.8.x Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: emz@norma.perm.ru CC: timp87@gmail.com CC: timp87@gmail.com Flags: maintainer-feedback?(timp87@gmail.com) I'm using 3proxy as FTP proxy (squid doesn't support DELETE command). Config: =3D=3D=3DCut=3D=3D=3D nserver 127.0.0.1 nscache 65536 timeouts 1 5 30 60 180 1800 15 60 daemon log /var/log/3proxy/proxy.log D logformat "- +_L%t.%. %N.%p %E %U %C:%c %R:%r %O %I %h %T" archiver gz /bin/gzip %F rotate 10 external 0.0.0.0 internal 192.168.3.1 auth iponly @allow * 127.0.0.1,192.168.3.22,192.168.3.41 * * ftppr -p2121 setgid 22922 setuid 22924 =3D=3D=3DCut=3D=3D=3D After upgrading from 0.6.1 to 0.8.5 ftppr stopped to work: =3D=3D=3DCut=3D=3D=3D [root@taiga:local/etc]# ftp 192.168.3.1 2121=20=20=20=20=20=20 Connected to 192.168.3.1. 220 Ready Name (192.168.3.1:emz): ftp@ftp.freebsd.org 331 ok Password:=20 230- 230-This is ftp0.ydx.FreeBSD.org, graciously hosted by Yandex. 230- 230-FreeBSD files can be found in the /pub/FreeBSD directory. 230- 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Entering Extended Passive Mode (|||49904|) ftp: Can't connect to `192.168.3.1:49904': Connection refused 200 OK 550 err ftp> ^D 221 Goodbye. =3D=3D=3DCut=3D=3D=3D As simple as that. If the target host is inside LAN, ftppr for some reason allows to work with it, but during `ls` it cannot finish the output and connection hangs (then gets terminated after some timeout). I've spend abou= t an hour trying to debug my configuration and networking problems - without any result. Luckily, I had a machine with old 0.6.1 version, so I decided to downgrade. After doiwngrading 0.8.5 to 0.6.1 ftppr suddenly restored it's functionality, without changing the config. Same session on 0.6.1, with exactly same config: =3D=3D=3DCut=3D=3D=3D [root@taiga:3proxy/3proxy]# service 3proxy restart=20=20=20=20 Stopping threeproxy. Waiting for PIDS: 65700. Starting threeproxy. [root@taiga:3proxy/3proxy]# ftp 192.168.3.1 2121=20=20=20=20=20=20 Connected to 192.168.3.1. 220 Ready Name (192.168.3.1:emz): ftp@ftp.freebsd.org 331 ok Password:=20 230- 230-This is ftp0.ydx.FreeBSD.org, graciously hosted by Yandex. 230- 230-FreeBSD files can be found in the /pub/FreeBSD directory. 230- 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Entering Extended Passive Mode (|||62859|) ftp: Can't connect to `192.168.3.1:62859': Connection refused 200 OK 125 data -rw-r--r-- 1 ftp ftp 5430 Jul 19 2014 favicon.ico -rw-r--r-- 1 ftp ftp 660 Nov 02 2015 index.html drwxr-xr-x 3 ftp ftp 3 Jul 19 2014 pub 226 Directory send OK. ftp> ^D 221 Goodbye. =3D=3D=3DCut=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.=