Page 1 of 1

Ping enabled but huge packet lose?

Posted: 25 Feb 2013, 13:52
by Salami1_1
Hi,

So just recently my own IP was suddenly blocked by CSF which cause some confusion, I have no idea why this happened but well all done and fixed, not the problem I opened this thread for. So while I was still unaware of this being the cause for me not loading my websites (for me) I was using: just-ping . com website to check my server.

There has a HUGE packet lose rate.. pretty much all locations has 20 - 100 % packet lose. The 100% package lose would be explained blocked by firewall however I do not understand the 20 - 90% packet lose rates in this case.

from my conf file:
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,3306,3307,4444,4567,4568,7538,8891"

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,53,80,110,113,443,3306,3307,4444,4567,4568,7538,8891"

# Allow incoming UDP ports
UDP_IN = "20,21,53"

# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list
UDP_OUT = "20,21,53,113,123"

# Allow incoming PING
ICMP_IN = "1"

# Set the per IP address incoming ICMP packet rate
# To disable rate limiting set to "0"
ICMP_IN_RATE = "1/s"

# Allow outgoing PING
ICMP_OUT = "1"

# Set the per IP address outgoing ICMP packet rate (hits per second allowed),
# e.g. "1/s"
# To disable rate limiting set to "0"
ICMP_OUT_RATE = "0"

Now I've disabled csf / lfd using 'csf -x' command and tried the ping test again using the same site result: ALL OKAY.

Is this an issue with the ICMP rate? Or is this a bug?

Re: Ping enabled but huge packet lose?

Posted: 01 Mar 2013, 01:39
by zhihao
I found the same problem with you after CSF updated to 6.00 yesterday morning.

I have a hongkong vps from vr (dot) org and I reported the issue to Mark M. We turned CSF off and everything is OK. But we didn't find which settings in CSF caused this issue.

Re: Ping enabled but huge packet lose?

Posted: 01 Mar 2013, 01:46
by zhihao
I am not familiar with IMCP. Mark help me set IMCP in/out rate to "unlimited". But the issue is still the same. Maybe it is not related to IMCP rates. I don't know.

Anyone who meet the same issue after update your CSF to 6.00 maybe has the same issue.

Re: Ping enabled but huge packet lose?

Posted: 02 Mar 2013, 02:18
by zhihao
I use "service lfd stop" in SSH mode. And everything is OK.

Put I still haven't find which settings in LFD cause the issue......

Re: Ping enabled but huge packet lose?

Posted: 02 Mar 2013, 12:22
by onel0ve
set ICMP_IN_RATE = "0" you will nt face packet loss problem .

Re: Ping enabled but huge packet lose?

Posted: 03 Mar 2013, 03:59
by zhihao
Now I find the exact reason which cause the issue. It is not related to IMCP settings. It is ipv6 settings which cause the issue. Today I turn the ipv6 settings off (set to 0 instead of 1) and everything is OK. No package loss, no down time, and everything is OK.

Re: Ping enabled but huge packet lose?

Posted: 05 Mar 2014, 15:06
by mohdahmed
@zhihao "Today I turn the ipv6 settings off "

Thank you so much for this ... really helped us out a lots.

I have also disabled automatic update after this.