Giter VIP home page Giter VIP logo

Comments (10)

metalefty avatar metalefty commented on August 25, 2024

👍 I also happy if xrdp had ipv6 support. Anything new?

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

@jsorg71
You disabled IPv6 at cd0a872, but why? Do you have a plan to re-enable IPv6?

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

In other words, what should we do to re-enabling IPv6? What tasks remained?

from xrdp.

jsorg71 avatar jsorg71 commented on August 25, 2024

I broke some systems. I didn't have enough experience using ipv6. For example, BSD is a bit different.
I think until it's tested more, we should add --enable-ipv6

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

I did --enable-ipv6 option. I'll give it a try for BSDs and other systems as much as I can. Please tell me how was it broken if you remember.

from xrdp.

jsorg71 avatar jsorg71 commented on August 25, 2024

I think it was something like mint 64 bit that would not accept connection.

For the BSD issue,

This is from
Thomas
on mailing list 04/04/2013

I second thing I observed:

Linux uses one socket for all - v4 and v6.

If I remember correctly BSD does not so behave.
In the case the xrdp needs compatibility with bsd, it could be necessary
to implement two sockets.

e.g. sshd does so:

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

Regards,

Thomas

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

After further investigation, BSD (at least FreeBSD) can handle both IPv4 and IPv6 in one socket.
SSH, PostgreSQL demon have independent socket for v4 and v6 . However, MySQL daemon seems to listen v4 and v6 in one socket.

Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        (state)
tcp4       0      0 *.ssh                  *.*                    LISTEN
tcp6       0      0 *.ssh                  *.*                    LISTEN
tcp46      0      0 *.mysql                *.*                    LISTEN
tcp4       0      0 *.rdp                  *.*                    LISTEN
tcp4       0      0 localhost.postgresql   *.*                    LISTEN
tcp6       0      0 localhost.postgresql   *.*                    LISTEN

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

The problem looks quite simple (at least on FreeBSD).

IPv6 auto detection appeared in 54463af is not suitable for FreeBSD.

AC_CHECK_MEMBER([struct in6_addr.s6_addr],
                [],
                [AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
                [#include <arpa/inet.h>])

This always fails. NO_ARPA_INET_H_IP6 is always 1 in FreeBSD and xrdp will always by built IPv6 support disabled.

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

OpenBSD behaves a little bit different. Jay and Thomas talked on the mailing list.
We need to implement two sockets for OpenBSD but one socket is enough for others.

from xrdp.

metalefty avatar metalefty commented on August 25, 2024

IPv6 implementation in xrdp has been improved a lot (#714 etc). Let's close this once.
I don't think we don't need to listen IPv4 and IPv6 in separate socket right now.

from xrdp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.