🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91927

Re: ISC will likely be shutting down FTP access to ftp.isc.org soon (https will remain)

#91927
From: Julien ÉLIE
Date: Sun, 06 Oct 2024 21:34
116 lines
5888 bytes
Hi Dan, and all,

> If/when this happens I'd likely also make a quick post to a few other
> network operator places, and suggestions as to where to do so are welcome.

Maybe <https://www.big-8.org/> to start with?  I see references to 
<ftp://ftp.isc.org/> when searching in their web site.

Also, senders of control articles should update their X-Info header 
fields if they mention the FTP server.


> We do not have a specific date yet (this depends on specific
> feedback from the community), but on the order of a month or two
> sounds reasonable.  If any software, such as INN, ships with the
> "ftp" protocol baked-in, this gives enough time for people to put
> out new releases and docs that point at the change, or at least add
> the change to their README's, and the like.
As for INN, I have just done the work, and updated the actsyncd and 
simpleftp programs to support HTTP(S).

Here are the steps to do for news admins.

A/ If actsyncd is not used at all, or used but with the NNTP protocol to 
get the active file of another news server, then there's nothing to do. 
This will go on working.

B/ If actsyncd is used with the following actsync.cfg parameters:

   host=ftp.isc.org
   ftppath=/pub/usenet/CONFIG/active.gz

Then there is something to change.  Here are some possibilities.

1/ The fastest would be to keep FTP but against another server which 
would go on providing up to date active files on FTP.  I don't know 
whether there are.  If you know one, just update host and ftppath 
accordingly.


2/ You can install a version of INN generated after 2024-10-07 (INN 
2.7.3, snapshot, etc.).  Then just update your installation and change 
the above parameters in actsync.cfg to:

   host=downloads.isc.org
   path=/pub/usenet/CONFIG/active.gz
   protocol=https

That's all, it should normally work out of the box.  If that's not the 
case, read on (you may miss the wget package).


3/ You have wget installed, or can install it.  Then you have to:

a/ replace your <pathbin>/actsyncd program by this one:
  
https://raw.githubusercontent.com/InterNetNews/inn/refs/heads/main/backends/actsyncd.in
with its first and second lines changed to match the first and second 
lines of your current actsyncd program.  Then rename actsyncd.in to 
actsyncd.

b/ open <pathlib>/innshellvars and go to the line where GETFTP is defined:

   GETFTP="/usr/bin/wget"

Install wget if not already installed, and put its path in GETFTP.  Then 
add a second line below to finally have something like:

   GETFTP="/usr/bin/wget"
   GETHTTP="/usr/bin/wget"

c/ update actsync.cfg like it was done in 2/.  That's it.


4/ So... you don't have wget and cannot install it.  Then you have to:

a/ replace your <pathlib>/simpleftp program by this one:
  
https://raw.githubusercontent.com/InterNetNews/inn/refs/heads/main/scripts/simpleftp.in
with its first line changed to match the first line of your current 
simpleftp program.  Then rename simpleftp.in to simpleftp.

b/ open <pathlib>/innshellvars and go to the line where GETFTP is defined:

   GETFTP="/usr/bin/simpleftp"

You may see ncftpget or ncftp instead of simpleftp.  You can then keep 
the GETFTP line with that program.  But you'll need simpleftp in 
GETHTTP.  Add a second line below to finally have something like:

   GETFTP="/usr/bin/simpleftp"
   GETHTTP="/usr/bin/simpleftp"

c/ update actsync.cfg like it was done in 2/.

d/ update actsyncd like it was done in 3/a.

e/ if you have at least Perl 5.14.0 (released in 2011), then simpleftp 
should work out of the box because the HTTP::Tiny module it uses has 
been a Perl core module since that version.  If you have an older Perl 
version, then you need installing HTTP::Tiny from CPAN.  It just 
requires at least Perl 5.6.0 which you already have because otherwise 
INN won't be working either.



I think all the use cases are covered.  I bet most people fall in A/ and 
for the few ones in B/, probably B/1 will be possible.  B/3 and B/4 are 
most complex cases, and maybe nobody currently falls in these 
categories, but were it the case, the instructions are above :)

-- 
Julien ÉLIE

« Whenever you set out to do something, something else must be done
   first. » (Murphy's Fourth Corollary)
Technical Details
Message-ID: <vduvq0$24bvj$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:6047:194e:3ab:3af1!not-for-mail
References: <1f19a554-8a81-ce8c-8ac6-7ab1e053a632@isc.org>

Show Full Headers
Complete Article Headers
Message-ID: <vduvq0$24bvj$1@news.trigofacile.com>
Subject: Re: ISC will likely be shutting down FTP access to ftp.isc.org soon (https will remain)
Date: Sun, 6 Oct 2024 23:34:56 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <1f19a554-8a81-ce8c-8ac6-7ab1e053a632@isc.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f82:d7c0:6047:194e:3ab:3af1!not-for-mail
Newsgroups: news.admin.hierarchies,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: Sun, 6 Oct 2024 21:34:57 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f82:d7c0:6047:194e:3ab:3af1";
 logging-data="2240499"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mkfGADXMFkhy2/eeUIKw3/Rw6u0= sha256:HkNUp/MmKNu0Y/HGxlqQ8tbBq2Eys8Ayn89AbfDD8R8=
 sha1:XYLM30pH4a2Lmy6sGSzppxlPQps= sha256:ddObl9EEnwW/L/LeN3wcHJeVFjcZwsNiHs+E9v31na0=
In-Reply-To: <1f19a554-8a81-ce8c-8ac6-7ab1e053a632@isc.org>