Bug 230755 - natd sends wrong sequence number when a retransmitted PASV packet comes in
Summary: natd sends wrong sequence number when a retransmitted PASV packet comes in
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.4-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ipfw mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-08-19 19:06 UTC by longwitz
Modified: 2019-02-18 17:11 UTC (History)
2 users (show)

See Also:


Attachments
Patch for libalias to solve a natd problem (949 bytes, text/plain)
2018-08-19 19:06 UTC, longwitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description longwitz 2018-08-19 19:06:02 UTC
Created attachment 196357 [details]
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.