Skip to content

Releases: kutovoys/xray-torrent-blocker

v0.3.1

19 Apr 17:04
90408cd
Compare
Choose a tag to compare

Webhook Support

  • Added webhook functionality for notifications
  • New configuration parameters:
    • SendWebhook - Enable/disable webhook notifications (default: false)
    • WebhookURL - The URL to which webhooks will be sent
    • WebhookHeaders - Custom HTTP headers for webhook requests (can be used for authorization)

Logrotate Configuration

  • Added documentation and installation script for logrotate configuration for Marzban Node
  • Prevents system overload from excessive log files
  • Configuration rotates logs at 50MB size, keeping 5 rotations with compression

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

15 Feb 13:29
5a95812
Compare
Choose a tag to compare

Breaking Changes 🚨

  • Changed binary name from torrent-blocker to tblocker
  • Changed installation directory from /opt/torrent-blocker to /opt/tblocker
  • Changed systemd service name from torrent-blocker.service to tblocker.service
  • Changed module name from torrents-blocker to tblocker
  • Changed repository name and all related paths from marzban-torrent-blocker to xray-torrent-blocker

Major Changes

  • Renamed project from "Marzban Torrent Blocker" to "XRay Torrent Blocker" to better reflect its universal compatibility
  • Added persistent storage for blocked IPs, preventing loss of block state during application restarts

New Features

  • Added persistent block storage in JSON format
  • Added automatic restoration of active blocks after application restart
  • Added automatic cleanup of expired blocks
  • Added automatic block state recovery after system reboot

Infrastructure Changes

  • Updated all path references in installation scripts and service files
  • Updated .goreleaser.yaml and Makefile to use new binary name
  • Updated GitHub repository references in installation script

Configuration

  • Added new StorageDir configuration option (default: /opt/tblocker)
  • Updated example configuration file with new storage options

Migration Guide 🔄

Users upgrading from previous versions must:

  1. Stop the old service: systemctl stop torrent-blocker
  2. Move their configuration:
    mv /opt/torrent-blocker/config.yaml /opt/tblocker/config.yaml
  3. Update their systemd service file:
    curl -sL https://raw.githubusercontent.com/kutovoys/xray-torrent-blocker/main/tblocker.service -o /etc/systemd/system/tblocker.service
  4. Reload systemd and start new service:
    systemctl daemon-reload
    systemctl enable tblocker
    systemctl start tblocker
  5. Remove old service and files:
    systemctl disable torrent-blocker
    rm /etc/systemd/system/torrent-blocker.service
    rm -rf /opt/torrent-blocker

Full Changelog: v0.2.0...v0.3.0

v0.2.0

01 Feb 14:26
294e30e
Compare
Choose a tag to compare

What's Changed

  • feat: add webhook notification support by @kastov in #5

New Contributors

  • @kastov made their first contribution in #5

Full Changelog: v0.1.0...v0.2.0

v0.1.0

09 Sep 13:34
Compare
Choose a tag to compare

Changelog

v0.0.3

08 Sep 09:33
Compare
Choose a tag to compare

Changelog

marzban-torrent-blocker-v0.0.2

08 Sep 09:24
Compare
Choose a tag to compare