From bcfa9446524b43be49c72a7ed4344809afd9d0bd Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 29 Jun 2021 13:12:08 -0700 Subject: [PATCH] minor fixes added explicit default listen interfaces added support for user agent being broadcast updated README.txt with usage fix --- README.txt | 4 +++- seederd/src/main.cpp | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index eb30f61..84ea4ac 100644 --- a/README.txt +++ b/README.txt @@ -17,8 +17,10 @@ valgrind To Build+Install: autoreconf -vif -./configure +./configure SEEDER_DOMAIN=[DOMAIN] make make install systemctl enable seederd systemctl start seederd + +Additional options for configuration can be seen by `./configure --help`. diff --git a/seederd/src/main.cpp b/seederd/src/main.cpp index 99103e1..35fb8d5 100644 --- a/seederd/src/main.cpp +++ b/seederd/src/main.cpp @@ -38,6 +38,8 @@ int main(int argc, char **argv) try { lt::high_performance_seed(settings); settings.set_int(lt::settings_pack::active_seeds,-1); settings.set_int(lt::settings_pack::active_limit,-1); + settings.set_str(lt::settings_pack::listen_interfaces,"0.0.0.0:6881,[::]:6881"); + settings.set_str(lt::settings_pack::user_agent,PACKAGE_STRING); // settings.set_int(lt::settings_pack::alert_mask,(lt::alert::session_log_notification + lt::alert::torrent_log_notification)); lt::session session(settings); -- 2.30.2