Re: subnet.dat

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

From: Greg (glawler@westmont.edu)
Date: Fri Aug 11 2000 - 13:46:10 CDT


maybe i'll try pl12, is it pretty stable? on the isc page it says to run
pl17..

deleting the lease and disabling pop makes good sense, i'll do that.

thanks for your fast responses.

greg

Peter Valian wrote:
>
> Hmmm...Im running pl12.
>
> The parser for dhcp.leases may be broke with that patchlevel. Anyone
> running pl17 with the unmodified NetReg lease parser? There was a
> slight change in the leases file from pl10 to pl12 I think.
>
> Right now we're in the "if it ain't _really_ broke, don't touch it"
> mode...students are starting to show up for new the semester.
>
> As far as a bad boy list...Im not sure what you mean...deny a MAC from
> obtaining a lease? If students does something they shouldn't they will
> get a call from us asking them to stop. If they continue to violate the
> usage agreement, we can lock their account (including pop) and delete
> their entries from NetReg. When they go to reregister with NetReg, they
> won't be able to authenticate against our pop server. Of course they
> can ask their roommate to register their machine but then it's their
> roommate that gets in trouble.
>
> You can also deny leases in the dhcpd.conf...we had a few chatty Bay
> Networks hubs that kept bugging NetReg for a bootp address (for
> netbooting I assume...NetReg was told to deny the request:
>
> dhcpd.conf
> host baynet1 { hardware ethernet 00:00:81:FF:EF:67 ; deny booting ;
> }#Baynet HUB#BOOTING DENIED#BOOTING DENIED
>
> Good luck...I'll look into pl17.
>
> -peter
>
> Greg wrote:
> >
> > yes, i can search by partial name, mac address but not partial/full
> > ip's.
> >
> > i'm in the process of re-installing the server from scratch now that i
> > know that everything will work. when it is back up, i'll take a better
> > look at the search leases to give a better report.
> >
> > i am running 3.0b1pl17
> >
> > hey, how about a "bad boy" list? if someone does something defined as
> > "bad" their dns etc can be revoked for a period of time. i will see if i
> > can get some code together for this...
> >
> > thanks
> > greg
> >
> > Peter Valian wrote:
> > >
> > > Greg,
> > >
> > > I assume you mean "Search Leases".
> > >
> > > It basically does a grep for leases containing the IP you want.
> > >
> > > Does seraching for a MAC work? Did you try partial IPs...like a search
> > > for 10.11.50 should return all machines in your lab.
> > >
> > > Also see if "Search Registration" works...same concept, different file.
> > >
> > > WooHoo! T-shirts! Those just make it all worth it!
> > >
> > > -peter
> > >
> > > Which version of ISC's DHCPD are you running (the patchlevel
> > > specifically).
> > >
> > > Greg wrote:
> > > >
> > > > one more thing... :)
> > > > the lease manager "search by ip" function is not working...
> > > > it just returns whatever i put in as a search parameter.
> > > >
> > > > btw, your t-shirts are wrapped and ready for the mailman :)
> > > >
> > > > greg
> > > >
> > > > Peter Valian wrote:
> > > > >
> > > > > :p you doubt'ed NetReg? for shame...actually, that's about what I said
> > > > > a year ago :)
> > > > >
> > > > > I'd like to know how many are using it too. K...everyone that is using
> > > > > it or planning to use it or trying to get it to work, could you please
> > > > > drop me a private email.
> > > > >
> > > > > I currently know of only a handful. also include in that email if it's
> > > > > okay to mention that your school uses it.
> > > > >
> > > > > Thanks,
> > > > > -peter
> > > > >
> > > > > Greg wrote:
> > > > > >
> > > > > > hey it actually worked :)
> > > > > >
> > > > > > how many sites are out there using this?
> > > > > >
> > > > > > thanks.
> > > > > > greg
> > > > > >
> > > > > > Peter Valian wrote:
> > > > > > >
> > > > > > > Greg,
> > > > > > >
> > > > > > > you're going to have to modify the subnet_overview subroutine in
> > > > > > > admin.cgi to work on your network.
> > > > > > >
> > > > > > > this chuck is what does the count:
> > > > > > >
> > > > > > > foreach $LOC(@LOCS) {
> > > > > > > $CNT=0;
> > > > > > > open(DHCPDCONF, "$DHCPDCONFPATH/dhcpd.conf");
> > > > > > > while (<DHCPDCONF>) {
> > > > > > > if (($_ =~ /161\.13\.$SUBNET\./) && ($_ =~ /host/)) {
> > > > > > > $CNT++;
> > > > > > > }
> > > > > > > }
> > > > > > >
> > > > > > > in the subnet.dat provided, I simply have stuff like:
> > > > > > >
> > > > > > > 20:some building
> > > > > > > 30:another building
> > > > > > >
> > > > > > > so when dhcpd.conf gets parsed for the $CNT, it's grep'ing for hosts
> > > > > > > that have IP's starting with 161.13.20. and then 161.13.30. and so on
> > > > > > > until it works its way through subnet.dat.
> > > > > > >
> > > > > > > so for yours you will so something like:
> > > > > > > subnet.dat:
> > > > > > > 10.11.50:Student Labs
> > > > > > >
> > > > > > > admin.cgi:
> > > > > > >
> > > > > > > foreach $LOC(@LOCS) {
> > > > > > > $CNT=0;
> > > > > > > open(DHCPDCONF, "$DHCPDCONFPATH/dhcpd.conf");
> > > > > > > while (<DHCPDCONF>) {
> > > > > > > if (($_ =~ /$SUBNET\./) && ($_ =~ /host/)) {
> > > > > > > $CNT++;
> > > > > > > }
> > > > > > > }
> > > > > > >
> > > > > > > this is probably something that should be made simpler to modify...I
> > > > > > > think it was overlooked when I was generalizing the code.
> > > > > > >
> > > > > > > Hope this helps.
> > > > > > >
> > > > > > > -peter
> > > > > > >
> > > > > > > Greg Lawler wrote:
> > > > > > > >
> > > > > > > > hi, i just got netreg 1.2 up and runnning on a test network and it looks
> > > > > > > > awesome.
> > > > > > > >
> > > > > > > > the only issue i am having is that when i pull up the admin.cgi, my
> > > > > > > > subnet with lease count is not correct.
> > > > > > > > my subnet is 10.11.50.0, i have tried the following in the subnet.dat
> > > > > > > > file but just get a count of 0 for all...
> > > > > > > >
> > > > > > > > 10.11.50:Student Labs
> > > > > > > > 11.50:Student Labs
> > > > > > > > 11:Student Labs
> > > > > > > >
> > > > > > > > what am i missing?
> > > > > > > >
> > > > > > > > thanks a lot.
> > > > > > > > greg
> > > > > > > >
> > > > > > > > --
> > > > > > > > ____________________________________
> > > > > > > > greg@zinkwazi.com 805.565.7249
> > > > > > > > http://www.zinkwazi.com
> > > > > > > > ____________________________________
> > > > > > > > **********************************************************************
> > > > > > > > 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
> > > > > > > > **********************************************************************
> > > > > > >
> > > > > > > --
> > > > > > > Peter Valian
> > > > > > > Network & Systems Administrator
> > > > > > > Southwestern University
> > > > > > > Georgetown, Texas
> > > > > > > 512.863.1586
> > > > > > > --
> > > > > > > **********************************************************************
> > > > > > > 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
> > > > > > > **********************************************************************
> > > > > >
> > > > > > --
> > > > > > ____________________________________
> > > > > > Greg Lawler
> > > > > > Network Administrator
> > > > > > grinch@westmont.edu 805.565.7249
> > > > > > http://zulu.westmont.edu/routers
> > > > > > ____________________________________
> > > > > > **********************************************************************
> > > > > > 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
> > > > > > **********************************************************************
> > > > >
> > > > > --
> > > > > Peter Valian
> > > > > Network & Systems Administrator
> > > > > Southwestern University
> > > > > Georgetown, Texas
> > > > > 512.863.1586
> > > > > --
> > > > > **********************************************************************
> > > > > 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
> > > > > **********************************************************************
> > > >
> > > > --
> > > > ____________________________________
> > > > Greg Lawler
> > > > Network Administrator
> > > > grinch@westmont.edu 805.565.7249
> > > > http://zulu.westmont.edu/routers
> > > > ____________________________________
> > > > **********************************************************************
> > > > 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
> > > > **********************************************************************
> > >
> > > --
> > > Peter Valian
> > > Network & Systems Administator
> > > Southwestern University
> > > Georgetown, Texas
> > > 512.863.1586
> > > --
> > > **********************************************************************
> > > 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
> > > **********************************************************************
> >
> > --
> > ____________________________________
> > Greg Lawler
> > Network Administrator
> > grinch@westmont.edu 805.565.7249
> > http://zulu.westmont.edu/routers
> > ____________________________________
> > **********************************************************************
> > 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
> > **********************************************************************
>
> --
> Peter Valian
> Network & Systems Administator
> Southwestern University
> Georgetown, Texas
> 512.863.1586
> --
> **********************************************************************
> 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
> **********************************************************************

-- 
____________________________________
             Greg Lawler
        Network Administrator
  grinch@westmont.edu 805.565.7249
  http://zulu.westmont.edu/routers
____________________________________
**********************************************************************
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:34 CDT