Herein are various patches for INN 2.3.1 and recent CURRENT snapshots, modifying various parts of nnrpd and the authprogs interface. They may be used wherever INN is; no warranty is implied (however I will attempt to answer questions about them in news.software.nntp). They are in unified diff format. A brief summary of each appears below; most also patch the INN documentation as needed so further detail can be found in each patch. Jeffrey M. Vinocur * jeff@litech.org ------------------------------------------------------------------------ authprogs lifting of common code for authprogs/ out into a libauth.h; for incorporation into INN 2.4 and not very useful stand-alone; against a pre-2.4 snapshot checkincludedtext add functionality similar to inn.conf's checkincludedtext to filter_nnrpd.pl; against a pre-2.4 snapshot cleanfeed-mimehtmlallowed add a config option for fine-grained adjustment of Cleanfeed's block_mime_html option via a new mime_html_allowed option documentation major documentation cleanup prior to 2.4 release; against CVS gethostbyaddr replacement of DO_NNRP_GETHOSTBYADDR compiletime constant in nnrpd with a `-n` flag; against 2.3.1 ident addition of a `-t` flag to authprogs/ident, which causes it to truncate the ident response before an '@' sign (if present) so that an ident query that returns 'username@host1.domain' can be used as just 'username' (or 'username@defaultdomain') for matching in readers.conf; against 2.3.1 inn-sm-perl-24 update INN::SM to at least compile with 2.4 changes; otherwise untested, and an improved version has been incorporated by the module author nnrpd-backoffdb nnrpd attempts to create backoffdb if it doesn't exist rather than just dying; against a pre-2.4 snapshot nnrpd-maxrate addition of a readers.conf 'max_rate:' parameter for providing access to the bytes/second-limiting code without needing perl hooks (does not work if SSL support is compiled in); against a pre-2.4 snapshot nnrpd-ratelimitssl modification of nnrpd rate-limiting code to work with SSL support (affects pre-encryption dataflow); against a pre-2.4 snapshot nnrpd-readers addition of a '-c' flag to nnrpd to specify an alternate readers.conf file; a virtually identical patch was incorporated into INN 2.4, but this may be useful for people running the release version (e.g. to run `nnrpd -S` on a different port to support SSL); against 2.3.1 nnrpd-rejectwith adds a 'reject_with: ' parameter to readers.conf access stanzas, so any connection matching a given stanza can be rejected (502 Permission denied) with a configurable reason given; against a pre-2.4 snapshot (but should apply to 2.3.1 with a few minutes of pounding) [ bugfix 14 June 2001 as per Yury B. Razbegin ] nnrpd-sender fixes extremely odd behavior of the 'nnrpdauthsender' inn.conf flag in which Sender: could be supplied by an authenticated client (instead of auto-generated from authentication info) even with nnrpdauthsender set to true; against 2.3.1 nnrpd-ssl adds a 'require_ssl: ' parameter to readers.conf auth stanzas, so that a given stanza can be set to only be considered for IP match if the incoming connection is encrypted with SSL (useful to allow plaintext and SSL connections on the same port but with system passwords only to be used under encryption); against 2.3.1 [ typo fix 30 July 2003 ] nnrpd-ssl-fix the above 'nnrpd-ssl' patch works fine against 2.3.1 but does not compile when applied to pre-2.4 snapshots because of some code reworking; this patch (to be applied after the previous patch) fixes the problem; against a pre-2.4 snapshot nnrpdflags adds an 'nnrpdflags' parameter to inn.conf, allowing arbitrary nnrpd options to be passed when nnrpd is being spawned by innd; against a pre-2.5 snapshot startinnfeed-imapfeed adds support for spawning 'imapfeed' instead of just 'innfeed' from 'startinnfeed'; against a pre-2.4 SNAPSHOT [ bugfix 11 July 2001 as per Sven Paulus ]