NNTP server written in rc
Go to file
kitzman 4138bf3cc0 updated readme mirrors 2023-11-07 18:27:44 +00:00
handlers first commit 2023-07-16 16:54:41 +03:00
LICENSE first commit 2023-07-16 16:54:41 +03:00
README updated readme mirrors 2023-11-07 18:27:44 +00:00
mkfile first commit 2023-07-16 16:54:41 +03:00
rc-nntpd first commit 2023-07-16 16:54:41 +03:00
select-handler first commit 2023-07-16 16:54:41 +03:00

README

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

Mirrors:

https://git.disroot.org/kitzman/rc-nntpd

http://shithub.us/kitzman/rc-nntpd/HEAD/info.html

	- authentication