kubo/p2p
Juan Batiz-Benet 763cc945c0 p2p/host: nat manager
this commit moves management of the nat to its own object.
perhaps this can be general enough to work with any host
(not just BasicHost), but for now keeping here.

the nat manager:
- discovers and sets up the nat asynchronously.
- adds any port mappings necessary if/after nat has been found.
- listens to the network Listen() changes, adding/closing mappings
2015-01-30 20:37:53 -08:00
..
crypto log(secio) rm handshake console log (still has event log) 2015-01-30 06:57:41 -08:00
host p2p/host: nat manager 2015-01-30 20:37:53 -08:00
nat p2p/nat: make nat mappings closable by client 2015-01-30 20:37:53 -08:00
net p2p/net: notify on listens 2015-01-30 20:37:52 -08:00
peer p2p/peer/peerstore: mu position + comment 2015-01-26 22:47:44 -08:00
protocol fix nil pointer panic on version strings in ID message 2015-01-29 23:07:32 +00:00
test p2p/test/reconnect: fixed race condition 2015-01-20 10:57:45 -08:00