> Has anyone modified either INN or plug-gw to allow multiple
> outgoing feeds, all destined for port 119 (at least at the target
> system)? Hearing no suggestions or mods, we're probably going to
> make the mods to INN ourselves to be able to specify the port number
> of the destination machine.(perhaps in the "newsfeeds" file).
FWIW, not haveing done any actual work yet . . .
the least intrusive way to modify INN seems to be:
- modify NNTPconnect (in ....lib/remopen.c) to check a
config file such as ~news/lib/plug-to.conf (?) that would
contain triples of the form:
Connections to a <host> would go to the <gateway> on a given port.
If the config file didn't exist it would just open as usual.
The gateway machine would then run plug-gw on multiple
ports all plugging to port 119 on the remote end.
For example, if you feed uunet and decwrl the plug-to.conf file might
netperm-table would then have entries like:
plug-gw: port 119 my-network.* -plug to news.uu.net -port nntp
plug-gw: port 1120 my-network.* -plug to inet-gw.dec.com -port nntp
The inbound connections would work as before with all connections coming
into the news-relay machine being plugged to the machine with INN.
Perhaps a more correct thing to do is to use the config routines
in the FWTK library and have INN read from netperm-table.
Allen Leibowitz <leibowa @
Ann Arbor, MI 48104 USA
Either CONFESS now or we go to ``PEOPLE'S COURT''!!