Commit Graph

21 Commits

Author SHA1 Message Date
Nate
bc58fa18f4 add ForwardTCP and ForwardUDP funcs 2021-10-02 19:35:47 +09:00
lukechampine
20f5e17c38 clean up some boolean checks 2018-10-11 15:46:17 -04:00
Robert Habermann
065c93bdc2 clean up and use strings.Contains instead of RegEx 2018-10-11 15:43:22 -04:00
Robert Habermann
1ccfc75e29 rename methods 2018-10-11 15:43:21 -04:00
Robert Habermann
11c38df8dd wip 2018-10-11 15:43:21 -04:00
Robert Habermann
2b4da134ab add possible return statements 2018-10-11 15:43:21 -04:00
Robert Habermann
1a02e7a8e4 start check forward PR 2018-10-11 15:43:21 -04:00
Chris
5078a4d8ed update import paths 2018-07-16 11:22:40 -04:00
Serhat Şevki Dinçer
a625a89506 Rate-limit Add/Delete port mappings
Fixes #10
2017-12-21 00:23:09 +03:00
Derek McQuay
29a8814b4f vendor: move github.com/huin/goupnp out of vendor
Because github.com/huin/goupnp was modified for specific use by this
repo, it became difficult to correctly vendor this using a tool. To
avoid this issue, github.com/huin/goupnp was taken out of the vendor dir
and included as a packge in the repo.

Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2017-10-04 19:01:49 -07:00
lukechampine
08c0206839 add context to Discover 2017-09-05 21:28:45 -04:00
lukechampine
11ba8545e2 switch to fastrand 2017-03-23 17:00:02 -04:00
Johnathan Howell
754b7338d0 use milliseconds for greater backoff distribution 2016-09-08 16:34:42 -04:00
Johnathan Howell
b0ab2c9d3f try a few times to discover, with sleeps 2016-09-07 22:32:10 -04:00
lukechampine
484d5839bd replace IGD interface with struct
An interface was overkill here.
2016-03-14 13:17:36 -04:00
lukechampine
643a2ffac2 Clear deletes both mappings before returning error 2015-09-05 22:03:46 -04:00
Luke Champine
44ad0c4c05 remove dummy ip 2015-08-20 15:31:45 -04:00
lukechampine
fa56c0c88a typo 2015-07-23 18:26:35 -04:00
lukechampine
9a9265565e tweak documentation 2015-07-10 19:06:18 -04:00
lukechampine
53a3cf48a3 add TODOs 2015-07-10 03:10:58 -04:00
lukechampine
322d545e5e initial commit 2015-07-10 03:07:38 -04:00