Linux防火牆的問題 - Linux

Skylar DavisLinda avatar
By Skylar DavisLinda
at 2010-10-18T14:42

Table of Contents

※ 引述《OpenSolaris (SunOS 5.11)》之銘言:
: 想問一下各位大師,Linux kernel目前對於ipfilter的支援好不好?
: 小弟目前有試用Debian 5.0,在ipfilter的官網有寫支援Linux,
: 但是編譯時會出現編譯失敗的訊息,我有選擇make 指定平台是Linux
: 至於網路上尋找ipf的Debian package都找不到,aptitude search也不到.......
: 所以想向各位大師請教......
: 謝謝.
錯誤訊息來了:
make[1]: Entering directory `/data1/ip_fil5.1.0/Linux'
gcc -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wuninitialized -I.
-ILinux-2.6.26-2-amd64-x86_64 -g -I.. -D_BSD_SOURCE -DUSE_INET6
-DIPFILTER_LOG -DLINUX=20626 -c Linux-2.6.26-2-amd64-x86_64/ipf_y.c
-o Linux-2.6.26-2-amd64-x86_64/ipf_y.o
cc1: warning: -Wuninitialized is not supported without -O
../tools/ipf_y.y: In function 'ipf_yyparse':
../tools/ipf_y.y:715: error: 'icmpcodewords' undeclared (first use in
this function)
../tools/ipf_y.y:715: error: (Each undeclared identifier is reported
only once
../tools/ipf_y.y:715: error: for each function it appears in.)
../tools/ipf_y.y:783: error: 'addrwords' undeclared (first use in
this function)
../tools/ipf_y.y:1098: error: 'maskwords' undeclared (first use in
this function)
../tools/ipf_y.y:1436: error: 'ipv4optwords' undeclared (first use
in this function)
../tools/ipf_y.y:1442: error: 'ipv6optwords' undeclared (first use in
this function)
../tools/ipf_y.y:1583: error: 'ipv4secwords' undeclared (first use in
this function)
make[1]: *** [Linux-2.6.26-2-amd64-x86_64/ipf_y.o] Error 1
make[1]: Leaving directory `/data1/ip_fil5.1.0/Linux'

我使用的Linux是:Debian 5 2.6.26-2-amd64
編譯的ipfilter版本是5.1.0

--
Tags: Linux

All Comments

文字檔輸出 vs.下載檔案

Olivia avatar
By Olivia
at 2010-10-18T10:58
請問各位先進為何同一個檔案使用同一個瀏覽器, 輸入 http://cns.bu.edu/~tren/ical.ics 會是文字檔輸出 輸入 http://psy-dhcp100.bu.edu/ical.ics 卻是下載檔案呢? 因為這個緣故,Google Calendar可以訂閱第一而非第二個檔案. 小弟應 ...

ubuntu 的 jpegtran 不能用,且 shell 輸出亂碼

Isla avatar
By Isla
at 2010-10-17T19:57
我用 ubuntu 10.04 的 libjpeg-progs 其中的 jpegtran 來壓縮 jpg 圖檔: jpegtran -copy none -progressive ptt.jpg 這麼一跑 shell 便噴出幾頁亂碼, 試了預設的 6b 和最新的 8b 兩個版本都一樣。 如圖 ...

FTP使用者權限設定問題

Daph Bay avatar
By Daph Bay
at 2010-10-17T19:50
使用pure-ftpd架FTP Local端: drwxr-xr-x 13 root root /ftp/Movie lrwxrwxrwx 1 root root /ftp/home/test/Movie -andgt; /ftp/Movie symbolic link的權限是看所指向的資料夾 照上面 ...

極新手問個ubuntu的檔案系統容量問題

Necoo avatar
By Necoo
at 2010-10-17T14:21
如題 在下對這領域的接觸 從昨天灌了ubuntu開始 檔案系統(ext4)只有6G多的容量 後來又裝了一些哩哩扣扣 現在可用空間只剩1.5G http://img218.imageshack.us/img218/795/45944013.png 請問有沒有簡單的方法 可以增加它的容量的? 例如什 ...

vsftpd 使用者自訂目錄 user_config_dir

Lydia avatar
By Lydia
at 2010-10-16T23:43
最近在試vsftp 想將使用者的login dir 變更到期望的路徑 (如usb..) 剛剛TRY了一下有點心得 開啟 user_config_dir 這個功能後 /etc/vsftpd/vsftpd.conf -andgt; user_config_dir=/etc/vsftpd/userconf 在指 ...