Re: What should the context of ICMP packets be on a ranged network interface be?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, March 24, 2014 10:26:09 AM Joe Nall wrote:
> If I 'semanage interface -a -t netif_t -r s0-s1 eth1' and
> 'netlabelctl unlbl add interface:eth1 address:1.2.3.4/32
> label:remote_u:remote_r:router_t:s1' ...

Don't forget that the 'netlabelctl unlbl add ...' commands only set the label 
on *incoming* traffic that isn't otherwise labeled.  The static/fallback 
labels have no effect on outbound traffic.
 
> ... and the kernel needs to send ICMP packets on that interface to 1.2.3.4,
> what should the context of the outbound ICMP packets be?

What kind of ICMP packets?  If it is a ping/echo reply then the label will be 
dependent on both the labeled IPsec configuration and the label on the 
ping/echo request.

-- 
paul moore
www.paul-moore.com

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux