Re: natd no longer working - libalias is at fault

From: Sean McNeil <sean_at_mcneil.com>
Date: Fri, 02 Apr 2004 05:03:17 -0800
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
Received on Fri Apr 02 2004 - 03:03:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC