From 9970571979b5853d81c2eb827ebd1082a7130c7e Mon Sep 17 00:00:00 2001 From: agb19 <48634989+agb19@users.noreply.github.com> Date: Mon, 3 Jun 2019 10:08:46 +0000 Subject: [PATCH] Fix "useless use of IPv6" in Tor socket Implements the "possible fix" described in issue #2840 by appending the directive `java.net.preferIPv4Stack=true` to the JVM options. Tested successfully on Debian 9 and Tails 3.14, using platform Tor and onion-grater. --- desktop/package/linux/package.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/package/linux/package.sh b/desktop/package/linux/package.sh index b75785722c1..8b00ef7e49a 100755 --- a/desktop/package/linux/package.sh +++ b/desktop/package/linux/package.sh @@ -108,6 +108,7 @@ $JAVA_HOME/bin/javapackager \ -srcfiles desktop-$version-all.jar \ -appclass bisq.desktop.app.BisqAppMain \ -BjvmOptions=-Xss1280k \ + -BjvmOptions=-Djava.net.preferIPv4Stack=true \ -outfile Bisq-$version \ -v @@ -133,6 +134,7 @@ $JAVA_HOME/bin/javapackager \ -srcfiles desktop-$version-all.jar \ -appclass bisq.desktop.app.BisqAppMain \ -BjvmOptions=-Xss1280k \ + -BjvmOptions=-Djava.net.preferIPv4Stack=true \ -outfile Bisq-$version \ -v