All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jay L.T. Cornwall" <jay@esuna.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: ipt_owner and ICMP
Date: Sun, 19 Mar 2006 00:26:35 +0000	[thread overview]
Message-ID: <441CA53B.6010606@esuna.co.uk> (raw)
In-Reply-To: <441CA43E.1040706@zoomnet.ro>

Alexandru Dragoi wrote:

>> This works fine for UDP and TCP, but my outgoing ICMP packets never match
>> the rule. I understand why incoming ICMP should fail to match, but why are
>> outgoing packets missing the filter?

> I think this is because icmp packets are just generated and sent away by
> some part of the kernel after it received a syscall from a program with
> uid 0 (only root can use icmp).

Oh, of course! *slaps head*

Ping was running as setuid root. I feel silly now, thanks for pointing 
that out. :)

-- 
Jay L.T. Cornwall, http://www.esuna.co.uk/~jay/
PhD Student
Imperial College London


      reply	other threads:[~2006-03-19  0:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-18 18:34 ipt_owner and ICMP jay
2006-03-19  0:22 ` Alexandru Dragoi
2006-03-19  0:26   ` Jay L.T. Cornwall [this message]

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=441CA53B.6010606@esuna.co.uk \
    --to=jay@esuna.co.uk \
    --cc=netfilter@lists.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.