-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xrdp unintendedly listen on 6/tcp when set to port=tcp6://:3389 #1450
Comments
Also fails with port=tcp6://.:3389:
|
I'm not sure to understand the problem, from where does this syntax come ? If you are asking yourself if the service support ipv6, yes, it's the default if compiled with --enable-ipv6 |
@moobyfr The syntax is introduced since v0.9.11. xrdp.ini has examples in its comment. |
At least it's forking fine for me. With
|
Hmm, acaually that's strange. If port is set to
So in @telmich 's case, it failed to listen on 6/tcp. Not only 3389/tcp. It looks this bug caused your failure to start. @jsorg71 Jay, can you have a look at this? |
Wasn't aware of this change.
Even with the default config (port=3389) there is no listener on tcp6 on
0.9.11 on alpine linux too
…On Fri, Dec 6, 2019 at 10:22 AM metalefty ***@***.***> wrote:
@moobyfr <https://github.com/moobyfr> The syntax is introduced since
v0.9.11. xrdp.ini has examples in its comment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1450?email_source=notifications&email_token=AAEZOXII5FTJWAYSAEZHMSLQXIKT5A5CNFSM4JV3ZS7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGDQONQ#issuecomment-562497334>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZOXKUMB3RURDHVS4GUE3QXIKT5ANCNFSM4JV3ZS7A>
.
|
Do you know if xrdp on alipine is compiled with Anyway, the issue xrdp listen on unnecessary port 6/tcp should be a xrdp bug. |
I get the same output as @telmich if I set port=tcp6://:3389 and I did not use --enable-ipv6 at configure time. Maybe that is what happen. |
Oh, that was my mistake, sorry. I confirmed again and it doesn't listen on 6/tcp.
@telmich You should show xrdp configure option. |
If I remember right Linux defaults to listen on both, default ssh daemon does this too, netstat only shows listening on tcp6 but you can connect on both. |
What's the syntax if you only want it to listen to ipv4? Our network doesn't have ipv6 enabled and so we disable ipv6 via GRUB per security hardening guidelines. If ipv6 is enabled, xrdp starts fine but will refuse to start if only ipv4 is enabled via GRUB options. I tried setting port=tcp://3389 (w/ ipv6 enabled), but it still only binds to ipv6. This is on Ubuntu 18.04 w/ v0.9.5-2. |
Just retested with xrdp-0.9.13.1-r0 on alpine Linux with port=tcp6://:3389 the result is:
with port=3389 I only get IPv4 listeners:
with port=tcp6://.:3389 I get
so in a nutshell: for me IPv6 listeners do not work. |
@quang777 - 0.9.5 is pretty old, and uses the older syntax. You should be able to get xrdp listening with no IPv6 with the plain-and-simple
@telmich - the alpine build may not have been done with IPv6 enabled. What is the output of |
@matt335672 you are so right!
I'll create an MR on the alpine side. |
Yes, that was the first thing I tried, but it seems to only bind to the ipv6 (when enabled). When ipv6 is disabled via grub, it refuses to start per the other discussion. On Ubuntu 18.04, the latest version of xrdp is 0.9-5.2
|
@quang777 - I've had a play with this, and I'm optimistic we can find a solution for you. Can I trouble you to open a separate issue for this? Your problem is completely separate from the original issue raised by @telmich. Also, the solution for you is likely to be specific to 18.04, and others may benefit from the discussion. Thanks for bearing with me - speak soon. |
Thanks @matt335672, just created a separate issue for the ipv4 port problem. |
Installed on alpine, default config, it starts. Changing the config to
results in
The text was updated successfully, but these errors were encountered: