Commit Graph

9 Commits

Author SHA1 Message Date
Marten Seemann
c62be4081c nat: use a single Go routine to renew NAT mappings 2023-04-14 14:29:43 +02:00
Marten Seemann
ded75c34d4 nat: remove unused NAT method from the Mapping interface 2023-04-14 14:26:53 +02:00
Marten Seemann
5e8e3d8385 remove mapping.teardown 2021-09-25 14:50:47 +01:00
Marten Seemann
1ce83dbab1 stop using goprocess for shutdown 2021-09-19 11:06:22 +01:00
Marten Seemann
8aecd4d995 remove unused field permanent from mapping 2021-05-05 19:52:21 +07:00
Steven Allen
d6a73bd9d7 remove all uses of multiaddrs
NATs only care about TCP/UDP and ports. Using multiaddrs here made this library
really hard to work with correctly.

Furthermore, this library doesn't _actually_ support specifying the internal IP
address. However, we'd still _act_ like the internal IP address mattered. This
caused all sorts of mismatches.
2019-03-05 17:54:32 -08:00
Jeromy
e7fa567007 update deps 2016-10-04 21:18:07 -07:00
Jakub Sztandera
d44566d5a5 nat: add locks around nat 2016-09-13 13:54:32 +02:00
Jakub Sztandera
72d32fc62f nat: split into files 2016-09-13 13:54:32 +02:00