[Bug 230755] natd sends wrong sequence number when a retransmitted PASV packet comes in

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 19 19:06:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230755

            Bug ID: 230755
           Summary: natd sends wrong sequence number when a retransmitted
                    PASV packet comes in
           Product: Base System
           Version: 10.4-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: longwitz at incore.de
 Attachment #196357 text/plain
         mime type:

Created attachment 196357
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196357&action=edit
Patch for libalias to solve a natd problem

If natd must send out a retransmitted "227 Entering Passive Mode" message then
sometimes the sequncenumber of the generated packet is wrong breaking the tcp
connection. Details are explained in

   https://lists.freebsd.org/pipermail/freebsd-net/2018-August/051290.html

The attached patch for FreeBSD 10 solves the problem for me and works also for
newer FreeBSD versions.

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


More information about the freebsd-bugs mailing list