==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    https://bugs.contribs.org/show_bug.cgi?id=9450

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 9450
           Summary: allow alternatives methods to get ip
    Classification: Contribs
           Product: SME Contribs
           Version: 8.2
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-ddclient
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

If you check the help of ddclient you see plenty of possibility to get the IP.


currently we only use web method. I have between 3 and 10 120 s timeout message
alert with this method.


an alternate rpm used to propose if and manual method as alternate.

   if ( $method eq 'IPEXT' ) {
    $OUT.="use=if                        # use interface\n";
    $OUT.="if=eth1                        # interface eth1\n";
    } elsif ( $method eq 'MANUAL') {
    $OUT.="use=ip                        # use manual ip\n";
    $OUT.="ip=".$manualIP."                    # ip to publish\n";
    } else {
    $OUT.="use=web                        # type of connect\n";
    $OUT.="web=checkip.dyndns.org:8245/            # url where to find me\n";
    $OUT.="web-skip='IP Address:'                # cutted outted\n";
    }    

this could still be improved

having the ability to check ip from external IP or even use the command to get
it from the db could be great for SME in server gateway mode.

alternatively allow to define a router and also another web adress would be a
must


as reference the part of the help from ddclient

  -use which            : how the should IP address be obtained. (default: ip).
    -use=2wire                  : obtain IP from 2Wire 1701HG Gateway at the
-fw {address}.
    -use=3com-3c886a            : obtain IP from 3com 3c886a 56k Lan Modem at
the -fw {address}.
    -use=3com-oc-remote812      : obtain IP from 3com OfficeConnect Remote 812
at the -fw {address}.
    -use=alcatel-510            : obtain IP from Alcatel Speed Touch 510 at the
-fw {address}.
    -use=alcatel-stp            : obtain IP from Alcatel Speed Touch Pro at the
-fw {address}.
    -use=allnet-1298            : obtain IP from Allnet 1298 at the -fw
{address}.
    -use=cayman-3220h           : obtain IP from Cayman 3220-H DSL at the -fw
{address}.
    -use=cisco                  : obtain IP from Cisco FW at the -fw {address}.
    -use=cisco-asa              : obtain IP from Cisco ASA at the -fw
{address}.
    -use=cmd                    : obtain IP from the -cmd {external-command}.
    -use=dlink-524              : obtain IP from D-Link DI-524 at the -fw
{address}.
    -use=dlink-604              : obtain IP from D-Link DI-604 at the -fw
{address}.
    -use=dlink-614              : obtain IP from D-Link DI-614+ at the -fw
{address}.
    -use=e-tech                 : obtain IP from E-tech Router at the -fw
{address}.
    -use=elsa-lancom-dsl10      : obtain IP from ELSA LanCom DSL/10 DSL FW at
the -fw {address}.
    -use=elsa-lancom-dsl10-ch01 : obtain IP from ELSA LanCom DSL/10 DSL FW
(isdn ch01) at the -fw {address}.
    -use=elsa-lancom-dsl10-ch02 : obtain IP from ELSA LanCom DSL/10 DSL FW
(isdn ch01) at the -fw {address}.
    -use=fw                     : obtain IP from the firewall specified by -fw
{type|address}.
    -use=if                     : obtain IP from the -if {interface}.
    -use=ip                     : obtain IP from -ip {address}.
    -use=linksys                : obtain IP from Linksys FW at the -fw
{address}.
    -use=linksys-rv042-wan1     : obtain IP from Linksys RV042 Dual Homed
Router WAN Port 2 at the -fw {address}.
    -use=linksys-rv042-wan2     : obtain IP from Linksys RV042 Dual Homed
Router WAN Port 2 at the -fw {address}.
    -use=linksys-ver2           : obtain IP from Linksys FW version 2 at the
-fw {address}.
    -use=linksys-ver3           : obtain IP from Linksys FW version 3 at the
-fw {address}.
    -use=linksys-wcg200         : obtain IP from Linksys WCG200 FW at the -fw
{address}.
    -use=linksys-wrt854g        : obtain IP from Linksys WRT854G FW at the -fw
{address}.
    -use=maxgate-ugate3x00      : obtain IP from MaxGate UGATE-3x00 FW at the
-fw {address}.
    -use=netcomm-nb3            : obtain IP from NetComm NB3 at the -fw
{address}.
    -use=netgear-dg834g         : obtain IP from netgear-dg834g at the -fw
{address}.
    -use=netgear-rp614          : obtain IP from Netgear RP614 FW at the -fw
{address}.
    -use=netgear-rt3xx          : obtain IP from Netgear FW at the -fw
{address}.
    -use=netgear-wgt624         : obtain IP from Netgear WGT624 at the -fw
{address}.
    -use=netgear-wpn824         : obtain IP from Netgear WPN824 FW at the -fw
{address}.
    -use=netopia-r910           : obtain IP from Netopia R910 FW at the -fw
{address}.
    -use=olitec-SX200           : obtain IP from olitec-SX200 at the -fw
{address}.
    -use=rtp300                 : obtain IP from Linksys RTP300 at the -fw
{address}.
    -use=sitecom-dc202          : obtain IP from Sitecom DC-202 FW at the -fw
{address}.
    -use=smc-barricade          : obtain IP from SMC Barricade FW at the -fw
{address}.
    -use=smc-barricade-7004vbr  : obtain IP from SMC Barricade FW (7004VBR
model config) at the -fw {address}.
    -use=smc-barricade-7401bra  : obtain IP from SMC Barricade 7401BRA FW at
the -fw {address}.
    -use=smc-barricade-alt      : obtain IP from SMC Barricade FW (alternate
config) at the -fw {address}.
    -use=sohoware-nbg800        : obtain IP from SOHOWare BroadGuard NBG800 at
the -fw {address}.
    -use=sveasoft               : obtain IP from Sveasoft WRT54G/WRT54GS at the
-fw {address}.
    -use=vigor-2200usb          : obtain IP from Vigor 2200 USB at the -fw
{address}.
    -use=watchguard-edge-x      : obtain IP from Watchguard Edge X FW at the
-fw {address}.
    -use=watchguard-soho        : obtain IP from Watchguard SOHO FW at the -fw
{address}.
    -use=web                    : obtain IP from an IP discovery page on the
web.
    -use=westell-6100           : obtain IP from Westell C90-610015-06 DSL
Router at the -fw {address}.
    -use=xsense-aero            : obtain IP from Xsense Aero at the -fw
{address}.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to