On Thu, 2002-10-03 at 16:26, [EMAIL PROTECTED] wrote:
> I was wondering if there is a way that ntop can log via username. I know that 
> there is no feature for this yet, however, this is the deal: I've made a 
> webpage that people go to, to log into the net by typing their username and 
> password. It gets passed to a cgi script which verifies it in a passwd file. 
> Then it modifies the firewall to allow them internet access. Ntop then starts 
> logging based on their ip address. However, I was wondering, when they type 
> their username in on the web page, is it possible that in the cgi script that 
> it somehow passes that username to the sql server into a table such as the 
> IPtraffic table or Hosts table. I know I'd have to create another field, but 
> this is possible right?
>

Why not just have the CGI keep track of who was logged in to what IP and
when? A table consisting of Time, IP, User would suffice. Do people
change IP's that often in your environment?

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to