Bug 449305 - iblocklist (default) blocks KIO user agent
Summary: iblocklist (default) blocks KIO user agent
Status: ASSIGNED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages All
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-29 00:29 UTC by Luke-Jr
Modified: 2022-02-26 16:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2022-01-29 00:29:29 UTC
SUMMARY
iBlockList apparently considers KIO's default user agent to be "impersonat[ing] browsers when accessing our service so [they] have put a stop to that."

In practice, "Mozilla/5.0 (X11; Linux x86_64) KIO/5.88 ktorrent/20.12.3" is being sent, so I guess they consider "Mozilla" to imply a web browser.

STEPS TO REPRODUCE
1. Enable IP filter plugin
2. Attempt to update it from the default URI

OBSERVED RESULT
Error

EXPECTED RESULT
Successful IP list download

ADDITIONAL INFORMATION
I was able to downgrade KIO to 5.80 to get the Browser Identification module for System Settings, then used that to spoof a Wget user agent for list.iblocklist.com. After upgrading KIO back to 5.88, KTorrent now works again.

It seems like perhaps the Browser Identification module should be restored, and KTorrent's default user agent adapted to not imply a browser (if iblocklist is stubborn and keeps the block as-is).
Comment 1 Bug Janitor Service 2022-02-26 16:29:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/ktorrent/-/merge_requests/57