หมวดหมู่หก > ClearOs Linux Sme

วิธี ตรวจสอบ Firewall ของคุณว่ามี error หรือเปล่า Clarkconnect , Clearos

(1/1)

Admin!:




--- โค๊ด: ---พิมพ์ cd /etc/rc.d/ กด enter
พิมพ์ ./rc.firewall.local กด enter
--- End code ---


ดังภาพครับ
ถ้าไม่มี error ใดๆก็จะไม่มีข้อความขึ้นเลยครับนั่นคือปกติไม่มี error ใน code

montree2520:
thx 555

layer:
ของผมมันขึ้นแบบนี้ คือยังไงหรอครับ


--- โค๊ด: ---[root@system ~]# /etc/rc.d/rc.firewall.local
/etc/rc.d/rc.firewall.local: line 11: LINE1[3]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 12: LINE2[3]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 13: LINE3[3]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 14: LINE4[3]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 15: LINE5[3]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 16: LINE6[3]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 34: LINE[5]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 35: WIRE[5]: cannot assign list to array member
/etc/rc.d/rc.firewall.local: line 36: BITS[5]: cannot assign list to array member
expr: syntax error
expr: syntax error
/etc/rc.d/rc.firewall.local: line 44: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 46: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 49: [: -eq: unary operator expected
expr: syntax error
expr: syntax error
/etc/rc.d/rc.firewall.local: line 44: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 46: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 49: [: -eq: unary operator expected
expr: syntax error
expr: syntax error
/etc/rc.d/rc.firewall.local: line 44: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 46: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 49: [: -eq: unary operator expected
expr: syntax error
expr: syntax error
/etc/rc.d/rc.firewall.local: line 44: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 46: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 49: [: -eq: unary operator expected
expr: syntax error
expr: syntax error
/etc/rc.d/rc.firewall.local: line 44: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 46: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 49: [: -eq: unary operator expected
expr: syntax error
expr: syntax error
/etc/rc.d/rc.firewall.local: line 44: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 46: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 49: [: -eq: unary operator expected
iptables: Chain already exists
iptables: Chain already exists
iptables: Chain already exists
iptables: Chain already exists
iptables: Chain already exists
iptables: Chain already exists
RTNETLINK answers: No such device
/etc/rc.d/rc.firewall.local: line 194: [: -eq: unary operator expected
/etc/rc.d/rc.firewall.local: line 236: [: -eq: unary operator expected
Warning: wierd character in interface `-p' (No aliases, :, ! or *).
Bad argument `tcp'
Try `iptables -h' or 'iptables --help' for more information.
Warning: wierd character in interface `-p' (No aliases, :, ! or *).
Bad argument `tcp'
Try `iptables -h' or 'iptables --help' for more information.
Warning: wierd character in interface `-d' (No aliases, :, ! or *).
Bad argument `0.0.0.0/0'
Try `iptables -h' or 'iptables --help' for more information.
Warning: wierd character in interface `-d' (No aliases, :, ! or *).
Bad argument `0.0.0.0/0'
Try `iptables -h' or 'iptables --help' for more information.
Warning: wierd character in interface `-d' (No aliases, :, ! or *).
Bad argument `61.91.123.147'
Try `iptables -h' or 'iptables --help' for more information.
Warning: wierd character in interface `-d' (No aliases, :, ! or *).
Bad argument `61.91.123.147'
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.3.5: host/network `64.93.83.175.0' not found
Try `iptables -h' or 'iptables --help' for more information.

--- End code ---

readeye40:
ช่วยได้เยอะเลย

นำร่อง

[0] ดัชนีข้อความ

Go to full version