Ping to Server Showing Packet loss - Request timed out

Ping to Server Showing Packet loss:
I am facing a problem with my server. When I ping to my server, it shows: Request timed out.

Request timed out.
Request timed out.
Request timed out.
Reply from 67.217.....186: bytes=32 time=592ms TTL=42
Request timed out.
Request timed out.
Request timed out.
Reply from 67.217.....186: bytes=32 time=622ms TTL=42
Reply from 67.217.....186: bytes=32 time=274ms TTL=42
Request timed out.
Reply from 67.217.....186: bytes=32 time=275ms TTL=42
Reply from 67.217.....186: bytes=32 time=278ms TTL=42
Request timed out.
Reply from 67.217.....186: bytes=32 time=470ms TTL=42
Reply from 67.217.....186: bytes=32 time=274ms TTL=42
Request timed out.
Request timed out.
Request timed out.
Reply from 67.217.....186: bytes=32 time=419ms TTL=42
Reply from 67.217.....186: bytes=32 time=361ms TTL=42
Request timed out.
Reply from 67.217.....186: bytes=32 time=292ms TTL=42


To check the packet loss issue caused by rate-limiting ICMP (ping) requests in CSF (ConfigServer Security & Firewall),
you'll need to adjust the configuration. Here's how you can do it:


1. Access your server via SSH: Use your preferred SSH client to connect to your server.

2. Edit the CSF configuration file: Navigate to the directory where CSF is installed. Typically, the configuration file is located at /etc/csf/csf.conf. You can edit it using a text editor like nano or vi.
For example:

# nano /etc/csf/csf.conf


3. Find the ICMP rate-limiting configuration: Look for the ICMP_IN_RATE setting in the CSF configuration file. It may be set to 1/s as indicated by your hosting company.

ICMP_IN_RATE = '1/s' 


4. Adjust the ICMP rate-limiting setting:
Change the value of ICMP_IN_RATE from "1/s" to "0". This will disable rate-limiting for ICMP requests.

ICMP_IN_RATE = "0"


5. Save the changes:
After making the adjustment, save the csf.conf file with:
"Ctrl+X" then press "Y" and "Enter" to save the file and exit the text editor.

6. Reload CSF: Run the following command to apply the changes to the CSF configuration:

# csf -r


This command will reload CSF with the new configuration settings.
This will disable rate-limiting for ICMP requests.

C:\>ping wdhdomain.com

Pinging wdhdomain.com [67.217....186] with 32 bytes of data:
Reply from 67.217....186: bytes=32 time=351ms TTL=50
Reply from 67.217....186: bytes=32 time=396ms TTL=50
Reply from 67.217....186: bytes=32 time=334ms TTL=50
Reply from 67.217....186: bytes=32 time=315ms TTL=50

Ping statistics for 67.217....186:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 315ms, Maximum = 396ms, Average = 349ms







Hjalp dette svar dig?

Relaterede artikler

"Failed to retrieve directory listing" errors during FTP connection authentication attempts using FileZilla

I see "Failed to retrieve directory listing" errors during cPanel FTP authentication attempts...