🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88050

SQLnetNews cheat sheet – install documentation

#88050
From: 🇧🇫 🇧🇮 🇰🇭 🇨🇲
Date: Fri, 24 Jan 2020 15:07
56 lines
2389 bytes

consider performing any of the below, pls follow-up with any corrections




	sudo -H   setcap cap_net_bind_service=+ep /home/URESELF/bin/sqlnetnews   ## set bind capabilities    for  port  # 119
	# wget   https://www.sqlite.org/2020/sqlite-src-3310000.zip

	# gcc shell.c sqlite3.c -lpthread -ldl
	  gcc -s -O2 -o ~/bin/sqlnetnews sqlnetnews.c sqlite3.o -ldl -lpthread -lrt
	ls -l  sqlite3.o                                             #  make sqlite from sources and copy to here
	chmod +x ~/bin/sqlnetnews

	sudo chmod +x  /etc/xinetd.d/nntp
	sudo -H xinetd -d                      # debug mode in Konsole bash

	exit


/etc/    content  like:

#
# /etc/xinetd.conf
#

defaults
{
         instances               = 60
         log_type                = SYSLOG authpriv
         log_on_success          = HOST PID
         log_on_failure          = HOST
         cps                     = 25 30
}

includedir /etc/xinetd.d





	file:///etc/xinetd.d/nntp
service nntp
{
         socket_type             = stream
         wait                    = no
         user                    = root
         server                  = /home/URESELF/bin/sqlnetnews
         log_on_success  += HOST DURATION
         log_on_failure  += HOST
         disable                 = no
}


Technical Details
Message-ID: <r0f18c$24r$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!injection-bsd1!not-for-mail
References: <r0f04s$1dko$1@neodome.net>

Show Full Headers
Complete Article Headers
Message-ID: <r0f18c$24r$1@neodome.net>
Subject: SQLnetNews cheat sheet – install documentation
Date: Fri, 24 Jan 2020 16:07:56 +0100
From: 🇧🇫 🇧🇮 🇰🇭 🇨🇲 <me@use.net>
References: <r0f04s$1dko$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!injection-bsd1!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers
Organization: a pointless spider patient
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Jan 2020 15:07:56 -0000 (UTC)
Injection-Info: neodome.net; mail-complaints-to="abuse@neodome.net"
User-Agent: general.useragent.override
In-Reply-To: <r0f04s$1dko$1@neodome.net>
Content-Language: en-US
X-Received-Bytes: 2233
X-Received-Body-CRC: 1056437731