Skip to content
Snippets Groups Projects
Commit c16c4c38 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Use port 35353 for testing, not 5353.

Apparently 5353 is commonly used for mDNS, and so counts as "already in
use" on many consumer machines.
parent 841f813a
No related branches found
No related tags found
1 merge request!408Use port 35353 for testing, not 5353.
......@@ -88,7 +88,7 @@ fi
(
set +e
"$cmd" proxy -c "${CHUTNEY_PATH}/net/nodes/arti.toml" -d 5353 &
"$cmd" proxy -c "${CHUTNEY_PATH}/net/nodes/arti.toml" -d 35353 &
pid=$!
echo "target=$target" > tests/chutney/arti.run
echo "pid=$pid" >> tests/chutney/arti.run
......
......@@ -2,8 +2,8 @@
curl http://example.com -vs --socks5-hostname 127.0.0.1:9150 -o /dev/null
[ "$(dig @127.0.0.1 -p 5353 +short example.com A)" == "93.184.216.34" ]
[ "$(dig @127.0.0.1 -p 35353 +short example.com A)" == "93.184.216.34" ]
## This test only work on a chutney network with IPv6 support such as ipv6-exit-min,
## sadly such a network can't run in CI because there is no IPv6 in docker.
#[ "$(dig @127.0.0.1 -p 5353 +short example.com AAAA)" == "2606:2800:220:1:248:1893:25c8:1946" ]
#[ "$(dig @127.0.0.1 -p 35353 +short example.com AAAA)" == "2606:2800:220:1:248:1893:25c8:1946" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment