sn

sn is a small news system for sites which serve perhaps a few dozen newsgroups, and which have a slow connection to the Internet. The target user is a home or SOHO with a single modem connection to the Internet and serving a few workstations. sn also includes a mail-to-news filter.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  10 Aug 2004 09:48

No changes have been submitted for this release.

  •  26 Apr 2004 15:45

Release Notes: A few binaries have been renamed to avoid conflicts with other packages. A segfault on PPC Linux systems has been fixed. A contrib directory has been added for contributed tools/examples. There are some small bugfixes.

  •  20 Jan 2003 17:00

No changes have been submitted for this release.

  •  06 Jul 2002 14:46

No changes have been submitted for this release.

  •  13 Nov 2001 17:34

Release Notes: This release fixes a tiny but show stopping bug in one of the shell scripts.

RSS Recent comments

12 Oct 2011 15:24 kensington

Second try:

--- file_not_specified_in_diff
+++ file_not_specified_in_diff
@@ -9,6 +9,7 @@
* Get a single line from an fd.
*/

+#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
@@ -6,6 +6,7 @@
*/

#include <unistd.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <sys/wait.h>

12 Oct 2011 15:23 kensington

A patch from Debian to fix warnings (posted here due to this being the most likely place anyone interested will see it):

--- file_not_specified_in_diff
+++ file_not_specified_in_diff
@@ -9,6 +9,7 @@
* Get a single line from an fd.
*/

+#include
#include
#include
#include
@@ -6,6 +6,7 @@
*/

#include
+#include
#include
#include

03 May 2003 08:27 patrikr

Use the mailing list
Please, if you have patches or other enhancements that you want to submit to sn, send them to the mailing list. This forum is not the right place for them.

Signed,
the maintainer :)

02 May 2003 12:54 DominicB

Re: username/password authentication
Ok, this is not, what I expected to happen ;-)

The pre-commands are stripped. See sourcecode of html page for the original diff file.

02 May 2003 12:51 DominicB

Re: username/password authentication
This should fix some problems:

--- nntp.sh.old 2003-05-02 21:31:21.000000000 +0200
+++ nntp.sh.new 2003-05-02 21:36:02.000000000 +0200
@@ -42,5 +42,5 @@
}

-echo "200 Hi, you can post (sn simple auth script)"
+printf "200 Hi, you can post (sn simple auth script)\r\n"

@@ -59,11 +59,17 @@
#switchpart=`echo ${currentline:0:14} | tr [:lower:] [:upper:]`
case "$switchpart" in
- "LIST EXTENSION")
+ "LIST EXTENSIONS")

- echo "202-Extensions supported:"
- echo " AUTHINFO USER"
- echo "."
+ printf "202-Extensions supported:\r\n"
+ printf " AUTHINFO USER\r\n"
+ printf " MODE READER\r\n"
+ printf ".\r\n"
haveuser=""
;;
+ "MODE READER")
+ # some newsreaders (e.g. MacSoup ;-))
+ # send this command at the very beginning
+ printf "200 You are already in this mode. Ignored.\r\n"
+ ;;
"QUIT")

@@ -73,5 +79,5 @@
# extract username
haveuser=${currentline:14}
- echo "381 Continue with authorization sequence"
+ printf "381 Continue with authorization sequence\r\n"

# echo $haveuser
@@ -84,10 +90,10 @@

if checkuser $haveuser $havepass ; then
- echo "281 Authorization accepted"
+ printf "281 Authorization accepted\r\n"
export POSTING_OK=1 # is this necessary?

exec $SNNTPD -S logger -p news.info
else
- echo "482 Authorization rejected $msg"
+ printf "482 Authorization rejected $msg\r\n"
fi

@@ -95,5 +101,5 @@
;;
*)
- echo "450 Authorization required for this command"
+ printf "450 Authorization required for this command\r\n"
haveuser=""

Screenshot

Project Spotlight

check_tfl

A Nagios check for Transport For London services.

Screenshot

Project Spotlight

queXS

A Web based computer assisted telephone interviewing system.