Skip to contentSkip to conversation

logging error

DISCUSSION Russell Coker 2 participants 2 messages Sep 19, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I'm seeing messages such as the following, I believe that this must be wrong. 192.5.41.40 is an address not in my range. 203.15.120.110 is a ppp modem user. klogd is not involved in the communication...

Sep 19 18:45:57 caesar kernel: avc:  denied  { udp_send } for  pid=341 
exe=/sbin/klogd saddr=192.5.41.40 source=17680 daddr=203.15.120.110 dest=76 
netif=ppp0 scontext=system_u:object_r:netmsg_eth1_t 
tcontext=system_u:object_r:netif_t tclass=netif
Sep 19 18:45:57 caesar kernel:
Sep 19 18:45:57 caesar kernel: avc:  denied  { udp_send } for  pid=341 

exe=/sbin/klogd saddr=192.5.41.40 source=17680 daddr=203.15.120.110 dest=76 netif=ppp0 scontext=system_u:object_r:netmsg_eth1_t tcontext=system_u:object_r:node_t tclass=node

Signature · 10 lines
There is no point PGP/GPG signing an email unless the signature can be
verified.  If you post to a list then don't sign the message unless your
key is available on public key servers and has been signed by someone
who is in the web of trust, otherwise you just waste bandwidth and CPU.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 10 lines · Russell Coker

I'm seeing messages such as the following, I believe that this must be wrong. 192.5.41.40 is an address not in my range. 203.15.120.110 is a ppp modem user. klogd is not involved in the communication...

Sep 19 18:45:57 caesar kernel: avc:  denied  { udp_send } for  pid=341
exe=/sbin/klogd saddr=192.5.41.40 source=17680 daddr=203.15.120.110 dest=76
netif=ppp0 scontext=system_u:object_r:netmsg_eth1_t
tcontext=system_u:object_r:netif_t tclass=netif
Sep 19 18:45:57 caesar kernel:
Sep 19 18:45:57 caesar kernel: avc:  denied  { udp_send } for  pid=341
Quoted 3 lines

exe=/sbin/klogd saddr=192.5.41.40 source=17680 daddr=203.15.120.110 dest=76 netif=ppp0 scontext=system_u:object_r:netmsg_eth1_t tcontext=system_u:object_r:node_t tclass=node

The current process information (pid, exe) is unreliable when the check is performed as part of network input processing, but avc_audit reports whatever auxiliary information appears to be available. Looks like a packet received on eth1 (and thus assigned netmsg_eth1_t) is being forwarded to ppp0.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.