1 2RCS file: /home/amackay/src/cvsroot/ez-ipupdate/ez-ipupdate.c,v 3Working file: ez-ipupdate.c 4head: 1.47 5branch: 6locks: strict 7access list: 8symbolic names: 9 release-2_6_0: 1.16 10 release-2_4_1b: 1.12 11 v0_9_0: 1.1.1.1 12 AMACKAY: 1.1.1 13keyword substitution: kv 14total revisions: 48; selected revisions: 48 15description: 16---------------------------- 17revision 1.47 18date: 2001/07/04 09:56:47; author: amackay; state: Exp; lines: +171 -27 19added some new ipv6 tunnel service 20added run-as-euser 21fixed hn.org so it works again 22---------------------------- 23revision 1.46 24date: 2001/07/04 08:49:26; author: amackay; state: Exp; lines: +421 -239 25added easydns partner support 26re-arranged things to use an array of structs of services 27---------------------------- 28revision 1.45 29date: 2001/04/04 17:20:12; author: amackay; state: Exp; lines: +3 -5 30bug in the cache file handling that caused a segfault. 31---------------------------- 32revision 1.44 33date: 2001/03/31 20:05:51; author: amackay; state: Exp; lines: +11 -4 34better handeling of cache file errors. 35---------------------------- 36revision 1.43 37date: 2001/03/23 08:46:43; author: amackay; state: Exp; lines: +169 -6 38added contributed code for zoneedit service. 39---------------------------- 40revision 1.42 41date: 2001/03/23 06:16:06; author: amackay; state: Exp; lines: +129 -26 42added init() to services and added get_druation(). 43---------------------------- 44revision 1.41 45date: 2001/02/26 06:53:00; author: amackay; state: Exp; lines: +44 -1 46added ip address taint checking for dyndns.org 47---------------------------- 48revision 1.40 49date: 2000/12/17 22:52:20; author: amackay; state: Exp; lines: +2 -2 50version 3.0.4, interface resolving now works for NetBSD too. 51---------------------------- 52revision 1.39 53date: 2000/12/17 19:30:06; author: amackay; state: Exp; lines: +4 -4 54fix for hn.org that cause the ip address to be ignored. 55---------------------------- 56revision 1.38 57date: 2000/11/30 09:35:49; author: amackay; state: Exp; lines: +41 -26 58fixed bug in the pidfile code and made IF_LOOKUP work for solaris. 59---------------------------- 60revision 1.37 61date: 2000/11/29 20:27:26; author: amackay; state: Exp; lines: +26 -3 62fixed some fgets() calls, fixed an include problem with cache_file.h and added 63example-dyns.conf to the dist. 64---------------------------- 65revision 1.36 66date: 2000/11/24 23:14:33; author: amackay; state: Exp; lines: +261 -34 67added support for hn.org and the use of a pid file. 68---------------------------- 69revision 1.35 70date: 2000/11/18 23:04:21; author: amackay; state: Exp; lines: +11 -10 71updated config files 72---------------------------- 73revision 1.34 74date: 2000/11/18 22:35:32; author: amackay; state: Exp; lines: +276 -365 75switched symantics so that you now must specify either an interface or an 76address for daemon mode. cleanup all the update functions and the check_info 77functions. fixed some bugs, fixed a MAJOR bug that I introduced in some time 78after 2.9.1 that caused daemon mode to not update properly (and get a lot of 79people banned, oops!). fixed the update code so that it is self throtlling 80(should have done that from the get go, espesially since adding the not 81updating properly in daemon mode bug). 82 83a major overhaul, thus -> 3.0.0 84---------------------------- 85revision 1.33 86date: 2000/11/18 20:54:12; author: amackay; state: Exp; lines: +21 -25 87pre manditory interface 88---------------------------- 89revision 1.32 90date: 2000/11/17 11:34:46; author: amackay; state: Exp; lines: +634 -206 91added support for dyns and fixed up stuff for dyndns 92---------------------------- 93revision 1.31 94date: 2000/10/31 05:51:51; author: amackay; state: Exp; lines: +119 -28 95updated to nic v2.0 for dyndns, also fixed some problems with not asking for a host. 96---------------------------- 97revision 1.30 98date: 2000/10/23 17:54:17; author: amackay; state: Exp; lines: +4 -7 99fixed some minor things in the code and cleaned up the example config files 100---------------------------- 101revision 1.29 102date: 2000/10/23 09:52:27; author: amackay; state: Exp; lines: +8 -11 103took out some debugging stuff and fixed exit() calls in daemon mode for cache file code. 104---------------------------- 105revision 1.28 106date: 2000/10/23 09:48:29; author: amackay; state: Exp; lines: +188 -28 107added support for a cache file for use across reboots and such. 108---------------------------- 109revision 1.27 110date: 2000/10/16 06:57:12; author: amackay; state: Exp; lines: +4 -2 111. 112---------------------------- 113revision 1.26 114date: 2000/10/16 06:52:39; author: amackay; state: Exp; lines: +292 -38 115added support for justlinux v2.0, now pgpow is justlinux v1.0 and justlinux is justlinux v2.0. 116---------------------------- 117revision 1.25 118date: 2000/09/06 01:46:51; author: amackay; state: Exp; lines: +9 -2 119added ip address as an arg if in deamon mode and using post update script. 120---------------------------- 121revision 1.24 122date: 2000/09/05 03:25:13; author: amackay; state: Exp; lines: +2 -1 123bug in configure.in for easydns. 124---------------------------- 125revision 1.23 126date: 2000/08/22 17:23:16; author: amackay; state: Exp; lines: +262 -83 127added support for easydns 128---------------------------- 129revision 1.22 130date: 2000/08/18 16:03:16; author: amackay; state: Exp; lines: +3 -3 131forgot to take out the mcheck() ing for non-debug releases. 132---------------------------- 133revision 1.21 134date: 2000/08/03 02:22:32; author: amackay; state: Exp; lines: +5 -6 135minor bugs, taking off the trailing slash for dyndns. 136---------------------------- 137revision 1.20 138date: 2000/08/02 09:45:09; author: amackay; state: Exp; lines: +454 -67 139merged in all of Jeremy Bopp's changes. these are a couple of bug fixes 140and support for tzo and gundip. 141also changed do_connect so that it closes fd if any errors. 142---------------------------- 143revision 1.19 144date: 2000/08/02 09:42:38; author: amackay; state: Exp; lines: +3 -3 145fixed un-noticeable bug 146---------------------------- 147revision 1.18 148date: 2000/07/27 14:14:17; author: amackay; state: Exp; lines: +30 -20 149fixed a big old bug in the max_interval stuff, thanks to Jasper for finding that one. 150fixed some stuff with running the command. 151---------------------------- 152revision 1.17 153date: 2000/07/26 07:41:02; author: amackay; state: Exp; lines: +179 -65 154added shell command execution and cleaned up some stuff that needed cleanin' 155---------------------------- 156revision 1.16 157date: 2000/07/24 08:05:55; author: amackay; state: Exp; lines: +6 -6 158version 2.6.0, this fixes the example file for dyndns to have the max-interval 159thing in there. also fixes where the sleep goes in dhs updates. 160---------------------------- 161revision 1.15 162date: 2000/07/12 07:43:23; author: amackay; state: Exp; lines: +239 -16 163added support for ods.org 164---------------------------- 165revision 1.14 166date: 2000/07/12 06:27:10; author: amackay; state: Exp; lines: +2 -1 167added line to help about the max time between updates for dhs.org users, the 168option was always there just not listed in the help message. 169---------------------------- 170revision 1.13 171date: 2000/04/20 06:59:07; author: amackay; state: Exp; lines: +31 -6 172added support for dyndns-static 173---------------------------- 174revision 1.12 175date: 2000/04/19 04:26:07; author: amackay; state: Exp; lines: +235 -23 176added support for dyndns.org and some cleanups. 177---------------------------- 178revision 1.11 179date: 2000/04/01 18:20:13; author: amackay; state: Exp; lines: +149 -5 180release 2.2.2, added update of mx record for stupid dhs.org 181---------------------------- 182revision 1.10 183date: 2000/03/17 09:15:06; author: amackay; state: Exp; lines: +2 -2 184comment change 185---------------------------- 186revision 1.9 187date: 2000/03/17 08:45:26; author: amackay; state: Exp; lines: +3 -1 188fixed socket leak for dhs and pgpow code. 189---------------------------- 190revision 1.8 191date: 2000/02/29 09:39:12; author: amackay; state: Exp; lines: +303 -47 192release 2.1.0b, added dhs code. 193---------------------------- 194revision 1.7 195date: 2000/02/29 07:17:08; author: amackay; state: Exp; lines: +95 -27 196I can't remember, probably the updates for 2.0.0 or 2.0.1 197---------------------------- 198revision 1.6 199date: 1999/07/13 05:44:46; author: amackay; state: Exp; lines: +297 -16 200check in, this version has a very strange coreing condition. 201---------------------------- 202revision 1.5 203date: 1999/05/11 22:38:01; author: amackay; state: Exp; lines: +14 -3 204added BSD daemon support. 205---------------------------- 206revision 1.4 207date: 1999/04/21 03:12:26; author: amackay; state: Exp; lines: +25 -9 208added some signal stuff. 209---------------------------- 210revision 1.3 211date: 1999/04/20 07:59:51; author: amackay; state: Exp; lines: +2 -2 212fixed some docs 213---------------------------- 214revision 1.2 215date: 1999/04/20 07:55:41; author: amackay; state: Exp; lines: +425 -89 216added a bunch o stuff: 217 Version 1.0.1 brings some new features such the useage of config files, 218 timeouts on I/O, set user id and many more. 219---------------------------- 220revision 1.1 221date: 1999/04/19 00:34:59; author: amackay; state: Exp; 222branches: 1.1.1; 223Initial revision 224---------------------------- 225revision 1.1.1.1 226date: 1999/04/19 00:34:59; author: amackay; state: Exp; lines: +0 -0 227a client for the ez-ip.net dynamic domain service. 228============================================================================= 229