Fix: Configuration Tor et Bitcoin pour signet custom - Tor écoute maintenant sur toutes les interfaces (0.0.0.0:9050) - Bitcoin se connecte aux nœuds onion du signet custom - Synchronisation active avec le réseau signet custom - Tous les services relancés et fonctionnels
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 29s
CI - 4NK_node / Unit Tests (push) Failing after 29s
CI - 4NK_node / Integration Tests (push) Failing after 13s
CI - 4NK_node / Security Tests (push) Failing after 27s
CI - 4NK_node / Docker Build & Test (push) Failing after 9s
CI - 4NK_node / Documentation Tests (push) Failing after 4s
CI - 4NK_node / Security Audit (push) Successful in 3s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 26s
CI - 4NK_node / Notify (push) Failing after 1s
CI - 4NK_node / Publish Release (push) Has been skipped
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 29s
CI - 4NK_node / Unit Tests (push) Failing after 29s
CI - 4NK_node / Integration Tests (push) Failing after 13s
CI - 4NK_node / Security Tests (push) Failing after 27s
CI - 4NK_node / Docker Build & Test (push) Failing after 9s
CI - 4NK_node / Documentation Tests (push) Failing after 4s
CI - 4NK_node / Security Audit (push) Successful in 3s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 26s
CI - 4NK_node / Notify (push) Failing after 1s
CI - 4NK_node / Publish Release (push) Has been skipped
This commit is contained in:
parent
78b6afbe37
commit
4aed2f7f22
@ -16,7 +16,7 @@ listen=1
|
|||||||
# Paramètres RPC
|
# Paramètres RPC
|
||||||
rpcuser=bitcoin
|
rpcuser=bitcoin
|
||||||
rpcpassword=bitcoin
|
rpcpassword=bitcoin
|
||||||
rpcallowip=192.168.240.0/20
|
rpcallowip=172.18.0.0/16
|
||||||
rpcworkqueue=32
|
rpcworkqueue=32
|
||||||
rpcthreads=4
|
rpcthreads=4
|
||||||
rpcdoccheck=1
|
rpcdoccheck=1
|
||||||
@ -33,6 +33,7 @@ proxy=4nk-tor:9050
|
|||||||
listenonion=1
|
listenonion=1
|
||||||
listen=1
|
listen=1
|
||||||
signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821
|
signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821
|
||||||
|
# Nœuds onion du réseau signet custom
|
||||||
addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion:38333
|
addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion:38333
|
||||||
addnode=d6i546e2sjezhyy2eupyc2wqtbgjnkubcjd4prhqurtlmp7nsp6yxqyd.onion:38333
|
addnode=d6i546e2sjezhyy2eupyc2wqtbgjnkubcjd4prhqurtlmp7nsp6yxqyd.onion:38333
|
||||||
# Ports Signet (P2P et RPC)
|
# Ports Signet (P2P et RPC)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
core_url=http://4nk-bitcoin:38332
|
core_url=http://4nk-bitcoin:38332
|
||||||
rpc_user=bitcoin
|
rpc_user=bitcoin
|
||||||
rpc_password=bitcoin
|
rpc_password=bitcoin
|
||||||
core_wallet=relay_wallet
|
# core_wallet=relay_wallet
|
||||||
ws_url=0.0.0.0:8090
|
ws_url=0.0.0.0:8090
|
||||||
http_url=0.0.0.0:8091
|
http_url=0.0.0.0:8091
|
||||||
wallet_name=relay_wallet.json
|
wallet_name=relay_wallet.json
|
||||||
|
@ -1,38 +1,15 @@
|
|||||||
# Configuration Tor pour 4NK_node
|
# Configuration Tor simple pour 4NK_node
|
||||||
# Proxy SOCKS et contrôle
|
# Écoute sur toutes les interfaces pour permettre la connexion depuis d'autres conteneurs
|
||||||
|
|
||||||
|
# Ports SOCKS et contrôle
|
||||||
|
SocksPort 0.0.0.0:9050
|
||||||
|
ControlPort 0.0.0.0:9051
|
||||||
|
|
||||||
# Répertoire de données
|
# Répertoire de données
|
||||||
DataDirectory /var/lib/tor
|
DataDirectory /var/lib/tor
|
||||||
PidFile /var/lib/tor/tor.pid
|
|
||||||
|
|
||||||
# Interface SOCKS
|
# Logs sur stdout pour Docker
|
||||||
SocksPort 9050
|
Log notice stdout
|
||||||
SocksListenAddress 0.0.0.0
|
|
||||||
|
|
||||||
# Interface de contrôle
|
# Désactiver le mode daemon pour Docker
|
||||||
ControlPort 9051
|
RunAsDaemon 0
|
||||||
ControlListenAddress 0.0.0.0
|
|
||||||
|
|
||||||
# Authentification du contrôle
|
|
||||||
CookieAuthentication 1
|
|
||||||
|
|
||||||
# Configuration des circuits
|
|
||||||
CircuitBuildTimeout 30
|
|
||||||
LearnCircuitBuildTimeout 0
|
|
||||||
EnforceDistinctSubnets 1
|
|
||||||
|
|
||||||
# Configuration des nœuds de sortie
|
|
||||||
ExitNodes {fr},{de},{nl},{ch}
|
|
||||||
StrictExitNodes 1
|
|
||||||
|
|
||||||
# Configuration des relais
|
|
||||||
RelayBandwidthRate 100 KB
|
|
||||||
RelayBandwidthBurst 200 KB
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
Log notice file /var/lib/tor/notice.log
|
|
||||||
Log info file /var/lib/tor/info.log
|
|
||||||
Log debug file /var/lib/tor/debug.log
|
|
||||||
|
|
||||||
# Sécurité
|
|
||||||
SafeLogging 1
|
|
||||||
|
@ -87,8 +87,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8090:8090"
|
- "8090:8090"
|
||||||
- "8091:8091"
|
- "8091:8091"
|
||||||
|
environment:
|
||||||
|
- RELAY_RPC_USER=bitcoin
|
||||||
|
- RELAY_RPC_PASSWORD=bitcoin
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/sdk_relay1.conf:/home/bitcoin/.conf:ro
|
- ./conf/sdk_relay1.conf:/home/bitcoin/.conf:ro
|
||||||
|
working_dir: /home/bitcoin
|
||||||
networks:
|
networks:
|
||||||
- 4nk_network
|
- 4nk_network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -107,8 +111,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8092:8090"
|
- "8092:8090"
|
||||||
- "8093:8091"
|
- "8093:8091"
|
||||||
|
environment:
|
||||||
|
- RELAY_RPC_USER=bitcoin
|
||||||
|
- RELAY_RPC_PASSWORD=bitcoin
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/sdk_relay2.conf:/home/bitcoin/.conf:ro
|
- ./conf/sdk_relay2.conf:/home/bitcoin/.conf:ro
|
||||||
|
working_dir: /home/bitcoin
|
||||||
networks:
|
networks:
|
||||||
- 4nk_network
|
- 4nk_network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -127,8 +135,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8094:8090"
|
- "8094:8090"
|
||||||
- "8095:8091"
|
- "8095:8091"
|
||||||
|
environment:
|
||||||
|
- RELAY_RPC_USER=bitcoin
|
||||||
|
- RELAY_RPC_PASSWORD=bitcoin
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/sdk_relay3.conf:/home/bitcoin/.conf:ro
|
- ./conf/sdk_relay3.conf:/home/bitcoin/.conf:ro
|
||||||
|
working_dir: /home/bitcoin
|
||||||
networks:
|
networks:
|
||||||
- 4nk_network
|
- 4nk_network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add --no-cache tor curl
|
RUN apk add --no-cache tor curl
|
||||||
|
|
||||||
RUN addgroup -g 1001 toruser && adduser -D -s /bin/sh -u 1001 -G toruser toruser
|
RUN addgroup -g 1001 toruser && adduser -D -s /bin/sh -u 1001 -G toruser toruser
|
||||||
RUN mkdir -p /var/lib/tor && chown -R toruser:toruser /var/lib/tor
|
RUN mkdir -p /var/lib/tor && chown -R toruser:toruser /var/lib/tor
|
||||||
|
|
||||||
USER toruser
|
USER toruser
|
||||||
EXPOSE 9050 9051
|
EXPOSE 9050 9051
|
||||||
CMD ["tor"]
|
CMD ["tor", "-f", "/etc/tor/torrc"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user