Article View: news.software.nntp
Article #88835What methods can throttle INN connections?
From: 711 Spooky Mart
Date: Sat, 23 Oct 2021 19:30
Date: Sat, 23 Oct 2021 19:30
42 lines
3286 bytes
3286 bytes
Hello NNTP gurus. I want to host a binary local newsgroup. I want to discourage spammers from trying to push up irrelevant big binaries, vids, pr0n, etc. The purpose of the binary group is for uploading PDF and ZIP/XZ/7Z files < 4MB. I am seeking ideas on different ways to throttle INN connections. [1] Firstly I want to throttle all client connections to max 64kB/s. [2] Secondly I want to maintain a timing throttle to all client connections so that the server does not respond for several seconds since the last connection from same client / IP, so that there is always a short delay between the completion of one client command or connect to the next. I really don't want to differentiate between a client command and a client connection session--there should be a delay between every command operation during a connect session and a delay between end of a session and the next connection from the same client. [3] Thirdly, if multiple client connections are detected from the same IP, I want to throttle bandwidth down to 32kB/s per client and cycle their access by alternating the delays. This is mainly aimed at preventing scripted hog connections from Tor exit nodes, although I don't wish to completely block Tor because anonymity will be one of the group topics. [4] Fourthly, I want to offer the newsgroup to the big world network if anyone wants to sync it, with all the binary mimetypes stripped, so the outgoing feed would only contain body text without the binary content. If clients want to download the binaries they would need to use my local INN server. I think this would make it reasonably frustrating for spammers and binary hogs, and not be too onerous for legitimate participants. Please propose your thoughts on how to proceed with these strange requirements. -- ──┏━━━━┓──┏━━┓───┏━━┓── ┌────────────────────────┐ ┌────────┐ ──┗━━┓─┃──┗┓─┃───┗┓─┃── │ Spooky Mart [chan] 711 │ │ always │ ─────┃─┃──┏┛─┗┓──┏┛─┗┓─ │ https://bitmessage.org │ │ open │ ─────┗━┛──┗━━━┛──┗━━━┛─ └────────────────────────┘ └────────┘
Technical Details
Message-ID:
<sl1nqc$1j4c$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <sl1nqc$1j4c$1@gioia.aioe.org> Subject: What methods can throttle INN connections? Date: Sat, 23 Oct 2021 14:30:42 -0500 From: 711 Spooky Mart <711@spooky.mart> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Aioe.org NNTP Server Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="52364"; posting-host="vVCcVbr8AMXh9slTBfoogQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Secret Agent Man X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-US X-Mozilla-News-Host: snews://news.neodome.net:563