All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kurt Roeckx <Q@ping.be>
To: selinux@tycho.nsa.gov
Subject: ping problems.
Date: Sat, 22 Mar 2003 21:45:30 +0100	[thread overview]
Message-ID: <20030322204530.GA20526@ping.be> (raw)

ping6 doesn't seem to work to work when pinging localhost (::1).
It does work in case I ping a remote host however.

I get this error:
avc:  denied  { recvfrom } for  pid=1631 exe=/bin/ping6 netif=lo
scontext=kurt:sysadm_r:ping_t tcontext=system_u:system_r:kernel_t
tclass=rawip_socket

I think the tclass should be icmp_socket_t instead, for which is
has permission to use recvfrom.

Then there is a problem for both ping and ping6 if you try to use
the -I parameter.  You get:

avc:  denied  { ioctl } for  pid=1641 exe=/bin/ping6
path=socket:[8429] dev=00:00 ino=8429
scontext=kurt:sysadm_r:ping_t tcontext=kurt:sysadm_r:ping_t
tclass=rawip_socket

avc:  denied  { ioctl } for  pid=1647 exe=/bin/ping
path=socket:[8439] dev=00:00 ino=8439
scontext=kurt:sysadm_r:ping_t tcontext=kurt:sysadm_r:ping_t
tclass=rawip_socket


Kurt


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2003-03-22 20:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-22 20:45 Kurt Roeckx [this message]
2003-03-22 23:38 ` ping problems Russell Coker

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=20030322204530.GA20526@ping.be \
    --to=q@ping.be \
    --cc=selinux@tycho.nsa.gov \
    /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.