linugerx.blogg.se

Tor bridge db
Tor bridge db










tor bridge db

The IP version of bridge addresses to distribute to the client. valid ( bool) – Should be True if the client’s request was valid.The request for bridges, such that we are able to HMAC this uniqueĭata in order to place the client into a hashring (determining whichīridge addresses they get in the request response). client ( str) – This should be some information unique to the client making.The distributedīridges should not be blocked in these countries. notBlockedIn ( list) – A list of two-character country codes.transports ( list) – A list of strings of Pluggable Transport types requested.filters ( list) – A list of callables used to filter bridges from a hashring.class BridgeRequestBase ( ipVersion=None ) ¶Ī generic base class for storing options of a client bridge request.

tor bridge db

withoutBlockInCountry ( countr圜ode ) ¶Īdd this countr圜ode to the list of countries which distributedīridges should not be blocked in ( notBlockedIn). withPluggableTransportType ( typeOfPT ) ¶Īdd this typeOfPT to the list of requested transports. isValid ( ) ¶ĭetermine if the request is valid according to some parameters. With :class: `~`s in it, in order to give thatĬlient different bridges than other clients. Obtain a value which we can use to place them into one of the hashrings Use some unique parameters of the client making this request to generateFilters ( ) ¶īuild the list of callables, filters, according to the currentĬontents of the lists of transports, notBlockedIn, and the clearFilters ( ) ¶Ĭlear the list of filters. addFilter ( ) ¶Īdd a filter to the list of filters. This should be some information unique to the client making the request for bridges, such that we are able to HMAC this unique data, via getHashringPlacement(), in order to place the client into a hashring (determining which bridge addresses they get in the request response). Should be True if the client’s request was valid. The distributed bridges should not be blocked in these countries. notBlockedIn ¶Ī list of two-character country codes. transports ¶Ī list of strings of Pluggable Transport types requested. filters ¶Ī list of callables used to filter bridges from a hashring. Interface specification of client options for requested bridges. API for creating classes which store information on the type of bridges












Tor bridge db