3 * lib/perl.c: Use snprintf instead of asprintf.
5 * doc/hook-python, doc/pod/hook-python.pod: Use initial capital
6 letters for head titles.
8 * NEWS, doc/pod/news.pod, lib/perl.c: Fixed a hang in Perl hooks on
9 (at least) HP/PA since Perl 5.10. On such architectures,
10 pthread_mutex_lock() hangs inside perl_parse() if
11 PERL_SYS_INIT3() hasn't been called.
13 Also rewrite "do" and "eval" calls to use perl_eval_pv().
17 * samples/innreport.conf.in: For two sections in innreport.conf
18 there is a mismatch between sort function and sorted hash.
20 Thanks to Alexander Bartolich for this patch.
24 * NEWS, doc/pod/news.pod, scripts/innreport_inn.pm: Fix another
25 long-standing bug in innreport which prevented it from correctly
26 reporting innfeed log messages.
28 * scripts/innreport_inn.pm: Suppress a few other nnrpd and
29 controlchan notices in innreport.
33 * NEWS, doc/pod/news.pod: Add changelog for innreport.
35 * NEWS, doc/pod/news.pod: Changelog for INN 2.4.5 :-)
37 * doc/hook-python: Update the auto-generated documentation for INN
40 * scripts/innreport_inn.pm: Fix a long-standing bug in innreport
41 which prevented it from correctly reporting nnrpd log messages.
43 * scripts/innreport_inn.pm: Suppress a few warnings in innreport
44 (especially from Python hooks and nnrpd). Also backport some
45 other improvements made in TRUNK.
47 * site, site/.cvsignore, site/Makefile: Install nnrpd.py which
50 * MANIFEST, samples/nnrpd_access.py, samples/nnrpd_auth.py,
51 samples/nnrpd_dynamic.py, site, site/.cvsignore, site/Makefile:
52 Update the Python nnrpd filter. New samples for access and
57 * samples/filter_innd.py: Update the Python innd filter.
59 * doc/pod/hook-python.pod: Typo (canceled -> cancelled).
61 * samples/nnrpd_access_wrapper.py, samples/nnrpd_auth_wrapper.py,
62 samples/nnrpd_dynamic_wrapper.py: Update old Python wrappers.
64 * samples/INN.py, samples/nnrpd.py: Update stub Python scripts. Fix
65 a compilation problem with INN.py (undefined variable) and add
68 * doc/hook-python, doc/man/readers.conf.5, doc/pod/hook-python.pod,
69 doc/pod/readers.conf.pod: Update POD documentation for Python
70 hooks. It is a complete proof-reading.
72 * nnrpd/python.c: No need to check the existence of methods not
73 used by the hooked script.
75 * innd/python.c, nnrpd/python.c: Fix an issue with Python exception
78 * nnrpd/python.c: Fix typos.
80 * nnrpd/python.c: Fix a segfault when one closes and then reopens
81 Python in the same process. files and dynamic_file are still
82 pointing to the old freed memory and INN blithely tries to write
83 to it. Thanks to Russ Allbery for the patch.
87 * innd/python.c: Better be more careful when decrementing the
88 reference count for these objects.
92 * doc/external-auth, doc/hook-perl, doc/hook-python,
93 doc/man/active.5, doc/man/active.times.5, doc/man/auth_krb5.8,
94 doc/man/auth_smb.8, doc/man/ckpasswd.8, doc/man/control.ctl.5,
95 doc/man/convdate.1, doc/man/cycbuff.conf.5,
96 doc/man/distrib.pats.5, doc/man/domain.8, doc/man/expire.ctl.5,
97 doc/man/expireover.8, doc/man/fastrm.1, doc/man/grephistory.1,
98 doc/man/ident.8, doc/man/inews.1, doc/man/inn.conf.5,
99 doc/man/innconfval.1, doc/man/innd.8, doc/man/inndf.8,
100 doc/man/inndstart.8, doc/man/innmail.1, doc/man/innupgrade.8,
101 doc/man/libauth.3, doc/man/libinnhist.3, doc/man/list.3,
102 doc/man/mailpost.8, doc/man/makehistory.8, doc/man/motd.news.5,
103 doc/man/newsfeeds.5, doc/man/ninpaths.8, doc/man/nnrpd.8,
104 doc/man/ovdb.5, doc/man/ovdb_init.8, doc/man/ovdb_monitor.8,
105 doc/man/ovdb_server.8, doc/man/ovdb_stat.8,
106 doc/man/passwd.nntp.5, doc/man/qio.3, doc/man/radius.8,
107 doc/man/radius.conf.5, doc/man/rc.news.8, doc/man/readers.conf.5,
108 doc/man/sasl.conf.5, doc/man/sendinpaths.8, doc/man/simpleftp.1,
109 doc/man/sm.1, doc/man/subscriptions.5, doc/man/tdx-util.8,
110 doc/man/tst.3, doc/man/uwildmat.3: Update version number for INN
115 * support/config.guess, support/config.sub: Update support files
116 for autoconf to their last stable version.
120 * innd/python.c: Fix the name of a variable used in Python filters.
124 * innd/python.c: Fix a bug when reloading Python filters. They
125 might not be correctly reloaded. They must be reimported before
128 * nnrpd/python.c: Fix a segfault when generating access groups with
129 embedded Python filters for nnrpd. Thanks to David Hlacik for the
134 * frontends/pullnews.in: Two minor issues resolved with this patch
135 by Geraint Edwards: * an off-by-one error on the limit to the
136 amount of articles to get; * when an article is not available, we
137 may have redundantly retried that article.
141 * doc/pod/cycbuff.conf.pod, doc/pod/hook-perl.pod,
142 doc/pod/hook-python.pod, innd/python.c, samples/filter_innd.pl:
143 Fix the use of "ctlinnd reload something 'reason'" in
148 * doc/hook-perl, doc/hook-python, doc/pod/hook-perl.pod,
149 doc/pod/hook-python.pod, innd/innd.c, innd/innd.h,
150 samples/filter_innd.py: Add access to several new headers within
151 Perl and Python hooks for innd. Thanks to Matija Nalis for the
154 Also update the POD documentation and the Python sample.
156 * doc/man/pullnews.1, doc/pod/pullnews.pod, frontends/pullnews.in:
157 A new improved version of pullnews. Great thanks to Geraint A.
158 Edwards for all his work. He added no more than 16 flags, fixed
159 some bugs and integrated the backupfeed contrib script by Kai
160 Henningsen, adding again 6 other flags.
162 A long-standing but very minor bug in the -g option was
163 especially fixed and items from the to-do list implemented.
167 + reset highwater mark to match server (-w) + reset highwater
168 mark to zero (also -w) + add group to config (-G) + drop articles
169 with headers matching (or not matching) regexp (-m)
173 + pull only a proportion (factor) of articles (-f) + sleeps
174 between articles/groups (-z/-Z) + Path: fake hop insert (-F) +
175 NNTP connection timeout (-N) + overall session timeout (-S)
177 Other new flags/features:
179 -l logfile log to logfile (rather than /dev/null when rnews'ing!)
180 -s host:port add local port option (can use -p already) -t
181 retries attempt connect to upstream retries times -T retry_pause
182 wait between retries -k checkpt checkpoint the config file every
183 checkpt arts -C width when writing the progress bar - use width
184 columns -d debug_level self-explanatory -M max_arts only process
185 max_arts articles per run -H headers remove these headers from
186 articles -Q quietness set how quiet we are -R be a reader -n
187 no-op -P paths feed articles depending on number of hops in Path:
191 * control/modules/newgroup.pl: Fix a Perl warning.
195 * nnrpd/tls.c: When an article of a size greater than remaining
196 stack is retrieved via SSL, a segmentation fault will occur due
197 to the use of alloca(). The below patch uses heap based realloc()
198 instead of stack based alloca(), with a static buffer growing as
199 needed. It uses realloc() instead of malloc() for performance
200 reasons since this function is called frequently. The caveat is
201 that the memory is never free()'ed, so if more correct code is
202 desired, it should be adjusted.
204 Thanks to Chris Caputo for this patch.
208 * innd/Makefile, nnrpd/line.c: Implementation of the "alarm signal"
209 around SSL_read so that to prevent dead connections from leading
210 nnrpd processes to wait forever in SSL_read(). "clienttimeout"
211 now also works on SSL connections.
213 Thanks to Matija Nalis for the patch.
215 * nnrpd/tls.c: Implementation on systems that support it of
216 SO_KEEPALIVE in SSL TCP connections, allowing system detection
217 and closing the dead TCP SSL connections automatically after
218 system-specified time (usually at least 2 hours as recommended by
219 RFC (on Linux, see /proc/sys/net/ipv4/tcp_keepalive_*).
221 Thanks to Matija Nalis for the patch.
225 * innfeed/host.c: Fix a problem of undefined constant.
229 * innfeed/host.c: Fix a bug in ipAddrs which contained thrice the
230 same IPs. Rotating the peer IP addresses was a bit slower than it
233 Thanks, D. Stussy, for having seen that. Miquel van Smoorenburg
236 * Makefile.global.in: Bump the revision number to 2.4.5 (in case it
237 is released one day).