shithub: rc-nntpd

ref: 53c3169386da4cffee65e3dfe94723c299e98d05
dir: /README/

View raw version
rc-nntpd is a NNTP server inspired by rc-httpd.

The scripts expect to be installed under /rc/bin/rc-nntpd.

The rc_nntpd_dir setting in the script defaults to the installation
directory.

You can adjust the NNTP storage path in select-handler:11.

For persisting connection states, the /tmp directory is used. One
can use a dedicated ramfs, or any kind of directory which is
not subject to snapshotting. The variable is in select-handler:14.

The service can be started with listen(8). To have the port listening
on the server, you can can use the tcp119 file:

#!/bin/rc
net=$3
exec /rc/bin/rc-nntpd/rc-nntpd >>[2]/sys/log/nntp

For a TLS-encrypted connection, one can use tlssrv(8). A certificate
must be created, and the correct listen(8) file added.

TODO:
	- XOVER
	- posting
	- authentication