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



DNews has two ways of receiving a feed, either a suck (pull), or ihave (push) feed. INN, is really just ihave feed.

A Suck feed is where your server connects to ours and pulls only the groups it wants, and when your users post, it sends to us using post method, if you think this sounds like it's really acting as a middle man behaving exactly as a desktop newsreader client, you're right, it's essentially a proxy!

An ihave or push feed, is where we send on to you the articles without you constantly asking for them, and your send sends your local posts to us in a more efficient manner.

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, we will assume your server is called news.example.net your IP Ranges are 10.10.2.* and 10.10.3.*

Get a list of groups, run tellnews getgroups

DNews - Sucking Feed


/etc/dnews.conf:

# Many options in this file, the ones we need to 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:::*




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:::*




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"


INN's reader access is rather strange compared to DNews simplicity, but I'm not here to educate or lecture you on INN, 
since there's far more INN informed people than I

An example to let 10.10.3.* and localhost access the server and nobody else -


/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.3.0/24"
    default: "<members>"
}
            
access members {
    users: "<members>"
    newsgroups: "*"
    strippath: true
}
                                        



Hopefully your now up and runninng... once you get over any quirks to starting INN that is :)


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