[Exim] Re: Exim and IPv6 Help

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Kevin Sindhu
Data:  
Para: Philip Hazel, Sheldon Hearn
CC: exim-users, Peter Galbavy
Temas novos: Re: [Exim] Re: Exim and IPv6 Help - Solved
Asunto: [Exim] Re: Exim and IPv6 Help
Resending as I vim died before I could edit the message properly and
sent a completely garbled headers message

-Kevin

On Thu, Jul 12, 2001 at 04:19:18PM +0200, Sheldon Hearn penned:
>
>
> On Thu, 12 Jul 2001 10:23:51 +0100, Philip Hazel wrote:
>
> > Please go ahead and try. Whether or not it is the long-term solution, we
> > need to know whether an IPv6 socket can be made to listen to an
> > IPv6-mapped IPv4 address.
>
> Weird stuff abounds. :-)
>
> I've just double-checked, and Exim's definitely binding to the
> wildcard address in such a way as to accept both IPv4 and IPv6
> connections.


Hmm....all interfaces?
>
> Note, however, that I have the system tunable (sysctl)
> net.inet6.ip6.v6only set to 0.

This might be FreeBSD related only.

-----
[kevin@satan home/kevin] 505 $sysctl -a | grep net.inet6.ip6.
net.inet6.ip6.forwarding = 1
net.inet6.ip6.redirect = 1
net.inet6.ip6.hlim = 64
net.inet6.ip6.maxfragpackets = 200
net.inet6.ip6.accept_rtadv = 0
net.inet6.ip6.keepfaith = 0
net.inet6.ip6.log_interval = 5
net.inet6.ip6.hdrnestlimit = 50
net.inet6.ip6.dad_count = 1
net.inet6.ip6.auto_flowlabel = 1
net.inet6.ip6.defmcasthlim = 1
net.inet6.ip6.kame_version = OpenBSD-current
net.inet6.ip6.use_deprecated = 1
net.inet6.ip6.rr_prune = 5
-----

>
> Kevin, when you run this small program on your OpenBSD box, do you get
> immediate "Connection refused" when trying to connect to port 2525, or
> does telnet "hang in waiting"? If the former, then can you look at your
> ip6(4) manual page and see if it mentions anything surrounding the
> IPV6_V6ONLY socket option?


The manpage does'nt talk about IPV6_V6ONLY option, and yes telnet
does hang when trying to connect.

[kevin@satan home/kevin] 499 $ps -ax | grep shel
14134 p3  S+      0:00.01 ./sheldon 
12689 p4  S+      0:00.01 grep shel 
[kevin@satan home/kevin] 500 $fstat -p 14134
USER     CMD          PID   FD MOUNT      INUM MODE       R/W    DV|SZ
kevin    sheldon    14134   wd /        526081 drwxr-xr-x   r     1536
kevin    sheldon    14134    0 /        2022773 crw--w----  rw    ttyp3
kevin    sheldon    14134    1 /        2022773 crw--w----  rw    ttyp3
kevin    sheldon    14134    2 /        2022773 crw--w----  rw    ttyp3
kevin    sheldon    14134    3* internet6 stream tcp 0xe0a57800 *:2525
[kevin@satan home/kevin] 501 $telnet ipv6.lucifer.at 2525
Trying 3ffe:1200:3028:8655::1...
^C
[kevin@satan home/kevin] 505 $kdump 
 14134 sheldon  EMUL  "native"
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  RET   nanosleep 0
 14134 sheldon  CALL  nanosleep(0xdfbfd9fc,0xdfbfd9f4)
 14134 sheldon  PSIG  SIGINT SIG_DFL


Regards

-Kevin