Opened 10 years ago

Last modified 7 years ago

#1002 closed defect (Fixed)

tor writes logs too often (DoS)

Reported by: gentootor Owned by:
Priority: High Milestone:
Component: Core Tor/Tor Version: 0.2.0.34
Severity: Keywords:
Cc: gentootor Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I recently switched from BandwithAccounting to RelayBandWidth rate, and tor promptly hit the file descriptor limit.
Instead of writing a helpful log entry and perhaps refusing new connections, tor wrote log entries over 20 times per second, causing the resulting 1.9gb file to fill my /var partition and impact upon other running services.
Apart from being annoying, this looks like an easy way to DoS a relay.

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Attachments (1)

torlog (3.2 KB) - added by gentootor 10 years ago.
an excerpt of tor.log

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by gentootor

Attachment: torlog added

an excerpt of tor.log

comment:1 Changed 10 years ago by arma

Already fixed in 0.2.1.5-alpha, in r16479. Also a duplicate of bug 748.

Gentootor: you could try 0.2.1.15-rc and see if you like that one more.

comment:2 Changed 10 years ago by gentootor

My apologies, I did search but obviously not well enough.

comment:3 Changed 10 years ago by nickm

flyspray2trac: bug closed.

comment:4 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.