Linux??SElinux????????????
???????????? ???????[ 2014/2/21 11:44:38 ] ??????????????? ??????
????SElinux????????????
???????SELinux???????
???????/etc/selinux/config????е?SELINUX="" ? disabled ??????????
??????????????????????????setenforce 0
???????
????setenforce 1 ????SELinux ???enforcing??
????setenforce 0 ????SELinux ???permissive??
??????lilo????grub????????????????selinux=0?????????selinux
????#---------------------------------------------------------------
??????selinux????
/usr/bin/setstatus -v |
???£?
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
|
????getenforce/setenforce????????SELinux????????????
????Linux???????
????1) ?????????Ч??
????????? chkconfig iptables on
???????? chkconfig iptables off
????2) ?????Ч????????Ч??
????????? service iptables start
???????? service iptables stop
?????????????????Linux?μ?????????????????????????п???????????
???????????????????????????????????????
???????/etc/sysconfig/iptables ?????????????????
????-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
????-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
?????????
????/etc/init.d/iptables status ??????????????????????????
????/etc/rc.d/init.d/iptables stop ???????
?????????????????????
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
|
???????
????fedora?£?
????/etc/init.d/iptables stop
????ubuntu?£?
????????UBUNTU??????????????
????????????????
????iptables -P INPUT ACCEPT
????iptables -P OUTPUT ACCEPT
??????????????ж??
????Ubuntu????й??iptables??????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11