from jessie-backports I installed xrdp version 0.9.0~20160601+git703fedd-3~bpo8+1 on a jessie system. For reasons not related to xrdp I had IPv6 disabled in the kernel by having these lines in '/etc/sysctl.d/disableipv6.conf':
Code: Select all
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.bond0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth1.disable_ipv6 = 1
Code: Select all
[20160726-15:12:30] [WARN ] [init:46] libscp initialized
[20160726-15:12:30] [CORE ] starting sesman with pid 20524
[20160726-15:12:30] [INFO ] listening...
[20160726-15:12:30] [ERROR] bind error on port '3350': 22 (Invalid argument)
[20160726-15:12:30] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
Code: Select all
[20160802-17:42:04] [WARN ] [init:46] libscp initialized
[20160802-17:42:04] [CORE ] starting sesman with pid 1115
[20160802-17:42:04] [INFO ] listening...
Code: Select all
root@mersenne:~# lsof -i|grep xrdp
xrdp 944 xrdp 10u IPv6 12088 0t0 TCP *:3389 (LISTEN)
xrdp-sesm 1115 root 7u IPv6 8558 0t0 TCP localhost:3350 (LISTEN)
- Is there a known way to have xrdp use only IPv4? (Many other daemons offer an option for this.) I could find nothing on this in the package's documentation.
- Is a daemon (by some debian policy) expected to work on an IPv4-only system? Is it justified to file a bug against xrdp, as it supports IPv6 only - without mentioning that as a prerequisite?
Holger