From: José L. P. <on...@gm...> - 2012-06-20 13:55:25
|
Hi all, Just for clarification, shouldnt the ipv6 related stuff on rfbProcessNewConnection be surrounded by the LIBVNCSERVER_IPv6 macro verification? i tried to compile vncserver without ipv6 support and i was having errors on "rfbCheckFds: accept". Note, it was just tested on Android. ------ José Pereira On Mon, Feb 20, 2012 at 3:24 PM, Christian Beier <don...@fr...>wrote: > > Hi all, > I've created a branch with that will contain IPv6-related patches to > LibVNCServer [1]. Since LibVNCClient supported IPv6 for a while thanks > to the work done by Vic Lee, it was rather clear we have to add IPv6 to > the server side as well. And it's the future anyway [2] ;-) > > So, this first patch in the series adds IPv6 listen support. It uses > a separate-socket approach since there are systems that do not support > dual binding sockets under *any* circumstances, for instance OpenBSD. > Using separate sockets for IPv4 and IPv6 is thus more portable than > having a v6 socket handle v4 connections as well [3, 4]. The patch is > carefully crafted to not break API nor ABI compatibility, but as > always, please test! > > > Next items on the IPv6 TODO list are: > * support reverse connections out to IPv6 addresses. > * let the http server listen on IPv6 as well. > > Open questions: > * UDP. Is anyone using VNC over UDP? IMO this is such a corner use case > we can leave it out. > * Add an option to disable one of IPv4/v6 to have v4/v6-only? At the > moment, both are ON if IPv6 is available... > > > Cheers, > Christian > > > [1] > http://libvncserver.git.sourceforge.net/git/gitweb.cgi?p=libvncserver/libvncserver;a=shortlog;h=refs/heads/server-ipv6 > [2] http://www.worldipv6launch.org/ > [3] http://people.apache.org/~trawick/v4mapped.html > [4] > http://utcc.utoronto.ca/~cks/space/blog/programming/ModernSocketsListening > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > LibVNCServer-common mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libvncserver-common > > |