• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
FAForever Forums
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

ICE adapter status report 2

Scheduled Pinned Locked Moved Blogs
19 Posts 8 Posters 3.1k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    Sylph_ @Brutus5000
    last edited by 29 Sept 2023, 23:09

    @brutus5000 Is there any way someone with quite a bit of free time, a good bit of coding experience (admittedly not in Kotlin), and a willingness to do as told, might be useful to you?
    Even if you just need tedious, repetitive tests running, I'd be so happy to help you with this.

    1 Reply Last reply Reply Quote 2
    • B Offline
      BlackYps
      last edited by 30 Sept 2023, 09:07

      I also had no previous experience in Kotlin and managed, so I'd say we can definitely use your help. You can take a look here, even though at the moment there isn't too much explanation of what needs to be done: https://github.com/FAForever/kotlin-ice-adapter/issues

      1 Reply Last reply Reply Quote 1
      • H Offline
        HOSCHMOSCH
        last edited by 30 Sept 2023, 09:10

        Just a quick thought: Wouldn't it be easier to create a FAF VPN and pretend all players are in a LAN network? That architecture would solve a lot of problems at its core and simplify the connection chaos.

        1 Reply Last reply Reply Quote 0
        • B Offline
          Brutus5000 FAF Server Admin
          last edited by 30 Sept 2023, 11:04

          • Putting a bunch of untrusted computers into a VPN is dangerous as it's no longer restricted to the FAF related ports.
          • we'd need to create one vpn per game. That's a lot of server coordination required and sounds more complex than ice
          • I see little reason why VPN should work if ice doesn't work

          He said, "I've been to the year 3000
          Not much has changed, but they live underwater
          And your great-great-great-granddaughter
          Is playin' FAF, playin' FAF"

          1 Reply Last reply Reply Quote 2
          • J Jip referenced this topic on 1 Oct 2023, 18:59
          • B Offline
            Brutus5000 FAF Server Admin
            last edited by Brutus5000 10 Feb 2023, 09:42 2 Oct 2023, 09:41

            Fortunately had some hours yesterday that I could spend. I fixed tons of issues in the client<->ice adapter communication and the connectivity check.

            On joining a game with the new ice adapter hosted by a classic ice adapter, the classic ice adapter debug window shows a persistent connection that is kept being alive.
            Unfortunately my game still does not join a lobby (stuck in joining lobby screen), so I guess there are some issues in the ice-adapter<->game connectivity that I need to figure out.

            He said, "I've been to the year 3000
            Not much has changed, but they live underwater
            And your great-great-great-granddaughter
            Is playin' FAF, playin' FAF"

            1 Reply Last reply Reply Quote 10
            • F Offline
              furyritchie
              last edited by 4 Oct 2023, 03:03

              I'm optimistic that the new version will continue to work for those of us that use IPv6. The current version does as it all uses IPv4 by default. I guess my comment is merely to make you mindful that we exist. It's actually the default in my country (Australia) on Telstra for example.

              I'm happy to be a tester when it becomes available.

              Former Board Member - March 2021 - March 2022

              1 Reply Last reply Reply Quote 0
              • B Offline
                Brutus5000 FAF Server Admin
                last edited by 5 Oct 2023, 18:49

                I don't want to crush your hopes but I haven't seen any code disabling ip v6 before and I didn't see anything to enable it either. So don't expect any improvements there.

                He said, "I've been to the year 3000
                Not much has changed, but they live underwater
                And your great-great-great-granddaughter
                Is playin' FAF, playin' FAF"

                1 Reply Last reply Reply Quote 0
                • C Offline
                  clyf
                  last edited by 5 Oct 2023, 18:58

                  Does this option in the client just point to an empty hole then 🤖
                  8f90580f-5a72-4311-aea7-fb729dc27400-image.png

                  1 Reply Last reply Reply Quote 1
                  • B Offline
                    Brutus5000 FAF Server Admin
                    last edited by 5 Oct 2023, 19:23

                    Good question. Let me check this and I will post results here.

                    He said, "I've been to the year 3000
                    Not much has changed, but they live underwater
                    And your great-great-great-granddaughter
                    Is playin' FAF, playin' FAF"

                    1 Reply Last reply Reply Quote 1
                    • B Offline
                      Brutus5000 FAF Server Admin
                      last edited by 5 Oct 2023, 19:32

                      I have not seen it in the ICE adapter because the client sets a JVM property that bypasses the ice adapter and directly affects the underlying ice4j library. By default ipv6 gets explicitly deactivated and only enabled if the set is activated in the client.

                      He said, "I've been to the year 3000
                      Not much has changed, but they live underwater
                      And your great-great-great-granddaughter
                      Is playin' FAF, playin' FAF"

                      F 1 Reply Last reply 6 Oct 2023, 03:21 Reply Quote 2
                      • F Offline
                        furyritchie @Brutus5000
                        last edited by 6 Oct 2023, 03:21

                        @brutus5000 @clyf Well the last few games I played I didn't disable IPv6 on my PC and it worked fine. It was only a handful of games with one friend where I did that. It looks like everything is working the way it is meant to. Great news.

                        Former Board Member - March 2021 - March 2022

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          RedX
                          last edited by 7 Oct 2023, 02:54

                          It works fine with IPv6 enabled (and always has in my experience), I think the question is does it work with IPv6 only? I know that's not a particularly common scenario at the moment but it could be in the future. Also with carrier-grade NAT could some people potentially see a better experience if it were to prefer IPv6?

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            Brutus5000 FAF Server Admin
                            last edited by 7 Oct 2023, 08:12

                            If you have ipv6 only and the other side has -for some reason- ipv4 only, then it only works via relay. But in general it should work.

                            He said, "I've been to the year 3000
                            Not much has changed, but they live underwater
                            And your great-great-great-granddaughter
                            Is playin' FAF, playin' FAF"

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              Brutus5000 FAF Server Admin
                              last edited by 12 Nov 2023, 23:43

                              1 hour ago we played a game with

                              ice-kotlin.png

                              Still lacking features like reconnect and telemetry though.

                              He said, "I've been to the year 3000
                              Not much has changed, but they live underwater
                              And your great-great-great-granddaughter
                              Is playin' FAF, playin' FAF"

                              1 Reply Last reply Reply Quote 10
                              • B Offline
                                BlackYps
                                last edited by 13 Nov 2023, 00:18

                                Awesome!

                                1 Reply Last reply Reply Quote 0
                                • deletethisD deletethis referenced this topic on 11 Mar 2024, 19:17
                                • maggeM magge referenced this topic on 15 May 2024, 06:03
                                • First post
                                  Last post