Date: Fri, 02 Apr 2004 05:03:17 -0800 From: Sean McNeil <sean@mcneil.com> To: freebsd-current@freebsd.org Subject: Re: natd no longer working - libalias is at fault Message-ID: <1080910997.1560.0.camel@server.mcneil.com> In-Reply-To: <1080909341.1115.1.camel@server.mcneil.com> References: <1080907942.1033.2.camel@server.mcneil.com> <1080909341.1115.1.camel@server.mcneil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2004-04-02 at 04:35, Sean McNeil wrote: > On Fri, 2004-04-02 at 04:12, Sean McNeil wrote: > > Greetings, > > > > System from March 30th worked fine. Today, just rebuilt everything and > > tcp isn't working through nat anymore. udp still works. It isn't the > > kernel as I tried my old one and got the same problem. I'm guessing the > > recent changes to libalias did it. > > Confirmed. Rolling lib/libalias/alias.c back to version 1.40 fixed the > problem. The following line was unintentionally deleted: *** /home/sean/alias.c Fri Apr 2 04:59:52 2004 --- alias.c Fri Apr 2 05:01:12 2004 *************** TcpAliasIn(struct libalias *la, struct i *** 884,889 **** --- 884,890 ---- /* Restore original IP address */ accumulate = twowords(&pip->ip_dst); + pip->ip_dst = original_address; accumulate -= twowords(&pip->ip_dst); /* If this is a transparent proxy packet, then modify the source
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080910997.1560.0.camel>