Merge branch 'master' of ssh://github.com/majestrate/nntpchan
This commit is contained in:
commit
f7211600f8
@ -15,9 +15,9 @@ Setting up postgres (as root)
|
|||||||
|
|
||||||
You'll get a prompt, enter the following:
|
You'll get a prompt, enter the following:
|
||||||
|
|
||||||
CREATE ROLE srnduser WITH LOGIN PASSWORD 'srndpassword';
|
CREATE ROLE srnd WITH LOGIN PASSWORD 'srndpassword';
|
||||||
CREATE DATABASE srnd WITH ENCODING 'UTF8' OWNER srnduser;
|
CREATE DATABASE srnd WITH ENCODING 'UTF8' OWNER srnd;
|
||||||
\q
|
\q
|
||||||
|
|
||||||
Change the username and password as desired.
|
Change the username and password as desired.
|
||||||
|
The username has to be the same as the database name.
|
||||||
|
12
doc/feeds.md
12
doc/feeds.md
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
In order to actually be distributed, you need another person to sync posts with, otherwise what's the point right?
|
In order to actually be distributed, you need another person to sync posts with, otherwise what's the point right?
|
||||||
|
|
||||||
Right now peering information is private, there is no link level authenticatio (yet) so everything is done via either a vpn tunnel or a tor hidden service.
|
Right now peering information is private, there is no link level authentication (yet) so everything is done via either a vpn tunnel or a tor hidden service.
|
||||||
|
|
||||||
### Peering over tor ###
|
### Peering over tor ###
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ Get your ipv6 address for cjdns
|
|||||||
|
|
||||||
ip addr show tun0
|
ip addr show tun0
|
||||||
|
|
||||||
Edit srnd.ini to bind nntp on that ipv6 address, make sure to use the square brances `[` and `]`
|
Edit srnd.ini to bind nntp on that ipv6 address, make sure to use the square braces `[` and `]`
|
||||||
|
|
||||||
[nntp]
|
[nntp]
|
||||||
...
|
...
|
||||||
@ -86,19 +86,19 @@ Then add to feeds.ini the following:
|
|||||||
|
|
||||||
Here is an example entry in feeds.ini
|
Here is an example entry in feeds.ini
|
||||||
|
|
||||||
[feed-aabbccddeeff1122.onion:119]
|
[feed-aabbccddeeff2233.onion:119]
|
||||||
proxy-type=socks4a
|
proxy-type=socks4a
|
||||||
proxy-host=127.0.0.1
|
proxy-host=127.0.0.1
|
||||||
proxy-port=9050
|
proxy-port=9050
|
||||||
|
|
||||||
[aabbccddeeff1122.onion:119]
|
[aabbccddeeff2233.onion:119]
|
||||||
overchan=1
|
overchan=1
|
||||||
ano.paste=0
|
ano.paste=0
|
||||||
ctl=1
|
ctl=1
|
||||||
|
|
||||||
But what does it mean?
|
But what does it mean?
|
||||||
|
|
||||||
[feed-aabbccddeeff1122.onion:119]
|
[feed-aabbccddeeff2233.onion:119]
|
||||||
|
|
||||||
Connection settings for a peer
|
Connection settings for a peer
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ Connection settings for a peer
|
|||||||
|
|
||||||
Proxy settings, straight forward. Supported proxy types are `socks4a` and `none`
|
Proxy settings, straight forward. Supported proxy types are `socks4a` and `none`
|
||||||
|
|
||||||
[aabbccddeeff1122.onion:119]
|
[aabbccddeeff2233.onion:119]
|
||||||
|
|
||||||
nntp synchronization settings
|
nntp synchronization settings
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user