mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Merge remote-tracking branch 'origin/maint-0.2.4'
This commit is contained in:
commit
feeef00a6a
3
changes/bug8093.part1
Normal file
3
changes/bug8093.part1
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features:
|
||||
- Downgrade "unexpected SENDME" warnings to protocol-warn for 0.2.4,
|
||||
for bug 8093.
|
@ -1494,9 +1494,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
|
||||
if (layer_hint) {
|
||||
if (layer_hint->package_window + CIRCWINDOW_INCREMENT >
|
||||
CIRCWINDOW_START_MAX) {
|
||||
/*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
|
||||
log_fn(LOG_WARN, LD_PROTOCOL,
|
||||
"Bug/attack: unexpected sendme cell from exit relay. "
|
||||
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
|
||||
"Unexpected sendme cell from exit relay. "
|
||||
"Closing circ.");
|
||||
return -END_CIRC_REASON_TORPROTOCOL;
|
||||
}
|
||||
@ -1507,9 +1506,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
|
||||
} else {
|
||||
if (circ->package_window + CIRCWINDOW_INCREMENT >
|
||||
CIRCWINDOW_START_MAX) {
|
||||
/*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
|
||||
log_fn(LOG_WARN, LD_PROTOCOL,
|
||||
"Bug/attack: unexpected sendme cell from client. "
|
||||
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
|
||||
"Unexpected sendme cell from client. "
|
||||
"Closing circ (window %d).",
|
||||
circ->package_window);
|
||||
return -END_CIRC_REASON_TORPROTOCOL;
|
||||
|
Loading…
Reference in New Issue
Block a user