From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,971aa11c293c3db1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-24 11:25:57 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <5be89e2f.0107170838.c71ad61@posting.google.com> <5be89e2f.0107180235.726d46a8@posting.google.com> <3B55B01A.DAC06D79@icn.siemens.de> <5be89e2f.0107181248.73298c57@posting.google.com> <9j949b$1ujp$1@norfair.nerim.net> <9cV57.54954$WS4.8386096@news6-win.server.ntlworld.com> <9j98pv$20vi$1@norfair.nerim.net> <3B586C51.53C17E25@home.com> Subject: Re: Ada The Best Language? Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 24 Jul 2001 14:25:45 EDT Organization: http://www.newsranger.com Date: Tue, 24 Jul 2001 18:25:45 GMT Xref: archiver1.google.com comp.lang.ada:10531 Date: 2001-07-24T18:25:45+00:00 List-Id: In article , Lutz Donnerhacke says... > >* Ted Dennison wrote: >>2) Even though either language can do it just fine, I don't think "select" >>support is that big of a deal anyway. Most serious network servers >Teergrubing requires select or poll to prevent a dDoS. I went and read up on this (and an interesting trick it is, too). The idea generally seems to be that you use the SMTP protocol to trick the client into keeping his connection open indefinitely once you determine that he is a spammer. Then you can call his ISP and get his account yanked, or whatever. Its sort of like stalling a credit-card thief at the checkout counter until the cops arrive. :-) It looks like the issue here is that someone could get annoyed that you are doing this to him, and just start establishing tons of connections until you can't accept any more, thus preventing use by real users. However, it still seems debatable whether this is needed or not. The teergrubing FAQ implies not, but it does appear that some folks writing mail transport agents have been worried enough about it to go ahead and use "select" in a single thread. Personally, I don't see where using a single thread with a limited number of possible connections is that different, unless you don't have a limit on the number of connection-servicing tasks (which would seem dangerous to start with). There's still a resource limit: A DDoS-dork could use up all your connections either way. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com