Article View: news.software.nntp
Article #90730Re: A C library for the NNTP protocol?
From: Johann 'Myrkraverk' Oskarsson
Date: Wed, 06 Sep 2023 19:10
Date: Wed, 06 Sep 2023 19:10
49 lines
2926 bytes
2926 bytes
On 9/6/2023 5:59 AM, Jesse Rehmer wrote: > On Sep 5, 2023 at 10:06:46 AM CDT, "Johann 'Myrkraverk' Oskarsson" > <johann@myrkraverk.invalid> wrote: > >> Dear n.s.nntp, >> >> Are there still extant C libraries that implement NNTP, and are >> useful for creating Usenet clients? >> >> I am aware of UW's c-client, currently hidden inside Alpine sources, >> but I have not found it to be a really useful framework for building >> my own news reader. >> >> My question is really twofold. >> >> 1) Is there a library that already does this and can be used with SSL? >> >> 2) In the absence of 1) how would I start experimenting on my own? >> >> Other than setting up my own INN in a virtual machine, I do not know >> how to "practice" my own client. Do Usenet providers frown upon >> practice clients, such as Eternal September? >> >> And even with my own INN in a VM, I'm still not sure how to go about >> practicing all the intricacies of SSL verification, without a publicly >> available news server [possibly my own] and something like letsencrypt. >> >> Am I perhaps overthinking this, and this is rather easy? > > Not a developer, but did some looking around and found that libwww by W3C > contains a NNTP implementation that may be useful: > > https://www.w3.org/Library/src/WWWNews.html > > You can find the original NNTP 'reference implementation' sources at: > > ftp://ftp.dinoex.org/pub/c-news/nntp.1.5.12.2.tar.gz > or > http://mirror.its.dal.ca/freebsd/distfiles/nntp.1.5.12.2.tar.gz > > (don't forget the Y2k patch) > http://mirror.its.dal.ca/freebsd/distfiles/nntp-patch-y2k Thank you, that seems extremely useful, if only to learn from the code before I implement my own. -- Johann | email: invalid -> com | www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | twitter: @myrkraverk
Technical Details
Message-ID:
<Q84KM.15$5D9b.13@fx02.ams4>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-mailReferences:
<cuHJM.1091805$6Li6.85230@fx12.ams4> <ud88b8$85q$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <Q84KM.15$5D9b.13@fx02.ams4> Subject: Re: A C library for the NNTP protocol? Date: Thu, 7 Sep 2023 03:10:39 +0800 From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> References: <cuHJM.1091805$6Li6.85230@fx12.ams4> <ud88b8$85q$1@nnrp.usenet.blueworldhosting.com> 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 Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US Newsgroups: news.software.nntp In-Reply-To: <ud88b8$85q$1@nnrp.usenet.blueworldhosting.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 50 X-Complaints-To: abuse@easynews.com Organization: Easynews - www.easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.