Broadband-Hamnet™ Forum :: Applications
Welcome Guest   [Register]  [Login]
 Subject :NNTP - Network News Transport Protocol.. 2014-02-17- 17:53:39 
n2xu
Member
Joined: 2013-12-07- 10:33:05
Posts: 12
Location: Fort Walton Beach, Florida

Wondering if anyone has built a mesh-only NNTP presence. NNTP is well suited for decentralized group messaging, Everyone could have a NNTP server OR there could be 1 or 2 on each local mesh area.  NNTP is scalable, distributed and decentralized and for this reason I think it would work well on the mesh.

I've built an email (SMTP/IMAP4) server and NNTP server on a Raspberry Pi and attached it to one of my two nodes.  I do believe we could port a couple of the ham radio related usenet groups onto the mesh, but I've chosen NOT to at this point because I really don't want to rely on the public internet.  Currently have just a few local newsgroups created on it but there are just test articles in the message base.

Anyone else want to try to try and give this a whirl to see if it really makes sense or not? I'm willing to build some IP tunnels through the internet to other mesh areas if there is other interest.


IP Logged
73 de n2xu
Tom Cardinal/MSgt USAF (Ret)/BSCS, Security+
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-17- 23:09:27 
sp2ong
Member
Joined: 2013-10-30- 10:57:25
Posts: 72
Location

Hi,

You cna install OpenBCM software whre you have typical BBS with W0RLI forward via telnet to other AX.25 Packet Radio BBS.  OpenBCM have SMTP/POP3 server and NNTP server. You can get access to OpenBCM via http web browser to read and post or use Mail client like Thunderbird to read and post to OpenBCM via NNTP reader or via SMTP.

I have use OpenBCM on my Raspberry PI and working very nice and I have forwarding with other (stil exist) Packet Radio BBS and local users can connect to my system use different way

http://sp2ong.ampr.org:9080

or via NNTP/SMTP/POP3 via Mail client

You can download OpenBCM from http://dnx274.org/baybox/pages/download.html

73 Waldek sp2ong


IP Logged
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-18- 03:59:25 
N1AHH
Member
Joined: 2013-12-29- 09:04:08
Posts: 11
Location

I am interested in your project. However I am a newbie at this mesh stuff. Fair IT background, but been out of the business for 15 years now so all information subject to brain scramble.

I live in a remote desert community. Few hams local, however we are trying to do some long range RF hops to expand the mesh.

Interested in news feeds, e-mail and tunneling.

I will be here in the southern AZ desert until May or so when we move to Maine. Again a very rural area. From there we will head to my daughters farm in Brazil sometime in January. Again a very remote area. so setting up news, email and tunneling would be of great interest.

How do you suggest we proceed?

I have Pi and stack of meshed routers in hand.

N1AHH


IP Logged
 Subject :Re:Re:NNTP - Network News Transport Protocol.. 2014-02-19- 10:14:59 
n2xu
Member
Joined: 2013-12-07- 10:33:05
Posts: 12
Location: Fort Walton Beach, Florida


Will look into OpenBCM on a separate rPi... I already have Postfix, Dovecot and Innd2 installed and working on my local mesh and don't want to lose the work already done. I'm probably doing it the hard way, but I can already send mail between users on the rPi using Postfix/Dovecot and already have local working newsgroups on Innd2. I chose these apps because they are widely available, easy to configure and for the most part industry standard.

Will contact you when I'm ready to set some tunnels up.


Thanks for the reply.



[sp2ong 2014-02-17- 23:09:27]:

Hi,

You cna install OpenBCM software whre you have typical BBS with W0RLI forward via telnet to other AX.25 Packet Radio BBS.  OpenBCM have SMTP/POP3 server and NNTP server. You can get access to OpenBCM via http web browser to read and post or use Mail client like Thunderbird to read and post to OpenBCM via NNTP reader or via SMTP.

I have use OpenBCM on my Raspberry PI and working very nice and I have forwarding with other (stil exist) Packet Radio BBS and local users can connect to my system use different way

http://sp2ong.ampr.org:9080

or via NNTP/SMTP/POP3 via Mail client

You can download OpenBCM from http://dnx274.org/baybox/pages/download.html

73 Waldek sp2ong



IP Logged
73 de n2xu
Tom Cardinal/MSgt USAF (Ret)/BSCS, Security+
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-19- 10:22:55 
n2xu
Member
Joined: 2013-12-07- 10:33:05
Posts: 12
Location: Fort Walton Beach, Florida
As I'm on a business trip my efforts are on hold until the weekend. my suggestion is to try OpenBCM out or try installing Postfix/Dovecot and Innd2 as a first step...I googled and found a lot of support for postfix/dovecot but not as much for Innd2. Also you should find someone (maybe me) to peer a GRE tunnel.
IP Logged
73 de n2xu
Tom Cardinal/MSgt USAF (Ret)/BSCS, Security+
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-19- 10:22:59 
n2xu
Member
Joined: 2013-12-07- 10:33:05
Posts: 12
Location: Fort Walton Beach, Florida
As I'm on a business trip my efforts are on hold until the weekend. my suggestion is to try OpenBCM out or try installing Postfix/Dovecot and Innd2 as a first step...I googled and found a lot of support for postfix/dovecot but not as much for Innd2. Also you should find someone (maybe me) to peer a GRE tunnel.
IP Logged
73 de n2xu
Tom Cardinal/MSgt USAF (Ret)/BSCS, Security+
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-19- 18:09:16 
sp2ong
Member
Joined: 2013-10-30- 10:57:25
Posts: 72
Location

Hi,

Ok you can download my working OpenBCM on RPI:

http://hamnet.ugu.pl/download/obcm-rpi-full.tar.gz

Add user and group "bcm" with home dir /usr/local/bcm. Restore archive below in /usr/local/

chmod -R bcm.bcm /usr/local/bcm

Change in file /usr/local/bcm/init.bcm own call and port number for services default is:

http 9080

smtp 9025

pop3 9110

nntp 9119

copy to usr/local/bin file /usr/local/bcm/bct

BCT is terminal login to OpenBCM

add in /etc/rc.local command

su bcm  /usr/local/bcm/startupbcm

to start up OpenBCM on RPI up

when you start up OBCM you can access to OpenBCM

http://you_ip:9080 and login with your call but before this you must login via on terminal use "bct" to create account and add password with command after login

A TTYPW

You can see own setting use command:

A

Change language:

A S GB


You can find manual (90% translate to english) in /usr/local/bcm/msg

OpenBCM_1.07_Docu_English_29.12.2006.pdf

You can download sources OpenBCM modify by me to compile on RPI

http://hamnet.ugu.pl/download/sobcm-1.07b12-rpi.tgz

and complie with "make"

I thing that instead GRE link is better you cna run on RPI AmprNet GW (you can register on http://portal.ampr.org) after this your RPI will part of global AMPRNet network with ip addres 44.xx and your server and other local users via this amprnet will be have access to others amprnet network.

When you setup AmprNet GW you can simple connet to my server http://sp2ong.ampr.org

You can setup OpenVPN or RPI to make tunnel to users ham radio to access from Internet.


73 Waldek sp2ong

IP Logged
Last Edited On: 2014-02-20- 05:26:52 By sp2ong for the Reason
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-19- 18:20:35 
sp2ong
Member
Joined: 2013-10-30- 10:57:25
Posts: 72
Location

If try setup of AmprNet GW on RPI you can use ampr-ripd download from

http://www.yo2loj.ro/hamprojects/

and create script to run like me below and change from 44.165.32.xx to own IP

#!/bin/sh
# SP2ONG amprnet routing including rules.
##################################################################
## This script was developed by KB3VWG on a standard Ubuntu 12.04.1 LTS PC
## with IPv4 forwarding enabled in /etc/sysctl.conf by changing the
## net.ipv4.ip_forward variable to 1, eth0 configured to the Public facing
## LAN and eth1 to the 44LAN. It is designed to enable an AMPR Router using the
## rip44d_table44 file, the standard rip44d, using the -t switch to add routes
## to routing table �44�� with no fruther configuration needed (firewall optional)
##################################################################
## This script was modified by LX1DUC to automate even more tasks.
##################################################################
########################################
### ENABLE IP FORWARDING ###
sysctl -w net.ipv4.ip_forward=1
########################################
### ENABLE IPIP TUNNEL INTERFACE tunl0 ###
### you must enable the tunnel before specifying routes using the tunnel
modprobe ipip
# My server AmprNet IP
ip addr add 44.165.32.1/32 dev tunl0
### gives tunnel its own TTL of 64 enabling traceroute over tunnel
#ip tunnel change ttl 64 mode ipip tunl0
ip link set dev tunl0 up
ifconfig tunl0 mtu 1480
########################################
### FIREWALL TO COMPLY WITH AMPR ROUTING RULES ###
########################################
### LAN ROUTING RULES (required if used as the LAN�s gateway) ###
### Allows 44LAN to use main routing table to access LAN (optional)
### (NAT/masquerade from 44.60.44.0/24 to must be configured
### if LAN hosts do not use AMPR Router as their LAN Gateway)
#ip rule add from 44.165.32.0/24 table main priority 1
#ip rule add to 44.165.32.0/24 table main priority 1
########################################
### AMPR ROUTING RULES ###
### Per PE1CHL: �This is �required� to get routing of the net-44 traffic correct ###
### and have a default route for the tunneled traffic different from the default ###
### route of the system. It may be possible to get it working without this, but ###
### policy based routing is so much easier.� ###
### Packets to and from the 44 Network use Route Table 44
ip rule add to 44.0.0.0/8 table 44 priority 44
ip rule add from 44.165.32.0/24 table 44 priority 45
####### TABLE 44 ROUTES ###
### Default Route [Internet Access] using AMPRGW for 44/8 hosts (optional)
### do NOT change the IP 169.228.66.251, this is the central AMPR Gateway
### and all traffic leaving AMPRnet towards the internet MUST pass this router.
ip route add default dev tunl0 via 169.228.66.251 onlink table 44
# link to WRT54 Mesh Node where WRT have IP 44.165.32.254 and 192.168.1.5
#ip route add 44.165.32.254/32 dev tunl0 via 192.168.1.5 onlink table 44
### Leave the 44.0.0.1 route below commented if the default route is used,
### in which case, RIP44 will create it automatically
#ip route add 44.0.0.1 dev tunl0 via 169.228.66.251 onlink table 44 window 840
### Adds 44LAN Network to Table 44

# Network for OpenVPN tunnell
#ip route add 44.128.1.0/24 dev tun1 table 44
#ip route add 44.128.2.0/24 dev tun0 table 44
#iptables -t nat -A POSTROUTING -s 44.128.0.0/16 -o tunl0 -j MASQUERADE

 ####################################

iptables -A INPUT -i tunl0 -p all ! -s 44.0.0.0/8 -j DROP
########################################
### STARTS THE rip44d ROUTER DAMEON � removing the WAN IP address of the local gateway ###
### (rip44d announcements, 44LAN route, and removing local WAN IP with -a switch
### equals full AMPR routing table)
/usr/local/sbin/ampr-ripd -s -r -t 44 -i tunl0 -p password -a 44.165.32.0/24


The password in ampr-ripd you must know from porta.ampr.org or ask me when you register amprnetGW

IP Logged
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-20- 07:19:24 
sp2ong
Member
Joined: 2013-10-30- 10:57:25
Posts: 72
Location

Hi,

I have replace file http://hamnet.ugu.pl/download/obcm-rpi-full.tar.gz

new version full package contain binary "bcm" for RPI and Linux after restore archive

please copy bcm.linux to bcm for Linux and bcm.rpi to bcm for RPI

Archive include 2 version terminal to login OpenBCM bct.rpi and bct.linux


73 Waldek sp2ong

IP Logged
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-25- 15:36:12 
n2xu
Member
Joined: 2013-12-07- 10:33:05
Posts: 12
Location: Fort Walton Beach, Florida
Interesting Waldek, I'll look into doing AMPR gateway, would be interesting to see if I can get connectivity to 44.x.x.x ip space.
IP Logged
73 de n2xu
Tom Cardinal/MSgt USAF (Ret)/BSCS, Security+
 Subject :Re:NNTP - Network News Transport Protocol.. 2014-02-27- 05:59:24 
sp2ong
Member
Joined: 2013-10-30- 10:57:25
Posts: 72
Location

Hi,

We have discus about Amprnet gw and BBHN in

http://www.broadband-hamnet.org/hsmm-mesh-forums/view-postlist/forum-18-how-we-used-hsmm-mesh/topic-660-hsmm-mesh-and-amprnet.html

I have show example on picture my local configuration.


73 Waldek sp2ong

IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: