Thread View: news.software.nntp
4 messages
4 total messages
Started by Mildred Ki'Lya
Fri, 06 Oct 2017 23:01
INN: How to do initial feeding of articles to a new server (on a test network)
Author: Mildred Ki'Lya
Date: Fri, 06 Oct 2017 23:01
Date: Fri, 06 Oct 2017 23:01
35 lines
3024 bytes
3024 bytes
Hello,
I am running a test network and trying to automate a few things with my newsgroup servers. But first, I have to get them running.
I have a master server that is working well. I have control messages there that created the newsgroups and I have a few articles. Until now, this server was alone. I now want to set up a second server in network with this first server.
The second server is configured just like the first. Everything is identical (or should be, but I'm pretty sure I have no differences). The only thing I did was modify incoming.conf and innfeed.conf on both side to include
for innfeed.conf:
peer other.host.name {
ip-name: <ip address here>
}
and for incoming.conf:
peer other.host.name {
hostname: <ip address here>
}
I'm using raw ip addresses because the domain names do not always resolve to the IP.
Now, both servers are running, but I still can't see the newsgroup hierarchy and all the messages in the second server. I suppose that innfeed is just running for new articles and not the old ones. I have a few questions there:
- Is there something more to relay articles than just configuring the peers in innfeed.conf? In particular I did not modify the newsfeed file. Do I need to change the newsfeed file to tell inn to relay articles using innfeed?
- What is the canonical way to set up a new server and get the list of newsgroups and initial articles?
- Once I have the initial articles available on my second server and the first server and each server is sending the other the new articles it has, what happens when server B is down at the moment when server A is receiving an article (from a client) and trying to feed it to B. Will the article be lost? Is there a retry mechanism in server A or is server B responsible to fetch articles that were posted when it was down?
- Can you confirm that the list of newsgroup of my network is generated by control messages in the control newsgroup and that apart from synchronizing the control messages to the second server, there is nothing to do to create the newsgroup hierarchy?
Thank you
Re: INN: How to do initial feeding of articles to a new server (on a test network)
Author: Mildred Ki'Lya
Date: Sat, 07 Oct 2017 23:19
Date: Sat, 07 Oct 2017 23:19
25 lines
2957 bytes
2957 bytes
Ok, I understand a bit more from the documentation of how feeding works. First, I'll necessarily have to update the newsfeeds file to connect it to innfeed than the new messages should be forwarded according to my innfeed.conf file. For the rest of the discussion, let's consider server A configured to feed server B its messages (and perhaps server B configure to feed the messages it gets to A as well). I still have questions: - If server B is unavailable when A is trying to send it a message, I suppose innfeed will retry later, correct? - How about newsgroup creations in server A gets propagated to server B? Will control messages be sent from server A to server B? Even if they are sent, will that be enough? Are the administrators of server B supposed to know of all newsgroup creations and update manually their active (or newsgroups) file? Then, when configuring server B, how to get the initial list of newsgroup and message history? - It seems the list of newsgroup is configured manually by editing the active file (and newsgroup, perhaps?). Can server B get this file by querying server A? Are there tools for that? - The message history has also to be inserted manually. What are the best tools to use for server B to collect all existing messages from all newsgroups from server A? Is pullnews a good tool for that task? The documentation says it is only useful for small sites, can it work for a large history of messages? What I am trying to do is a tool that will automatically configure innfeed when another server asks for peering programatically. The tool will also be able to configure incoming.conf and ask for peering to other sites. If newsgroup list propagation doesn't work with control messages propagation, it should also be able to propagate newsgroup creations. Then, perhaps it can also be able to set up a server initially by configuring the list of newsgroups and importing message history if that is wanted. Thank you :) Mildred
Re: INN: How to do initial feeding of articles to a new server (on a test network)
Author: Aioe
Date: Sun, 08 Oct 2017 08:01
Date: Sun, 08 Oct 2017 08:01
51 lines
2484 bytes
2484 bytes
Il Sun, 08 Oct 2017 01:19:30 +0200, Mildred Ki'Lya ha scritto: > - If server B is unavailable when A is trying to send it a message, I > suppose innfeed will retry later, correct? this is the default innfeed behaviour > > - How about newsgroup creations in server A gets propagated to server B? > Will control messages be sent from server A to server B? yes, control messages are propagated please, read controlchan documentation for more informations > Then, when configuring server B, how to get the initial list of > newsgroup and message history? > ftp://ftp.isc.org/usenet/CONFIG/ > - It seems the list of newsgroup is configured manually by editing the > active file (and newsgroup, perhaps?). wrong, editing by hands of active file is dangerous, you have to use ctlinnd or mod-active > Can server B get this file by > querying server A? Are there tools for that? actsync > > - The message history has also to be inserted manually. What are the > best tools to use for server B to collect all existing messages from all > newsgroups from server A? if messages are a few thousands, pullnews is enough for a larger number of articles, suckmt should work (http://oss.basjes.nl/ SuckMT/#Download) > What I am trying to do is a tool that will automatically configure > innfeed when another server asks for peering programatically. imho, wrong idea peers should be exchanged by hands since no one is the same as the others
Re: INN: How to do initial feeding of articles to a new server (on a test network)
Author: Mildred Ki'Lya
Date: Sun, 08 Oct 2017 17:54
Date: Sun, 08 Oct 2017 17:54
34 lines
2756 bytes
2756 bytes
Thank you this was helpful :) On Sun, 8 Oct 2017 08:01:35 +0000 (UTC) Aioe <estasi@aioe.org> wrote: > > Then, when configuring server B, how to get the initial list of > > newsgroup and message history? > > > > ftp://ftp.isc.org/usenet/CONFIG/ This network will probably not peer with usenet. This is probably going to be a separate network. But I saw the getlist exacutable that seems to do the exact same thing via NNTP. > > > What I am trying to do is a tool that will automatically configure > > innfeed when another server asks for peering programatically. > > imho, wrong idea > peers should be exchanged by hands since no one is the same as the others > I still have to think on this, but as it may not link to usenet (not now at least) this may not be a problem. In any case, this is perhaps not going to be fully automatic, but I want a simple web ui to declare the peers, and handle requests from other sites. Then you have a simple button "Add peer" or "Accept request" and behind the scenes the peers is added to incoming.conf and innfeed.conf. I want to create a dead simple docker container that you can run and that work out of the box. The workflow should be something like: - run the container and give it a public ipv6 address (this is going to run with cjdns). It generates a name based on this address that is unique - go to the ui and add a first peer to your server. The message history is going to be downloaded from that peer (or not if you don't want the history) and the list of groups is taken from it too - the server you are peering with is receiving a peer request and the admin can simply click on accept, and both servers are peered together Mildred
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads