1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

generate a suitable torrc

This commit is contained in:
The TorPSYC Team 2013-09-28 02:46:06 +02:00
parent c29fa67c34
commit 83231a2335
2 changed files with 81 additions and 6 deletions

View file

@ -1,5 +1,3 @@
; $Id: psyced.ini,v 1.22 2008/01/22 09:30:06 lynx Exp $
;
; this is the sample psyced configuration file. in fact it is the one
; being used for the gentoo default installation. you can use this if
; you are doing manual installation, otherwise 'install.sh' will create
@ -64,6 +62,12 @@ _language_default = en
;_host_name = host
;_host_domain = example.org
;
; If you want to run psyced with federation over Tor
; input the hidden service hostname as provided by Tor
; in etc/tor/.onion/hostname first time you run it
;_host_name = <yourPublicKeyHash>
;_host_domain = onion
;
; You don't *have* to provide this. If nothing is given
; psyced will figure out its hostname and/or dynamic
; IP address by itself
@ -85,24 +89,48 @@ _list_nicks = admin
;_password_default = my secret
[_protocols]
; if you don't have TLS or SSL simply set this to
; no and all the _encrypted ports will be ignored
_use_encryption = 1
; If you don't have TLS or SSL simply set this to
; "no" and all the _encrypted ports will be ignored.
; This is also a good choice if you intend to use
; TLS autodetection (see psyclpc).
_use_encryption = yes
; If you want ONLY the TLS ports and none of the
; unencrypted ones, say "only" - but don't do this
; if you want to use Tor federation.
[_protocols_port]
; If you want your server to be reachable via a Tor
; hidden service, psyconf will generate a suitable
; torrc for you. The port numbers shown as _hidden
; will be mapped to the Tor hidden service. Avoid
; having too many of them. For PSYC federation to
; work properly over Tor, you need your node to use
; the .onion hostname instead of a traditional one.
; See above. If you leave that out, then your node
; will be reachable via Tor, but not connect to other
; PSYC nodes in the Tor network. Finally, if you want
; to federate over Tor, you need to add "torsocks" in
; front of the psyced wrapper script. And remember this
; is experimental as hell.
_PSYC = 4404
_PSYC_hidden = 4404
_PSYC_encrypted = 9404
_telnet = 2323
;_telnet_hidden = 23
_telnet_encrypted = 9992
_jabber_S2S = 5269
_jabber_clients = 5222
_jabber_clients_encrypted = 5223
_IRC = 6667
_IRC_hidden = 6667
_IRC_encrypted = 9999
_HTTP = 33333
;_HTTP_hidden = 80
_HTTP_encrypted = 34443
_applet = 2008
_SMTP = 2525
;_SMTP_hidden = 25
;_SMTP_encrypted = 4656
; Experimental protocol services