mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Can spoof Azureus peer id and user agent to avoid ban
This commit is contained in:
@@ -940,7 +940,11 @@ void GUI::configureSession(bool deleteOptions) {
|
||||
BTSession->setProxySettings(proxySettings, options->useProxyForTrackers(), options->useProxyForPeers(), options->useProxyForWebseeds(), options->useProxyForDHT());
|
||||
// * Session settings
|
||||
session_settings sessionSettings;
|
||||
sessionSettings.user_agent = "qBittorrent "VERSION;
|
||||
if(options->shouldSpoofAzureus()) {
|
||||
sessionSettings.user_agent = "Azureus 3.0.5.2";
|
||||
} else {
|
||||
sessionSettings.user_agent = "qBittorrent "VERSION;
|
||||
}
|
||||
BTSession->setSessionSettings(sessionSettings);
|
||||
// Bittorrent
|
||||
// * Max connections limit
|
||||
|
||||
Reference in New Issue
Block a user