git ssb

1+

Dominic / ssb-config



Commit 012c2151344e984e9a9d4459b44d3e4c818a892f

Minor tweaks to layout, remove TODO (if we want that do it in a seperate md I think)

Anders Rune Jensen committed on 9/12/2018, 11:22:11 AM
Parent: c5d2f2a9a733cae7847e58749113d298c9f613a0

Files changed

README.mdchanged
README.mdView
@@ -49,14 +49,10 @@
4949
5050 },
5151 ```
5252
53-If you want to use [TOR](https://torproject.org) to create outgoing connections you can specify your `outgoing` like this. It will use `localhost:9050` as the socks server for creating this.
53 +If you want to use [Tor](https://torproject.org) to create outgoing connections you can specify your `outgoing` like this. It will use `localhost:9050` as the socks server for creating this.
5454
55-TODO:
56-* make the onion socks server configurable.
57-* support creating hidden services via `incoming` blocks
58-
5955 ```json
6056 "connections": {
6157 "outgoing": {
6258 "onion": [{ "transform": "shs" }]
@@ -68,16 +64,10 @@
6864
6965 ```json
7066 "incoming": {
7167 "net": [
72-
73- { "scope": "public", "external": ["cryptop.home"],
74- "transform": "shs", "port": 8008
75- },
76-
77- { "scope": "private",
78- "transform": "shs", "port": 8008, "host": "internal1.con.taine.rs"
79- },
68 + { "scope": "public", "external": ["cryptop.home"], "transform": "shs", "port": 8008 },
69 + { "scope": "private", "transform": "shs", "port": 8008, "host": "internal1.con.taine.rs" },
8070 ]
8171 },
8272 ```
8373
@@ -86,14 +76,10 @@
8676 That beeing said, the overhead of encryption for local applications can be very high, especially on low-powered devices. For this use-case there is a `noauth` transform which by-passes the authentication and grants full access to anybody that can connect to it. **hint:** *This is risky! it might expose private messages or enables people to publish as you!* Therefore be sure to bind the listener to `localhost` or use the `unix` socket. The `unix` file socket is creted as `$HOME/.ssb/socket` by default and has permissions such that only the user running `sbot server` can open it, just like the `.ssb/secret` file.
8777
8878 ```json
8979 "incoming": {
90- "unix": [{"scope":"local", "transform":"noauth"}],
91- "net": [{
92- "scope": "local", "transform": "noauth",
93- "port": 8009, "host": "localhost"
94- }
95-]
80 + "unix": [{ "scope":"local", "transform":"noauth" }],
81 + "net": [{ "scope": "local", "transform": "noauth", "port": 8009, "host": "localhost" }]
9682 },
9783 ```
9884
9985 ## License

Built with git-ssb-web