Am 05.04.2013 09:38, schrieb Jay Sorg:
>> tcp        0      0  0.0.0.0:22              0.0.0.0:* LISTEN
 >> 2574/sshd tcp        0      0 :::22 :::* LISTEN
 >> 2574/sshd
 >>
 >>
 >> xrdp
 >>
 >>
 >> tcp        0      0 :::3389                 :::* LISTEN
 >> 5311/xrdp
 >
 > I think I can agree.  Does that mean that xrdp will listen on 2
 > sockets then?
 >
 > Jay

I think so, I am not a bsd expert, but

http://www.openbsd.org/cgi-bin/man.cgi?query=inet6&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html#PROTOCOLS

      For security reasons, OpenBSD does not route IPv4 traffic to an 
AF_INET6
      socket, and does not support IPv4 mapped addresses, where IPv4 
traffic is
      seen as if it comes from an IPv6 address like ::ffff:10.1.1.1. Where
      both IPv4 and IPv6 traffic need to be accepted, listen on two sockets.


man page: IPV6(7)  Linux Programmer's Manual 2011-09-08

...
IPv4 connections can be handled with the v6 API by using the 
v4-mapped-on-v6 address type; thus a program only
needs to support this API type to support both protocols.
....


I know only, this makes things more complicated. May be you generally 
use two sockets - this makes the linux-version more complex, or you let 
decide bootstrap / configure and write different code for bsd and linux.

Regards,
Thomas





------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to