<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.rsbac.org/lib/styles/feed.css" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.rsbac.org/feed.php">
        <title>RSBAC: Extending Linux Security Beyond the Limits</title>
        <description></description>
        <link>http://www.rsbac.org/</link>
        <image rdf:resource="http://www.rsbac.org/lib/images/favicon.ico" />
       <dc:date>2009-01-06T23:01:53+01:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/run-jail?rev=1231279253&amp;do=diff1231279253"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/tweety?rev=1226345035&amp;do=diff1226345035"/>
                <rdf:li rdf:resource="http://www.rsbac.org/todo?rev=1226328463&amp;do=diff1226328463"/>
                <rdf:li rdf:resource="http://www.rsbac.org/home/2008/11/10/150108?rev=1226327900&amp;do=diff1226327900"/>
                <rdf:li rdf:resource="http://www.rsbac.org/site/sidebar?rev=1226243830&amp;do=diff1226243830"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_explain_message?rev=1225298838&amp;do=diff1225298838"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/syntax?rev=1225031219&amp;do=diff1225031219"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/kvm_guest_jail?rev=1219062445&amp;do=diff1219062445"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist?rev=1218444340&amp;do=diff1218444340"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/kvm?rev=1218408070&amp;do=diff1218408070"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_syslog-ng?rev=1216135782&amp;do=diff1216135782"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_rsync?rev=1216017569&amp;do=diff1216017569"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_wget?rev=1216017356&amp;do=diff1216017356"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_ping?rev=1216017270&amp;do=diff1216017270"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_squid?rev=1216005185&amp;do=diff1216005185"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_portmap?rev=1216004441&amp;do=diff1216004441"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_dmeventd?rev=1216004172&amp;do=diff1216004172"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_powernowd?rev=1216003949&amp;do=diff1216003949"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_postfix?rev=1216003596&amp;do=diff1216003596"/>
                <rdf:li rdf:resource="http://www.rsbac.org/wiki/experiences/igraltist/jail_apache2?rev=1216003146&amp;do=diff1216003146"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.rsbac.org/lib/images/favicon.ico">
        <title>RSBAC: Extending Linux Security Beyond the Limits</title>
        <link>http://www.rsbac.org/</link>
        <url>http://www.rsbac.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/run-jail?rev=1231279253&amp;do=diff1231279253">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-06T23:00:53+01:00</dc:date>
        <title>wiki:experiences:igraltist:run-jail</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/run-jail?rev=1231279253&amp;do=diff1231279253</link>
        <description>Back to igraltist's experiences
 

run-jail is a python-script. Two files are nessesary to using it. 

	*  run-jail.py
	*  jail_configparser.py

syntax for configfile
; example daemon
; date 0.0.0000
; testet by 
&quot;&quot;
&quot;&quot;
()
()
()
()
explanation the syntax

The jailconfigurationfile is seperated in 6 categories.</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/tweety?rev=1226345035&amp;do=diff1226345035">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-10T20:23:55+01:00</dc:date>
        <dc:creator>kang</dc:creator>
        <title>wiki:experiences:tweety - old revision restored</title>
        <link>http://www.rsbac.org/wiki/experiences/tweety?rev=1226345035&amp;do=diff1226345035</link>
        <description>*  Pros
		*  Very powerful enhancement of LINUX kernel
		*  Nice design, which allows bunch off cool features like transaction, secure_delete, fd hiding...
		*  Cool community, still small but efficient and reactive

	*  Cons
		*  The lack of documentations for some modules
		*  You need strong knowledge of UNIX system to setup well RSBAC policies
		*  For a best enforcement, small changes must be done to distribution (like restoring dynamic fd (/proc, /dev, shm))
		*  Their isn’t any referenc…</description>
    </item>
    <item rdf:about="http://www.rsbac.org/todo?rev=1226328463&amp;do=diff1226328463">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-10T15:47:43+01:00</dc:date>
        <dc:creator>kang</dc:creator>
        <title>todo - Updated for 1.4.0</title>
        <link>http://www.rsbac.org/todo?rev=1226328463&amp;do=diff1226328463</link>
        <description>RSBAC Progression and Roadmap

 This page reflects our current work queue - if you miss anything here, it will probably not happen. Please discuss any wishes on the  at &lt;rsbac@rsbac.org&gt; or open a bug.

The RSBAC development team.

Planned for the next release

	*  Add RC role attribute indicating that one has to authenticate with her UM password before actively changing to that role and mechanism for doing it.
		*  Add kexec call control with new kexec SCD type.
		*  New JAIL switch for enclosi…</description>
    </item>
    <item rdf:about="http://www.rsbac.org/home/2008/11/10/150108?rev=1226327900&amp;do=diff1226327900">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-10T15:38:20+01:00</dc:date>
        <dc:creator>kang</dc:creator>
        <title>home:2008:11:10:150108 - created</title>
        <link>http://www.rsbac.org/home/2008/11/10/150108?rev=1226327900&amp;do=diff1226327900</link>
        <description>RSBAC 1.4.0-rc3

Monday, 10/November/2008

RSBAC 1.4.0-rc3 has been released for kernels 2.4.36 and 2.6.27. (Full announcement) 

	*  New interception review
	*  Splitted 2.4 and 2.6 common code
	*  Automount support converted for vfsmount usage
	*  Long username support in VUM
	*  Many bugs fixed</description>
    </item>
    <item rdf:about="http://www.rsbac.org/site/sidebar?rev=1226243830&amp;do=diff1226243830">
        <dc:format>text/html</dc:format>
        <dc:date>2008-11-09T16:17:10+01:00</dc:date>
        <dc:creator>ao</dc:creator>
        <title>site:sidebar - New 1.4.0-rc2</title>
        <link>http://www.rsbac.org/site/sidebar?rev=1226243830&amp;do=diff1226243830</link>
        <description>Stable: 1.3.7
  for kernels:

	*  2.4.36
	*  2.6.23.14

 Devel 1.4: 1.4.0-rc3
  for kernels:

	*  2.4.36.9
	*  2.6.27.5

  Full RSBAC kernels 
 Lazy of patching ?
Get the already rsbac-patched kernel. Choose your flavor.

 Classic kernels
 Includes vanilla kernel with the RSBAC patch</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_explain_message?rev=1225298838&amp;do=diff1225298838">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-29T17:47:18+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_explain_message</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_explain_message?rev=1225298838&amp;do=diff1225298838</link>
        <description>Wed Oct 29 16:27:01 2008 :&lt;6&gt;0000000106|rsbac_adf_request(): request CONNECT, pid 3902, ppid 3443, prog_name apache2, prog_file /usr/sbin/apache2, uid 33, remote ip 192.168.1.5, target_type UNIXSOCK, tid Device 254:01 Inode 146921 Path /var/run/mysqld/mysqld.sock, attr process, value 4025(mysqld,parent=3988(mysqld_safe)), result NOT_GRANTED by JAIL  

add categorie jail: allow-external-ipc or for rsbac_jail: -i</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/syntax?rev=1225031219&amp;do=diff1225031219">
        <dc:format>text/html</dc:format>
        <dc:date>2008-10-26T15:26:59+01:00</dc:date>
        <dc:creator>kang</dc:creator>
        <title>wiki:syntax - old revision restored</title>
        <link>http://www.rsbac.org/wiki/syntax?rev=1225031219&amp;do=diff1225031219</link>
        <description>DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the Edit this page button at the top or bottom of the page. If you want to try something, just use the playground page. The simpler markup is easily accessible via quickbuttons, too.</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/kvm_guest_jail?rev=1219062445&amp;do=diff1219062445">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-18T14:27:25+01:00</dc:date>
        <title>wiki:experiences:igraltist:kvm_guest_jail</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/kvm_guest_jail?rev=1219062445&amp;do=diff1219062445</link>
        <description>Back to igraltist's experiences



Based on the run-jail script and kvm-admin i do this.

kvm-jail-config


;
; RSBAC JAIL definition for kvm
; 20080507
;
; Tested by igraltist
;

&quot;&quot;
&quot;0.0.0.0&quot;
(allow-dev-read
 allow-dev-write
 allow-ipc-syslog
 allow-ipc-parent
 allow-inet-raw
 allow-all-net-family)
(net-raw
 setgid
 setuid
 dac-override
 net-admin
 dac-read-search
 sys-resource
 sys-module)
()
(rlimit)</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist?rev=1218444340&amp;do=diff1218444340">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-11T10:45:40+01:00</dc:date>
        <title>wiki:experiences:igraltist</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist?rev=1218444340&amp;do=diff1218444340</link>
        <description>Running a VM on a host wich has RSBAC + PaX as kernelfeatures.
 My choose is the KVM, because ist the easiest for use and already included in the the mainline kernel.  Its has enough performace to work on the guest without knowing that it’s a virtualized machine.</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/kvm?rev=1218408070&amp;do=diff1218408070">
        <dc:format>text/html</dc:format>
        <dc:date>2008-08-11T00:41:10+01:00</dc:date>
        <title>wiki:experiences:igraltist:kvm</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/kvm?rev=1218408070&amp;do=diff1218408070</link>
        <description>Back to igraltist's experiences
 

software packages

 The follow softwarepackages is required:

	* iproute2
	* brctl
	* tunctl
	* tightvnc (for example this vncserver)
	* subversion ( optinal can be on the workstation )

 Other packages should be on default installation.</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_syslog-ng?rev=1216135782&amp;do=diff1216135782">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-15T17:29:42+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_syslog-ng</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_syslog-ng?rev=1216135782&amp;do=diff1216135782</link>
        <description>--- syslog-ng_org	2008-07-14 02:42:13.000000000 +0200
+++ syslog-ng	2008-07-14 02:42:33.000000000 +0200
@@ -36,7 +36,7 @@
 	checkconfig || return 1
 	ebegin &quot;Starting syslog-ng&quot;
 	[ -n &quot;${SYSLOG_NG_OPTS}&quot; ] &amp;&amp; SYSLOG_NG_OPTS=&quot;-- ${SYSLOG_NG_OPTS}&quot;
-	start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS}
+	run-jail syslog-ng start-stop-daemon --start --quiet --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS}
 	eend $? &quot;Failed to start syslog-ng&quot;
 }</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_rsync?rev=1216017569&amp;do=diff1216017569">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T08:39:29+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_rsync</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_rsync?rev=1216017569&amp;do=diff1216017569</link>
        <description>;
; RSBAC JAIL definition for rsync
; 20080507
;
; Tested by igraltist

&quot;&quot;
&quot;0.0.0.0&quot;
(allow-external-ipc
 allow-dev-read
 allow-dev-write
 allow-ipc-parent)
()
()
(rlimit)



rsync
	
This is execute now:
rsbac_jail  -i -d -D -P -M  rlimit rsync
rsync  version 3.0.2  protocol version 30</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_wget?rev=1216017356&amp;do=diff1216017356">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T08:35:56+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_wget</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_wget?rev=1216017356&amp;do=diff1216017356</link>
        <description>;
; RSBAC JAIL definition wget
; 
;

&quot;&quot;
&quot;0.0.0.0&quot;
(allow-dev-write
 allow-dev-read)
()
()
()



 wget rsbac.org
	
This is execute now:
rsbac_jail  -D -d wget  rsbac.org
--2008-07-14 08:35:32--  http://rsbac.org/</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_ping?rev=1216017270&amp;do=diff1216017270">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T08:34:30+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_ping - created</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_ping?rev=1216017270&amp;do=diff1216017270</link>
        <description>;
; RSBAC JAIL definition ping
; 2.10.06
;

&quot;&quot;
&quot;0.0.0.0&quot;
;&quot;192.168.1.1&quot;
(allow-dev-write
 allow-dev-read
 allow-inet-raw)
()
()
()



ping rsbac.org
	
This is execute now:
rsbac_jail  -D -d -r ping  rsbac.org
PING rsbac.org (81.169.183.215) 56(84) bytes of data.</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_squid?rev=1216005185&amp;do=diff1216005185">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T05:13:05+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_squid</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_squid?rev=1216005185&amp;do=diff1216005185</link>
        <description>--- squid_org	2008-07-14 05:09:33.000000000 +0200
+++ squid	2008-07-05 16:35:50.000000000 +0200
@@ -98,7 +98,7 @@
 	maxfds
 	umask 027
 	cd $cdr
-	start-stop-daemon --quiet --start \
+	run-jail squid start-stop-daemon --quiet --start \
 		--pidfile $PIDFILE \
 		--chuid $CHUID \
 		--exec $DAEMON -- $SQUID_ARGS &lt; /dev/null</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_portmap?rev=1216004441&amp;do=diff1216004441">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T05:00:41+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_portmap - created</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_portmap?rev=1216004441&amp;do=diff1216004441</link>
        <description>--- portmap_org	2008-07-14 04:58:03.000000000 +0200
+++ portmap	2008-07-05 03:36:52.000000000 +0200
@@ -11,7 +11,7 @@
 
 start() {
 	ebegin &quot;Starting portmap&quot;
-	start-stop-daemon --start --quiet --exec /sbin/portmap -- ${PORTMAP_OPTS}
+	run-jail portmap start-stop-daemon --start --quiet --exec /sbin/portmap -- ${PORTMAP_OPTS}
 	local ret=$?
 	eend ${ret}
 	# without, if a service depending on portmap is started too fast,</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_dmeventd?rev=1216004172&amp;do=diff1216004172">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T04:56:12+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_dmeventd</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_dmeventd?rev=1216004172&amp;do=diff1216004172</link>
        <description>--- dmeventd_org	2008-07-14 04:53:34.000000000 +0200
+++ dmeventd	2008-07-05 03:27:51.000000000 +0200
@@ -9,7 +9,7 @@
 
 start() {
 	ebegin &quot;Starting dmeventd&quot;
-	start-stop-daemon --start --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid
+	run-jail dmeventd start-stop-daemon --start --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid
 	eend $?
 }</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_powernowd?rev=1216003949&amp;do=diff1216003949">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T04:52:29+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_powernowd</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_powernowd?rev=1216003949&amp;do=diff1216003949</link>
        <description>--- powernowd_org	2008-07-14 04:49:20.000000000 +0200
+++ powernowd	2008-07-05 03:38:09.000000000 +0200
@@ -7,7 +7,7 @@
 
 start() {
 	ebegin &quot;Starting powernowd&quot;
-	/usr/sbin/powernowd -q ${POWERNOWD_OPTS}
+	run-jail powernowd /usr/sbin/powernowd -q ${POWERNOWD_OPTS}
 	eend $?
 }</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_postfix?rev=1216003596&amp;do=diff1216003596">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T04:46:36+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_postfix - created</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_postfix?rev=1216003596&amp;do=diff1216003596</link>
        <description>--- postfix_org	2008-07-14 04:43:40.000000000 +0200
+++ postfix	2008-07-14 02:05:07.000000000 +0200
@@ -12,7 +12,8 @@
 
 start() {
 	ebegin &quot;Starting postfix&quot;
-	postfix /usr/sbin/postfix start &gt;/dev/null 2&gt;&amp;1
+	run-jail postfix /usr/sbin/postfix start 
+        #&gt;/dev/null 2&gt;&amp;1
 	eend $?
 }
 
@@ -24,6 +25,7 @@
 
 reload() {
 	ebegin &quot;Reloading postfix&quot;
-	postfix /usr/sbin/postfix reload &gt;/dev/null 2&gt;&amp;1
+	run-jail postfix /usr/sbin/postfix reload 
+        #&gt;/dev/null 2&gt;&amp;1
 	eend $?
 }</description>
    </item>
    <item rdf:about="http://www.rsbac.org/wiki/experiences/igraltist/jail_apache2?rev=1216003146&amp;do=diff1216003146">
        <dc:format>text/html</dc:format>
        <dc:date>2008-07-14T04:39:06+01:00</dc:date>
        <title>wiki:experiences:igraltist:jail_apache2</title>
        <link>http://www.rsbac.org/wiki/experiences/igraltist/jail_apache2?rev=1216003146&amp;do=diff1216003146</link>
        <description>This is the modified apache2 init-script 


--- apache2_orginal	2008-07-01 14:33:17.000000000 +0200
+++ apache2	2008-07-02 18:11:08.000000000 +0200
@@ -115,6 +115,8 @@
         	      fi
 		 done
 	fi
+	echo &quot;sleeping a bit, otherwise the port is blocking from dieing apache&quot;
+	sleep 2
 }
 
 # Stupid hack to keep lintian happy. (Warrk! Stupidhack!).
@@ -126,7 +128,9 @@
 		#ssl_scache shouldn't be here if we're just starting up.
 		[ -f /var/run/apache2/ssl_scache ] &amp;&amp; rm -f /var/run/apache2/*ssl_…</description>
    </item>
</rdf:RDF>
