[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3396 [arm]: custom resolver
#3396: custom resolver
-------------------------+--------------------------------------------------
Reporter: toruser32 | Owner: atagar
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: arm | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by toruser32):
Replying to [comment:1 atagar]:
> I'm not following - you're thinking that you'd pipe the netstat output
to a file as a cron task then have arm read it? That is to say, every so
often running...
> sudo -u <tor user> netstat -np | grep "ESTABLISHED <pid>/<process>" >
/path/to/file
>
> then having arm read this as the connection results? This sounds like
quite a hack to me but if you'd like to implement it then that's fine with
me - let me know if you need any help. :)
>
> -Damian
No, I would like to be able to specify my own resolver command that is
executed by arm. That is, I'd add another options to armrc, e.g.
queries.resolverfile. This entry links to a python (!) file that
implements a simple class/function/whatever (I don't know python :( ).
Arm passes the <pid> to this thingy, and the class/function/whatever
returns the connections just like procTools.getConnections.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3396#comment:2>
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