Skip to content

Issue with TURN and symmetric NAT behavior. #285

@mkm85

Description

@mkm85

I have discovered an issue when running the TURN test while the machine performing the test is behind symmetric NAT (wifi teethering from my phone) https://github.com/paullouisageneau/libjuice/blob/master/test/turn.c

I originally discovered the problem using LibDataChannel with libjuice but it can be reproduced with just libjuice.

It seems like libjuice wrongly filters out a packet coming from the TURN server because the port number does not match, because of the symmetric NAT.

I've tried to fix the filtering issue, but then the rendezvous still fails as the ip:port tupple is not added to the list of candidates and the rendezvous still fails.

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