08-15-2010 12:26 PM - edited 03-11-2019 11:25 AM
Hello.
I'm trying to block IM with MPF. I have managed to block new log in and chat, but when the user is allready logged in, the session do not terminate.
The MPF config is:
******************************************************************
class-map all_netuse
match any
policy-map type inspect im stop_im_policy
param
match prot msn
reset
policy-map stop_im
class all_netuse
inspect im stop_im_policy
service-policy stop_im interface inside
******************************************************************
I just use this config for test. I'm supposed to use a time range to activate it so that the users can use msn for a spesific time.
So the problem is that when I assign the policy to the inside interface users can continue using msn if they are allready logged in.
What can I do to reset the existing connections?
Regards,
Jon A.
Solved! Go to Solution.
08-18-2010 06:14 AM
Hi Aossipov.
You didn't have to make the script for me, but thanks :-) I was hoping you knew hver to get the expect program for windows. The one I found was for unix.
Since the expect script will be the best solution in this case I will mark your first reply as "Correct Answer"
Jon.
08-18-2010 04:10 PM
Hello Jon,
My apologies as I had misread your question. While using a Linux/*NIX host would be the best approach, I suspect you can do something similar under Windows with Putty/Plink (command line SSH client). There's also a port of expect for Win32, but I'm not sure how much installation effort is involved.
Thanks!
Andrew
08-19-2010 03:56 AM
Hi Andrew.
No worries, I guess I didn't write anything about my preffered os either :-s
I looked at Plink, and it looks like it will do the trick. I appreciate all your help.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide