Trying Trusted Tor Traceroutes

Brian Callahan bcallah at devio.us
Fri Jan 31 07:46:12 EST 2014


On 1/31/2014 7:39 AM, nano wrote:
> On 31/01/2014 4:32 AM, Brian Callahan wrote:
>> On 1/30/2014 10:00 AM, nano wrote:
>>>> Brian Callahan:
>>>
>>>
>>> Brian, was there any tweaking required to run it on BSD?
>>>
>>
>> You need bash.
>>
>
>
> Thanks, Brian. I tried with bash, sh, zsh and tcsh: same result
> regardless of shell.
>
> [tttt at rtd ~/anupam_das-traceroute-from-tor-relays-4493e7c21199]$ which bash
> /usr/local/bin/bash
> [tttt at rtd ~/anupam_das-traceroute-from-tor-relays-4493e7c21199]$ echo
> $SHELL
> /usr/local/bin/bash
> [tttt at rtd ~/anupam_das-traceroute-from-tor-relays-4493e7c21199]$
> ./traceroutes.sh &
> [1] 25007
> bash: ./traceroutes.sh: /bin/bash: bad interpreter: No such file or
> directory
> [tttt at rtd ~/anupam_das-traceroute-from-tor-relays-4493e7c21199]$ ps
>    PID TT  STAT    TIME COMMAND
> 25005  0  S+J  0:00.00 script /tmp/tttt.txt
> 25006  1  SsJ  0:00.01 /usr/local/bin/bash -i
> 25008  1  R+J  0:00.00 ps
> [1]+  Exit 126                ./traceroutes.sh
> [tttt at rtd ~/anupam_das-traceroute-from-tor-relays-4493e7c21199]$
>
> It's not important. Just wanted to contribute to the project, if I could.
>
>

The top of the bash script needs to be changed from '#!/bin/bash' to 
'#!/usr/bin/env bash' or '#!/usr/local/bin/bash'



More information about the Tor-BSD mailing list