All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Mader <thezema@gmail.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: remove connections notification by conntrack?
Date: Sun, 15 Oct 2006 19:03:00 +0200	[thread overview]
Message-ID: <200610151903.05371.thezema@gmail.com> (raw)
In-Reply-To: <45325D96.9090004@netfilter.org>

[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]

We started to look into ipt_REJECT.c and searched through the code for 
send_icmp examples but we never were successful on sending paket.
It seems the problems lies in the setup of an skb for send_icmp. As you can 
see from the codesample earlier we played around with setting it up but 
nothing worked. We also tried to generate a raw socket for it but nothing was 
successful.
We also never found a code part in the kernel where the skb is created by 
searching on occurances of send_icmp.

On Sunday 15 October 2006 18:11, you wrote:
> Thomas Mader wrote:
> > we figured out what the problem was some time ago, sorry for the delay.
> > We forgot to put it back as you said earlier.
> > We want to publish our code soon here on the mailinglist to finish this
> > topic and to help others with our code as an example but we don't find
> > out how to send ICMP packets from kernelspace.
> > Maybe you or somebody else could point us to some code example or
> > something so we can implement it? We searched the kernel code and the net
> > for examples but we wasn't successful at finding working examples.
>
> Is send_icmp what you look for? See ipt_REJECT.c, I think that it can
> serve as example.

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

  reply	other threads:[~2006-10-15 17:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 11:59 remove connections notification by conntrack? Thomas Mader
2006-09-22 12:58 ` Pablo Neira Ayuso
2006-09-22 13:19   ` Thomas Mader
2006-09-22 15:00     ` Pablo Neira Ayuso
2006-09-23  9:23       ` Thomas Mader
2006-09-24  3:10         ` Pablo Neira Ayuso
2006-09-24  9:51           ` Thomas Mader
2006-09-24 15:34             ` Pablo Neira Ayuso
2006-10-15 13:01               ` Thomas Mader
2006-10-15 16:11                 ` Pablo Neira Ayuso
2006-10-15 17:03                   ` Thomas Mader [this message]
2006-09-25 17:12         ` Alan Ezust

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=200610151903.05371.thezema@gmail.com \
    --to=thezema@gmail.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=pablo@netfilter.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 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.