Date: Fri, 17 Sep 1999 15:45:59 +0300 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Doug White <dwhite@resnet.uoregon.edu> Cc: hackers@FreeBSD.ORG Subject: Re: Multiple NAT alias addresses Message-ID: <19990917154559.A72386@relay.ucb.crimea.ua> In-Reply-To: <Pine.BSF.4.10.9909162320300.66443-100000@resnet.uoregon.edu>; from Doug White on Thu, Sep 16, 1999 at 11:25:53PM -0700 References: <19990915104350.G86648@relay.ucb.crimea.ua> <Pine.BSF.4.10.9909162320300.66443-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 16, 1999 at 11:25:53PM -0700, Doug White wrote: [...] > An update: > > I set up a test config at work with some spare boxes. I found that if you > specify an aliasIP that is the primary alias address (as determined by the > -n or -a options), those redirections will be ignored. Others continue to > work. I don't know why they weren't working on the real box, I may had > made a mistake there. > > So this file is wrong: > > interface fxp0 > redirect_port 10.0.0.1:ssh 128.1.1.1:ssh > redirect_port 10.0.0.2:ssh 128.1.1.2:ssh > > But this correct: > > interface fxp0 > redirect_port 10.0.0.1:ssh ssh > redirect_port 10.0.0.2:ssh 128.1.1.2:ssh > > There is some logic in natd to handle the wrong case so that it is > equivalent to the right case, but that logic may be flawed. > You know, natd(8) is not guilty, this is a bug in libalias(3) :-( I have made a patch for this and yet another bug and will send my patch for review to Brian Somers and Eivind Eklund. Please let me know if you would like to test these patches, and THANK YOU VERY MUCH for digging this out, there was a cool hacking! Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990917154559.A72386>