Proxy

Support and queries relating to all previous versions of ZoneMinder
Locked
essup
Posts: 77
Joined: Tue Jun 13, 2006 2:08 pm

Proxy

Post by essup »

Hi,
my zoneminder server is behind a restricted firewall. is it possible to register the proxyserver address for zoneminder, so he can check for new versions properly?
06/23/2006 15:03:43.039826 zmupdate[18145].INF [Checking for updates]
06/23/2006 15:03:43.430283 zmupdate[18145].ERR [Error check failed: '500 Can't connect to www.zoneminder.com:80 (connect: Connection refused)']
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Yeah i think you do this in firefox just liek you would i.e.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
essup
Posts: 77
Joined: Tue Jun 13, 2006 2:08 pm

Post by essup »

?
I mean, ZM tries to look for updates for it's own version. Firefox has nothing to do with it.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i think the client checks not the server but i may be wrong. Is this the pop up window that says there is a new version available or a different one?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
essup
Posts: 77
Joined: Tue Jun 13, 2006 2:08 pm

Post by essup »

No. The server (i don't know which program/daemon) checks zoneminder.com, that's why it's in the logs. And if it finds a new one, he processes it to the browser.
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Post by tech_fixer »

What you're triying to do is to set a proxy on your ZM server so it can check for new versions.

This setting is separate form the proxy you enter in your web browser.

You need to set an environment variable called http_proxy. Here's what you do:

For one time setup, type in a shell:

Code: Select all

export http_proxy=http://your_proxy_ip_address:port
Remember to substitute the ip address and port parameters with your actual settings.

For a more permanent solution, add the code from above to the bottom of the file /etc/profile

That should do it! Restart ZM and see how it goes.

Regards,
Jose.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Currently you can't alter this directly, except by editing the zmupdate.pl script itself.
Phil
Locked