Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload ipfilter.dat won't work when the client is running? #75

Open
Sopor opened this issue Dec 3, 2020 · 1 comment
Open

Reload ipfilter.dat won't work when the client is running? #75

Sopor opened this issue Dec 3, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@Sopor
Copy link

Sopor commented Dec 3, 2020

I run my qBittorrent 24/7 and it seems that IPFilter won't trigger a reload of the ipfilter.

qBittorrent has a built in WebUI and from here it is possible to control qBittorrent. It seems that you can't really update the filter from the WebUI with curl -s --cookie "$cookie" "$ENDPOINT/app/setPreferences" -d 'json={"ip_filter_path": "$filter_path"}' as long as the filename is the same, but it is possible to toggle it off and on with ip_filter_enabled and that will make the filter to load.

2020-12-03 18:02 - Web UI: Now listening on IP: 192.168.0.*, port: 8022
2020-12-03 18:02 - Successfully parsed the provided IP filter: 221730 rules were applied.
2020-12-03 18:02 - Options were saved successfully.
2020-12-03 18:02 - Web UI: Now listening on IP: 192.168.0.*, port: 8022
2020-12-03 18:02 - Options were saved successfully.

Maybe this is something you could add to IPFilter? I haven't tested all the torrent clients but what i know they all have a WebUI and that would make it possible to do the same thing to reload the ipfilter.

@DavidMoore
Copy link
Owner

I can look at maybe detecting and using the WebUI to do a reload. And alternatively I can do some kind of gentle prompt to get people to eventually reload / restart their client of choice if the client doesn't auto-reload when the file is touched.

@DavidMoore DavidMoore self-assigned this Dec 6, 2020
@DavidMoore DavidMoore added this to To do in IPFilter Updater via automation Dec 6, 2020
@DavidMoore DavidMoore added this to the Future milestone Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants