Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
courier-imap listens only on IPv6 :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Wed May 07, 2003 6:09 am    Post subject: courier-imap listens only on IPv6 :( Reply with quote

Hi guys,

After I recompiled my courier-imap to v1.7.1 with ipv6 support it now listens only on IPv6. And on a weird address too:

tcp 0 0 ::ffff:192.168.1.2:993 :::* LISTEN

which I guess, corresponds to /etc/courier-imap/imapd-ssl:

SSLADDRESS=192.168.1.2

weird.

I tried setting the SSLPORT to:

SSLPORT=192.168.1.2.993,::1.993

but that just gave me this:

tcp 0 0 ::ffff:192.168.1.2:993 :::* LISTEN
tcp 0 0 ::1:993 :::* LISTEN

Weird.

Any ideas - or perhaps somebody knows the link to courier-imap archives - cause they are seemingly not advertised on www.inter7.com :(
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Wed May 07, 2003 6:34 am    Post subject: Reply with quote

Found some information:

http://groups.google.com/groups?hl=da&lr=&ie=UTF-8&threadm=9d2pud%242n80%241%40FreeBSD.csie.NCTU.edu.tw&rnum=4&prev=/groups%3Fq%3Dipv6%2Blisten%2Bgroup:mailing.unix.courier-imap%26hl%3Dda%26lr%3D%26ie%3DUTF-8%26group%3Dmailing.unix.courier-imap%26selm%3D9d2pud%25242n80%25241%2540FreeBSD.csie.NCTU.edu.tw%26rnum%3D4

It seems that the wildcard bind (which I tried) should make it listen on both ipv4 and ipv6 - ergo it seems the IPv6 implementation in my gentoo-sources kernel (USAGI ipv6 - linux-ipv6.org) is broken :(

I still don't get why a specific listen adress doesn't make it listen to ipv4.

I'll try to ask that on courier-imap mailinglist.

Pls. tell me if you have an IPv6 enabled courier-imap that also listens on IPv4 (and how you did it :)
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Sun May 18, 2003 5:59 pm    Post subject: Re: courier-imap listens only on IPv6 :( Reply with quote

Klavs wrote:
tcp 0 0 ::ffff:192.168.1.2:993 :::* LISTEN
This is an IPv6 specific address which means "IPv6-capable, but only listening on IPv4 address 192.168.1.2". As of right now, your SSL IMAPd is only listening on IPv4.
Back to top
View user's profile Send private message
Klavs
Guru
Guru


Joined: 22 May 2002
Posts: 536
Location: Denmark

PostPosted: Sun May 18, 2003 7:26 pm    Post subject: Reply with quote

If that were true - then howcome I couldn't connect to it - as usual? No firewalling preventing it (cleared the FW - still nothing) - worked perfectly when I reverted to the version without IPv6 capability.

IMHO a bug in the USAGI ipv6 implementation in Gentoo-sources? Anyone tested this and found it working? f.ex. by using an IPv6 enabled netcat?
_________________
Best regards,

Klavs Klavsen
Denmark

Working with Unix is like wrestling a worthy opponent.
Working with windows is like attacking a small whining child
who is carrying a .38.
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Mon May 19, 2003 7:10 pm    Post subject: Reply with quote

I have absolutely no problems connecting to mine using either an IPv4 or IPv6 address. Also, try running netstat --inet6 rather than simply netstat.
Back to top
View user's profile Send private message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 249
Location: Berkeley, California

PostPosted: Thu Jun 27, 2013 3:15 pm    Post subject: Reply with quote

I'm having he same issue. that's weird. it's hard to find any info on this. I'm not using ipv6 anyway, so Ill turn it off.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Jun 28, 2013 8:53 pm    Post subject: Reply with quote

If you want to keep your IPv4 and IPv6 stacks separate you need to set /proc/sys/net/ipv6/bindv6only to 1.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum