Siamcafe Community

หมวดหมู่หก => ClearOs Linux Sme => ข้อความที่เริ่มโดย: Admin! ที่ พฤษภาคม 22, 2010, 02:54:28 pm

หัวข้อ: วิธี ตรวจสอบ Firewall ของคุณว่ามี error หรือเปล่า Clarkconnect , Clearos
เริ่มหัวข้อโดย: Admin! ที่ พฤษภาคม 22, 2010, 02:54:28 pm
(http://img.siamcafe.net/thumb-792D_4BF7EFC1.jpg) (http://img.siamcafe.net/share-792D_4BF7EFC1.html)

(http://img.siamcafe.net/thumb-A07D_4BF7EFC1.jpg) (http://img.siamcafe.net/share-A07D_4BF7EFC1.html)
โค๊ด: [Select]
พิมพ์ cd /etc/rc.d/ กด enter
พิมพ์ ./rc.firewall.local กด enter


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

(http://img.siamcafe.net/thumb-4A67_4BF7EFC1.jpg) (http://img.siamcafe.net/share-4A67_4BF7EFC1.html)
หัวข้อ: Re: วิธี ตรวจสอบ Firewall ของคุณว่ามี error หรือเปล่า Clarkconnect , Clearos
เริ่มหัวข้อโดย: montree2520 ที่ พฤษภาคม 29, 2010, 02:33:26 pm
thx 555
หัวข้อ: Re: วิธี ตรวจสอบ Firewall ของคุณว่ามี error หรือเปล่า Clarkconnect , Clearos
เริ่มหัวข้อโดย: layer ที่ กรกฎาคม 18, 2010, 08:07:13 am
ของผมมันขึ้นแบบนี้ คือยังไงหรอครับ

โค๊ด: [Select]
[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.
หัวข้อ: Re: วิธี ตรวจสอบ Firewall ของคุณว่ามี error หรือเปล่า Clarkconnect , Clearos
เริ่มหัวข้อโดย: readeye40 ที่ พฤษภาคม 09, 2013, 07:39:04 am
ช่วยได้เยอะเลย