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
[EMAIL PROTECTED]        United Commercial Bank,
[EMAIL PROTECTED]          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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to