Rspamd: Feature request: add proxy support to HTTP-Client

Created on 24 Mar 2016  路  3Comments  路  Source: rspamd/rspamd

RSpamd tries to fetch http://rspamd.com/update/rspamd-1.2.ucl which may not work in a strict containered environment that doesn't allow access to external resources.
Usually these environments offer http proxies for that purpose.

Implementing proxies isn't that hard for http clients; the request line needs to contain the full URI:

GET http://rspamd.com/update/rspamd-1.2.ucl HTTP/1.1
...

instead of

GET /update/rspamd-1.2.ucl HTTP/1.1
Host: rspamd.com
...

and for shure connect the proxy ip/port instead of looking up the domain and connecting there.

usually these environments offer the environment variables http_proxy and https_proxy for the configuration.

wontfix

Most helpful comment

I would really like to configure an HTTP Proxy for list and general updates, therefore +1 :)

All 3 comments

I would really like to configure an HTTP Proxy for list and general updates, therefore +1 :)

Actually I'm not sure about the status of this project. HTTPS proxying requires CONNECT method support which overcomplicates things. Why not use Nginx or other proxy in forward-proxy mode before Rspamd?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mpizzoli picture mpizzoli  路  3Comments

philfry picture philfry  路  4Comments

counterpoint picture counterpoint  路  8Comments

mguesdon picture mguesdon  路  5Comments

tomassrnka picture tomassrnka  路  7Comments