Arm Release 1.4.0
Fabian Keil
freebsd-listen at fabiankeil.de
Sun Dec 5 12:02:16 UTC 2010
Damian Johnson <atagar1 at gmail.com> wrote:
> Hi all. I've checked in the resolver fixes (thank Fabian and Hans!)
> and a test tarball is available at:
>
> http://www.atagar.com/transfer/tmp/arm_bsdTest.tar.bz2
> http://www.atagar.com/transfer/tmp/arm_bsdTest.tar.bz2.asc
Thanks.
> For BSD I'm using the following commands:
> sockstat -4 | egrep '<process>\s*<pid>' | grep -v '*:*'
> procstat -f 'pgrep <process>' | grep '<pid>' | grep -v '0.0.0.0:0'
Neither of those commands work for me. To let Arm figure out
Tor's pid I still need the pgrep patch I mailed you yesterday.
Attached are the patches I used to get it working on FreeBSD 9.0 CURRENT.
I also rebased the sockstat+awk patch, but sockstat+grep probably works
reliably enough.
One unrelated problem I noticed is that Arm tends to show local
connections as Outbound. A connection from the Privoxy jail to
the Tor jail:
_tor tor 2750 25 tcp4 10.0.0.2:9050 10.0.0.1:20528
shows up as:
[public gateway IP address scrubbed]:9050 --> <scrubbed> 0.0s (OUTBOUND)
Given that the connection doesn't leave the system, replacing
the Tor jail IP address with the public IP address of the gateway
is a bit confusing.
Also, when running Arm outside the Tor jail, the Tor
configuration file isn't found.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-pgrep-as-another-way-to-get-the-tor-pid.patch
Type: text/x-patch
Size: 1317 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20101205/0e39a064/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Shorten-RUN_BSD_SOCKSTAT-and-get-it-working.patch
Type: text/x-patch
Size: 1436 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20101205/0e39a064/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Get-RUN_BSD_PROCSTAT-working.patch
Type: text/x-patch
Size: 2083 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20101205/0e39a064/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-sockstat-awk-as-another-connection-resolver.-Usi.patch
Type: text/x-patch
Size: 5351 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20101205/0e39a064/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20101205/0e39a064/attachment.pgp>
More information about the tor-talk
mailing list