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

Re: [tor-bugs] #4297 [BridgeDB]: Teach bridgedb how to handle descriptors with IPv6 addresses



#4297: Teach bridgedb how to handle descriptors with IPv6 addresses
-------------------------+--------------------------------------------------
 Reporter:  ln5          |          Owner:  aagbsn  
     Type:  enhancement  |         Status:  accepted
 Priority:  normal       |      Milestone:          
Component:  BridgeDB     |        Version:          
 Keywords:  ipv6         |         Parent:  #4563   
   Points:               |   Actualpoints:          
-------------------------+--------------------------------------------------
Changes (by karsten):

 * cc: arma (added)


Comment:

 Replying to [comment:10 aagbsn]:
 > 3. Make ipv6 addresses persistent in BridgeDB's database.
 >   The one place where the Bridge address seems to matter is in
 Bucket.py. Presently BridgeDB does not store ipv6 addresses in its
 database; probably an oversight. One solution would be to add a new table
 in BridgeDB's database for or-addresses in order to accommodate variable-
 length or-addresses.Presently Bucket.dumpBridges() just writes an
 address:port on each line, and each line represents a single bridge.
 Bucket.dumpBridges() could be modified to write multiple lines per bridge.
 Will it be a problem that a single bridge may be represented by multiple
 lines without any indication that this is the case?

 Storing IPv6 addresses in the database probably makes sense.

 With respect to file buckets, hmm.  We don't use file buckets right now,
 do we?  That means we'll have to speculate how a hypothetical user would
 want the files to look like.  I could imagine that a single line per
 bridge with `"<ipv4 address:port>[ <ipv6 address:port>]*"` would be a
 useful format, but I'm not even a hypothetical user.  The single-line-per-
 bridge format also makes sense for #5482 where we're going to add
 stability and reachability information to file buckets, and those are per-
 bridge, too.  What does arma think about this all?

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