netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "pupilla@libero.it" <pupilla@libero.it>
To: <jengelh@inai.de>
Cc: <netdev@vger.kernel.org>
Subject: R: Re: R: Re: mtu issue with ipsec tunnel and netfilter snat
Date: Fri, 11 Jan 2013 16:34:04 +0100 (CET)	[thread overview]
Message-ID: <19220632.617321357918444464.JavaMail.defaultUser@defaultHost> (raw)

jengelh@inai.de wrote
>On Thursday 2013-01-10 17:46, pupilla@libero.it wrote:
>
>>jengelh@inai.de wrote:
>>>>
>>>>But why linux_gw_snat is not sending icmp need to frag packets to
>>>>10.148.12.23?
>>>
>>>Perhaps because ICMP was blocked erroneously?
>>
>>well, I don't see the icmp packets because tcpdump 'see' only the 
>>incoming ipsec clear packets. Is there a way to see the outgoing clear 
>>ipsec packets with tcpdump?
>
>Not with AF_PACKET sockets (tcpdump uses such), but you could with 
>iptables -j LOG, NFLOG and TRACE they can be made visible. If you need 
>the full packet, you can either patch up LOG to call the kernel hexdump 
>functions, or use NFLOG - I think - to deliver it to any userspace 
>program to do further processing. If all else fails, there is also 
>NFQUEUE with which the packet can also be copied to userspace.
>

Thanks for the reply.
I have saved the esp packets with tcpdump and then
decrypted with wireshark. Indeed, the icmp need to
frag packets are being sent by the linux ipsec
gateway.

Thanks for support.

                 reply	other threads:[~2013-01-11 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=19220632.617321357918444464.JavaMail.defaultUser@defaultHost \
    --to=pupilla@libero.it \
    --cc=jengelh@inai.de \
    --cc=netdev@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).