SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

##############################
segatex
Copyright(C)Shintaro Fujiwara.All rights Reserved. ##############################
segatex2.01 07 Aug/06 New version Released segatex2.02 08 Aug/06 Bug fixed
segatex2.03 11 Aug/06 Bug fixed
segatex2.04 12 Aug/06 Bug fixed
segatex2.05 13 Aug/06 Bug fixed
segatex2.06 14 Aug/06 Bug fixed
segatex2.07 14 Aug/06 Added functions
segatex2.08 16 Aug/06 Added yum install/update audit2allow audit2why added role ...and finally...
segatex2.09 21 Aug/06
Established my_policy_segatex.te's consistency install/remove button will install/removes my_policy_segatex.pp segatex2.10 23 Aug/06
Added audit to be yum install/updated.
Fixed bug for unable to edit.
Sorry! Don't use version2.09 which can not edit policy... segatex2.11 24 Aug/06
Fixed bug for regular expressions
on object classes and access vectors.
segatex2.12 26 Aug/06
Fixed bugs
on interfaces,object classes and access vectors. segatex2.13 4 Sep/06
Fixed bugs
on interfaces and regular expressions.
segatex2.14 6 Sep/06
Added button.
Added "semodule -b /usr/share/selinux/POLICY/base.pp" in yum install/update button.
segatex2.15 12 Sep/06
Added autorelabel button.
Fixed file_trans regex.
Added regex-related-files.

Please use always latest i.e. 2.15 !!

Don't delete a file named "audit_log_mine_must_be_here"! segatex loads denied log everytime Green button is clicked ! Don't be afraid.
Only new denied log added to that file. If you lost "audit_log_mine_must_be_here",you should make it again, by touch command.
If "audit_log_mine_must_be_here" is not present,segatex does not work because,segatex reads log not from audit.log but from "audit_log_mine_must_be_here", i.e. your audit log in whole-system-time. ##############################
This is segatex2.15,
SELinux tool.
You should your audit-system on,segatex reads /var/log/audit/audit.log . From segatex1.4 I showed macros,and here I added interfaces. segatex can show allow sentences including interfaces in GUI. Please be aware that segatex makes files in the folder which it exists. I recommend you to run segatex on root folder, which has sysadm role.

Installing C++ Boost library beforehand would be recommended, but from segatex2.15, you can also select not installing Boost library. I will show you both ways of doing it.

And Qt is needed,which you can install from FC5 CD. First,I show you how to install Boost library on your machine,for those who prefer full Boost library to be installed and secondly I will show how to run segatex not installing Boost library but linking files that I prepared for you.
######################################################################################################## 1 First way(installing full Boost libray)

Go to
http://sourceforge.net/project/showfiles.php?group_id=7586 Download "boost-jam-3.1.13-1.i386.rpm"
also, "boost_1_33_1.tar.gz"
#mv /path/boost_1_33_1.tar.gz /usr/local/src/ #tar -zxvf boost_1_33_1.tar.gz
#rpm -ivh boost-jam-3.1.13-1.i386.rpm
#cd /usr/local/src/boost_1_33_1/tools/build/jam_src/ #./build.sh
#cp bin.linuxx86/bjam ../../../
#cd ../../../
#./bjam "-sTOOLS=gcc" install

If it worked out fine, let's compile segatex.

Type
#qmake -o Makefile segatex.pro
#vi Makefile
Add "-lboost_regex -lselinux" to LIBS line like this. LIBS = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lboost_regex -lselinux #make
#./segatex
######################################################################################################## 2 Second way(copying regex.so and linking headers to current directory)

#cp segatex.version/libboost_regex-gcc-mt-1_33_1.so.1.33.1 /usr/lib #qmake -o Makefile segatex.pro
#vi Makefile
Add "-lselinux ./libboost_regex-gcc-mt-1_33_1.so.1.33.1" to LIBS line like this. LIBS = $(SUBLIBS) -L$(QTDIR)/lib -lqt-mt -lXext -lX11 -lm -lselinux ./libboost_regex-gcc-mt-1_33_1.so.1.33.1 #make
#./segatex
######################################################################################################## When recompiling,type make clean first.

Enjoy !!
#################################
When making a SELinux module, you have to install checkpolicy beforehand. Just push yum install/update button!!

Thank you for using segatex.
Any comments gratefully recieved at,
shin216@xf7.so-net.ne.jp
#################################


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.