Endian Bugtracker
Endian Issue Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000979 [Endian Firewall] Other Services major always 2008-06-19 20:01 2009-05-29 11:55
Reporter aender View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 2.2-rc1
Summary 0000979: DynDNS: need to be defined per uplink
Description DynDNS only works with the main uplink

If any other uplink goes up the dyndns doesn´t update his ip.

Please replace "main" with a variable for the Uplink in /usr/local/bin/setddns.pl

if (-f "${swroot}/uplinks/main/data") {
       my %conf_hash = ();
       readhash("${swroot}/uplinks/main/data", \%conf_hash);
       $ip = $conf_hash{'ip_address'};

This variable (Uplink) should be setup within the DynDNS Page. Defined per uplink.

And at least you should do a symlink at /etc/uplinksdaemon/addrchanged to /usr/local/bin/setddns.pl
With this symlink every time a uplink changes the DynDNS would be updated.

This is very important for doing OpenVPN with other uplinks than main in combination with DynDNS. For Example a fallback OpenVPN via UMTS.

Additional Information
Tags No tags attached.
Attached Files

- Relationships
parent of 0001062assignedsimon DynDNS: need to be defined per uplink (make GUI changes) 
parent of 0001063new setddns.pl: need to advertise the ip change on each uplink 
has duplicate 0000748confirmedpeter Dynamic DNS client should have an uplink selector 
child of 0001937confirmed issues to fix with ddns 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0001429)
jvodan (reporter)
2008-07-10 05:39

A hack to get ddns to follow the link so as to have vpn failover

 if (-f "${swroot}/uplinks/main/data") {
        my %conf_hash = ();
        readhash("${swroot}/uplinks/main/data", \%conf_hash);
        $ip = $conf_hash{'ip_address'};
    }
}

    $ip = `/usr/local/bin/detectip`; #ADD This line
(0002407)
aender (reporter)
2009-05-27 12:57

Please solve this with 2.3 and not in "future"

This post is nearly one year old!
This only need "some" changes to the gui.
(0002435)
peter (administrator)
2009-05-29 11:55

it's not *that* easy. adding support for multiple uplinks needs correct uplinksdaemon integration which is not that easy right now, since dyndns currently is a mess.
we need to rewrite dyndns from scratch. that's nothing we should do in a 2.3 beta stage.

- Issue History
Date Modified Username Field Change
2008-06-19 20:01 aender New Issue
2008-06-24 00:34 peter Target Version => 2.2-rc2
2008-06-25 15:52 raphael Priority normal => immediate
2008-07-01 19:52 peter Issue cloned 0001062
2008-07-01 19:52 peter Relationship added parent of 0001062
2008-07-01 19:55 peter Issue cloned 0001063
2008-07-01 19:55 peter Relationship added parent of 0001063
2008-07-01 19:55 peter Severity feature => major
2008-07-10 05:39 jvodan Note Added: 0001429
2008-07-10 20:51 peter Priority immediate => normal
2008-07-23 13:20 peter Relationship added has duplicate 0000748
2008-07-24 18:02 ra Target Version 2.2-rc2 => 2.2-rc3
2008-07-28 10:46 peter Target Version 2.2-rc3 => 2.2
2008-09-10 17:41 chris Target Version 2.2 => 2.3
2009-05-27 11:32 peter Target Version 2.3 => future
2009-05-27 12:57 aender Note Added: 0002407
2009-05-29 11:55 peter Note Added: 0002435
2009-06-10 15:53 peter Relationship added child of 0001937
2010-05-27 15:16 mvrk Issue Monitored: mvrk

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Mantis [^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker