Loading build.sh +1 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ build_tor() [ -f $TOR/src/or/tor ] && return 0 tar zxvf $WORKING/../sources/$TOR.tar.gz cd $TOR for i in $WORKING/../configs/tor-*.patch; do patch -p 1 < $i ; done ./configure --prefix= --enable-gcc-hardening --enable-linker-hardening make strip src/or/tor Loading configs/kernel-lower-PROT_SOCK.patch→configs/kernel-1000-lower-PROT_SOCK.patch +0 −0 File moved. View file configs/setup +0 −1 Original line number Diff line number Diff line Loading @@ -254,7 +254,6 @@ importing() if [ "x$DIRECTORY" = "xdirectory" ] then echo "DirPort 9030" >> /etc/tor/torrc echo "GeoIPFile /dev/null" >> /etc/tor/torrc fi echo Loading configs/tor-1000-disable-stats.patch 0 → 100644 +19 −0 Original line number Diff line number Diff line diff --git a/src/or/config.c b/src/or/config.c --- a/src/or/config.c +++ b/src/or/config.c @@ -1425,6 +1425,7 @@ options_act(or_options_t *old_options) geoip_dirreq_stats_init(now); print_notice = 1; } else { + options->DirReqStatistics = 0; log_notice(LD_CONFIG, "Configured to measure directory request " "statistics, but no GeoIP database found! " "Please specify a GeoIP database using the " @@ -1437,6 +1438,7 @@ options_act(or_options_t *old_options) geoip_entry_stats_init(now); print_notice = 1; } else { + options->EntryStatistics = 0; log_notice(LD_CONFIG, "Configured to measure entry node " "statistics, but no GeoIP database found! " "Please specify a GeoIP database using the " Loading
build.sh +1 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,7 @@ build_tor() [ -f $TOR/src/or/tor ] && return 0 tar zxvf $WORKING/../sources/$TOR.tar.gz cd $TOR for i in $WORKING/../configs/tor-*.patch; do patch -p 1 < $i ; done ./configure --prefix= --enable-gcc-hardening --enable-linker-hardening make strip src/or/tor Loading
configs/kernel-lower-PROT_SOCK.patch→configs/kernel-1000-lower-PROT_SOCK.patch +0 −0 File moved. View file
configs/setup +0 −1 Original line number Diff line number Diff line Loading @@ -254,7 +254,6 @@ importing() if [ "x$DIRECTORY" = "xdirectory" ] then echo "DirPort 9030" >> /etc/tor/torrc echo "GeoIPFile /dev/null" >> /etc/tor/torrc fi echo Loading
configs/tor-1000-disable-stats.patch 0 → 100644 +19 −0 Original line number Diff line number Diff line diff --git a/src/or/config.c b/src/or/config.c --- a/src/or/config.c +++ b/src/or/config.c @@ -1425,6 +1425,7 @@ options_act(or_options_t *old_options) geoip_dirreq_stats_init(now); print_notice = 1; } else { + options->DirReqStatistics = 0; log_notice(LD_CONFIG, "Configured to measure directory request " "statistics, but no GeoIP database found! " "Please specify a GeoIP database using the " @@ -1437,6 +1438,7 @@ options_act(or_options_t *old_options) geoip_entry_stats_init(now); print_notice = 1; } else { + options->EntryStatistics = 0; log_notice(LD_CONFIG, "Configured to measure entry node " "statistics, but no GeoIP database found! " "Please specify a GeoIP database using the "