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

[tor-bugs] #5852 [BridgeDB]: WebResource.getBridgeRequestAnswer() is unhappy about IPv6 addresses



#5852: WebResource.getBridgeRequestAnswer() is unhappy about IPv6 addresses
----------------------+-----------------------------------------------------
 Reporter:  ln5       |          Owner:     
     Type:  defect    |         Status:  new
 Priority:  normal    |      Milestone:     
Component:  BridgeDB  |        Version:     
 Keywords:            |         Parent:     
   Points:            |   Actualpoints:     
----------------------+-----------------------------------------------------
 Logs on ponticum fill up with warnings about badly formed
 X-Forwarded-For headers.  Most (all?) of them appear to be IPv6
 addresses.

 Bridges.is_valid_ip() recognizes IPv4 addresses only.

 I don't know if extending is_valid_ip() is the right thing to do but
 it might.  I haven't looked into other usage of it.

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