[tor-bugs] #13338 [Tor]: Rewrite tor-fw-helper in Go (or another memory-safe language)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 23 18:17:44 UTC 2014


#13338: Rewrite tor-fw-helper in Go (or another memory-safe language)
-----------------------------+------------------------------
     Reporter:  arma         |      Owner:  yawning
         Type:  enhancement  |     Status:  assigned
     Priority:  minor        |  Milestone:  Tor: unspecified
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  flashproxy
Actual Points:               |  Parent ID:  #5213
       Points:               |
-----------------------------+------------------------------

Comment (by yawning):

 Yay, miniupnp's master has the bug fixed.  Too bad we can't rely on that
 being what our end users have.

 Pushed a few more changes to go-fw-helper, to support:
  * Verbose logging when using NAT-PMP.
  * Dumping the list of port forwarding entries (UPnP only).
  * Removing port forwarding entries (UPnP only, because the bug in "old"
 miniupnpd makes removal unsafe).

 TODO:
  * BSD/Windows support for `getGateway()`.
  * Code cleanups.

 What is in master now should be useable by most people though, because
 NAT-PMP is an Apple-ism.  Unless someone tells me otherwise, I will at
 least make NAT-PMP work on *BSD, and leave writing the one function to
 allow it to work on Windows to someone who actually has a Windows box.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13338#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list