All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Vasantha Kumar Puttappa <vasanthakumar@iitb.ac.in>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Packet Lost
Date: Mon, 19 Jun 2006 16:55:27 +0200	[thread overview]
Message-ID: <4496BADF.5000405@trash.net> (raw)
In-Reply-To: <58963.10.107.26.27.1149788221.squirrel@gpo.iitb.ac.in>

Vasantha Kumar Puttappa wrote:
> Hi,
> 
>   I am working on a small application using iptables/libipq. In this, the
> application would capture a specific packets based on the destination IP
> address. Then I encapsulate this IP packet inside another new IP packet.
> 
> My problem is that the encapsulation part works fine in
> kernel-2.6.11-6(mandriva 2005) and IPtables V 1.2.9.
> (I can capture encapsulated packets using tcpdump at the sender side i.e,
> packets are being put on to the network)
> 
> 
> But this doesn't work in kernel-2.6.12-12 and IPtables-1.3.5
> (even though there are no erros after callig ipq_set_verdict, the packets
> are not being put on to the channel. The packets are getting lost after
> the call to ipq_set_verdict)
> 
> please let me know if you need more information

IIRC some old versions accidentally fixed up broken checksums
they received from userspace and this is not done anymore.
Do your packets have correct checksums when sent from userspace
to the kernel?

  reply	other threads:[~2006-06-19 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 17:37 Packet Lost Vasantha Kumar Puttappa
2006-06-19 14:55 ` Patrick McHardy [this message]
2006-06-19 19:23   ` Vasantha Kumar Puttappa
2006-06-19 19:32     ` Patrick McHardy
2006-06-20  5:26       ` Vasantha Kumar Puttappa
2006-06-20 13:51         ` Patrick McHardy
2006-06-20  6:50       ` TCP connection and interface down Vasantha Kumar Puttappa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4496BADF.5000405@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=vasanthakumar@iitb.ac.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.