Welcome to LQ!
Quote:
Originally Posted by bacocr
So if u use vnc real and u share the vnc to a guest and u give him the password, and after he ends the look, u want to kill him how can u do that on the xterm i know that vncconfig can do it, but i want to know if there is a way to do it by your self, killing the ip or something
|
I use
cutter for this kind of stuff, but I've got a dedicated firewall (and it sounds like you don't). I've never tried
cutter on the box to which the connection is established, but it sounds like it's not designed to work that way. So if you don't have a dedicated firewall, maybe try something like
tcpkill? It's part of the
dsniff package.
BTW, a not-so-elegant alternative is to create an
iptables rule which will use the REJECT target to send a RST packet to the IP. This is described on the
cutter homepage (just make sure you use the INPUT and OUTPUT chains instead of the FORWARD chain if this isn't a dedicated firewall).