[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Tor TransPort on OpenBSD?



On Sun, Aug 10, 2008 at 08:00:48AM -0600, macintoshzoom wrote:
> Does someone of you had success enabling the tor TransPort feature on
> OpenBSD?
> 
> It seems there are some bugs:
> "transport warn open /dev/pf failed -- Permission denied"
> bugs.torproject.org/flyspray/index.php?do=details&id=782
> 
> But as per [or-cvs] r16450 mail list it seems that it's to be resolved 
> in latest tor ??:
> <<<
> Patch from Christopher Davis: open /dev/pf before dropping privileges.
> Fixes bug 782.  Backport candidate.
> <<<
> 
> I am testing OpenBSD 4.4 -current.
> 
> Thanks!
> 
> 

Hello,

I made the diff for trunk, but the patch seems to apply cleanly 
to 0.2.0.30, as well. ie:

Macintosh:tor-0.2.0.30 chrisd$ patch -p0 < pf_open_startup.patch
patching file src/or/config.c
Hunk #1 succeeded at 1022 (offset -38 lines).
patching file src/or/connection_edge.c
Hunk #1 succeeded at 1633 (offset -8 lines).
patching file src/or/or.h
Hunk #1 succeeded at 2855 (offset -84 lines).


-- 
Christopher Davis