Thread (33 messages) 33 messages, 7 authors, 2002-10-25

Re: [PATCH] IPV6_V6ONLY Support, v2 (is Re: [PATCH] IPv6: Allow Both

From: Pekka Savola <hidden>
Date: 2002-10-25 07:46:44

On Thu, 24 Oct 2002 kuznet@ms2.inr.ac.ru wrote:
quoted
tcp4       0      0  127.0.0.1.53           *.*                    LISTEN
tcp4       0      0  193.166.4.206.53       *.*                    LISTEN
tcp4       0      0  193.166.187.10.53      *.*                    LISTEN
tcp6       0      0  *.53                   *.*                    LISTEN
...
quoted
Will this work too?
No.

The question follows: what the hell does it make this? What is special
in ipv4 that it needs to bind to its addresses? With IPV6_V6ONLY connections
to all the IPv4 addresses but listed ones will be refused. I guess it is
not _that_ thing which bind expects.
I'm not sure I understand what you mean.  Note that the last line is 
_tcp6_:

tcp6       0      0  *.53                   *.*                    LISTEN

So, I belive using IPV6_V6ONLY it should indeed work.

(The reasoning in Bind is that you can bind to addresses _only_ in IPv4 
but you don't have to.  It's done in these cases.  For IPv6, it's 
all-or-nothing.)

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help