Skip to contentSkip to conversation

An ping issue on Linux kernel 2.6.25

DISCUSSION jiazhida 00102231 3 participants 3 messages Nov 26, 2009

lore
Share & tools
lore
#0 lore raw

Dear Sir:

I have met an issue about Netfilter. The version of my Linux kernel is 2.6.25.

Connect to the internet, and then open the command prompt and ping using "ping wwwlclix.pt -t". In the beginning I can get respose but after disconnect and connect the internet never responds again, but if I try to open the site in the web brower it works.

I have checked the nf_conntrack table, it seems that the nf_conntrack item for icmp had not been updated.

Is this a bug? Or is this a especial transaction considering some reason?

Thanks very much!

Regards

******************************************************************************************
This email and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained here in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it!
*****************************************************************************************

#1 lore raw
Quoted 7 lines · jiazhida 00102231 wrote:

Dear Sir:

I have met an issue about Netfilter. The version of my Linux kernel is 2.6.25.

Connect to the internet, and then open the command prompt and ping using "ping wwwlclix.pt -t". In the beginning I can get respose but after disconnect and connect the internet never responds again, but if I try to open the site in the web brower it works.

I have checked the nf_conntrack table, it seems that the nf_conntrack item for icmp had not been updated.

If you are talking about packet and byte counters being 0 in reply direction then it might be a bug that was fixed after 2.6.26 kernel. Check commit 718d4ad98e272daebc258e49dc02f52a6a8de9d3.

#2 lore raw
In reply to jiazhida 00102231

Hello,

Quoted 7 lines · jiazhida 00102231 a écrit :

I have met an issue about Netfilter. The version of my Linux kernel is 2.6.25.

Connect to the internet, and then open the command prompt and ping
using "ping wwwlclix.pt -t". In the beginning I can get respose but after disconnect and connect the internet never responds again, but if I try to open the site in the web brower it works.

So you have an issue. Maybe it is related to your setup. But you do not tell anything about your setup, how could one tell ? Is netfilter running on the machine which sends the ping or on another machine acting as a routeur ? Is there some NAT or masquerading ? What is the ruleset ? What do you mean by "disconnect and connect" ? Do you have a variable IP address ?

Quoted 2 lines

I have checked the nf_conntrack table, it seems that the nf_conntrack
item for icmp had not been updated.

What do you mean by "updated" ? What did you expect, and what do you observe instead ?