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

Re: [tor-bugs] #7193 [Core Tor/Tor]: Tor's sybil protection doesn't consider IPv6



#7193: Tor's sybil protection doesn't consider IPv6
-------------------------------------------------+-------------------------
 Reporter:  asn                                  |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ipv6, intro, tor-dirauth, security,  |  Actual Points:
  sybil, network-health, outreachy-ipv6          |
Parent ID:  #24403                               |         Points:  1
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor55-can
-------------------------------------------------+-------------------------

Comment (by maurice_pibouin):

 I am writing tests for my modified implementation of
 "compare_routerinfo_by_ip_and_bw_", and I have trouble using the MOCK_DECL
 and MOCK_IMPL macros. I am trying to MOCK the function
 "routerdigest_is_trusted_dir_type", so I put a MOCK_DECL statement in
 dirlist.h, and a MOCK_IMPL statement in dirlist.c . On compilation, it
 doesn't work : I get "redefinition of
 ‘router_digest_is_trusted_dir_type’". I also tried a bunch of different
 location for both statements.
 See my branch : https://github.com/vnepveu/tor/tree/ticket7193_exp

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7193#comment:22>
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