On Mon, April 28, 2014 21:58, Ryan Coleman wrote:
> A litle Google will go a long way:
> https://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write

thanks, but nothing so far :(

Apr 30 22:04:53         check_reload_status: Syncing firewall
Apr 30 22:04:53         php: /services_dyndns_edit.php: DynDns: updatedns() 
starting
Apr 30 22:04:53         php: /services_dyndns_edit.php: DynDns (): xx.xx.xx.xx 
extracted from local system.
Apr 30 22:04:54         php: /services_dyndns_edit.php: DynDNS (): running 
get_failover_interface for
opt2. found vr2
Apr 30 22:04:54         php: /services_dyndns_edit.php: DynDNS (): DynDns 
_update() starting.
Apr 30 22:04:54         php: /services_dyndns_edit.php: Custom DDNS (): DNS 
update() starting.
Apr 30 22:04:54         php: /services_dyndns_edit.php: Sending request to: 
https://aa.bb.cc.dd
Apr 30 22:04:56         php: /services_dyndns_edit.php: DynDNS (): DynDns 
_checkStatus() starting.
Apr 30 22:04:56         php: /services_dyndns_edit.php: DynDNS (): Current 
Service: custom
Apr 30 22:04:56         php: /services_dyndns_edit.php: Curl error occurred: 
SSL: certificate subject
name 'aaa.bb.cc.ee' does not match target host name 'aaa.bb.cc.dd'

and the class file:

                               case 'custom':
                                case 'custom-v6':
                                        if ($this->_dnsVerboseLog)
                                                log_error("Custom DDNS 
({$this->_dnsHost}): DNS
update() starting.");
                                        if (strstr($this->dnsUpdateURL, 
"%IP%")) {$needsIP =
TRUE;} else {$needsIP = FALSE;}
                                        if ($this->_dnsUser != '') {
                                                curl_setopt($ch, 
CURLOPT_HTTPAUTH, CURLAUTH_ANY);
                                                curl_setopt($ch, 
CURLOPT_USERPWD,
"{$this->_dnsUser}:{$this->_dnsPass}");
                                        }
                                        $server = str_replace("%IP%", 
$this->_dnsIP,
$this->_dnsUpdateURL);
                                        if ($this->_dnsVerboseLog)
                                                log_error("Sending request to: 
".$server);
                                        curl_setopt($ch, CURLOPT_URL, $server);
                                        curl_setopt($ch, 
CURLOPT_SSL_VERIFYPEER, FALSE);
                                        break;


thanks,

matheus

> On Apr 28, 2014, at 6:53 PM, Nenhum_de_Nos <[email protected]> wrote:
>
>>
>> On Sun, April 27, 2014 17:26, Yehuda Katz wrote:
>>> The place you would need to modify in the PHP code is in
>>> /etc/inc/dyndns.class around line 600 (that is where it is in the master
>>> branch<https://github.com/pfsense/pfsense/blob/master/etc/inc/dyndns.class#L599>
>>> ).
>>> You should add curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); just before
>>> the break;.
>>>
>>> It would probably not be too hard to add this option. I will try to submit
>>> a pull request later this week if it has not been done by someone else.
>>>
>>> - Y
>>
>> Yehuda,
>>
>> thanks. I found it but I run nano on soekris and my fs is read only :(
>>
>> Is there a way without rebooting ?
>>
>> thanks,
>>
>> matheus
>>
>>> On Sun, Apr 27, 2014 at 12:39 AM, Nenhum_de_Nos 
>>> <[email protected]>wrote:
>>>
>>>>
>>>> Hail,
>>>>
>>>> I need to use the custom ddns but I need also to make it ignore the self
>>>> signed cert on the
>>>> server. The thing wget does with --no-check-certificate. Is this doable ?
>>>>
>>>> I tried to find something on .php code, but no luck for me (I know close
>>>> to nothing of php).
>>>>
>>>> Yet, can I pass some info on the http post. Is this also doable ?
>>>>
>>>> thanks,
>>>>
>>>> matheus
>>>>
>>>> --
>>>> We will call you Cygnus,
>>>> The God of balance you shall be
>>>>
>>>> A: Because it messes up the order in which people normally read text.
>>>> Q: Why is top-posting such a bad thing?
>>>>
>>>> http://en.wikipedia.org/wiki/Posting_style
>>>> _______________________________________________
>>>> List mailing list
>>>> [email protected]
>>>> https://lists.pfsense.org/mailman/listinfo/list
>>>>
>>> _______________________________________________
>>> List mailing list
>>> [email protected]
>>> https://lists.pfsense.org/mailman/listinfo/list
>>
>>
>> --
>> We will call you Cygnus,
>> The God of balance you shall be
>>
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>>
>> http://en.wikipedia.org/wiki/Posting_style
>> _______________________________________________
>> List mailing list
>> [email protected]
>> https://lists.pfsense.org/mailman/listinfo/list
>
> _______________________________________________
> List mailing list
> [email protected]
> https://lists.pfsense.org/mailman/listinfo/list


-- 
We will call you Cygnus,
The God of balance you shall be

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

http://en.wikipedia.org/wiki/Posting_style
_______________________________________________
List mailing list
[email protected]
https://lists.pfsense.org/mailman/listinfo/list

Reply via email to