All of lore.kernel.org
 help / color / mirror / Atom feed
* ROUTE
@ 2008-02-05 10:14 Brent Clark
  2008-02-05 11:41 ` ROUTE Rob Sterenborg
  0 siblings, 1 reply; 8+ messages in thread
From: Brent Clark @ 2008-02-05 10:14 UTC (permalink / raw)
  To: netfilter

Hi all

Its been a while since i have been on this list, I trust everyone is 
good and well.

I need to compile the 2.6.24 kernel, but with POMS ROUTE.

Im seeing that Route is not the lastest POM.

If i may ask is there a reason for this, or is there a better way to 
route traffic out a different interface.

If anyone could assist, thanks in advance.

Regards
Brent Clark


^ permalink raw reply	[flat|nested] 8+ messages in thread
* route
@ 2002-09-04 17:27 Carsten Grohmann
  2002-09-05 12:47 ` route Russell Coker
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Grohmann @ 2002-09-04 17:27 UTC (permalink / raw)
  To: SELinux

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

Hi!

attached is the rule set for the route_t domain.
I am glad if anybody use it.

Carsten

[-- Attachment #2: route.te --]
[-- Type: text/plain, Size: 1531 bytes --]

#
# This policy is for route
#
# Author     :  Carsten Grohmann <carstengrohmann@gmx.de>
#
# $Id$
#
# License    :  GPL
#
# Last change:  04. September 2002
#
# State      :  complete and testet
#
# Tested versions:
#   - SuSE 7.3
#
# Hints      :
#  - 
#
# Changes    :
#  - 
#
# Enhancements/Corrections:
#  - 

# General declarations
######################

type route_t, domain;
role system_r types route_t;
role sysadm_r types route_t;

# type for the route executable
type route_exec_t, file_type, sysadmfile, exec_type;

# type for route configuration file ( /etc/route.conf )
type etc_route_t, file_type, sysadmfile;
file_type_auto_trans(route_t, etc_t, etc_route_t)

domain_auto_trans(initrc_t, route_exec_t, route_t)
type_transition init_t route_exec_t:process route_t;

domain_auto_trans(sysadm_t, route_exec_t, route_t)

# File permissions
##################

# Allow access to proc_t
allow route_t proc_t:dir { search };
allow route_t proc_t:file { getattr read };

# Allow access to sysadm_tty_device_t
allow route_t sysadm_tty_device_t:chr_file { getattr ioctl read write };

# Process permissions
#####################

# Allow to use shared libraries
uses_shlib(route_t)

allow route_t self:capability { net_admin };

# Allow process and network communication
#########################################

allow route_t local_login_t:fd { use };
allow route_t self:udp_socket { create ioctl };

# Settings to allow initrc_t access to etc_route_t
ifdef(`initrc.te', `allow initrc_t etc_route_t:file { ioctl read }; ')

[-- Attachment #3: route.fc --]
[-- Type: text/plain, Size: 203 bytes --]

#
# Author:  Carsten Grohmann <carstengrohmann@gmx.de>
#
# $Id$
#

# settings for route
####################

/sbin/route			system_u:object_r:route_exec_t
/etc/route.conf			system_u:object_r:etc_route_t

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-05 12:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 10:14 ROUTE Brent Clark
2008-02-05 11:41 ` ROUTE Rob Sterenborg
2008-02-05 12:38   ` ROUTE Brent Clark
2008-02-05 12:51     ` ROUTE Rob Sterenborg
  -- strict thread matches above, loose matches on Subject: below --
2002-09-04 17:27 route Carsten Grohmann
2002-09-05 12:47 ` route Russell Coker
2002-09-05 19:13   ` route Carsten Grohmann
2002-09-06  9:50     ` route Russell Coker

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.