> The other mailing list server I'm running and administering at the moment
> was attacked by some idiot who had sent about 50 subsequent messages to
> the majordomo address - each message containing +100 lines of the
> majordomo command 'lists'.
For a quick hack, at line 166, change this line:
while (<>) {
to something like this:
while (<> and $count<4) {
to limit each incoming message to three commands.
In the do_lists routine you might also add something like:
$count += 100;
so that after one "lists" command it decides it's done.
Regards,
John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies",
Information Superhighwayman wanna-be, http://iecc.com/johnl, Sewer Commissioner
Finger for PGP key, f'print = 3A 5B D0 3F D9 A0 6A A4 2D AC 1E 9E A6 36 A3 47
References:
|
|