From: alex Date: Tue, 29 Jun 2021 20:12:08 +0000 (-0700) Subject: minor fixes X-Git-Tag: v1.0.1~1 X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=bcfa9446524b43be49c72a7ed4344809afd9d0bd;p=seeder minor fixes added explicit default listen interfaces added support for user agent being broadcast updated README.txt with usage fix --- 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);