David Goulet
|
acf7ea77d8
dos: Add the connection DoS mitigation subsystem
|
%!s(int64=6) %!d(string=hai) anos |
David Goulet
|
c05272783d
dos: Track new and closed OR client connections
|
%!s(int64=6) %!d(string=hai) anos |
Nick Mathewson
|
eecfed0cd2
Merge branch 'maint-0.2.8' into maint-0.2.9
|
%!s(int64=7) %!d(string=hai) anos |
Nick Mathewson
|
f7151387d9
Merge branch 'maint-0.2.5' into maint-0.2.8
|
%!s(int64=7) %!d(string=hai) anos |
Nick Mathewson
|
95238eb917
Fix a traceback when closing a blocked connection "immediately".
|
%!s(int64=7) %!d(string=hai) anos |
Nick Mathewson
|
8b93cbc16d
Merge branch 'bug20716_026' into maint-0.2.9
|
%!s(int64=8) %!d(string=hai) anos |
overcaffeinated
|
3b6da3f90c
Fix memory leak in bug 20716
|
%!s(int64=8) %!d(string=hai) anos |
Nick Mathewson
|
d1b45786b1
Document connection_or.c and connection.c at module level
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
32fbc9738a
Fix OOS comparator fix
|
%!s(int64=8) %!d(string=hai) anos |
David Goulet
|
9e1cb3660b
Fix duplicated if condition in connection.c
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
9a09513c0b
Use connection_mark_for_close() rather than connection_mark_on_flush() on OOS
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
31028af440
Add DisableOOSCheck option, on by default until we have better heuristics
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
3efe92ba58
Consider the case that a connection doesn't have a valid socket during OOS
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
1a7709d409
Add connection_is_moribund() inline
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
dbdac1dc27
s/connection_handle_oos/connection_check_oos/g per code review
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
e17083b432
Unit test for kill_conn_list_for_oos()
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
26c2ded00c
Unit test for connection_handle_oos()
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
709f2cbf58
Implement OOS comparator
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
d502efbd47
Implement pick_oos_victims() except for sort step
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
e9464737af
Implement kill_conn_list_for_oos()
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
c76d45bdec
Stub out pick_oos_victims() and kill_conn_list_for_oos()
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
2bc19171ef
Implement connection_count_moribund() for OOS handler
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
4f253d4c67
Don't say OOS unless the ConnLimit thresholds have been set
|
%!s(int64=8) %!d(string=hai) anos |
Andrea Shepard
|
34d9d02150
Stub out connection_handle_oos() and call it from places we can change the socket count or thresholds
|
%!s(int64=8) %!d(string=hai) anos |
Nick Mathewson
|
7b896fe61e
Remove/fix remaining evbuffer references
|
%!s(int64=8) %!d(string=hai) anos |
Nick Mathewson
|
4d4ccc505b
Search for remaining references to 'bufferevent'.
|
%!s(int64=8) %!d(string=hai) anos |
Nick Mathewson
|
46ef4487d3
Remove generic_buffer_*() functions as needless.
|
%!s(int64=8) %!d(string=hai) anos |
Nick Mathewson
|
c68a23a135
Bufferevent removal: remove HAS_BUFFEREVENT macros and usage
|
%!s(int64=8) %!d(string=hai) anos |
U+039b
|
c735220a0b
Remove bufferevents dead code
|
%!s(int64=8) %!d(string=hai) anos |
Nick Mathewson
|
d6b2af7a3a
Merge branch 'bug19180_easy_squashed'
|
%!s(int64=8) %!d(string=hai) anos |