Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "torrust-tracker"
version = "2.1.0"
authors = ["Mick van Dijke <mick@dutchbits.nl>", "Naim A. <naim@abda.nl>"]
version = "2.1.1"
license = "AGPL-3.0"
authors = ["Mick van Dijke <mick@dutchbits.nl>"]
description = "A feature rich BitTorrent tracker."
edition = "2018"

Expand Down Expand Up @@ -30,5 +31,6 @@ rand = "0.8.4"
env_logger = "0.9.0"
config = "0.11"
derive_more = "0.99"
thiserror = "1.0"

aquatic_udp_protocol = "0.1.0"
2 changes: 0 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use serde::{Deserialize, Serialize};
use aquatic_udp_protocol::{AnnounceEvent, NumberOfBytes};

pub const MAX_PACKET_SIZE: usize = 0xffff;
pub const MAX_SCRAPE_TORRENTS: u8 = 74;
pub const PROTOCOL_ID: i64 = 4_497_486_125_440; // protocol constant
pub const AUTH_KEY_LENGTH: usize = 32;

#[repr(u32)]
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl Configuration {
},
http_tracker: HttpTrackerConfig {
enabled: false,
bind_address: String::from("0.0.0.0:7878"),
bind_address: String::from("0.0.0.0:6969"),
announce_interval: 120,
ssl_enabled: false,
ssl_cert_path: None,
Expand Down
Loading