🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81137

Re: Have I to issue a GROUP command before POSTing?

#81137
From: Mateusz Viste
Date: Sat, 30 May 2009 11:40
40 lines
2822 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 30 May 2009 10:22, Antti-Juhani Kaijanaho "kirjoitti" [whatever it means :-)]:
> You check if the connection has posting authority in general, and issue
> your response to POST based on that.

Yes, that's indeed what I understood from Julien's answer :)

> If you give the client the leave to post, you then have to receive the
> post and do the usual injection checks (see the soon-to-be-RFC
> draft-ietf-usefor-usepro for what checks are expected)

That's interesting! Where could I find this document? So far, I'm only checking for some headers (date, from, NNTP-POSTING-HOST, sender, lines, date-received, message-id).

> checking that it does not violate local policy (eg. post to a read-only
> group).  You decide whether to accept or reject based on *these* checks.

Ok. In fact, it was strange to me to answer to anyone "Ok, post whatever you want", process all the data, and then only tell "sorry, finally I don't want your message".

> (...) like Julien says, how else do you
> handle crossposts?

That's definitely a good reason! :-)

Best regards,
Mateusz Viste
- -- 
You'll find my public OpenPGP key at http://www.viste-family.net/mateusz/pub_key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQEcBAEBAgAGBQJKIRscAAoJEC30Ty9xnkvbnhMH/jqH/zyvEbLocqjMptOjx6BG
vSdC+Q5kNVejA1a4h8cJtb/twHMLDyAXFqvUGDk99i68Ac0RmLqzj4U2Lp5YcW/Q
UfqcGyDLVK48C9xRhMCocv3X4dTeJ5qQAZq/+Fdcsvvp9h/pM7i/cZ+ICUVTpoWl
RgAfwZac9wz7C7xavM6fsEGqUz1UZ7q8F5KN+poeyBokBd+K6zCLQxON1bMULvaq
nvQR3taV2FMIlxnKRi640NOsyke3Z0jUbsAr9FHXC3rr8Z80Cnnz2nL3drBNBwHV
KY4sUqsKvLINZ4JoW2f1y3n4+a2Sfq7uPK9CMgCtyP8K8ZjDKsSdyBf2JELlv+E=
=C7Y7
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <1ii7f6-244.ln1@mail.viste-family.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp3-2.free.fr!not-for-mail
References: <3l06f6-ji1.ln1@mail.viste-family.net> <78c8n1F1l7m6tU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <1ii7f6-244.ln1@mail.viste-family.net>
Subject: Re: Have I to issue a GROUP command before POSTing?
Date: Sat, 30 May 2009 13:40:11 +0200
From: Mateusz Viste <mateusz@NoSpamForMe.invalid>
References: <3l06f6-ji1.ln1@mail.viste-family.net> <78c8n1F1l7m6tU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed2-a.proxad.net!nnrp3-2.free.fr!not-for-mail
Newsgroups: news.software.nntp
User-Agent: KNode/0.10.9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
Lines: 40
Organization: Guest of ProXad - France
NNTP-Posting-Date: 30 May 2009 13:45:04 MEST
NNTP-Posting-Host: 82.225.72.113
X-Trace: 1243683904 news-1.free.fr 14820 82.225.72.113:49780
X-Complaints-To: abuse@proxad.net