[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13338 [Tor]: Rewrite tor-fw-helper in Go (or another memory-safe language) (was: go versions of the upnp / pmp libraries?)
#13338: Rewrite tor-fw-helper in Go (or another memory-safe language)
-----------------------------+---------------------------------
Reporter: arma | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: Tor: very long term
Component: Tor | Version:
Resolution: | Keywords: flashproxy
Actual Points: | Parent ID: #5213
Points: |
-----------------------------+---------------------------------
Changes (by dcf):
* keywords: => flashproxy
* parent: => #5213
Comment:
I'm changing the title to what I would want someone looking for a medium-
sized task to understand.
There appear to be a bunch of third-party UPnP implementations (I searched
http://godoc.org/?q=upnp). The ones that look promising are
* https://github.com/prestonTao/upnp (e.g.
[http://godoc.org/github.com/prestonTao/upnp#Upnp.AddPortMapping
AddPortMapping])
* https://github.com/nhelke/goupnpc (e.g.
[http://godoc.org/github.com/nhelke/goupnpc/goupnp#IGD.AddLocalPortRedirection
AddLocalPortRedirection])
* https://github.com/huin/goupnp (e.g.
[http://godoc.org/github.com/huin/goupnp/dcps/internetgateway1#WANIPConnection1.AddPortMapping
AddPortMapping])
For NAT-PMP, I found only (http://godoc.org/?q=nat-pmp)
* https://github.com/jackpal/go-nat-pmp (e.g.
[http://godoc.org/github.com/jackpal/go-nat-pmp#Client.AddPortMapping
AddPortMapping])
If any of these third-party libraries happen to work, then rewriting tor-
fw-helper itself is an easy job. We could do #5213 and make flash proxy
immediately more useful (flashproxy-client already knows how to use tor-
fw-helper thanks to #9033).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13338#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs