If you set this parameter to true, you must also set either
pathhost or domain in the relevant access group in readers.conf to
something different than is set in inn.conf.
Path: news.blueworldhosting.com!!spool1.usenet.blueworldhosting.com
I'm trying to setup the virtualhost option in nnrpd and am not sure I'm doing things correctly.
The man page states:
If you set this parameter to true, you must also set either
pathhost or domain in the relevant access group in readers.conf to
something different than is set in inn.conf.
So I set virtualhost to true and set pathhost to the desired value, but the following error is logged and connections are rejected:
Should nnrpd be happy with just the "pathhost" parameter as the man page states, or am I missing something? I fiddled around a bit, but unless I also set the domain parameter nnrpd wouldn't accept incoming connections.
I added the domain parameter with the same value as pathhost and that seems to
get the desired effect, but notice in the Path headers it is adding an extra "!", not sure if that is expected but looks out of place:
Path: news.blueworldhosting.com!!spool1.usenet.blueworldhosting.com
Does the extra "!" in the Path header have some special meaning, or is this due to some other misconfiguration on my part?
Is it understandable enough, written this way?
Setting "domain" is mandatory (if not already set in inn.conf).
It's not a misconfiguration. This is normal, and corresponds to the fact that
nnrpd considers as trusted "spool1.usenet.blueworldhosting.com" (a known value).
"!!" is a way to say that the path identity is "verified".
Note that INN does not currently implement that verification (to be done...), and uses that syntax only in virtualhost!
FWIW, an excerpt of RFC 5537 to show you how the Path header field should
be read:
Setting "domain" is mandatory (if not already set in inn.conf).
Makes sense based on the additional explanation. I don't set "domain" in inn.conf, and didn't quite understand how it was used in the virtualhost context, but the updated explanation makes it clear.
"!!" is a way to say that the path identity is "verified".
Thank you for providing this detail. I was unaware of the concept/implementation of verified path identities. I have an unreasonable obsession with looking at Path headers and don't believe I've seen it used in the wild. Does any NNTP software implement verification of Path identities?
May I ask your rationale to use virtualhost? It could be interesting to
add use cases for it in the documentation.
Is it because you are running several instances of nnrpd on different
servers and you want them to appear with the same name for news readers?
May I ask your rationale to use virtualhost? It could be interesting to
add use cases for it in the documentation.
Is it because you are running several instances of nnrpd on different
servers and you want them to appear with the same name for news readers?
I'm planning for things I want to tinker with in the future. What I will likely end up with is something like this:
[feeder1] ------>| |--> [spool1]
| --> [xref generator] --> |
[feeder2] ------>| |--> [spool2]
Both spools will be similar, but one will be filtered with pyClean and the other unfiltered, and perhaps a third just for binaries. This is just a playground for me, but primarily using the virtualhost to have a single post identity in the path (which I know can be also accomplished with pathcluster/pathalias), and to have Xref/Path headers display (mostly) uniformly between the spools.
I would love to resurrect NNTPSwitch to sit in front of this environment to have a singular NNRP endpoint that can pull from multiple (dissimilar) spools based on the group and/or authenticated username without the user knowing, but
I don't have the skills and will take some convincing of friends to help me get the code able to compile on a modern OS.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 499 |
Nodes: | 16 (2 / 14) |
Uptime: | 35:24:09 |
Calls: | 9,832 |
Calls today: | 2 |
Files: | 13,761 |
Messages: | 6,192,822 |