Skip to content

TCP max size get stuck #77

Open
Open
@SkyperTHC

Description

@SkyperTHC

The bug was introduced after 0.3.1 and all future version suffer from the same:
v0.3.1...v0.4.0

WIRETAP_INTERFACE_PRIVATEKEY='XXX=' \
WIRETAP_PEER_PUBLICKEY='YYY=' \
WIRETAP_PEER_ENDPOINT='1.2.3.4:44444' \
WIRETAP_RELAY_INTERFACE_PRIVATEKEY='XXX=' \
WIRETAP_RELAY_PEER_PUBLICKEY='YYY=' \
WIRETAP_RELAY_PEER_ENDPOINT='1.2.3.4:44444' \
WIRETAP_SIMPLE='true' \
WIRETAP_RELAY_PEER_ALLOWED='172.16.0.0/16,fd:16::0/104' \
WIRETAP_RELAY_INTERFACE_LOCALHOSTIP='172.16.0.1' \
./wiretap serve -d

Any TCP download stops at exactly 8192 bytes. I've not looked much into it. Let me know if you like me to investigate this further.

Origin uses WireGuard. EXIT uses wiretap (MTU=1420).
The same works fine if WireGuard is used on both, Origin and EXIT (MTU=1420).

I played around with the MTU=1000 but to no avail.
I played around with TCPMSS but to no avail either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions