Merge branch '573-hidden-service-for-crash-reports-and-feedback' into 'master'
Server-side code for accepting crash reports and feedback * Moved some shared code for copying InputStreams to OutputStreams into a utility class * Modified the dev report sender to send one report per connection * Easier to handle on the server side * If the connection fails after sending any reports, they don't need to be resent * Tor will reuse the circuit, so it's cheap * Added server-side code for accepting dev reports * We need to protect the server's resources from DoS attacks * Reports can't be larger than 1 MB * Connections are limited to an average rate of one per minute * The rate limiter uses a token bucket to allow bursts of up to 1,000 connections * If the rate limit is exceeded, connection attempts will fail - clients will retry next time they sign in * The limits can be raised when we move to a bigger server (and when we have some users) See merge request !288
No related branches found
No related tags found
Showing
- briar-android/src/org/briarproject/android/util/AndroidUtils.java 2 additions, 2 deletions...droid/src/org/briarproject/android/util/AndroidUtils.java
- briar-android/src/org/briarproject/plugins/tor/TorPlugin.java 7 additions, 24 deletions...r-android/src/org/briarproject/plugins/tor/TorPlugin.java
- briar-api/src/org/briarproject/api/crypto/CryptoComponent.java 7 additions, 2 deletions...-api/src/org/briarproject/api/crypto/CryptoComponent.java
- briar-core/src/org/briarproject/crypto/CryptoComponentImpl.java 33 additions, 3 deletions...core/src/org/briarproject/crypto/CryptoComponentImpl.java
- briar-core/src/org/briarproject/crypto/MessageEncrypter.java 2 additions, 1 deletionbriar-core/src/org/briarproject/crypto/MessageEncrypter.java
- briar-core/src/org/briarproject/reporting/DevReportServer.java 145 additions, 0 deletions...-core/src/org/briarproject/reporting/DevReportServer.java
- briar-core/src/org/briarproject/reporting/DevReporterImpl.java 31 additions, 40 deletions...-core/src/org/briarproject/reporting/DevReporterImpl.java
- briar-core/src/org/briarproject/util/IoUtils.java 40 additions, 0 deletionsbriar-core/src/org/briarproject/util/IoUtils.java
- briar-tests/src/org/briarproject/TestUtils.java 2 additions, 2 deletionsbriar-tests/src/org/briarproject/TestUtils.java
Loading
Please register or sign in to comment