會員 | 請教Linux L7-filter無法作用的問題 [root@test ~]# iptables -t mangle -I POSTROUTING -m layer7 --l7proto http -j DROP /usr/local/libexec/xtables/libxt_layer7.so: /usr/local/libexec/xtables/libxt_layer7.so: undefined symbol: exit_error iptables v1.4.4: Couldn't load match `layer7':/usr/local/libexec/xtables/libipt_layer7.so: cannot open shared object file: No such file or directory Try `iptables -h' or 'iptables --help' for more information. 目前小弟的電腦kernel版本為2.6.28.9,iptables的版本為1.4.4 之前有上網去看了很多如何讓linux支援Layer7 filter的文章 (http://dekne.wordpress.com/2009/05/2...kernel-2-6-21/) 也照著上面的步驟完成了 但是就是找不到 libipt_layer7.so這個檔,怎麼樣都會出現上面的錯誤訊息 請教高手是否小弟在哪邊有出錯了? |
回覆 |
會員 | 回覆: 請教Linux L7-filter無法作用的問題 1.4.4 的 exit_error() 改成 xtables_error() 了. 把 libxt_layer7.c 裡頭的 exit_error 都改成 xtables_error, 然後再重新編一次 iptables 來用就可以了. |
回覆 |
|
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。