Package Details: mtg 2.1.7-1

Git Clone URL: https://aur.archlinux.org/mtg.git (read-only, click to copy)
Package Base: mtg
Description: Bullshit-free MTProto proxy for Telegram
Upstream URL: https://github.com/9seconds/mtg
Keywords:
Licenses: MIT
Submitter: K900
Maintainer: x0x01
Last Packager: x0x01
Votes: 2
Popularity: 0.000360
First Submitted: 2018-10-04 09:49 (UTC)
Last Updated: 2022-09-20 06:56 (UTC)

Pinned Comments

K900 commented on 2021-05-05 11:04 (UTC)

mtg 2.0.0 is officially out, with a new configuration file format. I've updated this package to track the new release - make sure you migrate your configuration files!

Latest Comments

K900 commented on 2021-05-05 11:04 (UTC)

mtg 2.0.0 is officially out, with a new configuration file format. I've updated this package to track the new release - make sure you migrate your configuration files!

sorz commented on 2020-10-11 15:48 (UTC)

+1 for NO auto-restarting, it hides error from systemctl --failed.

User=nobody should be replaced by DynamicUser=yes.

K900 commented on 2020-07-25 15:16 (UTC)

I don't think autorestarting should be a default behavior to be honest. You can easily add it yourself by using a drop-in file: https://wiki.archlinux.org/index.php/Systemd#Drop-in_files

x0x01 commented on 2020-07-25 09:18 (UTC) (edited on 2020-07-25 09:19 (UTC) by x0x01)

please add autorestart to systemd unit ```ini [Service] Restart=on-failure RestartSec=5s ```

K900 commented on 2019-12-01 19:03 (UTC)

I was hoping a new release would come out so I don't have to bump pkgrel for this, but that doesn't seem too likely, so I've just added armv7h and aarch64.

michaelkl commented on 2019-11-24 11:38 (UTC)

@K900 Please add armv7h architecture to PKGBUILD file as it works like a charm on my arm server.

K900 commented on 2019-11-11 18:39 (UTC) (edited on 2019-11-11 18:41 (UTC) by K900)

Version 1.0 is out, and along with it, a considerable rework of the package.

The configuration has moved to /etc/mtg/*.conf, and the unit file is now parametrized, allowing you to run multiple instances of the service easily.

The migration path looks something like:

$ systemctl disable --now mtg
# update here
$ mv /etc/conf.d/mtg /etc/mtg/somename.conf
$ vim /etc/mtg/somename.conf
$ systemctl enable --now mtg@somename

Make sure you adjust the configuration to match the new documentation: https://github.com/9seconds/mtg#environment-variables

The main binary now also gets setcap'd to allow it to bind to low ports - this lets us keep running as nobody, even if we're on port 443.

K900 commented on 2019-06-11 21:23 (UTC)

Upstream release 0.16 is out.

K900 commented on 2019-05-16 15:10 (UTC)

Upstream does not have a new stable release out, but has implemented mitigations against a new attack class. I've made the decision to update the package to the latest commit.