ข่าว: ข่าวประกาศ

  • 19 พฤษภาคม 2024, 09:14:35

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ผู้เขียน หัวข้อ: iptables-1.3.8.tar  (อ่าน 39535 ครั้ง)

LKG43

  • Customer Lv.4
  • Jr. Member
  • *****
  • กระทู้: 51
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #15 เมื่อ: 25 กรกฎาคม 2008, 06:52:14 »
สรุป สาเหตุที่เกิด error ดังกล่าวก่อนนะครับ

เนื่องจากมีการ update ipp2p ตอนที่มีการ download มา ทำให้ไม่ตรงกับ kernel ที่ compile ไว้

จึงทำให้เกิด error ขึ้นมา

ให้แก้ดังนี้ครับ

root@AuthGW:~# cd /usr/src
root@AuthGW:/usr/src# wget http://www.hadyaiinternet.com/upload/iptables.tar.gz
--19:36:18--  http://www.hadyaiinternet.com/upload/iptables.tar.gz
           => `iptables.tar.gz'
Resolving www.hadyaiinternet.com... 203.146.253.13
Connecting to www.hadyaiinternet.com|203.146.253.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 300,143 (293K) [application/x-gzip]

100%[=============================================>] 300,143      145.83K/s             

19:36:21 (145.42 KB/s) - `iptables.tar.gz' saved [300143/300143]

root@AuthGW:/usr/src# tar xvzf iptables.tar.gz
....
ย่อไว้
....
iptables-1.3.8/description-pak
iptables-1.3.8/COMMIT_NOTES
iptables-1.3.8/.makefirst
iptables-1.3.8/ip6tables.o
iptables-1.3.8/ip6tables
root@AuthGW:/usr/src# cd iptables
root@AuthGW:/usr/src/iptables# make clean
root@AuthGW:/usr/src/iptables# make install
...
รอจนกระทั่งเสร็จ
..
cp extensions/libip6t_rt.so /lib/iptables/libip6t_rt.so
cp extensions/libip6t_sctp.so /lib/iptables/libip6t_sctp.so
rm libiptc/libip6tc.o libipq/libipq.o libiptc/libip4tc.o
root@AuthGW:/usr/src/iptables#

เสร็จแล้วลองทดสอบดู

iptables -V
iptables -m time -h
iptables -m ipp2p -h
iptables -m layer7 -h

หมายเหตุ
*** จะจัดส่งแผ่น update แก้ error นี้ พร้อมกับ version WebInterface ให้ครับ ***


ทำตามขั้นตอนนี้แล้วใชได้ครับ

jzdotnet

  • Customer Lv.4
  • Newbie
  • *****
  • กระทู้: 30
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #16 เมื่อ: 25 กรกฎาคม 2008, 17:23:05 »
ลองหลายรอบแล้วครับ ยังอาการเดิม กำลังรอ ท่าน admin มา ชี้แนะ ;D

snes

  • Customer Lv.1
  • Newbie
  • ***
  • กระทู้: 22
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #17 เมื่อ: 30 กรกฎาคม 2008, 23:57:24 »
สรุป สาเหตุที่เกิด error ดังกล่าวก่อนนะครับ

เนื่องจากมีการ update ipp2p ตอนที่มีการ download มา ทำให้ไม่ตรงกับ kernel ที่ compile ไว้

จึงทำให้เกิด error ขึ้นมา

ให้แก้ดังนี้ครับ

root@AuthGW:~# cd /usr/src
root@AuthGW:/usr/src# wget http://www.hadyaiinternet.com/upload/iptables.tar.gz
--19:36:18--  http://www.hadyaiinternet.com/upload/iptables.tar.gz
           => `iptables.tar.gz'
Resolving www.hadyaiinternet.com... 203.146.253.13
Connecting to www.hadyaiinternet.com|203.146.253.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 300,143 (293K) [application/x-gzip]

100%[=============================================>] 300,143      145.83K/s             

19:36:21 (145.42 KB/s) - `iptables.tar.gz' saved [300143/300143]

root@AuthGW:/usr/src# tar xvzf iptables.tar.gz
....
ย่อไว้
....
iptables-1.3.8/description-pak
iptables-1.3.8/COMMIT_NOTES
iptables-1.3.8/.makefirst
iptables-1.3.8/ip6tables.o
iptables-1.3.8/ip6tables
root@AuthGW:/usr/src# cd iptables
root@AuthGW:/usr/src/iptables# make clean
root@AuthGW:/usr/src/iptables# make install
...
รอจนกระทั่งเสร็จ
..
cp extensions/libip6t_rt.so /lib/iptables/libip6t_rt.so
cp extensions/libip6t_sctp.so /lib/iptables/libip6t_sctp.so
rm libiptc/libip6tc.o libipq/libipq.o libiptc/libip4tc.o
root@AuthGW:/usr/src/iptables#

เสร็จแล้วลองทดสอบดู

iptables -V
iptables -m time -h
iptables -m ipp2p -h
iptables -m layer7 -h

หมายเหตุ
*** จะจัดส่งแผ่น update แก้ error นี้ พร้อมกับ version WebInterface ให้ครับ ***

ผมทำตามนี้แล้วมันก็ยังขึ้นแบบนี้คับ

root@igscafe:/usr/src/iptables# iptables -m layer7 --17proto bittorrent -h
iptables v1.3.8: Couldn't load match `layer7':/lib/iptables/libipt_layer7.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
root@xcafe:/usr/src/iptables# iptables -m ipp2p -h
iptables v1.3.8: Couldn't load match `ipp2p':/lib/iptables/libipt_ipp2p.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
root@xcafe:/usr/src/iptables# iptables -m time -h
iptables v1.3.8: Couldn't load match `time':/lib/iptables/libipt_time.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

แต่ว่าใช้คำสั่ง uname -a ได้ตามนี้

root@netcafe:~# uname -a
Linux netcafe 2.6.22.14-l7support #1 SMP Thu Jun 12 16:46:34 ICT 2008 i686 GNU/Linux
root@netcafe:~#

ไม่ทราบต้องแก้ไขต้องไหนคับ


admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
Re: iptables-1.3.8.tar
« ตอบกลับ #18 เมื่อ: 31 กรกฎาคม 2008, 00:50:58 »
ลองเช็คดูว่า ใน /usr/src

มี folder ชื่อ linux-headers-2.6.22.14-l7support  อยู่ไหม

ถ้าไม่มี แสดงว่าจะต้องลง linux header ใหม่

โดย cd ~/710layer7 แล้วเรียกคำสั่ง

dpkg -i linux-headers-2.6.22.14-l7support_2.6.22.14-l7support-10.00.Custom_i386.deb
(Reading database ... 56484 files and directories currently installed.)
Preparing to replace linux-headers-2.6.22.14-l7support 2.6.22.14-l7support-10.00.Custom (using linux-headers-2.6.22.14-l7support_2.6.22.14-l7support-10.00.Custom_i386.deb) ...
Unpacking replacement linux-headers-2.6.22.14-l7support ...
Setting up linux-headers-2.6.22.14-l7support (2.6.22.14-l7support-10.00.Custom) ...

เพื่อติดตั้ง header ใหม่

แล้วลอง compile ใหม่ดูอีกครั้งครับ
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>

snes

  • Customer Lv.1
  • Newbie
  • ***
  • กระทู้: 22
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #19 เมื่อ: 31 กรกฎาคม 2008, 07:15:20 »
ดูแล้วก็มีนะคับ

root@admin:~# cd /usr/src/iptables
root@admin:/usr/src/iptables# iptables -m layer7 --17proto bittorrent -h
iptables v1.3.8: Couldn't load match `layer7':/lib/iptables/libipt_layer7.so: ca                                             nnot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
root@admin:/usr/src/iptables# cd ..
root@admin:/usr/src# ls -l
total 57204
lrwxrwxrwx  1 root  src         14 2008-07-29 06:55 iptables -> iptables-1.3.8
drwxr-xr-x  7 linux linux     4096 2008-07-30 07:59 iptables-1.3.8
-rw-r--r--  1 root  src     172584 2008-07-30 06:13 iptables-1.3.8.tar.bz2
-rw-r--r--  1 root  src     300143 2008-07-24 19:35 iptables.tar.gz
-rw-r--r--  1 root  src     300143 2008-07-24 19:35 iptables.tar.gz.1
-rw-r--r--  1 root  src     300143 2008-07-24 19:35 iptables.tar.gz.2
-rw-r--r--  1 root  src     127674 2008-07-30 06:13 l7-protocols-2008-04-23.tar.gz
lrwxrwxrwx  1 root  src         15 2008-07-29 06:55 linux -> linux-2.6.22.14
drwxrwxr-x 19 root  root      4096 2008-07-30 06:14 linux-2.6.22.14
-rw-r--r--  1 root  src   56932772 2008-07-30 06:13 linux-2.6.22.14.tar.gz
drwxr-xr-x 19 root  root      4096 2008-07-30 06:13 linux-headers-2.6.22.14-l7support
drwxr-xr-x  3 linux linux     4096 2007-12-12 12:51 netfilter-layer7-v2.17
-rw-r--r--  1 root  src     160408 2008-07-30 06:13 netfilter-layer7-v2.17.tar.gz
drwxr-xr-x  5  5500  5100     4096 2008-05-21 07:28 patch-o-matic-ng-20080521
-rw-r--r--  1 root  src     147725 2008-07-30 06:13 patch-o-matic-ng-20080521.tar.bz2
root@admin:/usr/src#


รบกวนทีนะคับ

soulgi

  • Customer Lv.1
  • Full Member
  • ***
  • กระทู้: 107
    • ดูรายละเอียด
    • อีเมล์
Re: iptables-1.3.8.tar
« ตอบกลับ #20 เมื่อ: 31 กรกฎาคม 2008, 19:17:16 »
- -* ติดอยู่ที่เดียวกันเลย

admin

  • Administrator
  • Hero Member
  • *****
  • กระทู้: 3820
    • ดูรายละเอียด
    • อีเมล์
Re: iptables-1.3.8.tar
« ตอบกลับ #21 เมื่อ: 31 กรกฎาคม 2008, 20:43:43 »
ถ้ายังไม่ได้ ลองวิธีนี้ละกันครับ

root@AuthGW:~# cd /usr/src
root@AuthGW:/usr/src# wget http://www.hadyaiinternet.com/upload/iptables_20080731-1_i386.deb
root@AuthGW:/usr/src# dpkg -i iptables_20080731-1_i386.deb

แล้วลองทดสอบดูใหม่ครับ
<a href="http://www.hadyaiinternet.com/images/inetcafe.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://www.hadyaiinternet.com/images/inetcafe.swf</a>

ramjj

  • Customer Lv.4
  • Sr. Member
  • *****
  • กระทู้: 325
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #22 เมื่อ: 31 กรกฎาคม 2008, 23:21:06 »
 ???  งงๆครับ  เจอเหมือนกันครับ
ตอนนี้เลยลงแบบไม่แพท l7
ใช้งานลื่นไหลดี


rocket

  • Customer Lv.3
  • Sr. Member
  • ****
  • กระทู้: 297
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #23 เมื่อ: 01 สิงหาคม 2008, 23:11:49 »
  Patch iptables l7 ไม่ผ่านเหมือนกันครับ ลองหลายรอบแล้ว  ตอนนี้ใช้อยู่ 3 สาย  ดีกว่า CC คือเวลาเนตหลุดแล้วไม่เอ๋อ  ต่อเนตไวมาก พวกที่ patch ไม่ผ่านนี้เหมือนผมรึเปล่า? ที่ยังไม่ได้แผ่น แต่โหลด multiwan2 จากเวปนี้แทน

snes

  • Customer Lv.1
  • Newbie
  • ***
  • กระทู้: 22
    • ดูรายละเอียด
Re: iptables-1.3.8.tar
« ตอบกลับ #24 เมื่อ: 02 สิงหาคม 2008, 00:03:30 »
ถ้ายังไม่ได้ ลองวิธีนี้ละกันครับ

root@AuthGW:~# cd /usr/src
root@AuthGW:/usr/src# wget http://www.hadyaiinternet.com/upload/iptables_20080731-1_i386.deb
root@AuthGW:/usr/src# dpkg -i iptables_20080731-1_i386.deb

แล้วลองทดสอบดูใหม่ครับ

ทำตามนี้แล้วผ่านคับ แต่ว่าพอรันสคิป แล้วเน็ตเส้นที่ 2 กลับไม่ต่อออโต้คับ มันขึ้น error เกี่ยวกับ iptables ตอนรันเปิดเครื่องคับ