[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3967 [Torbutton]: new identity feature could support ControlSocket
#3967: new identity feature could support ControlSocket
--------------------------------+-------------------------------------------
Reporter: T(A)ILS developers | Owner: mikeperry
Type: enhancement | Status: needs_review
Priority: minor | Milestone:
Component: Torbutton | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------------------+-------------------------------------------
Comment(by lunar):
Unix domain sockets really are sockets. The file system handle is to be
treated as an address and cannot be used as a usual file. So
nsIFile{Input,Output}Stream will not work.
If I tried to look into Firefox's internals to see if there was a way to
open a AF_UNIX socket, and it looks like the code is there in NSPR, but
not there is no XPCOM interface. There is also no XPCOM interface that
would receive an already open file descriptor, even if there is an
underlying function that might be used in the netwerk library.
Pending you do not judge this hack as very wrong, I think I'd like to ship
it (after some more refinements) in the Debian package, even if it might
not be welcome in the standard Torbutton. Can you think of a reason not do
to so?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3967#comment:6>
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