Opened 4 years ago

Closed 3 years ago

#18671 closed defect (user disappeared)

ExitPolicy doesn't play well with ipv6

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

Description

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('87.0.0.1', 80)
True
>>> accept_all.is_match('FE80:0000:0000:0000:0202:B3FF:FE1E:8329', 80)
True

Mind clarifying what you're seeing?

comment:2 Changed 3 years ago by atagar

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