接獲德和同學簡訊通知,結束投票活動,感謝同學們熱烈參與,以下公佈投票結果,依據投票結果,將會申請cma61.org

按我觀看投票結果

 


ben88168 發表在 痞客邦 留言(0) 人氣()

  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:
  • 請輸入密碼:

自從沒在補習班誤人子弟後,linux 似乎離我越來遠了,指令越打越慢,每天坐在公司哩,除了公司日常事務,與要寫的filemaker 外,日子是越過越回去了,我想我該進修了吧. 部落格也很久沒更新了,唉.... 真是懒ㄚ


ben88168 發表在 痞客邦 留言(4) 人氣()

藥單

Tuning FreeBSD

Packet capturing utilizes the BPF device, in general in combination with the libpcap. This device executes a filter on each packet and store the packet afterwards in a double-buffer (see [Sch04de-sep, Sch05en-da] for details). The size of this double-buffer can be adjusted via a sysctl. Setting it to 2×10 Mbytes has proven to be a good choice.

Since FreeBSD 6 you can do this by setting:

sysctl -w net.bpf.bufsize=10485760
sysctl -w net.bpf.maxbufsize=10485760

For older FreeBSD's just use:

sysctl -w debug.bpf_bufsize=10485760
sysctl -w debug.maxbpf_bufsize=10485760

Tuning Linux

Like in FreeBSD Linux offer some possibilities to tune it capturing performance as well. Due to the different capturing stack witch does not have a buffer but a queue of pointers behind the filter, one has to increase the receive buffer for all incomming packets and the queue length. This can be done via the /proc filesystem (with Linux we found that 32 Mbytes is a good amount of memory):

ben88168 發表在 痞客邦 留言(0) 人氣()

  • 這是一篇加密文章,請輸入密碼
  • 密碼提示:MEGA
  • 請輸入密碼:

 轉載至http://blog.oldtu.com/oldtu/archives/46文章

sendmail 8.13 針對 spam 行為 , 設計了些許功能對抗 ....


1. Rate Control - 限制每分鐘的SMTP Connection 數量 , sendmail.mc加上下列 , 重新產生sendmail.cf , restart sendmail 即可運作



sendmail.mc

ben88168 發表在 痞客邦 留言(0) 人氣()

更換kernel 成2.6.25.16後,網路的負載平衡機制,區網使用者使用msn skype 遊戲等會斷線。

藥單

http://www.ssi.bg/~ja/#routes


ben88168 發表在 痞客邦 留言(0) 人氣()

  之前做了一台有l7-filter Qos fedora 8 的nat server,原本的主機板是GA-945GCM-S2L,後來換到 GA-8SIMLH後就開不了機了
出現了以下訊息:

Unable to access resume device (LABLE=SWAP-sdax)
Mount: could not find filesystem '/dev/root'
setuproot: removing /dev failed : no such file or directory

ben88168 發表在 痞客邦 留言(0) 人氣()

事由經過:台電1月20日時,在台北及桃園地區發生大斷電,造成數台伺服器在電源回來時無法自動開機,檢查結果都是要手動執行fsck 修復filesystem,所以到底有沒有可以開機時自動執行fsck修復filesystem的設定呢?

看了/etc/rc.sysinit後發現,加入forcefsck即可,以下為作法

#touch /forcefsck
#chattr +i /forcefsck

為什麼要做chattr 呢,因為系統會主動將 /forcefsck刪除,所以要避免被刪除,只好加上i,但是有缺點開機時間會比之前長很多,唉有一好沒兩好,至少不用跑現場。

ben88168 發表在 痞客邦 留言(1) 人氣()

pt112x.jpg 

還附rj45耶,3.6x1.9x1.9公分大,規格如下,官網位置http://www.picotux.com/

Technical Data picotux 100 module
   

Processor:

32-bit ARM 7 Netsilicon NS7520

ben88168 發表在 痞客邦 留言(0) 人氣()

      玩過redhat、fedora  系列的都知道/etc/inittab這個檔案,也是就使用SysvInit,不過fedora 9 後已改成Upstart了,沒事改它幹啥,不過純屬個人意見,發發牢騷。

      UpStart 取代了 SysvInit 後也表示系統的 /sbin/init 檔案也一併被換掉了,當然init這個指令還是存在,只是已不是以前那個了;所以 /etc/inittab 檔案再也沒有實質性的功能,那原本 /etc/inittab 以前的那些設定去哪了呢?唉!相關配置都轉移放置於 /etc/event.d/ 目錄內。

來看看/etc/inittab裡有何變化
# inittab is only used by upstart for the default runlevel.
#

ben88168 發表在 痞客邦 留言(0) 人氣()

唉!IT悲哀,fedora 9 都還沒認真看勒,10已釋出了,參考以下連結吧

http://fedora.tw/modules/news/article.php?storyid=49


ben88168 發表在 痞客邦 留言(0) 人氣()

起源:有個客戶要求,要mail防毒,但不要垃圾郵件過濾,大概是為了省錢吧(輕哼....我總有一天等到你),不用mailscanner做做看吧。

作法 :sendmail+clamav-milter

下載:clamav請自行下載最新版
#wget
http://freshmeat.net/redir/clamav/29355/url_tgz/clamav-0.94.2.tar.gz

安裝clamav-milter

ben88168 發表在 痞客邦 留言(0) 人氣()

   首先要找到你現在使用的samba版本,並下載其原始碼

# rpm -q samba

samba-3.0.32-0.fc8

Samba 官方網站下載對應的 Source 位置 http://us1.samba.org/samba/ftp/old-versions/

wget http://us5.samba.org/samba/ftp/old-versions/samba-3.0.32.tar.gz

ben88168 發表在 痞客邦 留言(2) 人氣()

Samba 資源回收桶

參數

詳述

vfs object = recycle

啟動資源回收模組

ben88168 發表在 痞客邦 留言(0) 人氣()