[Bug 282154] devel/py-twisted: 24.7.0 breaks EPSV

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Oct 2024 08:16:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282154

            Bug ID: 282154
           Summary: devel/py-twisted: 24.7.0 breaks EPSV
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: kp@freebsd.org
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

It looks like the update to 24.7.0 breaks EPSV.

This was discovered because the pf proxy:ftp test started failing:
https://ci.freebsd.org/job/FreeBSD-main-amd64-test/25597/testReport/sys.netpfil.pf/proxy/ftp/

I've confirmed this isn't a pf issue, both by reverting freebsd to a version
from February (which still fails this test, but didn't at the time), and by
running a very simple setup without pf loaded, `twistd -n --logfile=-ftp -r
/tmp -p 21` and `ftp -a 127.0.0.1` (with ‘get file’).

Disabling EPSV (by using 'epsv' in the ftp client) allows the transfer to
succeed.

Without that I see:
> 229 Entering Extended Passive Mode (|||46490|).
> ftp: Can't connect to `127.0.0.1:46490': Connection refused

It looks like twistd was listening on a different port for the data connection.

-- 
You are receiving this mail because:
You are the assignee for the bug.