On Fri, Nov 13, 2015 at 05:37:12PM -0500, Michael McConville wrote: > Uwe Werler wrote: > > Hello list, > > > > I'd like to add a Flavor to tor which allows Tor2webMode: > > This seems like a rare enough use-case that it probably isn't worth a > flavor. It also runs the risk that people will think "Tor2web" is what > they need (plausible, based on the name) and thereby deanonymize > themselves.
Mmh, 1. it's not enabled per default and 2. only connections to hidden services are allowed so You can't exit from within the tor network. > > > --- net/tor/Makefile.orig Fri Nov 13 05:25:33 2015 > > +++ net/tor/Makefile Fri Nov 13 04:26:09 2015 > > @@ -12,6 +12,9 @@ > > # BSD > > PERMIT_PACKAGE_CDROM= Yes > > > > +PSEUDO_FLAVORS = tor2web > > +FLAVOR ?= > > + > > WANTLIB += c crypto event m pthread ssl z > > > > MASTER_SITES= https://www.torproject.org/dist/ > > @@ -22,6 +25,11 @@ > > # anyway on FRAME_GROWS_DOWN archs. > > CONFIGURE_ARGS= --with-ssl-dir=/usr \ > > --disable-gcc-hardening > > + > > +.if ${FLAVOR:L:Mtor2web} > > +CONFIGURE_ARGS += --enable-tor2web-mode > > +.endif > > + > > CONFIGURE_ENV+=ac_cv_member_struct_ssl_method_st_get_cipher_by_char=no > > > > DB_DIR= /var/tor > > > > ###################### > > > > --- net/tor/pkg/DESCR.orig Fri Nov 13 05:16:53 2015 > > +++ net/tor/pkg/DESCR Fri Nov 13 05:22:06 2015 > > @@ -1,2 +1,6 @@ > > Tor is a connection-based low-latency anonymous communication system that > > protects TCP streams: web browsing, instant messaging, irc, ssh, etc. > > + > > +In Tor2webMode Tor connects to hidden services non-anonymously but faster. > > +It's useful only when running a tor2web Hidden Service web proxy or to > > connect > > +directly to a Hidden Service without the need of client anonymity. > > > > ###################### > > > > Regards Uwe > > > > -- > > --