subgraph / roflcoptor

Tor Control Port Filter and State Tracker Daemon
BSD 3-Clause "New" or "Revised" License
25 stars 8 forks source link

Support for unix socket public control port #9

Closed xSmurf closed 8 years ago

xSmurf commented 8 years ago

More and more applications are moving to unix socket control port all together, we should support using one as the listener. Possibly, as tor does, support for doing both a control port and a control unix socket.

david415 commented 8 years ago

we need go-procsnitch to support this feature. here's the ticket https://github.com/subgraph/go-procsnitch/issues/3

david415 commented 8 years ago

this dev branch uses my go-procsnitch dev branch to implement unix domain socket support https://github.com/david415/roflcoptor/tree/1.add_unix_domain_socket.1

although it doesn't work because the acquired proc info is for the server not the client... maybe i did something wrong.

david415 commented 8 years ago

ok my dev branch now works due to the changes i made to go-procsnitch... this means you must you my dev branch of go-procsnitch in order for this roflcoptor dev branch to work.

please review.

david415 commented 8 years ago

@NOTE that this dev branch is based on my other dev branch from https://github.com/subgraph/roflcoptor/issues/13

david415 commented 8 years ago

here's my latest dev branch https://github.com/david415/roflcoptor/tree/1.add_unix_domain_socket.2

david415 commented 8 years ago

ok we can now make a very small change to roflcoptor as soon as the unix domain socket changes are merged into go-procsnitch master branch.

david415 commented 8 years ago

fixed here: https://github.com/subgraph/roflcoptor/commit/0916db26d0b6a202a01da8c45a8deb9a7c88e7d2