Conversation
|
There is also not Evil at http://hss3uro2hsxfogfq.onion/ (was TorSearch at http://kbhpodhnfxl3clb4.onion/) |
|
By the way, |
|
@a01200356 great, the only problem is that it isn't compatible with the existing non-tor configuration. It would be cool to provide both to the users. Could be a separated |
|
Sorry for the delay. |
|
I just fixed the issue I had with not evil's encoding. About the last commit, I just assume that using Tor Browser's user agent would make our traffic seem more "normal" when using Tor than using a random user agent. However, this is merely an assumption on my part. I can't really tell if it actually helps or not. |
|
Looks interesting. |
searx/utils.py
Outdated
| # TODO | ||
| return ua.format(os=choice(ua_os), version=choice(ua_versions)) | ||
| if settings['outgoing'].get('using_tor_proxy'): | ||
| return tor_browser_ua |
There was a problem hiding this comment.
Why a specific behavior for Tor ?
There was a problem hiding this comment.
I think that, when using Tor, Tor Browser's user agent would make our requests blend in better with "normal" Tor users, while using unique agents would only make our requests stand out compared to the other (non Searx) requests coming out of the same exit node.
9bfeca1 to
cf589bb
Compare
d403002 to
ecd9827
Compare
|
|
518b307 to
26f18a6
Compare
0315d3f to
1ec3717
Compare
|
@MarcAbonce sorry for the delayed answer. I still think that this is a useful functionality, could you please rebase it to the latest master? I'm happy to do it if you don't have capacity. |
Xpath engine and results template changed to account for the fact that archive.org doesn't cache .onions, though some onion engines migth have their own cache. Disabled by default. Can be enabled by setting the SOCKS proxies to wherever Tor is listening and setting using_tor_proxy as True. Requires Tor and updating packages. To avoid manually adding the timeout on each engine, you can set extra_proxy_timeout to account for Tor's (or whatever proxy used) extra time.
|
I rebased to master and I also added another commit. |
|
This is a great addition, we should mention it in the documentation. |
|
Note about the plugin, it can't be disabled, I guess on purpose : searx/searx/plugins/__init__.py Lines 179 to 188 in db703a0 The plugin is loaded after searx/searx/templates/oscar/preferences.html Line 261 in db703a0 |
|
Yeah, maybe it would be better to extend the new preferences lock to include plugins and use that instead? |
|
Looks like if a proxy is configured the proxy is used for all search engines and not only for onion search engines. Is there an option to use the proxy (in this specific use-case the Tor socks proxy) only for onion search engines? |
|
You can specify a proxy per engine. So you have to copy / paste the proxy section for each onion engine |
With engines Ahmia, Torch and Not Evil.
Disabled by default. Can be enabled by setting the SOCKS proxies to wherever Tor is listening and setting using_tor_proxy as True.
To avoid manually adding the timeout on each engine, you can set extra_proxy_timeout to account for Tor's (or whatever proxy used) extra time.
Should solve #413 and probably #519