Skip to content

Phantun Client Will Never Reconnect if it didn't Know the Connection was Broken. (eg. Upstream Router Died Unexpectedly) #206

@Shiroiame-Kusu

Description

@Shiroiame-Kusu

Server

 INFO  server > Remote address is: 127.0.0.1:65535
 INFO  server > 2 cores available
 INFO  server > Created TUN device tun0
 INFO  server > Listening on 65534
 INFO  fake_tcp > Sent SYN + ACK to client
 INFO  fake_tcp > Connection from client:38841 established
 INFO  server   > New connection: (Fake TCP connection from 192.168.201.2:65534 to client:38841)
 INFO  fake_tcp > Connection (Fake TCP connection from 192.168.201.2:65534 to client:38841) reset by peer
 INFO  fake_tcp > Fake TCP connection to (Fake TCP connection from 192.168.201.2:65534 to client:38841) closed
 INFO  server   > No traffic seen in the last 180s, closing connection

But Client,

 INFO  client   > New UDP client from 127.0.0.1:37300
 INFO  fake_tcp > Sent SYN to server
 INFO  fake_tcp > Connection to remoteserver:65534 established

Adding a TCP KeepAlive Detection should be able to solve this problem, but as far as I see, the PR #93 , is still opening and waiting for merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions