[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12378 [Tor]: Tor configuration policies using network CIDR syntax should clamp mask bits appropriately



#12378: Tor configuration policies using network CIDR syntax should clamp mask bits
appropriately
------------------------+--------------------------------
     Reporter:  anon    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  config exit-policy
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by anon):

 Suggested tests to confirm working clamps:

 224.0.0.0/3 clamped to 224.0.0.0/8
 10.254.0.0/8 clamped to 10.254.0.0/16
 10.11.12.13/32 NOT clamped (left at /32)
 10.0.0.0/24 NOT clamped (leading zeroes not indicative of useful network
 prefix length)

 Test that invalid CIDR netmasks result in warning but are accepted.

 IPv6 CIDR tests? or perhaps 4in6 CIDR verifications? These may be useful.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12378#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs