Hi atagar,
./run_nyx
gives an empty
exit policy:
line in that case - is this bug or a feature?
:-)
Example for a wrong line:
ExitPolicy reject6 <snip>/32
Good is
ExitPolicy reject6 [<snip>]/32
Tested with latest stem and nyx Git trees.
Thanks Toralf. Took a quick peek but this is gonna require more thought. Tor's IPv6 addrspec states that policies should have brackets...
https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n1282
... but the torrc is looser...
https://www.torproject.org/docs/tor-manual.html.en#ExitPolicy
Stem accounts for this by adding brackets when reading from a torrc file, but requiring them from other spots through the control port. So question is 'how is nyx fetching this?'. If its coming from certain control port commands then this is a tor bug, whereas with other spots it's a stem or nyx bug.
Regardless, please file a ticket for this with actual torrc lines that reproduce the issue...
https://nyx.torproject.org/#report_bug
On Sat, Apr 7, 2018 at 2:24 AM, Toralf Förster toralf.foerster@gmx.de wrote:
Hi atagar,
./run_nyx
gives an empty
exit policy:
line in that case - is this bug or a feature?
:-)
Example for a wrong line:
ExitPolicy reject6 <snip>/32
Good is
ExitPolicy reject6 [<snip>]/32
Tested with latest stem and nyx Git trees.
-- Toralf PGP C4EACDDE 0076E94E
tor-relays@lists.torproject.org