Forcefully disconnect or drop users help
Greetings,
I have many windows clients hooking into a mandrake server. I would like to forcefully drop one windows client only known by IP address (at least that's all I can see!) from the mandrake server without affecting service to other clients. A gui would be nice but a command will be OK Thanks! HoOLi |
drop in what way? What service are they connected to? You could just block traffic from that machine on your firewall.
iptables -A INPUT -source xx.xxx.xxx.x -j DROP |
One option:
Code:
ps -ef | grep 'service_name_here' Code:
kill PID_here Code:
kill -9 PID_here |
Quote:
|
Thanks guys,
I think uopjohnson's solution using iptables -A INPUT -source xx.xxx.xxx.x -j DROP will do the trick. The windows clients are passing through the linux box as a proxy to go to a DMZ box. Users per se aren't able to be seen on the linux box as PID's. I know I didn't include that bit! I have been exposed to windows too much where I could only think of mcc/computer management and browsing session/threads and killing them off that way. Again thanks a lot! I had forgotten tcpwrappers anomie - I'll pop that snippet backet in the toolbag. Cheers HoOLi |
All times are GMT -5. The time now is 09:18 PM. |