Minor readme changes

このコミットが含まれているのは:
n9k 2022-06-13 22:34:54 +00:00
コミット 4b986cb84e
2個のファイルの変更21行の追加18行の削除

ファイルの表示

@ -63,7 +63,7 @@ The only things left are (1) streaming, and (2) letting other people
access your stream. [/STREAMING.md][streaming] has instructions for access your stream. [/STREAMING.md][streaming] has instructions for
setting up OBS Studio and a Tor onion service. If you want to use setting up OBS Studio and a Tor onion service. If you want to use
different streaming software and put your stream on the Internet some different streaming software and put your stream on the Internet some
other way, still read those instructions and copy the gist. other way, read those instructions and copy the gist.
## Copying ## Copying

ファイルの表示

@ -11,22 +11,21 @@ On Windows it might be somewhere in `%appdata%\tor` or something.
A Tor hidden service is a regular TCP service that you talk to via a A Tor hidden service is a regular TCP service that you talk to via a
6-hop circuit created inside the Tor network. You initiate the creation 6-hop circuit created inside the Tor network. You initiate the creation
of this circuit by providing tor with the service's hostname, which is a of this circuit by providing tor with the service's hostname, a long
long base32-encoded string ending in ".onion". This hostname is derived base32-encoded string ending in ".onion". This hostname is derived from
from a pair of cryptographic keys generated by the hidden service a pair of cryptographic keys generated by the hidden service operator.
operator.
A TCP service is a computer program you interact with over the Internet A TCP service is a computer program you interact with over the Internet
using TCP. TCP is a low-level networking protocol that sits above IP using TCP. TCP is a low-level networking protocol that sits above IP
and creates a reliable so-called "connection" between two computers. It and creates a reliable "connection" between two computers. It handles
handles the reordering and resending of packets that are shuffled or the reordering and resending of packets that are shuffled or lost in
lost in transit on the Internet, such that the bytes sent from one transit on the Internet, such that the bytes sent from one computer will
computer will match exactly the bytes that arrive at the other computer match exactly the bytes that arrive at the other (barring active
(barring active interference (MITM), TCP is not secure). Getting interference (MITM), TCP is not secure). Getting reliability for free
reliability for free greatly simplifies the creation of network greatly simplifies the creation of network applications, and for this
applications, and for this reason and other historical reasons TCP is reason and other historical reasons TCP is ubiquitous on the Internet to
ubiquitous on the Internet to this day. Many applications use TCP, for this day. Many applications use TCP, for example IRC, SSH, RTMP,
example IRC, SSH, RTMP, Minecraft, and HTTP (like us here). Minecraft, and HTTP (like us here).
#### Configuration #### Configuration
@ -80,7 +79,7 @@ other user. There may be a `User` directive in your torrc or in a file
included by your torrc, for example on Debian it's `User debian-tor`. included by your torrc, for example on Debian it's `User debian-tor`.
This means that a tor process running as root will immediately drop This means that a tor process running as root will immediately drop
privileges by switching to the user `debian-tor`. The user's primary privileges by switching to the user `debian-tor`. The user's primary
group should have the same name, but you can check as root like this: group should have the same name, check like this as root:
`# id debian-tor`. `# id debian-tor`.
On Linux, if tor is already running you can see what user and group it is On Linux, if tor is already running you can see what user and group it is
@ -113,9 +112,9 @@ Include this line verbatim directly below the `HiddenServiceDir` line:
HiddenServicePort 80 127.0.0.1:5051 HiddenServicePort 80 127.0.0.1:5051
``` ```
tor will listen for connections to our onion address at virtual port tor will listen for connections to our onion address at virtual port 80
80 (this is the conventional HTTP port), and it will forward that (the conventional HTTP port), and it will forward traffic to the TCP
traffic to our TCP service at 127.0.0.1:5051, which is our webserver. service at 127.0.0.1:5051, which is our webserver.
##### Finish ##### Finish
@ -184,6 +183,9 @@ Click `Settings` and set these:
+----------------------------+-------------------------------------+ +----------------------------+-------------------------------------+
``` ```
> *If this table looks garbled, read this file as plaintext or [click
> here][plaintext] and scroll to the bottom.*
To start streaming click `Start Recording`. To start streaming click `Start Recording`.
When it is recording, segments older than four minutes will be regularly When it is recording, segments older than four minutes will be regularly
@ -197,3 +199,4 @@ over the network even if they are not deleted.
[tor]: https://gitlab.torproject.org/tpo/core/tor [tor]: https://gitlab.torproject.org/tpo/core/tor
[torrc]: https://support.torproject.org/#tbb-editing-torrc [torrc]: https://support.torproject.org/#tbb-editing-torrc
[ffmpeg]: https://trac.ffmpeg.org/wiki/HWAccelIntro [ffmpeg]: https://trac.ffmpeg.org/wiki/HWAccelIntro
[plaintext]: https://git.076.ne.jp/ninya9k/anonstream/raw/branch/master/STREAMING.md