Commit a7223cf2 authored by zeroleak's avatar zeroleak
Browse files

Tor 0.2.9 compatibility

parent 5443d152
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.samourai.code.whirlpool</groupId>
<artifactId>whirlpool-client-cli</artifactId>
<version>0.10.9</version>
<version>develop-SNAPSHOT</version>
<name>whirlpool-client-cli</name>
<properties>
<spring-boot.version>2.1.6.RELEASE</spring-boot.version>
......@@ -17,7 +17,7 @@
<dependency>
<groupId>io.samourai.code.whirlpool</groupId>
<artifactId>whirlpool-client</artifactId>
<version>0.23.23</version>
<version>develop-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
......
......@@ -218,7 +218,8 @@ public final class TorConfigBuilder {
return this;
}
public TorConfigBuilder httpTunnelPort(int port, String isolationFlags) {
// disable HTTPTunnelPort for Tor 0.2.9 compatibility
/*public TorConfigBuilder httpTunnelPort(int port, String isolationFlags) {
buffer.append("HTTPTunnelPort ").append(port);
if (!isNullOrEmpty(isolationFlags)) {
buffer.append(" ").append(isolationFlags);
......@@ -232,7 +233,7 @@ public final class TorConfigBuilder {
return httpTunnelPort(
settings.getHttpTunnelPort(),
settings.hasIsolationAddressFlagForTunnel() ? "IsolateDestAddr" : null);
}
}*/
public TorConfigBuilder line(String value) {
if (!isNullOrEmpty(value)) buffer.append(value).append("\n");
......@@ -360,7 +361,8 @@ public final class TorConfigBuilder {
: this;
}
public TorConfigBuilder reducedConnectionPadding() {
// disable ReducedConnectionPadding for Tor 0.2.9 compatibility
/*public TorConfigBuilder reducedConnectionPadding() {
buffer.append("ReducedConnectionPadding 1").append('\n');
return this;
}
......@@ -368,7 +370,7 @@ public final class TorConfigBuilder {
@SettingsConfig
public TorConfigBuilder reducedConnectionPaddingFromSettings() {
return settings.hasReducedConnectionPadding() ? reducedConnectionPadding() : this;
}
}*/
public void reset() {
buffer = new StringBuffer();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment