UseNet

Home |  Terms of Use |  Current Groups |  What is Usenet |  Peering |  Report Abuse |  Contact

Peering

What is it

Obtaining A Feed

Privacy and Logging



Configuring Guides

Sadly, DNews is no longer in production nor supported, it is not IPv6 capable, nor is it native 64bit, however, it is still very functional and powerful, it is very fast and resource nice, not wanting a sizable chunk of system resources to run - for those reasons we still use it today!

INN however, is still actively developed, runs native 64bit, and IPv6, so may be the better option if you are starting your News Server fresh and don't require fancy access configurations such as pop or radius methods.



DNews has two ways of receiving a feed, either a suck (pull), or ihave (push) feed (explanations above).

INN is not designed to work as a pull server, it can, but is very inefficient and thus should not be used for suck/pull feeds.

For simplicity, the following examples will assume your server is called news.example.net and your IP Ranges are 10.10.2.* 10.10.3.* and 10.10.4.48 to 10.10.4.63


DNews - Sucking Feed

Get a list of groups, run tellnews getgroups

/etc/dnews.conf:

# Many options in this file, the ones we need to set/change are as follows - 


nntp_feeder news.ausics.net *

myname news.example.net
path_stamp news.example.net

pull true
update_at *5 *
groups_at 0 5
send_at *5 *
expire_at 0 0
expire_any true

spam_stop true



access.conf:

#This file is read top to bottom, last match wins so always first line must be to default to no access

*:logoff:::*

# Allow your IP Ranges, be they internal and/or external
10.10.2.*:read,post:::*
10.10.3.*:read,post:::*
10.10.4.48/28:read:post:::*



newsfeeds.conf:
#(WARNING:  "site me" section MUST be the FIRST un-commented entry in this file, it determines what you accept from us
#           and $nntp_feeder is what you send to us)


site me
        groups *,!*.bina*,!*.bain*,!*.dateien*,!local.*,!free.at,!free.usenet,!free.pt,!alt.spam,!free.ucp,!unidata.*!junk.*
        
        
site $nntp_feeder
       groups *,!*.bina*,!*.bain*,!*.dateien*,!local.*,!free.at,!free.usenet,!free.pt,!alt.spam,!free.ucp,!unidata.*!junk.*
       maxsize 100000
       posting
       accept default
       reject body "\nContent-transfer-encoding: base64"
        
        
Start and run   tellnews getgroups

That should get you going....


DNews - iHave Feed


/etc/dnews.conf:

# Many options in this file, the ones we need to change are as follows (note we now explicitly comment out some things) - 


#nntp_feeder news.ausics.net *

myname news.example.net
path_stamp news.example.net

#pull true
#update_at *5 *
#groups_at 0 5
#send_at *5 *
#expire_at 0 0
#expire_any true


post_rec true

org Welcome to news.example.net
org_replace true

spam_stop true



access.conf:

#This file is read top to bottom, last match wins so always first line must be to default to no access

*:logoff:::*

news.ausics.net:ihave:::*


# Allow your IP Ranges, be they internal and/or external
10.10.2.*:read,post:::*
10.10.3.*:read,post:::*
10.10.4.48/28:read:post:::*




newsfeeds.conf:
#(WARNING:  "site me" section MUST be the FIRST un-commented entry in this file, it determines what you accept from us
#           and $nntp_feeder is what you send to us)


site me
        groups *,!*.bina*,!*.bain*,!*.dateien*,!local.*,!free.at,!free.usenet,!free.pt,!alt.spam,!free.ucp,!unidata.*!junk.*
        
        
site news.ausics.net
       groups *,!*.bina*,!*.bain*,!*.dateien*,!local.*,!free.at,!free.usenet,!free.pt,!alt.spam,!free.ucp,!unidata.*!junk.*
       maxsize 100000
       builtin
       onlyposts
       accept default
       reject body "\nContent-transfer-encoding: base64"
        
        

Start and run   tellnews getgroups

That should get you going....



INN




/etc/news/newsfeeds:


ausics/news.ausics.net\
       :*,!*.bina*,!*.bain*,!*.dateien*,!local.*,!free.at,!free.usenet,!free.pt,!alt.spam,!free.ucp,!unidata.*,!junk.*\
       :Af,Ap,C100,G50,U5,<100000,Tm\
       :innfeed!



/etc/news/innfeed.conf  

peer ausics
{
        ip-name: news.ausics.net
    	initial-connections: 2
    	max-connections: 4
    	dynamic-method: 1	
}


/etc/news/incoming.conf

peer ausics
{
    hostname: "news.ausics.net"
}


Download latest active file, or try:  su news -s /bin/sh -c "actsync news.ausics.net"


With INN we also add a localhost access group to server



/etc/news/readers.conf: 

auth "localhost" {
    hosts: "localhost, 127.0.0.1, ::1, stdin"
        default: "<localhost>"
}
        
access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
    access: RPA
}
                    
auth members {
    hosts: "10.10.2.0/24, 10.10.3.0/24, 10.10.4.48/28"
    default: "<members>"
}
            
access members {
    users: "<members>"
    newsgroups: "*"
    strippath: true
}
                                        


If you copy and paste these examples, remembering to change the access IP's to suite your own network, you should be up and running...
once you get over any quirks to starting INN that is :)

And remember to modify /etc/news/inn.conf to suite your needs, in particular you'll need to customise

server:         news.example.net
pathhost:       news.example.net
organization:   Welcome to our news server
complaints:     abuse@example.net

They are the main ones, but you should at least skim over all the options there.



Copyright © Noel Butler 2002-2018. All Rights Reserved.