Summary
Network Configuration Changes
Network configuration has been rewritten and IPv6, bind and local address handling improved.
network.bind_address.ipv4.set
network.bind_address.ipv6.set
network.local_address.ipv4.set
network.local_address.ipv6.set
The above commands have been added to set bind and local addresses for IPv4 and IPv6, while the old commands auto-detect the address family and sets one while clearing the other.
If only one of either IPv4 or IPv6 is set, then the other protocol is disabled. If both are set, both are used as appropriate.
dht.override_port.set
DHT now tries to open the same port as the listen port by default. This can be overridden with the above command.
network.block.outgoing.set
This command can be used to block outgoing peer connections.
HTTP Connection Reuse
HTTP connections are now reused, with the following new commands to control the limits:
- network.http.max_cached_connections.set
- network.http.max_host_connections.set
- network.http.max_total_connections.set
The limits are based on the max open sockets (ulimit) at the time libtorrent initializes.
Development Funding
Current development relies on donations, and as such is highly appreciated.
Donations make futher development possible, and as such are highly appreciated:
- Paypal
- Patreon
- SubscribeStar
- Bitcoin: 1MpmXm5AHtdBoDaLZstJw8nupJJaeKu8V8
- Ethereum: 0x9AB1e3C3d8a875e870f161b3e9287Db0E6DAfF78
- Litecoin: LdyaVR67LBnTf6mAT4QJnjSG2Zk67qxmfQ
- Cardano: addr1qytaslmqmk6dspltw06sp0zf83dh09u79j49ceh5y26zdcccgq4ph7nmx6kgmzeldauj43254ey97f3x4xw49d86aguqwfhlte
What's Changed
Features and improvements
- Added NetworkConfig. by @rakshasa
- Improved listen/dht port handling and added 'dht.override_port.set' command. by @rakshasa
- Remove deprecated rak::socket_address. by @rakshasa
- Remove deprecated no-target flags for commands. by @rakshasa
- Added 'network.block.outgoing.set'. by @rakshasa
- Added 'network.{bind,local}_address.ipv{4,6}.set' commands. by @rakshasa
- Reuse HTTP connections and added totale/cached connection limits. by @rakshasa
- Added local address commands for inet/inet6. by @rakshasa
Bugfixes
- Check if target is null in xmlrpc_to_object(). by @rakshasa
- Fix VLA warnings by @Auska
- Mention OpenBSD in mincore error msg by @ikmckenz
- Include netinet/in.h before ip.h for portability by @ikmckenz
- Fix unit test if compiled without instrumentation by @ikmckenz
- Fixed UDP tracker making unnecessary DNS lookups on blocked protocols. by @rakshasa