Re: Selective Registration

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

From: Peter Valian (valianp@southwestern.edu)
Date: Thu Mar 15 2001 - 08:53:07 CST


Patrick,

I agree with Steve...the purpose of NetReg is figuring out what MAC
belongs to which user.

Perhaps a better way would be only to allow certain users to
authenticate.

-peter

Steve Hideg wrote:
>
> Well, you could add some code that reads that file, parses out the
> hardware address and puts it in some sort of array. One easy thing to
> do is to create a hash with the MAC addresses as the keys (since they
> are (or had better be) unique). Then in get_host_info, you can check
> to see if there is a member of the hash with the current client's MAC
> address as the key. If so, they are in your "permitted" file, go
> ahead and register them. If not, put up an error page.
>
> Of course, if you're going through all the trouble to create this
> file (manually or whatever), you might as well be editing the
> dhcpd.conf file yourself. The whole purpose of netreg is to automate
> this process. By introducing this manual step, you're essentially
> duplicating what netreg does, rendering it redundant.
>
> Maybe what you need is a tool to easily edit the dhcpd.conf file
> manually (instead of using a text editor).
>
> ++Steve
>
> At 8:47 AM -0500 3/15/01, Patrick Nixon wrote:
> >Hey all,
> > I know this may seem a bit of a strange request, but I figure if
> >anyone might have a solution, it owuld be the list.
> >
> > Is there a way to allow only certain computers to allow to register
> >their PC for internet access if the NetReg software somehow knows it's MAC
> >address?
> >
> > The solution I'm thinking of would be to have a file with the user's
> >MAC address on a single line with some comment identifying that user. Ie:
> > 00:00:00:00:00:00 # User - Location - Date Added - Administrator
> >
> > The reason: Only certain users are allowed to access the internet
> >and we want to force them to Accept the AUP before we permit them to surf.
> >
> > What I've done:
> > I've solved the problem of users still being able to access
> >internal machines and addresses by configuring the NetReg DHCP/DNS to be
> >secondary for our internal zones.
> >
> > Any input would be greatly appreciated!
> >
> > Pat
> >
> >Patrick Nixon
> >Network Engineer
> >City of Somerville
> >Information Technology
> >pnixon @ ci . somerville . ma . us
> >(617) 625 6600 x3250
> >**********************************************************************
> >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
> >**********************************************************************
>
> **********************************************************************
> 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 office
512.863.1605 fax
--
**********************************************************************
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