Opened 15 years ago

Last modified 8 years ago

#129 closed defect (Fixed)

policy_includes_addr_mask_implicitly is broken?

Reported by: arma Owned by: nickm
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The default exit policy rejects internal IP spaces, yet
the server warns about them on startup when you leave your
exitpolicy undefined.

Apr 28 16:07:18.083 [warn] exit_policy_implicitly_allows_local_networks(): Exit
policy (default) implicitly accepts localhost (127.x)

The "(default)" seems to imply that the if's in
policy_includes_addr_mask_implicitly are never triggered.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (2)

comment:1 Changed 15 years ago by arma

flyspray2trac: bug closed.
Turns out the bug wasn't in that function. It happened because we were checking if internal IPs were implicitly allowed, *before* appending the default exit policy.

comment:2 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.