🗃️ 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:
casjay 2025-01-06 14:49:18 -05:00
parent c90a1d06f8
commit 478b710461
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
7 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,6 @@
##### default rc
%include /config/tor/torrc
##### logging
LogMessageDomains 1
Log notice file /data/logs/tor/server.log

View File

@ -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

View File

@ -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

View File

@ -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}

View File

@ -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