svengo / docker-tor Goto Github PK
View Code? Open in Web Editor NEWSimple Docker container to run a Tor node.
Home Page: https://hub.docker.com/r/svengo/tor
License: The Unlicense
Simple Docker container to run a Tor node.
Home Page: https://hub.docker.com/r/svengo/tor
License: The Unlicense
Tracking issue for:
tor 0.4.4.7 fails to build using alpine 3.13.1 (latest) and libressl 3.1.5.
Reported as tor issue: https://gitlab.torproject.org/tpo/core/tor/-/issues/40278.
$ docker build .
[...]
CC src/lib/tls/libtor_tls_a-tortls_openssl.o
In file included from /usr/include/openssl/bio.h:69,
from /usr/include/openssl/evp.h:67,
from /usr/include/openssl/hmac.h:67,
from /usr/include/openssl/ssl.h:150,
from src/lib/tls/tortls_openssl.c:48:
/usr/include/openssl/crypto.h:335:39: error: macro "OpenSSL_version_num" passed 1 arguments, but takes just 0
335 | unsigned long OpenSSL_version_num(void);
| ^
In file included from src/lib/tls/tortls_openssl.c:34:
./src/lib/crypt_ops/compat_openssl.h:37: note: macro "OpenSSL_version_num" defined here
37 | #define OpenSSL_version_num() SSLeay()
|
make[1]: *** [Makefile:17838: src/lib/tls/libtor_tls_a-tortls_openssl.o] Error 1
make[1]: Leaving directory '/tmp/tor-0.4.4.7'
make: *** [Makefile:7156: all] Error 2
Tor 0.4.5.6 make test
fails in a docker container under alpine 3.13.1.
util/glob:
FAIL src/test/test_util.c:4572: assert(smartlist_len(results) OP_EQ sizeof(results_test10)/sizeof(*results_test10)): 0 vs 1
[glob FAILED]
Reported to https://gitlab.torproject.org/tpo/core/tor/-/issues/40293.
I have errors running the latest version:
Error loading shared library libssl.so.45: No such file or directory (needed by /usr/bin/tor)
Error loading shared library libcrypto.so.43: No such file or directory (needed by /usr/bin/tor)
Error relocating /usr/bin/tor: ENGINE_get_default_ECDSA: symbol not found
Error relocating /usr/bin/tor: SSL_export_keying_material: symbol not found
Build tor and libressl form source:
The HEALTHCHECK command in Dockerfile doesn't seem to work:
sven@erebor:~$ docker inspect --format "{{json .State.Health }}" 196f25856b9d | jq
{
"Status": "unhealthy",
"FailingStreak": 4,
"Log": [
{
"Start": "2024-07-12T16:45:34.151339146+02:00",
"End": "2024-07-12T16:45:34.196747374+02:00",
"ExitCode": 1,
"Output": "curl: (7) Failed to connect to localhost port 23 after 0 ms: Couldn't connect to server\n"
}
]
}
MicroBadger.com will shutdown on 1st July 2021: https://microbadger.com/shutdown
Currently using the workaround from kelseyhightower/confd#476 (comment). Should be changed if issue getenv with defaults kelseyhightower/confd#476 is solved.
make test
fails:
util/fgets_eagain:
FAIL src/test/test_util.c:3970: assert(retptr OP_EQ buf): 0 vs 0x7ffc8ab24324
[fgets_eagain FAILED]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.