[Bug 249387] natd uses wrong dealiased address

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 17 07:45:28 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249387

            Bug ID: 249387
           Summary: natd uses wrong dealiased address
           Product: Base System
           Version: Unspecified
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: natdbug at icenet.net.ru

natd used to translate any dns connections to local dns server 91.222.48.5

natd started via cmd  "natd -t 91.222.48.5 -p 8485 -a 91.222.48.3"

ipfw rules used to forward dns traffic
divert 8485 udp from 91.222.48.0/22 to any 53 in via em0
divert 8485 udp from 91.222.48.5 53 to 91.222.48.0/22 out via em0

after start at first time nat work normally

In  {default}[UDP]  [UDP] 91.222.51.124:5678 -> 94.247.43.254:53 aliased to
           [UDP] 91.222.51.124:5678 -> 91.222.48.5:53
Out {default}[UDP]  [UDP] 91.222.48.5:53 -> 91.222.51.124:5678 aliased to
           [UDP] 94.247.43.254:53 -> 91.222.51.124:5678

In  {default}[UDP]  [UDP] 91.222.51.124:5678 -> 185.208.208.141:53 aliased to
           [UDP] 91.222.51.124:5678 -> 91.222.48.5:53
Out {default}[UDP]  [UDP] 91.222.48.5:53 -> 91.222.51.124:5678 aliased to
           [UDP] 185.208.208.141:53 -> 91.222.51.124:5678


but after some time returned dealiased ip sets to one value and not recognize
from aliased address:


In  {default}[UDP]  [UDP] 91.222.51.124:5678 -> 1.1.1.1:53 aliased to
           [UDP] 91.222.51.124:5678 -> 91.222.48.5:53
Out {default}[UDP]  [UDP] 91.222.48.5:53 -> 91.222.51.124:5678 aliased to
           [UDP] 163.53.248.170:53 -> 91.222.51.124:5678

In  {default}[UDP]  [UDP] 91.222.51.124:5678 -> 8.8.4.4:53 aliased to
           [UDP] 91.222.51.124:5678 -> 91.222.48.5:53
Out {default}[UDP]  [UDP] 91.222.48.5:53 -> 91.222.51.124:5678 aliased to
           [UDP] 163.53.248.170:53 -> 91.222.51.124:5678

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list