Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

Even though P2P is disabled, SotA is still trying to connect to remote clients

Discussion in 'Release 27 Dev+' started by smack, Feb 24, 2016.

Thread Status:
Not open for further replies.
  1. smack

    smack Avatar

    Messages:
    7,077
    Likes Received:
    15,288
    Trophy Points:
    153
    Using ProcMon, I filtered on SotA and only on Network process and noticed that despite the P2P option being disabled, and the client is fully patched, SotA is still continuously connecting to many dozens of remote clients, for as long as the patcher is up and running.

    This is likely why some users were seeing their security software was flagging SotA even though the P2P option was disabled.

    See attached CSV file of ProcMon events.
    https://db.tt/M7NjqICl

    Snippet:
    "10:25:58.2633739 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 21Cust196.tnt42.ewr3.da.uu.net:20014","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.2869311 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 43.23.144.208:8909","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.2960889 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 190.253.241.213:9487","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.3010785 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> n003-000-000-000.static.ge.com:49642","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.3060765 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 53.196.231.31:42390","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.3110964 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 54.58.110.88:9979","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.3160761 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 33.236.50.54:14861","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.3211045 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 40.93.77.200:54578","SUCCESS","Length: 65, seqnum: 0, connid: 0"
    "10:25:58.3311038 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 21Cust196.tnt42.ewr3.da.uu.net:20014","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3411031 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 43.23.144.208:8909","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3461140 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 190.253.241.213:9487","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3510391 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:60314 -> 239.255.255.250:ssdp","SUCCESS","Length: 94, seqnum: 0, connid: 0"
    "10:25:58.3511141 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> n003-000-000-000.static.ge.com:49642","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3513005 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:60314 -> 239.255.255.250:ssdp","SUCCESS","Length: 94, seqnum: 0, connid: 0"
    "10:25:58.3513490 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:60314 -> 239.255.255.250:ssdp","SUCCESS","Length: 94, seqnum: 0, connid: 0"
    "10:25:58.3518740 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:60315 -> 192.168.0.1:5351","SUCCESS","Length: 2, seqnum: 0, connid: 0"
    "10:25:58.3561217 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 53.196.231.31:42390","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3611263 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 54.58.110.88:9979","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3661469 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 33.236.50.54:14861","SUCCESS","Length: 101, seqnum: 0, connid: 0"
    "10:25:58.3711416 PM","Shroud of the Avatar - Launcher.exe","7952","UDP Send","DESKTOP-1GMVL66:55721 -> 40.93.77.200:54578","SUCCESS","Length: 101, seqnum: 0, connid: 0"

    EDIT: added wording to clarify bug affects a fully patched client, so there should be no P2P downloading, or uploading, involved
     
    Last edited: Feb 25, 2016
  2. Attenwood

    Attenwood Portalarian Emeritus Dev Emeritus

    Messages:
    6,910
    Likes Received:
    5,863
    Trophy Points:
    153
    Thanks for the report. Submitting for review and resolution!
     
  3. BurningToad

    BurningToad Dev Emeritus Dev Emeritus

    Messages:
    1,280
    Likes Received:
    3,797
    Trophy Points:
    125
    Gender:
    Male
    Location:
    Austin, TX
    The option is "Help Upload Game Data via P2P". Turning it off means it will not send files to others. However, there is no way to disable P2P completely in the Launcher, it will still rely on downloading files from others, and continues to seek out connections.

    We have been talking about some patch client changes and improvement, so those may be on the horizon.
     
  4. smack

    smack Avatar

    Messages:
    7,077
    Likes Received:
    15,288
    Trophy Points:
    153
    Ok thanks. I was just thrown off by the continuous stream of UDP send packets to other clients. P2P disabled, client already fully patched, so wasn't sure why it needed to continue to make those connections.
     
  5. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,334
    Likes Received:
    14,098
    Trophy Points:
    153
    Yeah, this is a problem, especially on campus. My brother can't patch the standalone from his dorm because it tries to connect to P2P (which causes his internet to turn off). Fortunately, he can use Steam to patch.
     
  6. smack

    smack Avatar

    Messages:
    7,077
    Likes Received:
    15,288
    Trophy Points:
    153
    IIRC, the patcher will fallback to standard direct download after a timeout but it looks like his internet is getting cut prior to that happening. But that's about using P2P to download patches.

    My bug is just about why a fully patched client that also has this Upload P2P option disabled is still continuously sending UDP packets to remote clients.
     
  7. Widsith [MGT]

    Widsith [MGT] Avatar

    Messages:
    714
    Likes Received:
    646
    Trophy Points:
    93
    @Attenwood just noting that the same issue exists on Mac - firewall gripes every time I launch, even though I have P2P turned off (my ISP's upload speed is p***-poor).
     
  8. smack

    smack Avatar

    Messages:
    7,077
    Likes Received:
    15,288
    Trophy Points:
    153
    Is your Mac client also fully patched? The patcher will still use P2P to download new content, if available. It's unclear though if the initial version check is done via P2P ports, as that may be triggering the firewall.

    But to be clear: the bug reported in the OP here is that a fully patched client with P2P Upload disabled is still continuously sending UDP packets to remote clients for as long as the patcher is still up and running. I edited the OP to make this clarification in case it wasn't clear.
     
  9. Widsith [MGT]

    Widsith [MGT] Avatar

    Messages:
    714
    Likes Received:
    646
    Trophy Points:
    93
    Yes, fully patched. Firewall just says that it's trying to open sockets for in/out-bound. I'd have to fire up a sniffer to see what kind of packets.
     
Thread Status:
Not open for further replies.