VNC server configuration to set BlacklistingTimeout parameter to zero

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kamalkgarg
    New Member
    • Jan 2009
    • 1

    VNC server configuration to set BlacklistingTimeout parameter to zero

    I am having vnc-server-4.0-0.beta4.1.6 installed on RHEL3.0.

    I was often being reported about the following error while connecting to VNC "Connection failed: Too many security failures."

    After doing research I found the following information regarding the stated problem-

    VNC has implemented a blacklisting feature that blocks an IP address after five unsuccessful connection attempts. The IP address is initially blocked for ten seconds, but this doubles for each unsuccessful attempt thereafter. A successful connection from an IP address resets the blacklist timeout. This is built in to VNC Server and does not rely on operating system support.

    I found a way to update the value of Blacklisting Timeout by specifying a parameter named BlacklistTimeou t with value 0 in /etc/sysconfig/vncservers file as stated below.

    "
    VNCSERVERS="1:r oot"
    VNCSERVERARGS[1]="-geometry 1024x768 -depth 16 -BlacklistTimeou t 0"
    "

    I updated the vncservers file and restarted the vncserver service. The service got started successfully and I was able to connect to RHEL3 through VNC successfully. I then attempted VNC connect with wrong passwords but the VNC connection was being refused in usual manner after five attempts.

    I tried to do the same configuration on RHEL 4 having " vnc-server-4.0-8.1" installed. It worked, i.e I didn't encounter any connection refusal even after 20 VNC connect attempt with wrong password.

    Can you please suggest, how to make this configuration work with vnc-server-4.0-0.beta4.1.6 on RHEL3?

    Thanks & Regards
    Kamal
Working...