LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-29-2009, 05:50 PM   #1
bacocr
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
how to kill a share vnc connection


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

thanks
 
Old 09-29-2009, 07:34 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Welcome to LQ!

Quote:
Originally Posted by bacocr View Post
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).

Last edited by win32sux; 09-29-2009 at 07:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill specific vnc user from joint session jo4 Linux - Newbie 1 05-07-2011 03:08 AM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
How to kill a connection ? sys7em Linux - Networking 3 02-15-2005 05:22 PM
How to kill a connection zWaR Linux - Networking 4 05-04-2004 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration