mirror of
https://github.com/fphammerle/docker-tor-proxy.git
synced 2025-10-27 02:43:35 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| db4522974f |
+6
-1
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.1.1] - 2020-03-21
|
||||
### Fixed
|
||||
- Fix invalid torrc path
|
||||
|
||||
## [1.1.0] - 2020-03-21
|
||||
### Added
|
||||
- Change `SocksTimeout` option by setting `$SOCKS_TIMEOUT_SECONDS`
|
||||
@@ -18,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Added
|
||||
- Tor Socks5 & DNS proxy
|
||||
|
||||
[Unreleased]: https://github.com/fphammerle/docker-tor-proxy/compare/v1.1.0...HEAD
|
||||
[Unreleased]: https://github.com/fphammerle/docker-tor-proxy/compare/v1.1.1...HEAD
|
||||
[1.1.1]: https://github.com/fphammerle/docker-tor-proxy/compare/1.0.0...v1.1.1
|
||||
[1.1.0]: https://github.com/fphammerle/docker-tor-proxy/compare/1.0.0...v1.1.0
|
||||
[1.0.0]: https://github.com/fphammerle/docker-tor-proxy/releases/tag/1.0.0
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ set -e
|
||||
# default: 120 sec
|
||||
# https://github.com/torproject/tor/blob/tor-0.4.1.7/src/core/or/connection_edge.c#L1099
|
||||
if [ -z "$SOCKS_TIMEOUT_SECONDS" ]; then
|
||||
sed -e '/{socks_timeout_seconds}/d' /torrc.template > /tmp/torrc
|
||||
sed -e '/{socks_timeout_seconds}/d' /torrc.template > /etc/tor/torrc
|
||||
else
|
||||
sed -e "s/{socks_timeout_seconds}/$SOCKS_TIMEOUT_SECONDS/" /torrc.template > /tmp/torrc
|
||||
sed -e "s/{socks_timeout_seconds}/$SOCKS_TIMEOUT_SECONDS/" /torrc.template > /etc/tor/torrc
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user