Thread View: news.software.nntp
11 messages
11 total messages
Started by Marco d'Itri
Mon, 02 Sep 2002 05:14
maximum size of text articles
Author: Marco d'Itri
Date: Mon, 02 Sep 2002 05:14
Date: Mon, 02 Sep 2002 05:14
9 lines
1157 bytes
1157 bytes
To stop some kinds of flooding attacks I'm thinking about adding to cleanfeed a size limit for non-binary articles. Anybody thinks this is a bad idea? What would be a good default? -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Re: maximum size of text articles
Author: Matus fantomas Uhlar
Date: Mon, 02 Sep 2002 11:46
Date: Mon, 02 Sep 2002 11:46
15 lines
1786 bytes
1786 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote: -> To stop some kinds of flooding attacks I'm thinking about adding to -> cleanfeed a size limit for non-binary articles. -> Anybody thinks this is a bad idea? -> What would be a good default? I use 256K (262144B) but was already thinking about 1/2 or 1/4 of that; Tahts for all articles, anyway - I think using news/nntp for transferring big files is wrong idea. -- Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I don't wish to receive spam to this address. Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu. Windows 2000: 640 MB ought to be enough for anybody
Re: maximum size of text articles
Author: Kjetil Torgrim Homme
Date: Mon, 02 Sep 2002 12:26
Date: Mon, 02 Sep 2002 12:26
18 lines
1619 bytes
1619 bytes
[Marco d'Itri]:
>
> To stop some kinds of flooding attacks I'm thinking about adding
> to cleanfeed a size limit for non-binary articles. Anybody thinks
> this is a bad idea?
I don't quite see the utility of it.
> What would be a good default?
IIRC, the Star Wars FAQ is infamous at weighing in at just over 128
KiB.
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: maximum size of text articles
Author: Jesper Harder
Date: Mon, 02 Sep 2002 12:44
Date: Mon, 02 Sep 2002 12:44
12 lines
1548 bytes
1548 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes: > To stop some kinds of flooding attacks I'm thinking about adding to > cleanfeed a size limit for non-binary articles. Please consider non-binary groups for posting source code, such as gnu.emacs.sources. > What would be a good default? 200k would be too little for g.e.sources.
Re: maximum size of text articles
Author: Curt Welch
Date: Mon, 02 Sep 2002 15:04
Date: Mon, 02 Sep 2002 15:04
32 lines
2464 bytes
2464 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Marco d'Itri]: > > > > To stop some kinds of flooding attacks I'm thinking about adding > > to cleanfeed a size limit for non-binary articles. Anybody thinks > > this is a bad idea? > > I don't quite see the utility of it. > > > What would be a good default? > > IIRC, the Star Wars FAQ is infamous at weighing in at just over 128 > KiB. Small binary files are smaller than the large text files, so there is no single size you could pick that won't cause a lot of false clasifications. The FAQs, as pointed out here are the first expamle of large text files. And there are many spam floods which are made up of small binary files. It's just an issue of what you are willing to put up with in terms of false positives. All spam filters make mistakes from time to time. If you going to try writting your own spam filter you will need to test it first by looking at what it is rejecting. The best way to answer your questing about using the article size is to just try and see what it rejects. Maybe you will like the results - or maybe, with a little extra logic to watch out for special types of large text files, you can make it acceptable for your needs. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: maximum size of text articles
Author: Brian Edmonds
Date: Mon, 02 Sep 2002 15:35
Date: Mon, 02 Sep 2002 15:35
18 lines
1728 bytes
1728 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: >> To stop some kinds of flooding attacks I'm thinking about adding to >> cleanfeed a size limit for non-binary articles. > I don't quite see the utility of it. Me either. Though if it's off by default, I don't see the problem either. More options for those who want them. >> What would be a good default? > IIRC, the Star Wars FAQ is infamous at weighing in at just over 128 > KiB. Posts in rec.arts.anime.creative are occasionally over 200kB, but never over 256kB, as that's the post size limit on my server. I try to encourage posts to stay around 64kB or smaller. Brian.
Re: maximum size of text articles
Author: Marco d'Itri
Date: Mon, 02 Sep 2002 16:00
Date: Mon, 02 Sep 2002 16:00
18 lines
1602 bytes
1602 bytes
kjetilho@haey.ifi.uio.no wrote: >> To stop some kinds of flooding attacks I'm thinking about adding >> to cleanfeed a size limit for non-binary articles. Anybody thinks >> this is a bad idea? >I don't quite see the utility of it. Stop some flooding attacks (broadband luser dumping a huge unencoded binary in a few articles to piss off modem users). >> What would be a good default? >IIRC, the Star Wars FAQ is infamous at weighing in at just over 128 >KiB. *.answers and source groups would be exempted. -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Re: maximum size of text articles
Author: Andrew Gierth
Date: Mon, 02 Sep 2002 17:15
Date: Mon, 02 Sep 2002 17:15
19 lines
1704 bytes
1704 bytes
>>>>> "Marco" == Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes: Marco> To stop some kinds of flooding attacks I'm thinking about Marco> adding to cleanfeed a size limit for non-binary articles. Marco> Anybody thinks this is a bad idea? yes, I think it's a very bad idea. Floods consisting of a small number of very large articles are much less of a problem than the reverse (large numbers of small articles). The number of exceptions that would be required is quite significant (not just sources and answers groups; for example, you yourself posted a 270 kbyte article to news.admin.net-abuse.sightings today). By no means all FAQs are posted to news.answers. -- Andrew.
Re: maximum size of text articles
Author: Kjetil Torgrim Homme
Date: Mon, 02 Sep 2002 18:03
Date: Mon, 02 Sep 2002 18:03
16 lines
1850 bytes
1850 bytes
[Marco d'Itri]:
>
> Stop some flooding attacks (broadband luser dumping a huge
> unencoded binary in a few articles to piss off modem users).
can't you identify this as a raw binary? occurence of NUL-bytes
should be a giveaway, and if you first check for yencoding, you could
filter all articles with a high percentage of control characters (0-31
minus CR LF TAB FF). is anyone posting text using UTF-16 or other
16-bit encodings? you should check the charset specified, I guess.
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: maximum size of text articles
Author: Andrew Gierth
Date: Mon, 02 Sep 2002 18:07
Date: Mon, 02 Sep 2002 18:07
11 lines
1334 bytes
1334 bytes
>>>>> "Kjetil" == Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes: Kjetil> IIRC, the Star Wars FAQ is infamous at weighing in at just Kjetil> over 128 KiB. the comp.unix.programmer FAQ is about 130kbytes. The comp.lang.c FAQ is much bigger (about 270k). -- Andrew.
Re: maximum size of text articles
Author: Marco d'Itri
Date: Mon, 02 Sep 2002 20:57
Date: Mon, 02 Sep 2002 20:57
11 lines
1462 bytes
1462 bytes
kjetilho@haey.ifi.uio.no wrote: >can't you identify this as a raw binary? occurence of NUL-bytes Yes. Efficiently? I don't think so. But this is not the point, the attack would work with huge text files too. -- ciao, | Marco | * The Internet is full. Go away. -- Joel Furr *
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads