|
-
September 19th, 2002, 03:12 AM
#2
joey
I believe you have to make the necessary changes in the /etc/iplog.conf file to tell iplog which interface to listen to i.e. ppp0 (modem) eth0 (NIC) .... also iplog needs to write the output to a file which I think by default is /var/log/iplog .... if this file doesn't exist a "touch /var/log/iplog" will create it. After updating the .conf file and creating the file to record output - restart iplog with a /etc/init.d/iplog restart should do the trick.
On the commandline a "tail -f /var/log/iplog" will output the last 20 entries (I think) and will update live as the hits roll in.
Hope this helps .... if iplog is not writing to the /var/log/iplog file check file permissions to ensure it is allowed to.
I did write a small tutorial on parsing iplog info to a webpage if you are interested;
http://www.antionline.com/showthread...hreadid=234665
Regards
PP
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|