🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89077

Configuration file generator

#89077
From: Julien ÉLIE
Date: Sat, 15 Jan 2022 11:11
52 lines
2948 bytes
Hi all,

To facilitate the configuration, wouldn't a generator be useful for news 
admins?

I mean either a web page (in PHP or like) or an interactive script 
shipped with INN.  I personally think the web page is better as you can 
easily use the button back in your navigator to try other settings, and 
it is more user-friendly for new news admins.

A simple HTML form with fields to fill and boxes to check:
- DNS or IP of incoming connection to the peer
- DNS or IP of outgoing connection to the peer (which may the same)
- port for outgoing connection
- feed path of the peer
- newsgroups to feed
- text-only? (checkbox)
- local newsgroups to exclude
- maximum article size in bytes wanted by the peer
- password to authenticate (leave empty if no authentication is required)
- limit to the number of maximum connections
...

Which will generate the 3 samples to copy/paste into the config files.




And... same thing for readers.conf :-)


I think it is the sort of thing that would help news admins, and 
experiment with different options to see the resulted readers.conf and 
have a working one quickly.
And according to the needs, new options or more complex cases (beyond 
the common ones) could be added to the readers.conf generator.


Such a configuration file generator would perhaps be far better than 
anything we could provide in (too dense or too long) documentation.

Any comments?

A quick attempt here (CSS and display not finalized):
   http://usenet.trigofacile.com/inn/peering-conf-generator.php

-- 
Julien ÉLIE

« Une fois rien, c'est rien ; deux fois rien, c'est pas beaucoup, mais
   pour trois fois rien, on peut déjà acheter quelque chose, et pour pas
   cher. » (Raymond Devos)
Technical Details
Message-ID: <srua4n$21a2c$1@news.trigofacile.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

Show Full Headers
Complete Article Headers
Message-ID: <srua4n$21a2c$1@news.trigofacile.com>
Subject: Configuration file generator
Date: Sat, 15 Jan 2022 12:11:18 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 15 Jan 2022 11:11:19 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="2140236"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1
Cancel-Lock: sha1:YvtcxYQ9pcxNHAs2fZBLokY8IIY= sha256:xwC1cYincS3m6kATeFQLFjwjkAVoXjeg6PHroHAdEIM= sha1:aXlkMqVNq1hYhCCbgi/u7frjGOQ= sha256:6mkyU99iP3Vs43Za64qsc8tiFPty0hL8kJRDZcKqYlI=
Content-Language: fr