<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to AdministrationGuide</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>Recent changes to AdministrationGuide</description><atom:link href="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 14 May 2017 06:09:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/feed" rel="self" type="application/rss+xml"/><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v24
+++ v25
@@ -202,7 +202,7 @@

 &lt;div style="display: table; margin: 0 auto;"&gt;Pic. 5&lt;/div&gt;

-After script is finished check the logs.
+Observe that status indicator in the upper right corner is red. That menas that there is VXEDI with violation logs. After script is finished check the logs.

 ### Checking logs

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 06:09:24 -0000</pubDate><guid>https://sourceforge.net0878382eb1c1af62a17962c1e17c9bf1c07722ff</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v23
+++ v24
@@ -145,6 +145,10 @@

 This tab shows existing violations logs.

+&lt;img alt="Pic 3" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%2010.30.03%20PM.png" width="100%"/&gt;
+
+&lt;div style="display: table; margin: 0 auto;"&gt;Pic. 3&lt;/div&gt;
+
 *Live* section of the left pane lists violation logs of the running VXEIs. If a log index is selected in the left pane, the log contenets is shown in the right pane.

 *Complete* section of the left pane lists violation logs of the ended VXEIs. Logs are grouped by VXED names. Log indexes that can be applied to VXEDs (whose indixes match current index of particular VXED) are marked by bold font.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 06:06:23 -0000</pubDate><guid>https://sourceforge.nete8629be3c47b9382bcd4d29d100ed2b7d942b1b0</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v22
+++ v23
@@ -216,12 +216,24 @@

 ### Edit VXED

-In the *VXED Edit* tab all changed system call definitions and rules are marked as *changed*. It makes easier to locate changes made by the update. In our example all rules are new, so all of them are marked as changed.
+In the *VXED Edit* tab all changed system call definitions and rules are marked as *changed*. It makes easier to locate changes made by the update. In our example all rules are new, so all of them are marked as changed. VXED version is incremented.

 &lt;img alt="Pic 7" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%2010.43.34%20PM.png" width="100%"/&gt;

 &lt;div style="display: table; margin: 0 auto;"&gt;Pic. 7&lt;/div&gt;

-
-
-*To be continued*
+VXED should be generalized to become useful. Expand *open* syscall by clicking on it. We can see that there are many instances of accessing `/proc/...`. Let's allow our script read access to `/proc/...` with all subdirectories.
+
+Double-click on any rule with `/proc/...` and change `/proc/...` to `/proc/\*`. Set counter fileld to `\*` and press *Enter* or click outside of the rule. GUI will integarate all `/proc/...` rules into one. Flag 0 menas read access.
+
+Go through other system calls and do generalizations as you see fit.
+
+Click *Save* button to save results.
+
+### Run the script multiple times
+
+To get a complete VXED the script should be xecuted multiple times to reveal different exection paths and variances in using resources.
+
+If there is no need to be very specific about some system calls - select *Tools* - *Allow all*. For example, we probably don't care about *close* system call and it's hard to create meningful rules for it.
+
+Repeat previous steps multiple times until no violation logs are produced. At this point in time switch *Mode* to *deny* in VXED header above buttons.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 06:05:06 -0000</pubDate><guid>https://sourceforge.net10257a304480fed3e5760bd3b09569c9e45dd9fd</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v21
+++ v22
@@ -208,6 +208,20 @@

 &lt;div style="display: table; margin: 0 auto;"&gt;Pic. 6&lt;/div&gt;

+A number before system call name is conter. It indicates how many times this system call was executed with the given parameters.
+
+There are two way to update VXED with the violations from the log. The first is from *VXED Edit* tab, by clicking *Upadte* button. GUI will automatically mark all applicable logs. The second way is to mark logs manually. This is what we do in current example.
+
+Mark the checkbox before *1* log and click *Apply* button. This will bring us to the updated VXED.
+
+### Edit VXED
+
+In the *VXED Edit* tab all changed system call definitions and rules are marked as *changed*. It makes easier to locate changes made by the update. In our example all rules are new, so all of them are marked as changed.
+
+&lt;img alt="Pic 7" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%2010.43.34%20PM.png" width="100%"/&gt;
+
+&lt;div style="display: table; margin: 0 auto;"&gt;Pic. 7&lt;/div&gt;
+

 *To be continued*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 05:45:04 -0000</pubDate><guid>https://sourceforge.net7c005faebc78465bf7911287f4091037514c1767</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v20
+++ v21
@@ -186,10 +186,28 @@

 Enable VXED by marking the checkbox next to the VXED name *test*.

+No system calls are defined (allowed) in the new VXED, so they all will be logged in the subsequent run.
+
 ### Monitor execution

 From the command line run your test script.

 Monitor its execution through the *Dashboard* tab. 

+&lt;img alt="Pic 5" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%2010.22.50%20PM.png" width="100%"/&gt;
+
+&lt;div style="display: table; margin: 0 auto;"&gt;Pic. 5&lt;/div&gt;
+
+After script is finished check the logs.
+
+### Checking logs
+
+At the *Logs* tab expand *test* logs. There is just one log is present *1*. Select it. Contents of the log appears at the right pane.
+
+&lt;img alt="Pic 6" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%2010.30.03%20PM.png" width="100%"/&gt;
+
+&lt;div style="display: table; margin: 0 auto;"&gt;Pic. 6&lt;/div&gt;
+
+
+
 *To be continued*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 05:32:45 -0000</pubDate><guid>https://sourceforge.net207fb26bf00e240686bb39424d40ada60c5cc690</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v19
+++ v20
@@ -170,7 +170,7 @@
 time.sleep(30)
 ~~~

-Path of the script is */home/slozovsky/vxetest.py*
+Path of the script is */home/slozovsky/vxe_test.py*

 You can create the similar script in your directiry for testing.

@@ -178,7 +178,7 @@

 Go to *VXED Edit* tab. Select *New*. Fill in *Name* and *Activation path*. Use path of your script.

-&lt;img alt="Pic 4" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%209.51.35%20PM.png" width="100%"/&gt;
+&lt;img alt="Pic 4" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%2010.20.27%20PM.png" width="100%"/&gt;

 &lt;div style="display: table; margin: 0 auto;"&gt;Pic. 4&lt;/div&gt;

@@ -186,6 +186,10 @@

 Enable VXED by marking the checkbox next to the VXED name *test*.

+### Monitor execution

+From the command line run your test script.
+
+Monitor its execution through the *Dashboard* tab. 

 *To be continued*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 05:22:10 -0000</pubDate><guid>https://sourceforge.netbdd4500d77daa8fa105ea53c7883d044ea7d9fa2</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v18
+++ v19
@@ -184,4 +184,8 @@

 Click *Save* button. Version number should become 1.

+Enable VXED by marking the checkbox next to the VXED name *test*.
+
+
+
 *To be continued*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 04:55:26 -0000</pubDate><guid>https://sourceforge.nete07a4ec2b33cfaba2ddacb0cd36795d2850b9458</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v17
+++ v18
@@ -174,4 +174,14 @@

 You can create the similar script in your directiry for testing.

+### Create a new VXED
+
+Go to *VXED Edit* tab. Select *New*. Fill in *Name* and *Activation path*. Use path of your script.
+
+&lt;img alt="Pic 4" src="https://sourceforge.net/p/vxe/wiki/AdministrationGuide/attachment/Screen%20Shot%202017-05-13%20at%209.51.35%20PM.png" width="100%"/&gt;
+
+&lt;div style="display: table; margin: 0 auto;"&gt;Pic. 4&lt;/div&gt;
+
+Click *Save* button. Version number should become 1.
+
 *To be continued*
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 04:53:33 -0000</pubDate><guid>https://sourceforge.netacff86c5b02e363757e270035ded19aaab792383</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v16
+++ v17
@@ -137,12 +137,23 @@

 Above the rules there is Tools menu with following options:

-* Allow all
-* Allow all with count
-* Delete all
+* Allow all - allow this system call with any parameters without limiting number of calls
+* Allow all with count - allow this system call with any parameters, but limit the number of calls by the sum of all calls in the table
+* Delete all - remove this syscall from VXED completely

+### Logs

+This tab shows existing violations logs.

+*Live* section of the left pane lists violation logs of the running VXEIs. If a log index is selected in the left pane, the log contenets is shown in the right pane.
+
+*Complete* section of the left pane lists violation logs of the ended VXEIs. Logs are grouped by VXED names. Log indexes that can be applied to VXEDs (whose indixes match current index of particular VXED) are marked by bold font.
+
+Buttons at the bottom left are applied to the logs with marked checkboxes. There are three such buttons:
+
+* Apply - apply logs with marked checkboxes to VXED; only one VXED can be updated in a time 
+* Clear - remove marks from all marked checkboxes
+* Delete - delete logs with marked checkboxes

 ## Example

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Sun, 14 May 2017 04:15:38 -0000</pubDate><guid>https://sourceforge.netef43246f34184852ea9f838c9b8ce6b373a4f4d6</guid></item><item><title>AdministrationGuide modified by Serge Lozovsky</title><link>https://sourceforge.net/p/vxe/wiki/AdministrationGuide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v15
+++ v16
@@ -132,8 +132,8 @@
 * n (number) - move at this number if changed, old row moves down
 * b - move to the begining of the table
 * e - move to the end of the table
-* - - delete this row
-* + - add a row after the current
+* \- - delete this row
+* \+ - add a row after the current

 Above the rules there is Tools menu with following options:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serge Lozovsky</dc:creator><pubDate>Fri, 12 May 2017 05:32:34 -0000</pubDate><guid>https://sourceforge.net67ff53aa9da8a683785972b1c8ac2e6b1e19947c</guid></item></channel></rss>