[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26889 [Core Tor/Torsocks]: torsocks: option to disable all network traffic



#26889: torsocks: option to disable all network traffic
-----------------------------------------------+---------------------------
 Reporter:  ilf                                |          Owner:  dgoulet
     Type:  enhancement                        |         Status:
                                               |  needs_information
 Priority:  Low                                |      Milestone:
Component:  Core Tor/Torsocks                  |        Version:
 Severity:  Normal                             |     Resolution:
 Keywords:  torsocks, option, disable network  |  Actual Points:
Parent ID:                                     |         Points:
 Reviewer:                                     |        Sponsor:
-----------------------------------------------+---------------------------
Changes (by onirony):

 * status:  new => needs_information


Comment:

 One really easy way to implement this would be to have the --disable-
 network option ask the OS for an unused ephemeral port and set
 {{{TORSOCKS_TOR_PORT}}} to that.

 As you noted, applications like Firejail are pretty much created for
 exactly this kind of situation, and it's really easy to use:
  {{{
 firejail --net=none [command]
 }}}


 This reminds me of those early-nineties debates between acolytes of the
 GNU and BSD camps, where GNU created very fully-featured utilities and BSD
 was created small utilities that did one thing well.

 Anyway, I'll gladly implement this if y'all deem my admittedly-also-
 pretty-hacky (but also good enough in all plausible scenarios!) ephemeral
 port solution to be an acceptable approach. Or in the likely event that
 someone suggests a better way, I'll do it that way.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26889#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