Menu

Tree [945b3d] master /
 History

HTTPS access


File Date Author Commit
 .gitignore 2015-09-28 wimpunk wimpunk [e21442] Cleanup: removing old ignore files
 COPYING 2015-09-28 wimpunk wimpunk [6b6042] FSF address
 COPYRIGHT 2006-05-22 wimpunk wimpunk [74f33b] Reorganise
 ChangeLog 2015-09-28 wimpunk wimpunk [db5d87] Adding ChangeLog
 Changelog.old 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 README.cisco 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 README.md 2017-04-30 wimpunk wimpunk [ead70a] Revert "Merge branch 'github'"
 README.ssl 2017-01-16 Tomasz Grabowski Tomasz Grabowski [d6359c] Adding required documentation and examples
 RELEASENOTE 2015-05-28 wimpunk wimpunk [83a5f7] Preparing for v3.8.3
 TODO 2008-11-19 wimpunk wimpunk [f5721b] Added ddclient wrapper script
 UPGRADE 2008-06-13 wimpunk wimpunk [7d03b7] Added some release related files
 ddclient 2017-04-30 wimpunk wimpunk [ead70a] Revert "Merge branch 'github'"
 sample-ddclient-wrapper.sh 2008-11-19 wimpunk wimpunk [f5721b] Added ddclient wrapper script
 sample-etc_cron.d_ddclient 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 sample-etc_ddclient.conf 2017-01-16 Tomasz Grabowski Tomasz Grabowski [d6359c] Adding required documentation and examples
 sample-etc_dhclient-exit-hooks 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 sample-etc_dhcpc_dhcpcd-eth0.exe 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 sample-etc_ppp_ip-up.local 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 sample-etc_rc.d_init.d_ddclient 2006-06-11 ddfisher ddfisher [94c30b] see Changelog
 sample-etc_rc.d_init.d_ddclient.alpine 2016-11-14 Francesco Colista Francesco Colista [a78594] sample-etc_rc.d_init.d_ddclient.alpine: openrc ...
 sample-etc_rc.d_init.d_ddclient.lsb 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 sample-etc_rc.d_init.d_ddclient.redhat 2015-09-28 wimpunk wimpunk [60fe05] Cleanup: removing Id tags from the files
 sample-etc_rc.d_init.d_ddclient.ubuntu 2015-10-13 wimpunk wimpunk [80046c] Prevent service to start multiple times.

Read Me

Method 1 ------------------------------------------------------

The following config will allow the Linux machine (10.1.1.2) to read
the IP address from the DHCP interface on the Cisco router (eth0) as
user ddclient.  Since ddclient is configured with a priv level of 1 it
cannot do anything except look at the routers stats, ip addresses,
etc.  This should be pretty harmless even if ddclient's password were
to be discovered.

This has been tested with Cisco IOS 12.1(5)T5 running on a Cisco 2621
router.

Cisco Router Config (Assuming eth0 is DHCP interface)
-----------------------------------------------------
user ddclient password password
user ddclient priv 1
ip http auth local
ip http access-class 99
ip http port 1021
ip http server
access-list 99 permit host 10.1.1.2

DDClient Config
---------------------------------------------------
use=cisco, fw=10.1.1.1, if=eth0, fw-login=ddclient, fw-password=password


Method 2 ------------------------------------------------------

use=fw
fw=192.168.1.1/exec/show/interfaces/CR
fw-skip=FastEthernet0/0
fw-login=ddclient
fw-password=xxxxxxxx