Thread View: news.software.nntp
22 messages
22 total messages
Started by news
Sun, 27 Oct 2019 23:21
sqlnetnews - a small NNTP server software with SQLite
Author: news
Date: Sun, 27 Oct 2019 23:21
Date: Sun, 27 Oct 2019 23:21
57 lines
3840 bytes
3840 bytes
I wrote a new NNTP server software called sqlnetnews. It is using SQLite to store the data, it is written in C (with only 1411 lines of code so far!) and configuration is compiled into the program. (I actually wrote it some time ago, although I have not announced it util now.) I wrote it because I found that other NNTP server software does not have what I wanted, and may be too big and complicated, too. Also, I don't really like web forums and mailing lists and I think that NNTP is better. You can also mention any questions/comments you have on here, please. There are a few nonstandard features: * The POSTQUIT command is meant to be helpful for users who do not have specialized NNTP software. If using a server with this nonstandard command then you can prepare a "POSTQUIT" file and then just use nc and redirect stdin to read that file, in order to post the article. * SUBSCRIBE and UNSUBSCRIBE commands will work if enabled in the configuration file, although currently it won't send them to anyone; the program to do that would be a separate program and it is not yet written. Allowing mentioning an email address for subscription might also be useful for users who want to receive them by email. Therefore, probably this command should be disabled for now unless you can use it. * Supports 63-bit article numbers. If you do not post so many articles to reach the 31-bit limit then it will still be only 31-bits; if you have more articles than that then this is probably the simplest way that it can work; clients that do not understand this extension are guaranteed to break as soon as there are too many articles no matter what you do (I have seen other suggestions posted on this news.software.nntp, although you can't make it "automatically work" if the software doesn't support it, and my way is probably the simplest way, and works with the "bystand" NNTP client software, and maybe others too that I do not know about). It can also be helpful to mention Unusenet. Unusenet is a format for newsgroup names which are not part of Usenet; a server or client can easily deal with both Usenet and Unusenet together if wanted. There is many Unusenet hierarchies (all of which start with "un" and then one or more digits and then a dot), but perhaps the most common kind will be as follows: Start with "un" and then the number of parts of the domain name, and then a dot, and then the reverse domain name; you can then add further parts to the newsgroup name if wanted. That specifies the "authoritative server" for that newsgroup; non-authoritative servers are still possible. (In this way, the namespaces do not clash. Other Unusenet hierarchies can be used to avoid namespace clashes in different ways, which do not necessarily have any "authoritative server", or might use some method other than the internet; in all cases other than the reverse domain name case, they start with "un0.".) Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ Download: http://zzo38computer.org/prog/sqlnetnews.zip -- Note: I am not always able to read/post messages during Monday-Friday.
What is sqlnetnews' license?
Author: J.B. Nicholson
Date: Thu, 31 Oct 2019 00:42
Date: Thu, 31 Oct 2019 00:42
49 lines
3348 bytes
3348 bytes
news@zzo38computer.org.invalid wrote: > I wrote a new NNTP server software called sqlnetnews. It is using SQLite > to store the data, it is written in C (with only 1411 lines of code so > far!) and configuration is compiled into the program. (I actually wrote it > some time ago, although I have not announced it util now.) [...] > > Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ What is the program's license? I looked at http://zzo38computer.org/fossil/sqlnetnews.ui/artifact/c6c434b64ad2a29c and http://zzo38computer.org/fossil/sqlnetnews.ui/artifact/c0e9a146ef6714d7 (the only two files for the program) and I found no mention of a license. From https://www.gnu.org/licenses/license-list.html#NoLicense : > If source code does not carry a license to give users the four > essential freedoms, then unless it has been explicitly and validly > placed in the public domain, it is not free software. > > Some developers think that code with no license is automatically in > the public domain. That is not true under today's copyright law; > rather, all copyrightable works are copyrighted by default. This > includes programs. Absent a license to grant users freedom, they > don't have any. In some countries, users that download code with no > license may infringe copyright merely by compiling it or running it. > > In order for a program to be free, its copyright holders must > explicitly grant users the four essential freedoms. The document > with which they do so is called a free software license. This is > what free software licenses are for. > > Some countries allow authors to put code in the public domain, but > that requires explicit action. If you wish to do that, the method we > recommend is to use CC0, which also works in other countries by > putting on a license that is more or less equivalent to public > domain. However, in most cases it is better to copyleft your code to > assure that freedom reaches all users of the code. > > Code written by employees of the US government is a special > exception, since US copyright law explicitly puts that in the public > domain; but this does not apply to works that the US pays a company > to write. It also does not apply to other countries, many of which > do allow the state to have a copyright on government writings. I hope you will consider placing a clear license declaration in the program's files and I hope you'll pick a free software license.
Re: What is sqlnetnews' license?
Author: news
Date: Thu, 31 Oct 2019 05:44
Date: Thu, 31 Oct 2019 05:44
27 lines
1603 bytes
1603 bytes
"J.B. Nicholson" <jbn@forestfield.org> wrote: > > > What is the program's license? > > I looked at > http://zzo38computer.org/fossil/sqlnetnews.ui/artifact/c6c434b64ad2a29c > and > http://zzo38computer.org/fossil/sqlnetnews.ui/artifact/c0e9a146ef6714d7 > (the only two files for the program) and I found no mention of a > license. > > [...] > > I hope you will consider placing a clear license declaration in the > program's files and I hope you'll pick a free software license. It does say near the top of sqlnetnews.c that "This program is public domain" (on line 6). I certainly do intend it to be Free software. I have now added the notice at the top mentioning CC0, and the COPYING file, as recommended by the CC0 FAQ. Hopefully now it is acceptable. -- Note: I am not always able to read/post messages during Monday-Friday.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: hcwl.mtp
Date: Fri, 01 Nov 2019 08:48
Date: Fri, 01 Nov 2019 08:48
6 lines
1304 bytes
1304 bytes
Hi, > Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ > Download: http://zzo38computer.org/prog/sqlnetnews.zip At this time, both links are unavailable.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: news
Date: Wed, 13 Nov 2019 02:41
Date: Wed, 13 Nov 2019 02:41
20 lines
1573 bytes
1573 bytes
hcwl.mtp@gmail.com wrote: > > > Hi, > > > Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ > > Download: http://zzo38computer.org/prog/sqlnetnews.zip > > At this time, both links are unavailable. That is true; my internet currently doesn't work. So, I am using a Raspberry Pi computer with wireless internet. I hope it gets fixed before December. If anyone else has already downloaded it, I suppose you can get it from them for now. I can also transfer the file using a CompactFlash card and then upload it, but I don't know where to upload it to, unfortunately. And FTP doesn't work with this wireless internet. -- Note: I am not always able to read/post messages during Monday-Friday.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: hcwl.mtp
Date: Wed, 13 Nov 2019 03:37
Date: Wed, 13 Nov 2019 03:37
17 lines
1960 bytes
1960 bytes
Hi, > > At this time, both links are unavailable. > > That is true; my internet currently doesn't work. So, I am using a Raspberry Pi > computer with wireless internet. I hope it gets fixed before December. If anyone > else has already downloaded it, I suppose you can get it from them for now. If you want your software to be used, you will need to provide permanent links to download it. No one will look for hours how to get it. You will also need to provide a minimum of support and be responsive to questions until you are able to have a federated community around your software. > I can also transfer the file using a CompactFlash card and then upload it, but I > don't know where to upload it to, unfortunately. Seriously? In 2019? A simple Google account (Drive) could do the trick...
Re: What is sqlnetnews' license?
Author: Miquel van Smoorenburg
Date: Sat, 16 Nov 2019 21:44
Date: Sat, 16 Nov 2019 21:44
33 lines
2147 bytes
2147 bytes
In article <1572495914.bystand@zzo38computer.org>, <news@zzo38computer.org.invalid> wrote: >"J.B. Nicholson" <jbn@forestfield.org> wrote: >> >> >> What is the program's license? >> >> I looked at >> http://zzo38computer.org/fossil/sqlnetnews.ui/artifact/c6c434b64ad2a29c >> and >> http://zzo38computer.org/fossil/sqlnetnews.ui/artifact/c0e9a146ef6714d7 >> (the only two files for the program) and I found no mention of a >> license. >> >> [...] >> >> I hope you will consider placing a clear license declaration in the >> program's files and I hope you'll pick a free software license. > >It does say near the top of sqlnetnews.c that "This program is public >domain" (on line 6). I certainly do intend it to be Free software. > >I have now added the notice at the top mentioning CC0, and the COPYING >file, as recommended by the CC0 FAQ. > >Hopefully now it is acceptable. Are you using a VCS (version control system) to develop the software? If not, why not? If you are, chances are that it's "git", right. So put the software on github.com or gitlab.com. Mike.
Re: What is sqlnetnews' license?
Author: news
Date: Sun, 17 Nov 2019 00:27
Date: Sun, 17 Nov 2019 00:27
19 lines
1590 bytes
1590 bytes
"Miquel van Smoorenburg" <miquels@netscum.invalid> wrote: > > Are you using a VCS (version control system) to develop the software? > If not, why not? If you are, chances are that it's "git", right. > > So put the software on github.com or gitlab.com. > > Mike. I am using a version control system, but not git; I am using Fossil (which is, in my opinion (and many others), less confusing than git). Fossil does support export to Git in case you prefer that. My internet is now fixed, although the domain name does not point to my computer at the time of this writing (although it should be corrected soon, perhaps by the time you read this). The address is 24.207.50.7. -- Note: I am not always able to read/post messages during Monday-Friday.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Thu, 23 Jan 2020 14:02
Date: Thu, 23 Jan 2020 14:02
20 lines
1429 bytes
1429 bytes
On 10/28/19 12:21 AM, news@zzo38computer.org.invalid usenetted: > I wrote a new NNTP server software called sqlnetnews. yeah and deployed it at news://24.207.50.7/un2.org.zzo38computer.soft.sqlnetnews works like a f'ing charm mate! well done! had mine up & running in about 1 hour ! so cool ! now let us peer and document how to do the peering stuff ! thanks for the great free software SQLnetNews ! I totally like Fossil and projects with 1 ... 2 files ! THOSE ARE THE BEST !!
Re: sqlnetnews - greatest news server ever !
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Thu, 23 Jan 2020 14:13
Date: Thu, 23 Jan 2020 14:13
46 lines
2525 bytes
2525 bytes
On 11/13/19 4:37 AM, hcwl.mtp@gmail.com usenetted: > Hi, > >>> At this time, both links are unavailable. >> >> That is true; my internet currently doesn't work. So, I am using a Raspberry Pi >> computer with wireless internet. I hope it gets fixed before December. If anyone >> else has already downloaded it, I suppose you can get it from them for now. > > If you want your software to be used, you will need to provide permanent links to download it. No one will look for hours how to get it. > > You will also need to provide a minimum of support and be responsive to questions until you are able to have a federated community around your software. > >> I can also transfer the file using a CompactFlash card and then upload it, but I >> don't know where to upload it to, unfortunately. > > Seriously? In 2019? > A simple Google account (Drive) could do the trick... _FUCK_ GOOGLE dude !! I am glad the programmer stayed away from fucking evil BIG DATA for sqlnetnews ! let us not tarnish this great soft. instructions are always nice, but unless u lived under a rock for 10 years sqlnetnews can be gotten to run in 1 - 2 hours AS IS. maybe I'll throw in a lil Makefile myself though I hate to drive up the number of files from 3 to 4 therevy creating 33% more fucking bloatwarez. great kudos to zzo38 for his awesome nntpโwarez he published ! excellent release!
awesome news
Author: 15
Date: Thu, 23 Jan 2020 14:58
Date: Thu, 23 Jan 2020 14:58
11 lines
1044 bytes
1044 bytes
very cool ! I read it at http://homeunix.nl/cgi-bin/webnews.pl?showold=true;group=news.software.nntp;so rtorder=date;article=110884 ---------------------- http://homeunix.nl/webnews
xinetd sandboxed โ according to Lennart Pรถttering
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Thu, 23 Jan 2020 15:19
Date: Thu, 23 Jan 2020 15:19
12 lines
1291 bytes
1291 bytes
http://0pointer.de/blog/projects/inetd.html make the news daemon secure with systemd better safe than sorry ! sqlnetnews does I/O via xinetd
SQLnetNews - new small NNTP server with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Thu, 23 Jan 2020 16:51
Date: Thu, 23 Jan 2020 16:51
63 lines
4345 bytes
4345 bytes
check out this mega-awesome open-sourced freeware ! On 10/28/19 12:21 AM, news@zzo38computer.org usenetted: > I wrote a new NNTP server software called sqlnetnews. It is using SQLite > to store the data, it is written in C (with only 1411 lines of code so > far!) and configuration is compiled into the program. (I actually wrote it > some time ago, although I have not announced it util now.) > > I wrote it because I found that other NNTP server software does not have > what I wanted, and may be too big and complicated, too. Also, I don't > really like web forums and mailing lists and I think that NNTP is better. > > You can also mention any questions/comments you have on here, please. > > There are a few nonstandard features: > > * The POSTQUIT command is meant to be helpful for users who do not have > specialized NNTP software. If using a server with this nonstandard command > then you can prepare a "POSTQUIT" file and then just use nc and redirect > stdin to read that file, in order to post the article. > > * SUBSCRIBE and UNSUBSCRIBE commands will work if enabled in the > configuration file, although currently it won't send them to anyone; the > program to do that would be a separate program and it is not yet written. > Allowing mentioning an email address for subscription might also be useful > for users who want to receive them by email. Therefore, probably this > command should be disabled for now unless you can use it. > > * Supports 63-bit article numbers. If you do not post so many articles to > reach the 31-bit limit then it will still be only 31-bits; if you have > more articles than that then this is probably the simplest way that it can > work; clients that do not understand this extension are guaranteed to > break as soon as there are too many articles no matter what you do (I have > seen other suggestions posted on this news.software.nntp, although you > can't make it "automatically work" if the software doesn't support it, and > my way is probably the simplest way, and works with the "bystand" NNTP > client software, and maybe others too that I do not know about). > > It can also be helpful to mention Unusenet. Unusenet is a format for > newsgroup names which are not part of Usenet; a server or client can > easily deal with both Usenet and Unusenet together if wanted. There is > many Unusenet hierarchies (all of which start with "un" and then one or > more digits and then a dot), but perhaps the most common kind will be as > follows: Start with "un" and then the number of parts of the domain name, > and then a dot, and then the reverse domain name; you can then add further > parts to the newsgroup name if wanted. That specifies the "authoritative > server" for that newsgroup; non-authoritative servers are still possible. > (In this way, the namespaces do not clash. Other Unusenet hierarchies can > be used to avoid namespace clashes in different ways, which do not > necessarily have any "authoritative server", or might use some method > other than the internet; in all cases other than the reverse domain name > case, they start with "un0.".) > > Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ > > Download: http://zzo38computer.org/prog/sqlnetnews.zip > >
Re: sqlnetnews - a small NNTP server software with SQLite
Author: hcwl.mtp
Date: Thu, 23 Jan 2020 17:36
Date: Thu, 23 Jan 2020 17:36
18 lines
1660 bytes
1660 bytes
Just posted this article on zz38computer.magic.custom 119 : Newsgroups: un2.org.zzo38computer.magic.custom From: Someone me@someone Subject: Test Date: Mouahahahahahaha User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit ... It seems sqlnetnews DO NOT syntax-check headers... Email and date are invalid but article was accepted by host, who sends me a 240 OK. ...
Re: sqlnetnews - a small NNTP server software with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Thu, 23 Jan 2020 17:46
Date: Thu, 23 Jan 2020 17:46
22 lines
1674 bytes
1674 bytes
On 1/23/20 6:36 PM, hcwl.mtp@gmail.com usenetted: > Just posted this article on zz38computer.magic.custom 119 : > > Newsgroups: un2.org.zzo38computer.magic.custom > From: Someone me@someone > Subject: Test > Date: Mouahahahahahaha > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 > Thunderbird/68.3.1 > MIME-Version: 1.0 > Content-Type: text/plain; charset=utf-8; format=flowed > Content-Transfer-Encoding: 7bit > > ... > > It seems sqlnetnews DO NOT syntax-check headers... > Email and date are invalid but article was accepted by host, who sends me a 240 OK. > > ... > so what. it doesnt give much of a fuck. neither would I.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: hcwl.mtp
Date: Thu, 23 Jan 2020 19:09
Date: Thu, 23 Jan 2020 19:09
15 lines
1627 bytes
1627 bytes
> > It seems sqlnetnews DO NOT syntax-check headers... > > Email and date are invalid but article was accepted by host, who sends me a 240 OK. > > > > ... > > > > so what. it doesnt give much of a fuck. neither would I. Yeah, noobs doesnt give much of a fuck, other will care about RFCs. Rejecting a malformed article is a minimum for a server ... It prevent to propagate it all over the world. My2cents
Re: sqlnetnews - a small NNTP server software with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Fri, 24 Jan 2020 01:28
Date: Fri, 24 Jan 2020 01:28
16 lines
1636 bytes
1636 bytes
On 1/23/20 8:09 PM, hcwl.mtp@gmail.com usenetted: > >>> It seems sqlnetnews DO NOT syntax-check headers... >>> Email and date are invalid but article was accepted by host, who sends me a 240 OK. >>> >>> ... >>> >> >> so what. it doesnt give much of a fuck. neither would I. > > Yeah, noobs doesnt give much of a fuck, other will care about RFCs. > Rejecting a malformed article is a minimum for a server ... It prevent to propagate it all over the world. just set the date from the server clock in UTC and replace email with ab@cd.ef done.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: hcwl.mtp
Date: Fri, 24 Jan 2020 05:01
Date: Fri, 24 Jan 2020 05:01
7 lines
1568 bytes
1568 bytes
> just set the date from the server clock in UTC and replace email with ab@cd.ef No, I'd like to put something that doesn't make sense and I'd like the server to refuse my article. That's how it's supposed to work, noob. > done. Maybe for noobs, but certainly not for the developer.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Fri, 24 Jan 2020 05:57
Date: Fri, 24 Jan 2020 05:57
11 lines
1600 bytes
1600 bytes
On 1/24/20 6:01 AM, hcwl.mtp@gmail.com usenetted: >> just set the date from the server clock in UTC and replace email with ab@cd.ef > > No, I'd like to put something that doesn't make sense and I'd like the server to refuse my article. That's how it's supposed to work, noob. > >> done. > > Maybe for noobs, but certainly not for the developer. > well, this is 2019 and I'll upload a version that works the way I described.
Re: sqlnetnews - a small NNTP server software with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Fri, 24 Jan 2020 05:57
Date: Fri, 24 Jan 2020 05:57
15 lines
1722 bytes
1722 bytes
On 1/24/20 6:57 AM, ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ usenetted: > On 1/24/20 6:01 AM, hcwl.mtp@gmail.com usenetted: >>> just set the date from the server clock in UTC andย replace email withย ย ab@cd.ef >> >> No, I'd like to put something that doesn't make sense and I'd like the server to refuse my article. That's how it's supposed to >> work, noob. >> >>> done. >> >> Maybe for noobs, but certainly not for the developer. >> > > well, this is 2019 and I'll upload a version that works the way I described. or whatever year it is someplace
Re: SQLnetNews - new small NNTP server with SQLite
Author: Il Papero
Date: Fri, 24 Jan 2020 12:06
Date: Fri, 24 Jan 2020 12:06
5 lines
891 bytes
891 bytes
>> Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ >> >> Download: http://zzo38computer.org/prog/sqlnetnews.zip Thanks for sharing! This looks interesting.
Re: SQLnetNews - new small NNTP server with SQLite
Author: ๐ง๐ซ ๐ง๐ฎ ๐ฐ๐ญ ๐จ๐ฒ
Date: Fri, 24 Jan 2020 12:11
Date: Fri, 24 Jan 2020 12:11
9 lines
1209 bytes
1209 bytes
On 1/24/20 1:06 PM, Il Papero usenetted: >>> Fossil repository: http://zzo38computer.org/fossil/sqlnetnews.ui/ >>> >>> Download: http://zzo38computer.org/prog/sqlnetnews.zip > > Thanks for sharing! This looks interesting. > rocks like crazy!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads