🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37201

some INN 2.2-stable issues

#37201
From: Andrew Gierth
Date: Mon, 03 May 1999 00:00
49 lines
2802 bytes
I've just been setting up a small INN transit feeder (running a
2.2-stable snapshot in a CNFS transit-only configuration, carrying
just the big-8 and uk.*, offers of additional peering welcome), and came
across the following issues.

1. No path verification

  INN seems to be well behind the times on this; Diablo and Cyclone
  both can do path verification, and I believe that NNTPrelay can
  too. Even INN's old 'add the IP address if running in -a mode'
  behaviour seems to have fallen by the wayside.

  The antics of people like Empire2, and the ludicrous number of
  unqualified and unregistered path entries in use, have demonstrated
  quite clearly that you can *not*, in general, trust your newspeers
  to give you reliable path info unless you pick them very carefully.

  Unless this is already being addressed in 2.3, I plan to fix this myself.

2. innconfval doesn't honour INNCONF environment variable

  Call me insane if you like, but one thing I'm trying to do is to run
  two or more innds on one box using the same binaries, by using
  different inn.conf files. innconfval's insistence on using the
  compiled-in path unless actually overridden on the command line is a
  pain.

  Sticking:

    if (!(innconffile = getenv("INNCONF")))
	innconffile = _PATH_CONFIG;

  at the beginning of main() in innconfval.c seems to fix that.

  Of course, another program that doesn't honour INNCONF is inndstart,
  which deletes it from the environment. I'm not sure if this would be a
  security hole or not (inndstart should only be executable by the news
  user anyway), but for now I've worked around the problem by running
  innd on a nonprivileged port and not using inndstart.

3. Not a transit issue, but one associated with some new posting code
I've been working on: I want to be able to specify nnrpdposthost as a
path to a Unix-domain socket. I've done this by moving the unix-domain
functionality from NNTPlocalopen into NNTPconnect.

-- 
Andrew.

Technical Details
Message-ID: <87r9oym8wx.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <87r9oym8wx.fsf@erlenstar.demon.co.uk>
Subject: some INN 2.2-stable issues
Date: Mon, 03 May 1999 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 473549572
X-Mayan-Date: Long count = 12.19.6.2.17; tzolkin = 13 Caban; haab = 5 Uo
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha