General :: How To Purge Connections Left Open By SSH ProxyCommand
Apr 6, 2011
I have a webserver WWW1 and a front-facing proxy PRX. I use SSH ProxyCommand to connect to WWW1's internal IP (private IP) via PRX (private+public IP). For some connections (not all) I see a network connection left open after I'm finished. These add up!
~/.ssh/config
Host *
ServerAliveInterval 5
ControlMaster auto
[code]....
On PRX, lsof | grep WWW1:ssh shows 124 open connections at the moment. On WWW1, the same command shows 243 open connections. There are similar open connections for WWW2, WWW3 etc.
WWW1 and PRX are Debian. Client connections are coming from a mix of Debian, Ubuntu and OSX10.6. I use Emacs Tramp but this has no special configuration (AFAIK) outside of my ~/.ssh/config. I'm concerned about running out of internal ports, and ideally I want these connections to clean themselves up without intervention. Ideally by configuring them to kill themselves off; failing that a command I can kill old processes with is fine!
View 1 Replies
ADVERTISEMENT
Apr 20, 2010
is there a way to have gnome open in the upper right or left corner instead of the lower left corner when i start it?
View 3 Replies
View Related
Feb 22, 2010
What is the command to check all open TCP connections?
View 7 Replies
View Related
Jul 7, 2011
I am using Fedora 13 64bit. My eclipse program starts a server on port 9050 but I shutdown the program, eclipse fails to properly shutdown the server. Restarting eclipse has no effect.
How can I close or unbind a port forcibly from command line?
I know rebooting or log off and back on will clear the ports but this much slower process for me. I am looking for forcibly closing the port in command line.
View 1 Replies
View Related
Mar 3, 2010
I got two IP's in my dedicated server. Both are external IP's. I would like to make connections using 2nd IP address under eth0:0 interface. For example: when using "lynx whatismyip.com" should display my 2nd IP. How to do this using iptables ?
View 1 Replies
View Related
Feb 7, 2011
have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.
View 1 Replies
View Related
Feb 22, 2010
When i have a few windows open, a new window will open on the left side instead of the right after the previous windows. I'd to know how to have them open the standard way. I'd also like to know how prevent grouped windows of similar programs.
View 2 Replies
View Related
Apr 19, 2011
I set up an exim4 server successfully and was able to send/receive mail! I fired off a couple emails to my friend and never got a response. Oh well, I thought, must be because my domain name might be considered spam.Flash forward to today and I get an email from the people who host my server, telling me that I have left my exim4 relay open. Looking through some of my users' email, I see a series of messages with the subject 'Message frozen':
Code:
Message 1QCCQJ-0004FP-OY has been frozen (delivery error message).
The sender is <>.
[code]....
View 1 Replies
View Related
Feb 26, 2010
GNU/Linux kernel 2.6.
MS windows xp.
I was burning a DVD+R DL when a read error happened and the burner program stopped execution. Now, when I ask for the disk status it says: 'disk status: open, not finalized' (Nero 7 under ms win xp). Besides this, I have at my disposal Cdrecord-ProDVD-Clone 2.01 and K3b 1.0.2 under KDE 3.5.7.
View 3 Replies
View Related
Feb 22, 2011
Looking at the results of both `lsof | grep IPv4` and `netstat -tp` I noticed that I have a lot of connections open from a program called 'gvfsd-http'.
Using google, I found that this was a Filesystem something from Gnome, that would also be used If I drag something from my browser to my desktop.
Though I wonder, how I activated it, because I didn't do that...
After a bit of searching, I noticed that `screenshots.debian.net` uses the same IP address as the one noted (hades.car.gr).
PING screenshots.debian.net (78.46.20.5) 56(84) bytes of data.
64 bytes from hades.car.gr (78.46.20.5): icmp_req=1 ttl=56 time=55.4 ms
Question: Do I have some tool enabled that maybe sends statistics to debian or so? Where to find it and kill it.
View 2 Replies
View Related
Feb 18, 2011
Our DBA has an application running on Server2 which needs to connect to Server1 (Linux OEL5.5 server) thru port# 9171. I use telnet to test basic connectivity.What should I do on Server1 in order to open up port#9171 for connection.
View 4 Replies
View Related
Feb 7, 2011
I am using nx client and I would like to ask your help. Is it possible when I connect from home to my work's computer (using nx client) to see the exactly same desktop-taskbar and open programs as I left them in my work computer.
Imagine that you are at work using your computer. You lock the keyboard and you go home(you didn't turn it off). You go home and you login to work's computer. What I want to see is the same if I was just unlocking works's computer. IS that possible and how?
View 9 Replies
View Related
Mar 31, 2011
When I have an Audio CD inside my computer in the desktop there is an icon called "Sound disk". When I left click on it Nautilus opens. I would like Rhythmbox to open instead.
I've tried to change in /etc/gnome/defaults.list :
But the problem is still here.
NB: I only need to click once on the icons of the files to open them (I changed the preference of Nautilus).
NB2: I have no problem with "Open with" in the context menu when right clicking.
NB3: I have no problem when I insert an Audio CD: Rhythmbox opens automatically because I selected that option.
View 2 Replies
View Related
Oct 22, 2009
I've noticed that when I open firefox I get really strange HTTP and HTTPS connections showing up in firestarter (which as I understand it is just a GUI for IPtables). They connect to various bits of a site listed as 1e100.net (when you use "lookup hostnames") such as wy-in-f18.1e100.net, they stay connected all the time as far as I can see unless I close firefox. I've heard people say they are connected to Google, but I can close all tabs after loging out of google and still see them... it's very odd.
View 3 Replies
View Related
Jun 28, 2011
I would like to use two monitors with my desktop, so connected them the other day and it worked straight away, which is good but... The monitor configuration app always want the primary monitor to be on the left hand side, thus it always extend my desktop right. Can I do anything to extend my desktop to the left instead of to the right so I can have background application on the screen to the left?
View 8 Replies
View Related
Jun 15, 2011
I'm not sure if I should post this question in "hardware & laptops", or "Desktop Environments", because this is a hardware problem on a desktop computer.
Description of Problem:There is another thread that discussed this same problem that I'm having: However that thread is so old that the suggestions in it no longer work in Ubuntu 10.04 and for whatever reason I can not make a reply to that thread.As in the above thread, I've tried other input devices and rebooting the computer and using other USB ports, and my mouse still intermittently double left clicks randomly at times when I've only clicked the left mouse button once and at times and places when it should only produce a single click such as when selecting a drop down menu.
Has any one else had this problem, and does any one have any idea how to fix it or to trouble shoot this a bit more? Please let me know if there is any other information I can provide to further clarify or troubleshoot this issue.
View 2 Replies
View Related
Jan 20, 2011
The first is about implementing function calls. The way I currently have it is that functions are called with a C++ std::vector of nodes as the parameters. How would I turn a comma-seperated list of expressions into a C++ vector in the grammar?Second, how do you implement left-associative operators in a parser that does not allow left recursion?
And third, what would be the best internal representation of integers? A C++ int seems simplest, but limited. Using GMP seems more versatile, but I'm afraid it might seriously slow down the interpreter compared to C++ ints.
View 3 Replies
View Related
Jan 21, 2011
Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?
View 3 Replies
View Related
Feb 7, 2011
Phenom 9500+ quad core, 3GB RAM, Nvidia 8800GT: 260.19.36 driver.Installed the latest Boxee for Linux. Got my remote setup. Everything works except when I open a video it opens in a tiny box in the upper left hand corner of my monitor.Is there any way to get Boxee videos to play full-screen?
View 6 Replies
View Related
May 30, 2011
I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.
View 5 Replies
View Related
Jun 7, 2015
I'm having trouble with mongodb on debian. I'll start from the scratch: removing it.
Code: Select allapt-get autoremove --purge mongodb
Or:
Code: Select allapt-get purge mongodb
Or:
Code: Select allapt-get remove --purge mongodb
All end in the same way:
Code: Select all dpkg: error processing package mongodb-org-server (--configure):
subprocess installed post-installation script returned error exit status 102
Errors were encountered while processing:
mongodb-org-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Code] ....
View 1 Replies
View Related
Jun 17, 2010
I first started KMail and entered the wrong stuff. Now it's all messed up and I don't know how to fix it. Is there a way to completely purge KMail and make it act as if it was first opened?
View 6 Replies
View Related
Jul 20, 2010
I went to remove FreeNX from my Ubuntu Lucid machine so I opened the terminal and typed: "sudo aptitude purge freenx" The command worked but when I used the command "locate nx" I got a list of FreeNX associated files (as well as nxserver files). Is it possible to completely remove a program from my system? I thought "sudo aptitude purge" would do it but apparently not. My only concern is that in the future if I decide to install something related to this program it will interfere and cause problems.
View 5 Replies
View Related
Oct 15, 2010
When upgrading to Maverick I accidentally (yes, I know, my bad) installed Grub to my Ubuntu partition instead of to the MBR. It was already installed to the MBR prior to this. So, when I rebooted all I got was the Grub rescue console. I loaded the Linux image with a different boot loader on floppy instead, and proceeded to uninstall and reinstall Grub2 to MBR with
Code:
sudo apt-get purge grub-common grub-pc
sudo grub-install --root-directory=/mnt/ /dev/sda
sudo update-grub
However, on restart I now get the regular Grub console, but not the selection screen to select what to boot. This even though all Linux kernel images and the Windows 7 partition I have was found during the reinstall. So, seems I need to do a complete purge of Grub from both MBR and sda3 (which is the Ubuntu partition i accidentally chose on upgrade), and start over clean. Question is then, how do I do it, line by line from the terminal?
View 3 Replies
View Related
Jan 11, 2011
I'm running evolution 2.30.3 in ubuntu 10.10, with unity desktop, and I can't find the "purge" option for the tasks. As it disappeared or is it just me not finding it ? Also, while I'm here, I understand that unity is still in development. Where can I report the issues I notice while running it ?
View 3 Replies
View Related
Jun 30, 2011
Are there some effective tools to purge the system of unused libs/pkg and other files?Till now I found localepurge (i do not remember where i found it) which does some trick, but I am sure there is a lot of other things laying around in Slack with no real reason to be there in some minimal installation.I found also unsuedpkg in google.code, but it does nothing on a fresh system.Such question won't rise if Slack team wouldn't be forgetting about Slack's significance in server segment and putting big efforts in "deskopisation" of it. I'd be happy seeing directories like xlibs/ and mm_stuff/ where all x related libs and multimedia related ehhh... files could go (I hope developers will see this message).
View 3 Replies
View Related
Sep 20, 2010
When I remove an application from YaST does it remove its config files too? If it does not, is there any command by which I can remove the config files for all the uninstalled applications?
View 1 Replies
View Related
May 2, 2010
Did a fresh install of 10.04 Desktop 86_64 this weekend. One of the first issues I noticed right away was that apt was not function properly. Say for example you install the packages tor and vidalia (assume I'm running everything from root). #apt-get install tor vidalia This command will check and install necessary dependencies, for example 'privoxy'. Now if you decide that you don't want to use privoxy and instead use polipo, you would probably feel inclined to remove privoxy. Well I found that apt-get autoremove, apt-get remove, apt-get purge WILL NOT remove all the files/directories associated with the package. You'll find that after running each of these commands, there will still be directories, scripts, etc. in /etc/init, /etc, and /etc/rc*.d. The only solution I've found to completely removing a package is aptitude purge [package].
View 1 Replies
View Related
Sep 12, 2010
Yeah, I use dselect. What can I say, I've grown used to it and prefer it to the more modern dpkg front-ends.Recently did a fresh install of Lucid Server 10.4.1 AMD64. There are some Standard packages that I don't need and I used dselect to purge them:
apparmor
apparmor-utils
friendly-recovery
[code]....
View 2 Replies
View Related
May 10, 2010
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now. To see my tries please read bellow.Do any of you have any advanced advice how can solve this BIG problem that occurs to me?
View 10 Replies
View Related