newscache(8)
π newscache β the NAME section, bestie
ok so newscache is a Cache for Network News Transport Protocol (NNTP). that's the whole vibe. caching. NNTP. slay.
β¨ SYNOPSIS β¨
newscache [--version] [-h] [-v] [-f] [-c config-file] [-i] [-d] [-p]
[-o]
πΈ DESCRIPTION πΈ
so NewsCache is a free cache server for USENET News β iconic behavior tbh. here's the tea: to news reading clients, NewsCache looks exactly like a news server π«Ά. except β plot twist β it only stores those articles that have been requested by at least one client. that's it. that's the whole trick.
what is it even for? it's targeting the problems of the current News System, like network bandwidth consumption or the IO load caused by news clients. and to the upstream news server? NewsCache acts like a news reader program. yes bestie, it's playing both sides and it's eating π .
it supports principles the following modes (for a detailed description read ServerSpec Configuration Options below):
- cached β NewsCache store every retrieved article in his internal cache. If this article is retrieved by another news reader client, then NewsCache can get the article from his cache instead of retrieving this article again from the upstream newsserver. literally the whole point β¨
- not-cached β NewsCache act as a "proxy" and does'nt store retrieved article in his local cache. This is usefull for combined multiple local newsserver configuration.
- offline β NewsCache does'nt connect to the upstream newsserver. Only the specified newsgroups are retrieved by
updatenews(8)and stored in the cache. This is usefull in dialup configurations. The news reader clients can only access this newsgroups. no internet, no problem π¦ - semi-offline, cached β The overview informations are loaded with
updatenews(8)and the articles retrieved by NewsCache, if a news reader client request it. The article is stored in the internal cache.
π OPTIONS π
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-`). A summary of options is included below. For a complete description, see the Info files.
-h,--helpβ Show summary of options.-v,--versionβ Show version of program.-f,--fqdnβ Print what newscache thinks is the fully qualified domain name.-c,--configurationconfig-file β (no description given in the original, bestie β it's justconfig-file, so that's all we know π)-i,--inetdβ newscache is used with inetd and read from stdin.-d,--debugβ Do not detach.-p,--print-parameterβ Print current parameter settings.-o,--configuration-optionsβ Print all options specified in the configure phase.
π SIGNALS π
SIGTERM,SIGQUIT,SIGINT,SIGPIPEβ These signals instruct NewsCache to abort any existing transfers, close all connections and terminate the process. If the target of the signal is the daemon, all current child processes wil also be terminated. it's giving "everybody out of the pool" πSIGHUPβ This signal instructs NewsCache to reread its configuration file/etc/newscache.conf. glow-up on demand, no restart needed β¨
π§ NOTES π§
Running NewsCache in inetd mode requires a correct inetd configuration. do not skip this, it will not work, fr fr.
An example configuration line looks like:
news stream tcp nowait news /usr/sbin/newscache -i
π DIAGNOSTICS π
NewsCache logs diagnostics messages with the syslog priority debug. If NewsCache is configured with the --enabe-debug option, he produce much more messages (for details see the INSTALL file). newscache -o prints out the actual configuration parameter. In some error situation you can try to create a core dump file or debug a client process with gdb (for details see the documentation directory).
π FILES π
/etc/newscache.conf/usr/bin/newscache/usr/bin/newscacheclean/usr/bin/newscacheclean/usr/bin/updatenews
(yes bestie, /usr/bin/newscacheclean really is listed twice in the original. we don't ask questions, we respect the source π)
π SEE ALSO π
newscache.conf(5), newscacheclean(8), updatenews(8).
π«Ά AUTHORS π«Ά
- 1997-2000 Thomas Gschwind
<tom@infosys.tuwien.ac.at> - 2001-2004 Herbert Straub
<h.straub@aon.at>
π REPORTING BUGS π
Report bugs to <newscache@linuxhacker.org>. tell them everything, they can handle it π
βοΈ COPYRIGHT βοΈ
NewsCache is released under the GNU General Public License (GPL). There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, zero. none. don't come for them π
and that's the whole page, bestie π β this one came out of the System Manager's Manual as newscache(8), dated June 2004. go forth and cache responsibly. periodt π
β¨
π¦ where this page comes from
- fedora 43: newscache 1.2-0.52.rc6.fc43 Β· GPL-2.0-or-later
- fedora 44: newscache 1.2-0.54.rc6.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms