From owner-freebsd-questions Sat Feb 26 1:56:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web1604.mail.yahoo.com (web1604.mail.yahoo.com [128.11.23.204]) by hub.freebsd.org (Postfix) with SMTP id 78BFF37BAD6 for ; Sat, 26 Feb 2000 01:56:17 -0800 (PST) (envelope-from manhtho@yahoo.com) Received: (qmail 14168 invoked by uid 60001); 26 Feb 2000 09:56:17 -0000 Message-ID: <20000226095617.14167.qmail@web1604.mail.yahoo.com> Received: from [202.167.121.197] by web1604.mail.yahoo.com; Sat, 26 Feb 2000 01:56:17 PST Date: Sat, 26 Feb 2000 01:56:17 -0800 (PST) From: Nguyen Manh Tho Subject: Could I use the dhcp.bind to query the machine accessing to my Server ? To: FreeBSD Questions Cc: nmtho@dit.hcmut.edu.vn MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear FreeBSD members, I need your helps in my problems and I am very appreciated for all your reply. I am aslo sorry if it make you trouble. Our University now have the Internet service system for student accessing through some service such as fpt, http, telnet,... We need to inquire who had accessed our system and now I have to write the program doing this work. I am now looking for the solving way to do this task. I have read the file dhcpdb.bind but I didn't understand much. Is that file store informations of the one who accessed to the host? An example of one line in that file is: 1:0x00004c438911:192.168.1.0:1:0x00004c438911:"Thu Dec 3 19:15:11 1998":0068 I have some question here: Is "1:0x00004c438911" the MAC address of the accessing computer? Is "Thu Dec 3 19:15:11 1998" is the date and time of accessing? And is "0068" the number of that computer which is stored is the file dhcpdb.pool? But which computer has the IP address "192.168.1.0"? Because I've found that all the lines in dhcpdb.bind have the same one ("192.168.1.0"). What's is the real IP address of the machine access ? Another question is what is the usage of the file dhcpdb.bind? Is it the database that the DHCP Server will use for leasesing IP automatically. Now our Univesity is very interested in the security problem of our Internet system, could we use that file to inquire who had accessed our system? Would you please help me or tell me where I could find the answer? Now I couldn't have any detail document about that. If anyone have other solving satisfy this task, please let me know. I'm very sorry if my questions are so silly because I'm very new in both UNIX and Free BSD. I'm using Free BSD version 3.3. Nguyen Manh Tho. ++++++++++++++++++++++++++++++++++++ Engineer, Assistant Lecturer, Database Group, Department of Information Technology, Hochiminh City University of Technology, Block A3, 268 Ly Thuong Kiet Street, Ward 12, District 10, Hochiminh City, Vietnam. Email: nmtho@dit.hcmut.edu.vn URL: http://www.hcmut.edu.vn ++++++++++++++++++++++++++++++++++++ __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message