Dolphin, proxy and Licenses

Hello,

 

We're currently setting Dolphin V7.0.5  to work on a private hosting environment.

Security is of high priority, so machines  normally have to be behind a firewall, not have direct access to the web and not be directly accessible from the net. All external access to the web has to be done through a secured proxy (Squid, Apache, etc).

However, this cause problem with some features, such as rss feed and licenses validation.  I've configured my php instance to use  proxy  for all http/https connection without a specific context.

 

php.ini:

auto_prepend_file = /home/dolphin/cgi/proxy.php

 

proxy.php:

<?php
$default_opts = array(
'http'=>array(
'method'=>"GET",
'proxy'=>"tcp://httpproxy.squid.com:3129",
'header' => 'Proxy-Authorization: Basic BASE64_CREDENDIAL',
'request_fulluri' => true
),
'https'=>array(
'method'=>"GET",
'proxy'=>"tcp://httpproxy.squid.com:3129",
'header' => 'Proxy-Authorization: Basic BASE64_CREDENDIAL',
'request_fulluri' => true
)
);
$default= stream_context_set_default($default_opts);
?>

This solved our firewall issues and the feeds were being displayed without a problem.  However, the licenses still wouldn't register too Bonnex.

 

I haven't found out yet how the call is made to boonex, bit I suspect it either don't use an http or https connection or use a custom context.

 

Any help would be appreciate in order to figure out a way to get Dolphin to validate the license without putting the server inside a DMZ.  So far, I can get 99% of the stuff through a proxy, license validation is the only thing that doesn't work. And sadly, it's important.

 

Thanks.

Philippe Busque

Quote · 4 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.