Opened 4 years ago

Closed 4 years ago

#18671 closed defect (user disappeared)

ExitPolicy doesn't play well with ipv6

Reported by: Sebastian Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Stem Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Tor and Stem seem to have different notions of what "accept *:*" means. According to Tor, that means both ipv4 and ipv6 are covered, so "accept *:*\naccept6 *:*" is redundant. Stem seems to disagree

Child Tickets

Change History (2)

comment:1 Changed 4 years ago by atagar

Status: newneeds_information

Really? That surprises me...

>>> accept_all = ExitPolicyRule('accept *:*')
>>> accept_all.is_match('', 80)
>>> accept_all.is_match('FE80:0000:0000:0000:0202:B3FF:FE1E:8329', 80)

Mind clarifying what you're seeing?

comment:2 Changed 4 years ago by atagar

Resolution: user disappeared
Status: needs_informationclosed
Note: See TracTickets for help on using tickets.