mirror of
				https://github.com/casjaysdevdocker/tor
				synced 2025-11-03 19:02:39 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
rootfs/tmp/etc/tor/server.conf rootfs/tmp/etc/tor/torrc rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh rootfs/usr/local/etc/docker/init.d/01-tor-hidden.sh rootfs/usr/local/etc/docker/init.d/01-tor-relay.sh rootfs/usr/local/etc/docker/init.d/02-php.sh rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh rootfs/usr/local/etc/docker/init.d/03-privoxy.sh rootfs/usr/local/etc/docker/init.d/03-tor-bridge.sh rootfs/usr/local/etc/docker/init.d/04-tor-hidden.sh rootfs/usr/local/etc/docker/init.d/98-php.sh rootfs/usr/local/etc/docker/init.d/99-privoxy.sh
This commit is contained in:
		@@ -1,3 +1,6 @@
 | 
			
		||||
##### default rc
 | 
			
		||||
%include /config/tor/torrc
 | 
			
		||||
 | 
			
		||||
##### logging
 | 
			
		||||
LogMessageDomains 1
 | 
			
		||||
Log notice file /data/logs/tor/server.log
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,3 @@ HashedControlPassword 16:C30604D1D90F341360A14D9A1048C1DF4A3CA2411444E52EE5B954C
 | 
			
		||||
DataDirectory /data/tor
 | 
			
		||||
ControlSocket /run/tor/control.sock
 | 
			
		||||
CookieAuthFile /run/tor/control.authcookie
 | 
			
		||||
 | 
			
		||||
##### logging
 | 
			
		||||
LogMessageDomains 1
 | 
			
		||||
Log notice file /data/logs/tor/notice.log
 | 
			
		||||
 
 | 
			
		||||
@@ -239,10 +239,14 @@ __update_conf_files() {
 | 
			
		||||
  if [ "$TOR_RELAY_ENABLED" = "yes" ]; then
 | 
			
		||||
    mkdir -p "$CONF_DIR/relay.d"
 | 
			
		||||
    cat <<EOF >"$CONF_DIR/relay.conf"
 | 
			
		||||
##### default rc
 | 
			
		||||
%include /config/tor/torrc
 | 
			
		||||
 | 
			
		||||
##### relay
 | 
			
		||||
LogMessageDomains 1
 | 
			
		||||
Log notice file $LOG_DIR/relay.log
 | 
			
		||||
 | 
			
		||||
SOCKSPort 9051
 | 
			
		||||
BridgeRelay 1
 | 
			
		||||
PublishServerDescriptor 1
 | 
			
		||||
%include $CONF_DIR/relay.d/*.conf
 | 
			
		||||
@@ -239,10 +239,14 @@ __update_conf_files() {
 | 
			
		||||
  if [ "$TOR_BRIDGE_ENABLED" = "yes" ]; then
 | 
			
		||||
    mkdir -p "$CONF_DIR/bridge.d"
 | 
			
		||||
    cat <<EOF >"$CONF_DIR/bridge.conf"
 | 
			
		||||
##### default rc
 | 
			
		||||
%include /config/tor/torrc
 | 
			
		||||
 | 
			
		||||
#### bridge
 | 
			
		||||
LogMessageDomains 1
 | 
			
		||||
Log notice file /$LOG_DIR/bridge.log
 | 
			
		||||
 | 
			
		||||
SOCKSPort 9052
 | 
			
		||||
ServerTransportPlugin obfs4 exec /usr/bin/lyrebird
 | 
			
		||||
ServerTransportListenAddr obfs4 0.0.0.0:${TOR_PT_PORT:-8445}
 | 
			
		||||
 | 
			
		||||
@@ -241,10 +241,14 @@ __update_conf_files() {
 | 
			
		||||
    mkdir -p "$DATA_DIR/hidden_service"
 | 
			
		||||
    chmod 700 "$DATA_DIR/hidden_service"
 | 
			
		||||
    cat <<EOF >"$CONF_DIR/hidden.conf"
 | 
			
		||||
##### default rc
 | 
			
		||||
%include /config/tor/torrc
 | 
			
		||||
 | 
			
		||||
#### Default hidden dir
 | 
			
		||||
LogMessageDomains 1
 | 
			
		||||
Log notice file $LOG_DIR/hidden.log
 | 
			
		||||
 | 
			
		||||
SOCKSPort 9053
 | 
			
		||||
HiddenServiceDir $DATA_DIR/hidden_service/default
 | 
			
		||||
HiddenServicePort 80 127.0.0.1:80
 | 
			
		||||
%include $CONF_DIR/hidden.d/*.conf
 | 
			
		||||
		Reference in New Issue
	
	Block a user