Skip to content

Commit

Permalink
Release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed Sep 6, 2020
1 parent be271fc commit 8fc3484
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 27 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ All notable changes to this project will be documented in this file. This
project adheres to [Semantic Versioning][SemVer].

## [Unreleased]

## [1.4.0] - 2020-09-06
### Added
- Add `mod_log_stun` for logging STUN requests. Without this module, they will
now only show up in the debug log output.
- Add list of TURN permissions to the `eturnalctl sessions` output.

### Changed
- Always log reason for TCP/TLS connection termination (at info level).
- Omit Erlang process ID from log messages (now that a session ID is logged).

### Fixed
- Make the `eturnalctl sessions` command work with recent versions of the `stun`
Expand Down Expand Up @@ -150,7 +153,8 @@ project adheres to [Semantic Versioning][SemVer].
### Added
- Initial (pre-)release of the eturnal STUN/TURN server.

[Unreleased]: https://github.com/processone/eturnal/compare/1.3.0...HEAD
[Unreleased]: https://github.com/processone/eturnal/compare/1.4.0...HEAD
[1.4.0]: https://github.com/processone/eturnal/releases/tag/1.4.0
[1.3.0]: https://github.com/processone/eturnal/releases/tag/1.3.0
[1.2.1]: https://github.com/processone/eturnal/releases/tag/1.2.1
[1.2.0]: https://github.com/processone/eturnal/releases/tag/1.2.0
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/processone/eturnal.svg?branch=master)][1]

[eturnal][2] is a modern, straightforward STUN/TURN server with full IPv6
[eturnal][2] is a modern, straightforward STUN and TURN server with full IPv6
support. For TURN authentication, the mechanism described in the [REST API for
Access to TURN Services specification][3] is implemented.

Expand All @@ -14,13 +14,13 @@ release](#installation-on-linuxx64-systems). On other platforms, eturnal is

On **DEB-based** Linux/x64 distributions, run:

$ curl -O https://eturnal.net/download/package/eturnal_1.3.0-1_amd64.deb
$ sudo dpkg -i eturnal_1.3.0-1_amd64.deb
$ curl -O https://eturnal.net/download/package/eturnal_1.4.0-1_amd64.deb
$ sudo dpkg -i eturnal_1.4.0-1_amd64.deb

On **RPM-based** Linux/x64 distributions, run:

$ curl -O https://eturnal.net/download/package/eturnal-1.3.0-1.x86_64.rpm
$ sudo rpm -i eturnal-1.3.0-1.x86_64.rpm
$ curl -O https://eturnal.net/download/package/eturnal-1.4.0-1.x86_64.rpm
$ sudo rpm -i eturnal-1.4.0-1.x86_64.rpm
$ sudo systemctl daemon-reload
$ sudo systemctl --now enable eturnal

Expand All @@ -33,7 +33,7 @@ On other Linux/x64 systems, the binary release tarball can be installed as

- [Erlang/OTP][5] (21.0 or newer).
- [LibYAML][6] (0.1.4 or newer).
- [OpenSSL][7] (1.3.0 or newer).
- [OpenSSL][7] (1.4.0 or newer).
- [GCC][8] (other C compilers might work as well).

Note that you need the development headers of the libraries as well. Linux
Expand All @@ -48,11 +48,11 @@ and `openssl-devel`.
> official source tarball, you must [download rebar3][9] and make it executable
> (`chmod +x rebar3`), first.
$ curl https://eturnal.net/download/eturnal-1.3.0.tar.gz | tar -C /tmp -xzf -
$ cd /tmp/eturnal-1.3.0
$ curl https://eturnal.net/download/eturnal-1.4.0.tar.gz | tar -C /tmp -xzf -
$ cd /tmp/eturnal-1.4.0
$ ./rebar3 as prod tar

This generates the archive file `_build/prod/rel/eturnal/eturnal-1.3.0.tar.gz`.
This generates the archive file `_build/prod/rel/eturnal/eturnal-1.4.0.tar.gz`.
The default installation prefix is set to `/opt/eturnal`, and it's assumed the
server will be executed by a user named `eturnal`. To change these defaults,
edit the [build.config][10] file, re-run `./rebar3 as prod tar`, and adapt the
Expand All @@ -75,7 +75,7 @@ or `sudo -i`, first.
2. Extract the archive generated [above](#compilation):

# cd /opt/eturnal
# tar -xzf /tmp/eturnal-1.3.0/_build/prod/rel/eturnal/eturnal-1.3.0.tar.gz
# tar -xzf /tmp/eturnal-1.4.0/_build/prod/rel/eturnal/eturnal-1.4.0.tar.gz

3. Copy the `eturnal.yml` file to `/etc` (optional):

Expand Down Expand Up @@ -144,13 +144,13 @@ free to (ab)use it for usage questions as well. If you happen to be using
[7]: https://www.openssl.org
[8]: https://gcc.gnu.org
[9]: https://s3.amazonaws.com/rebar3/rebar3
[10]: https://github.com/processone/eturnal/blob/1.3.0/build.config
[10]: https://github.com/processone/eturnal/blob/1.4.0/build.config
[11]: https://en.wikipedia.org/wiki/YAML
[12]: https://github.com/processone/eturnal/blob/1.3.0/config/eturnal.yml
[12]: https://github.com/processone/eturnal/blob/1.4.0/config/eturnal.yml
[13]: https://www.freedesktop.org/software/systemd/man/systemctl.html
[14]: https://github.com/processone/eturnal/blob/1.3.0/scripts/eturnal.init
[14]: https://github.com/processone/eturnal/blob/1.4.0/scripts/eturnal.init
[15]: https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html
[16]: https://eturnal.net/documentation/
[17]: https://github.com/processone/eturnal/blob/1.3.0/CHANGELOG.md
[17]: https://github.com/processone/eturnal/blob/1.4.0/CHANGELOG.md
[18]: https://github.com/processone/eturnal/issues
[19]: https://xmpp.org
14 changes: 7 additions & 7 deletions doc/overview.edoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
--------------------------------------------------------------------------------

@title eturnal Documentation
@version 1.3.0 ({@date})
@version 1.4.0 ({@date})
@copyright 2020 ProcessOne, SARL
@author Holger Weiss

Expand All @@ -35,7 +35,7 @@ operation to generate the ephemeral password, and eturnal does the same to
verify it.

The <a
href="https://github.com/processone/eturnal/blob/1.3.0/README.md">README.md</a>
href="https://github.com/processone/eturnal/blob/1.4.0/README.md">README.md</a>
file shipped with eturnal should get you started quickly. For details, see the
reference documentation below.

Expand All @@ -44,12 +44,12 @@ reference documentation below.
Linux/x64 packages for DEB- and RPM-based distributions can be retrieved <a
href="https://eturnal.net/download/package/">from eturnal.net</a>. On other
Linux/x64 systems, the <a
href="https://eturnal.net/download/eturnal-1.3.0-linux-x64.tar.gz">binary
href="https://eturnal.net/download/eturnal-1.4.0-linux-x64.tar.gz">binary
release</a> can be installed as described in this section. For building eturnal
from source, see the <a
href="https://github.com/processone/eturnal/blob/1.3.0/README.md#building-from-source">README.md</a>
href="https://github.com/processone/eturnal/blob/1.4.0/README.md#building-from-source">README.md</a>
file shipped with eturnal's <a
href="https://eturnal.net/download/eturnal-1.3.0.tar.gz">source code
href="https://eturnal.net/download/eturnal-1.4.0.tar.gz">source code
archive</a>.

The binary release archive holds a stand-alone directory that includes
Expand All @@ -60,11 +60,11 @@ commands with superuser privileges:

```
# useradd -r -d /opt/eturnal eturnal
# curl https://eturnal.net/download/eturnal-1.3.0-linux-x64.tar.gz | tar -C /opt -xzf -
# curl https://eturnal.net/download/eturnal-1.4.0-linux-x64.tar.gz | tar -C /opt -xzf -
'''

The example <a
href="https://github.com/processone/eturnal/blob/1.3.0/config/eturnal.yml">configuration
href="https://github.com/processone/eturnal/blob/1.4.0/config/eturnal.yml">configuration
file</a> shipped with eturnal can either be edited in place or copied into the
system's `/etc' directory, first:

Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{minimum_otp_vsn, "21.0"}.

{deps,
[{stun, {git, "https://github.com/processone/stun.git", {branch, "master"}}},
[{stun, {git, "https://github.com/processone/stun.git", {tag, "1.0.38"}}},
{conf, {git, "https://github.com/processone/conf.git", {tag, "0.1.1"}}},
{recon, {git, "https://github.com/ferd/recon.git", {tag, "2.5.1"}}},
{influx_udp, {git, "https://github.com/palkan/influx_udp.git", {tag, "v1.1.0"}}}]}.
Expand Down
2 changes: 1 addition & 1 deletion rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
0},
{<<"stun">>,
{git,"https://github.com/processone/stun.git",
{ref,"2312b9d5924fbbf2902f653f664ab47f2500a39b"}},
{ref,"e53a1e8450ffadc8f4b4809a3fa9c903a5d9eeaf"}},
0},
{<<"ulitos">>,{pkg,<<"ulitos">>,<<"0.4.0">>},1},
{<<"yval">>,
Expand Down
2 changes: 1 addition & 1 deletion scripts/get-version
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -u

export PATH='/usr/local/bin:/usr/bin:/bin'

rel_vsn='1.3.0'
rel_vsn='1.4.0'

( git describe --tags --match '[0-9]*' 2>'/dev/null' || echo "$rel_vsn" ) \
| sed -e 's/-g.*//' -e 's/-/+/' | tr -d '[:space:]'
2 changes: 1 addition & 1 deletion scripts/make-binary
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fi

rel_name='eturnal'
rel_vsn="$(scripts/get-version | sed 's/+.*//')"
rebar_vsn='3.14.0'
rebar_vsn='3.14.1'
crosstool_vsn='1.24.0'
zlib_vsn='1.2.11'
yaml_vsn='0.2.5'
Expand Down
2 changes: 1 addition & 1 deletion scripts/make-source
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi

rel_name='eturnal'
rel_vsn="$(scripts/get-version | sed 's/+.*//')"
rebar_vsn='3.14.0'
rebar_vsn='3.14.1'
rel_dir="$rel_name-$rel_vsn"
rel_tar="$rel_dir.tar"
temp_dir=$(mktemp -d "/tmp/.$myself.XXXXXX")
Expand Down

0 comments on commit 8fc3484

Please sign in to comment.