Network Card Details

2005-09-24 Thread Sreekanth
Hi all,
Is there any way to get the details of a network card programatically
thro' Python? Moreover I would require to change the network
adapater/Card's Link state enabled/disabled also programatically.
Any help would be highly appericated.
Regards
Sreekanth

-- 
http://mail.python.org/mailman/listinfo/python-list


Parsing bash_history and inputting into mysql (Intrusion Detection)

2005-05-20 Thread sreekanth . hari
I have a seemingly tough assignment for my Senior Project. I need to
develop an Intrusion Detection System.

My approach is to parse the bash_history file of each user into a mysql
database, assign a threshold for commands or sequences of commands and
then alert the admin of nethin fishy is found.

My advisor reccomended I use python for writing the scripts.

I am absolutely new to python and have no prior experience in it. That
said

Could any one tell me how exactly to go abt all this?

Any tools or code that would make my life easier?

Suggestions (which modules to use etc) ?

Cheers,

Sreekanth

-- 
http://mail.python.org/mailman/listinfo/python-list