Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-14-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
IPv6 and ssl

Hi,there

I have a question about the new feature Ipv6. I try the demo to test and find that IPv6 can not afford ssl protocol. Can you tell the detail ,or there is something I missing ?

cheers,
sober
Reply With Quote
  #2 (permalink)  
Old 04-14-2008
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,542
Hi,

IPv6 should work with IceSSL, if you're having some issues with getting it to work, please provide more information on your environment (OS, compiler, language, if you compiled Ice from sources or used a binary distribution) and more details on the issue (error/exception message, stack trace if available, etc).

Cheers,
Benoit.
Reply With Quote
  #3 (permalink)  
Old 04-14-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
Hi,

In Ice-3.3b-VC90\demo\Ice\hello example, I made such changes:

1. in Client.cpp
Quote:
HelloPrx twoway = HelloPrx::checkedCast(
communicator()->propertyToProxy("Hello.Proxy")->ice_twoway()->ice_timeout(-1)->ice_secure(false));
to
Quote:
HelloPrx twoway = HelloPrx::checkedCast(communicator()->stringToProxy("hello:ssl -p 8339 -h \"1030::c9b4:ff12:48aa:1a2b\""));
2.config.client
I uncomment this
#Hello.Proxy=hello:tcp -p 10000:udp -p 10000:ssl -p 10001 -h "1030::c9b4:ff12:48aa:1a2b"

3.config.server
Quote:
Hello.Endpoints=tcp -p 10000:udp -p 10000:ssl -p 10001 -h "1030::c9b4:ff12:48aa:1a2b"
to
Quote:
Hello.Endpoints=ssl -p 8339 -h "1030::c9b4:ff12:48aa:1a2b"
then I run it , the server shows;
Quote:
04/18/08 18:48:21.218 server: warning: connection exception:
TransceiverI.cpp:229: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 1030::c9b4:ff12:48aa:1a2b:8339
remote address = 1030::c9b4:ff12:48aa:1a2b:1681
04/18/08 18:48:21.281 server: warning: connection exception:
TransceiverI.cpp:229: Ice::ConnectionLostException:
connection lost: recv() returned zero
local address = 1030::c9b4:ff12:48aa:1a2b:8339
remote address = 1030::c9b4:ff12:48aa:1a2b:1682
the client shows:
Quote:
client: Util.cpp:492: Ice::SocketException:
socket exception: WSAENOTCONN
4.in both config file
I add Ice.IPv6=1


I can see why .thanks.

sober

Last edited by sober : 04-14-2008 at 07:55 AM.
Reply With Quote
  #4 (permalink)  
Old 04-14-2008
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,542
I don't understand why the client is throwing this exception. I haven't been able to reproduce it on Windows Server 2003 R2.

Which Windows version do you use? Did you try to see if it worked with the loopback interface IPv6 address or with tcp? Does the demo work with ssl & IPv4? Can you run the client & server with both tcp and ssl using IPv6 and with Ice.Trace.Network=2 and post the traces here?

Also, could you describe a little more your network setup? Is the 1030::c9b4:ff12:48aa:1a2b address the address of an ethernet interface? Is it configured manually/automatically? Thanks.

Cheers,
Benoit.
Reply With Quote
  #5 (permalink)  
Old 04-14-2008
sober sober is offline
Registered User
 
Name: sober ding
Organization: bupt
Project: net security mangement
 
Join Date: Mar 2008
Posts: 28
3x

Hi,

Things are like these:

I use Windows xp sp2 ,the demo works well with IPv4 and IPv6 with tcp .

And I configure the 1030::c9b4:ff12:48aa:1a2b address manually . The ethernet has two ip addresses ,and the other one is 192.168.1.128.

I use ipconfig in command line:
it shows:
Quote:
Windows IP Configuration


Ethernet adapter Local Area Connection::

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.128
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IP Address. . . . . . . . . . . . : 1030::c9b4:ff12:48aa:1a2b
IP Address. . . . . . . . . . . . : fe80::214:22ff:fe47:150d%4
Default Gateway . . . . . . . . . : 192.168.1.1

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : fe80::5445:5245:444f%5
Default Gateway . . . . . . . . . :

Tunnel adapter Automatic Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.128%2
Default Gateway . . . . . . . . . :
I do this to test if IPv6 works and for further use.

Thank you !

sober
Reply With Quote
  #6 (permalink)  
Old 04-15-2008
benoit's Avatar
benoit benoit is online now
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,542
Hi,

Ok, I'm able to reproduce this issue on Windows XP SP2. We'll investigate.

Thanks for the report.

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IceGrid + SSL tctimmeh Help Center 5 02-07-2008 04:49 PM
IceGridGui doing weird network things (IPv6 related?) mefoster Bug Reports 3 11-08-2006 08:27 PM
SSL support mikael Help Center 1 10-04-2006 11:39 AM
ICE for ipv6 utopiazh Help Center 3 06-02-2005 09:59 AM
C# and SSL Wayetender Help Center 9 08-16-2004 06:51 PM


All times are GMT -4. The time now is 10:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.