IPv6 and AcornSSL
Dave Higton (1515) 3525 posts |
I’ve been playing with the Internet 7 stack to see if I can get secure client operation over IPv6 with AcornSSL. Rather to my surprise, it has worked. This is by using the new Resolver_GetAddrInfoAsync SWI to look up the host’s IPv6 address (in this case, bbc.co.uk), using Socket_Creat to create the socket, Socket_Connect to connect, then AcornSSL_CreateSession to upgrade it to secure. I really didn’t expect to be able to create the secure session after it had connected, but it works. Clearly it’s not possible yet to create an IPv6 opaque handle directly with AcornSSL, but that ought to be relatively simple functionality to add. I was surprised that the resolver can resolve bbc.co.uk but not www.bbc.co.uk, yet connection to bbc.co.uk/news results in a 301 “Moved permanently”, referring to www.bbc.co.uk/news |