Skip to content

Instantly share code, notes, and snippets.

View ickc's full-sized avatar
💭
I may be slow to respond.

Kolen Cheung ickc

💭
I may be slow to respond.
View GitHub Profile
@ickc
ickc / udp_hole_punch_tester.py
Last active July 5, 2023 18:39 — forked from somic/udp_hole_punch_tester.py
UDP Hole Punching test tool
#!/usr/bin/env python
#
# udp_hole_punch_tester.py - UDP Hole Punching test tool
#
# Usage: udp_hole_punch_tester.py remote_host remote_port
#
# Run this script simultaneously on 2 hosts to test if they can punch
# a UDP hole to each other.
#
# * remote_port should be identical on 2 hosts.