NetReg: dhcpd3.0rc11 + lease file parsing

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Nick Ciesinski (ciesinskna26@mail.uww.edu)
Date: Fri Aug 31 2001 - 14:42:00 CDT


Our students are starting to register... and I noticed something very
interesting and bad at the same time..

Here is what happened.

Student "A" registered just fine. Student "A"'s old non registered lease
stayed in the dhcpd.leases file.

5 hours later Student "B" went to register, gets the same non-registered IP
as Student "A". Student "B" puts his username/pass in and gets the message
that the computer had already been registered... Well when I looked in the
dhcpd.leases file Student "A"'s entry was still there, just
expired. Student "A"'s entry happened to be first on the list so that is
why Student "B" got the message. I then re-started the dhcp server
manually and then Student "A"'s entry went away. But what I can't figure
out is why it cleaned it out on that re-start. There had been over 50
re-starts from the time Student "A" registered from Student "B".

I have upgraded to rc12 in hopes that it solves this, but I am not holding
my breath. I think that in the register.cgi we may need to check to see if
the lease has expired.

Am I correct on thinking that this should not be happening with the
dhcpd.lease file???

Thanks,

Nick Ciesinski

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:36 CDT