x11vnc slow internet initial-connection performance – identd timeout



So, I had the script all ready, I’ve got my x11vnc custom compiled to be as widely compatible as possible, I’ve tested thoroughly on the internal network. The next step was to test my x11vnc “one cut and paste” script over the internet. So, I visited my parents pc which dual-boots Windows XP and Mandrake 10.0…. I did the cut and paste into the “run command…” menu and waited and waited and waited. dropped to a console and started again, but checked that x11vnc was already running. I didn’t know what could be taking so long. I tried again and the FIRST connection gave the prompt.


So, after verifying I had the connection, I closed it and tried again, this time I timed the connection. It took 3 minutes from clicking run to the prompt popup. On investigation, the problem was as follows….

my firewall was dropping identd packets (port 113). After setting the firewall just to reject identd packet and the initial connect dropped from 3 minutes to about 6 seconds. So, essentially x11vnc was trying to connect to the identd port on the “listener” machine (mine) and I had to make an adjustment to just tell it the port was closed (rather than the “stealth” mode of dropping packets.)

Anyway, on reading, I found that this is a known slowdown for a number of protocols (outgoing as well). It seems that some servers on receiving a connection try to connect back to the identd of the client. (IRC is known for this apparently.)

Anyway, after connection I found the performance (both with identd timing out and rejecting packets) to be reasonable (the vnc desktop session). Quite workable even, so it seemed as though the identd only slowed down the initial connect. I would recommend anyone else setting this up to reject identd packets instead of dropping them at the firewall. Of course, this wouldn’t be something the “end-user” of the “single cut and paste” download would need to worry with, but the person doing the remote supportdesk. (It’s worth thinking about in a lan if your machine has a firewall on by default and you’re doing support desk services there as well.)

Related Posts

Blog Traffic Exchange Related Posts
  • More reason to be cautious with Firefox plugins Again.... this article referring to an exploit related to the cross platform plugin capability in firefox, is a GOOD reminder to be cautious when looking at potential plugins to install for mozilla firefox. In fact, the advice is usually do NOT install software (including plugins) from untrusted sources. By all......
  • Virtual Server on Apache to listen on an alternate port In the last few days, I had to set up something a bit unusual with apache. Basically the goal was to have apache listen for connections on two different ports (the standard port 80 and an alternate port 85). The problem was that I wanted different content at each port.......
  • Microsoft vulnerability whack-a-mole continues..... Translation - Microsoft patched one vulnerability another surfaces.... Incidents.org brings us the frustrating news.... If you remember the month of browser bugs series of exploits back in July, there was a denial of service there that appears to have code execution after all. Coincidence or not, it got publicly released......
Blog Traffic Exchange Related Websites
  • Travel Computer Project: I Need Your Advice I'm finding myself doing quite a bit more traveling that I have in the past. Since I spend a good deal of my time on the Internet, as a software engineer as well as writing this blog, I developed a bit of a dependency on it. It's probably not a......
  • Viewsonic g Tablet PC Review It has 10.1" LCD screen display and it is multi-touch capable. The display is 1024x600 pixels resolution and it is loaded with NVIDIA Graphics processor which is capable of displaying both 2D and 3D graphics. It has the capability to display High Definition video and supports up to 1080p......
  • BOSS DVD Player For Car - BV9997BI DVD Player Review We all know about Boss Audio System, one of the best audio system in this world meant for its mind blowing crystal clear audio products. When it comes to car, we all expect the best player to be plugged and we love to rock on the go....If you are looking......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site