summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 4297 - Update BridgeDB's front-end Server.pyaagbsn2012-05-29
| | | | | Front-end's to the HTTPS and email distributors now make use of the address class filtering available in IPBasedDistributor
* 4297 - add Tests for BridgeDB IPv6 upgradesaagbsn2012-05-29
| | | | | | Test descriptor file parsing, or-address, and mixed address class (IPv4 and IPv6) or-addresses. Tests for IPBasedDistributor and FilteredBridgeSplitter
* 4297 - Add ipv6 keyword to EmailBasedDistributoraagbsn2012-05-29
| | | | | Updates the EmailBasedDistributor to support 'ipv6' keyword in the subject or mail body
* 4297 - IPBasedDistributor learns to sort bridgesaagbsn2012-05-29
| | | | | | IPBasedDistributor now uses the FilteredBridgeSplitter to sort bridges into subrings based on the address class of the Bridges' ip(s) (including addresses parsed from the new or-address spec).
* 4297 - FilteredBridgeSplitter - sorting bridgesaagbsn2012-05-29
| | | | | | | | | | | | | | | | | | The FilteredBridgeSplitter sorts bridges into subrings. The subrings are defined by filter functions. For example, to filter bridges by ORport > 9000: def filterBridgesOver9000(bridge): if bridge.orport > 9000: return True Example in context: d = FilteredBridgeSplitter(key) d.addRing(BridgeRing, 'Bridges with ORPort > 9000', filterBridgesOver9000) When d.insert(bridge) is called, bridges will be inserted into all subrings whose filter function returns True.
* 4297 - parse or-addresses from bridge descriptorsaagbsn2012-05-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates parseBridgeDesc to read or-address line from bridge descriptors, and adds a container class PortList parseBridgeDesc adds parseORAddress which parses or-address lines. Valid address:portspec are added to each Bridge object in a dictionary of or-address:PortList key:values. class PortList is a container class that represents the or-address PORTSPEC field, which is a list of ports and port ranges. The implementation contains an efficient representation of port-ranges, implements __contains__ for single ports and port-ranges, and will also squash or merge port ranges that intersect. The getPort() function returns a single valid port (as defined by the PORTSPEC line). Each subsequent call to getPort() will iterate over the valid ports, so that BridgeDB may return a single 'bridge' line for inclusion in torrc and uniformly distribute the available ports. getConfigLine may be passed 'selectFromORAddresses=True', which will return a valid config line from the set of addresses and ports. Filtering for IPv6 or IPv4 addresses is supported, if there are no matches in or-addresses BridgeDB will return the primary ip:orport instead. Also added is a generator 'getAllConfigLines()' which will return every valid address:port (including expanding ranges of ports - which may be a lot of output) combination a bridge supports, one per line.
* 4297 - add draft proposal to repoaagbsn2012-05-02
| | | | | This is the draft proposal that was sent to tor-dev on Dec 5, 2011 plus the addition of the new SQL schema for storing or-addresses.
* 5367 - Fix python gotcha in __init__aagbsn2012-05-01
| | | | | | | Python default arguments are only parsed once, therefore the list was shared between all instances. See: http://www.ferg.org/projects/python_gotchas.html
* 5331 - Add log rotation to BridgeDBaagbsn2012-03-08
| | | | | | | | | Switches BridgeDB logger to use RotatingFileHandler. The defaults are to keep 5 backups, of 10MB each. Adds LOGFILE_COUNT, LOGFILE_ROTATE_SIZE to bridgedb.conf, and sets the default value for LOGLEVEL to WARNING. Thanks to weasel for this patch.
* 5258 - make SMTP server configurableaagbsn2012-03-07
|
* change linus's ivp6 address, and also avoid ^bridgeRoger Dingledine2012-03-06
| | | | | the theory is that the bots that are scraping bridgedb were scraping his ipv6 bridge too, since they look for ^bridge
* advertise linus's ipv6 bridge too (ticket 4831)Roger Dingledine2012-02-14
|
* byblos runs python2.6 nowRoger Dingledine2012-02-14
|
* 4056-add smart defaults for recaptcha settingsaagbsn2011-09-30
| | | | | If RECAPTCHA_* configuration options are not present in bridgedb.conf, bridgedb disables recaptcha support.
* 4056-cleanDatabase has wrong function nameaagbsn2011-09-30
| | | | | Call the correct function name. cleanWarnedBridges() renamed to cleanWarnedEmails()
* point to correct entry in I18n.BRIDGEDB_TEXTaagbsn2011-09-20
| | | | | use correct text for blocked bridges this didn't get changed when merging.
* import after logging is configuredaagbsn2011-09-20
| | | | | | | | | | | | | bridgedb.Server tries to graciously import GeoIP support, but because logging is not yet configured at import time Python creates a default handler that goes to the console and ignores further basicConfig calls See also: http://stackoverflow.com/questions/1943747/ \ python-logging-before-you-run-logging-basicconfig Our solution is to relocate the import so that configureLogging() is called first.
* update READMEaagbsn2011-09-18
|
* add email domains to captcha templateaagbsn2011-09-18
|
* 1836 - recaptcha supportaagbsn2011-09-18
| | | | | | This set of changes adds recaptcha support to bridgedb. The implementation proxies responses from clients to preserve their privacy.
* 1860 - email rate limiting supportaagbsn2011-09-18
| | | | | | This set of changes implements email rate-limiting for the EmailBasedDistributor. Abusers are warned, and then temporarily blacklisted.
* 1608 - don't give out known blocked bridgesaagbsn2011-09-18
| | | | | | This set of changes allows bridgedb to filter responses by country; if a bridge is known to be blocked in a country it can be filtered from the set of returned bridges.
* 2678 - filter bridges in same /16 from responseaagbsn2011-09-18
|
* change our hard-coded smtp serverRoger Dingledine2011-09-15
|
* Merge branch 'spec'Karsten Loesing2011-04-12
|\
| * Add two sentences from the old proposal idea.Karsten Loesing2011-04-12
| |
| * Replace MAY/MUST/SHOULD with description of what BridgeDB does.Karsten Loesing2011-04-12
| | | | | | | | | | | | The BridgeDB specification is meant as a description what the current BridgeDB code does, not what a compatible BridgeDB implementation is expected to do.
| * Respond to Nick's comments.Karsten Loesing2011-04-12
| |
| * Answer some questions in bridge-db-spec.txt; add some textNick Mathewson2011-02-14
| |
| * Finish first draft of bridge-db-spec.txt.Karsten Loesing2011-02-14
| |
| * Add first version of bridge-db-spec.txt.Karsten Loesing2011-02-13
| |
* | Fix http utf8 issue: Add a content-type header to the HTML.Christian Fromme2011-04-09
| |
* | Add new translation files for cs, es, pl_PL, sl_SI and zh_CNChristian Fromme2011-04-09
| |
* | Cherry-pick from Karsten's #2688 branchChristian Fromme2011-03-31
| |
* | Filter non-pseudo distributors early to omit disaster.Christian Fromme2011-03-31
| |
* | Fix part 2 of #2688:Christian Fromme2011-03-31
| | | | | | | | - Don't append to bucket files, overwrite existing files if necessary.
* | Fix part 1 of #2688:Christian Fromme2011-03-31
| | | | | | | | - Don't re-assign buckets when its not necessary.
* | Merge branch 'dump-rebased'Karsten Loesing2011-03-13
|\ \
| * | Dump bridge pool assignments to a file for statistics.Karsten Loesing2011-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch we dump the list of currently running bridges with information about their assigned rings, subrings, and file buckets to a local file. The idea is to publish sanitized versions of these assignment files and analyze how the assignment affects a bridge's usage. The assignment file is written on startup and after receiving a HUP signal and parsing new bridge descriptors. Note that the assignments file is not updated when bridges are dumped to file buckets; in that case the changed assignments to file buckets will be reflected in the assignments file after the next HUP. Also note that the assignment file only contains bridges that are believed to be running from parsing the last network status. As a result, bridges that are contained in file buckets, but that are not believed to be running, won't be contained in the assignment file.
* | | Add a more verbose comment on what insertBridgeAndGetRing() does now.Christian Fromme2011-03-10
|/ /
* | Fix #2557: Don't crash if a distributor gets disabled.Christian Fromme2011-03-06
| |
* | Fix german translation. Thanks, qbi!Christian Fromme2011-02-15
| |
* | Fix katmagic's commit f87a57b55aacd5119389842170e8d8329796e9b2Christian Fromme2011-02-15
| |
* | Fix rransom's commit 5faa1d3edea943f8b6b6e8f5e74ed70f18d17fa3Christian Fromme2011-02-15
| |
* | Fix #2556. Thanks to karsten for reporting.Christian Fromme2011-02-15
| |
* | Fix some issues that popped up during BridgeDB deploymentChristian Fromme2011-02-15
| | | | | | | | | | | | - Install translations to ~/ by default instead of /usr - Use ~ as prefix by default - Make sure pseudo distributors don't end up as actual ring names
* | Update .pot and .po files and instructions for updating them.Robert Ransom2011-01-01
| |
* | Internationalize the ‘e-mail requests broken’ message.Robert Ransom2010-12-11
| |
* | Identify the ‘no bridges’ message using a positive index.Robert Ransom2010-12-11
| |
* | Display a useful message if no e-mail domains are supported.Robert Ransom2010-12-11
| |