Skip to content

Commit

Permalink
Optionally build obfs4proxy in docker (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinkolik authored Aug 2, 2023
1 parent 63a2ea5 commit 6f9d11a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r re
FROM python:3.11.0a5-alpine

RUN apk add --update --no-cache tor curl openrc libstdc++
# git go //for obfs4proxy
# libcurl4-openssl-dev

RUN apk -U upgrade

# uncomment to build obfs4proxy
# RUN git clone https://gitlab.com/yawning/obfs4.git
# WORKDIR /obfs4
# RUN go build -o obfs4proxy/obfs4proxy ./obfs4proxy
# RUN cp ./obfs4proxy/obfs4proxy /usr/bin/obfs4proxy

ARG DOCKER_USER=whoogle
ARG DOCKER_USERID=927
ARG config_dir=/config
Expand Down
3 changes: 3 additions & 0 deletions misc/tor/torrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ ExtORPortCookieAuthFileGroupReadable 1
CacheDirectoryGroupReadable 1
CookieAuthFile /var/lib/tor/control_auth_cookie
Log debug-notice file /dev/null
# UseBridges 1
# ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy
# Bridge obfs4 ip and so on

0 comments on commit 6f9d11a

Please sign in to comment.