Re: [Lit.] Buffer overruns
From: Phil Carmody (thefatphil_demunged_at_yahoo.co.uk)
Date: 01/31/05
- Next message: Rob Slade, doting grandpa of Ryan and Trevor: "REVIEW: "Modern Cryptography: Theory and Practice", Wenbo Mao"
- Previous message: Anne & Lynn Wheeler: "Re: [Lit.] Buffer overruns"
- In reply to: infobahn: "Re: [Lit.] Buffer overruns"
- Next in thread: infobahn: "Re: [Lit.] Buffer overruns"
- Reply: infobahn: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 31 Jan 2005 17:39:29 +0200
infobahn <infobahn@btinternet.com> writes:
> Phil Carmody wrote:
> >
>
> <snip>
>
> > And to be honest, I think pulling the DoS card is a bit cheap. One can DoS
> > most things using _valid_ input just as easily as using invalid input.
>
> Cheap? I think that sounds rather expensive! :-)
>
> Seriously. If you can DoS the program using valid input, it has
> major problems. Expensive problems.
Which takes more CPU power:
1) A test in PHP to see if a search key has the right form, and
rejecting a malformed key.
2) That test, passed, followed by a SQL query to extract the record
corresponding to a valid key.
Part of the point about validating input is to enable you to reject
requests before doing too much work. It follows that the ones you
don't reject take more work to handle. Thus, if correct requests
can be spoofed, they're a better mechanism for DoSing.
Set up your own home server, and see how many 404s (i.e. the simplest,
most arbitrary of incorrectly formatted requests) you can handle per
second. Then stick the simplest possible database behind a CGI handler,
and compare your throughput. Now you've determined that what you've
done has "major problems" fix them, and report back here how you fixed
them.
And what happened to my other questions about you considering logs of
buffer overruns to be junk, and not genuine?
> BTW Thanks for the Google hint. I wish they wouldn't keep breaking it.
Go to .co.uk once, and accept the cookie. After that, all accesses to .co.uk
should be sane (until they break that). I reject almost all cookies, and
thus keep getting redirected to Finland whatever tld I use.
However, I try to avoid the god-forsaken abomination that calls itself
google groups (2 beta) as much as possible nowadays.
Phil
-- If a religion' is defined to be a system of ideas that contains unprovable statements, then Godel taught us that mathematics is not only a religion, it is the only religion that can prove itself to be one. -- John Barrow
- Next message: Rob Slade, doting grandpa of Ryan and Trevor: "REVIEW: "Modern Cryptography: Theory and Practice", Wenbo Mao"
- Previous message: Anne & Lynn Wheeler: "Re: [Lit.] Buffer overruns"
- In reply to: infobahn: "Re: [Lit.] Buffer overruns"
- Next in thread: infobahn: "Re: [Lit.] Buffer overruns"
- Reply: infobahn: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|