Skip to content

Instantly share code, notes, and snippets.

Claus Lensbøl cmol

Block or report user

Report or block cmol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@cmol
cmol / natPMP.py
Last active Dec 16, 2015
Script for requesting a port redirection via natPMP. Uses python3
View natPMP.py
"""
Script for requesting a port redirection via natPMP.
Follows the standart of:
http://tools.ietf.org/html/draft-cheshire-nat-pmp-07#section-3.3
with the exception of hold times. We are not going to wait a little
above 3 minutes to test for natPMP.
"""
import socket
import random
View keybase.md

Keybase proof

I hereby claim:

  • I am cmol on github.
  • I am cmol (https://keybase.io/cmol) on keybase.
  • I have a public key whose fingerprint is 54C4 F886 5479 CCDB F367 DC13 720E 785B F86A EAD3

To claim this, I am signing this object:

You can’t perform that action at this time.