十分鐘的電子郵件信箱 !
作者:cross 日期:2011-05-02 00:11
很有趣的一個 idea
可以看一下作者的想法 : http://10minutemail.com/10MinuteMail/about.html?cid=18865067
這個網站提供一組只存活十分鐘的電子郵件信箱,過了時間這組信箱就不存在了,你再一次按取得時,又是另一組了
有什麼好處嗎、什麼意義嗎
我想想也只有在我想加入一個論壇,但我只想要查資訊或抓東西而已,下次就不會再來了,這時10 minute mail 就很好用
(随機產生一組信箱)

(時間過了就沒了)

ref: http://taiwan.cnet.com/blog/0,2000089057,20126746,00.htm?feed=RSS:+CNET+Blog
可以看一下作者的想法 : http://10minutemail.com/10MinuteMail/about.html?cid=18865067
這個網站提供一組只存活十分鐘的電子郵件信箱,過了時間這組信箱就不存在了,你再一次按取得時,又是另一組了
有什麼好處嗎、什麼意義嗎
我想想也只有在我想加入一個論壇,但我只想要查資訊或抓東西而已,下次就不會再來了,這時10 minute mail 就很好用
(随機產生一組信箱)

(時間過了就沒了)

ref: http://taiwan.cnet.com/blog/0,2000089057,20126746,00.htm?feed=RSS:+CNET+Blog
標籤: mail
ssh搭配pam_tally2讓使用者登入,幾次失敗就鎖定時間,過了才可再次登入
作者:cross 日期:2011-04-28 14:58
pam_tally2 是 linux 的pam中用來限制存取次數的一個模組
編輯 /etc/pam.d/sshd,在最前面加入
auth required pam_tally2.so deny=1 lock_time=60
我測試了
1. 使用 cross 登入
2. 使用 root 登入
3. 使用 cross 登入,切換 su -
以上三種情況,皆會因為1次密碼失敗後,鎖定60秒後才可再讓你使用正確的密碼登入
在 /var/log/secure裡可以看到它在倒數 (如果一直重試登入,它會顯示還有多久時間解鎖)
Linux CentOS 幾項安全性設置
作者:cross 日期:2011-04-28 12:11
。將 / , /tmp , /var/tmp, /home, /var, /var/www , /boot 分割獨立的partition
。掛載以上的partition加入 nosuid, noexec, nodev
# /etc/fstab
/ ext3 defaults 1 1
/tmp ext3 defaults,nosuid,noexec,nodev 1 2
/var/tmp ext3 defaults,nosuid,noexec,nodev 1 2
/home ext3 defaults,nosuid,nodev 1 2
/var ext3 defaults,nosuid 1 2
/var/www ext3 defaults,nosuid,nodev 1 2
/boot ext3 defaults,nosuid,noexec,nodev 1 2
。禁用 ctrl + alt + del 能重開機
。使用單人模式時需要輸入密碼# 註解 /etc/inittab
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now
SSH 幾項安全性設置
作者:cross 日期:2011-04-27 00:19
。/etc/nologin - 這個檔案存在的話,就表示只讓root可登入,其它人完全不行,直接拒絕掉
。只讓root及cross可登入,其它人不行
# 在 /etc/ssh/sshd_config 裡設定
AllowUsers root cross
# 重啟 sshd
service sshd restart
。五分鐘閒置就自動踢出
# 在 /etc/ssh/sshd_config 裡設定
ClientAliveInterval 300
ClientAliveCountMax 0
。不允許root登入
Nagios 外掛 NagVIs - 讓 nagios 更圖形化了
作者:cross 日期:2011-04-26 18:19
Display of single Hosts and Services
Visualize a complete Host- or Servicegroup with one icon
Display the summary state of a Host and all its services
Display only the real problems
Sub-map icons which represent a complete NagVis Map in one icon (drill down)
Visualization of complete IT processes using self drawn graphics
Online documentation of IT environments including current states
Visualisation of network traffic using weathermap lines
Multilingual capabilities
Web configuration interface (WUI)
需求:
NDoutils : 因為 nagvis 需要讀取資料庫,正好搭配 ndoutils 可以將 nagios 的資料、狀態都寫在資料庫裡
需求套件:
nagios+NConf - php的web管理工具
作者:cross 日期:2011-04-25 22:00
功能:
- effortlessly maintain a distributed Nagios topology
- user-friendly web-GUI
- host & service templates
- graphical dependency viewer
- multiple authentication modes
- Nagios config importer
- CSV file importer
- perl database API
- data schema customizable and expandable
- runs on Linux / Apache / PHP / MySQL
nagios+nagiosgraph用rrdtool畫圖收集服務性能數據
作者:cross 日期:2011-04-24 12:08
http://nagiosgraph.sourceforge.net/
環境: fedora 12 x64
需要套件:
下載 nagiosgraph-1.4.4-1.fc14.noarch.rpm
rpm 安裝後,它會自動重啟nagios,
好像也不用再動什麼就可以了 !!
增加連結在 nagios 的圖形管理介面裡
環境: fedora 12 x64
需要套件:
到 http://sourceforge.net/projects/nagiosgraph/files/nagiosgraph/perl-GD
perl-rrdtool
下載 nagiosgraph-1.4.4-1.fc14.noarch.rpm
rpm 安裝後,它會自動重啟nagios,
好像也不用再動什麼就可以了 !!
增加連結在 nagios 的圖形管理介面裡
標籤: nagios nagiosgraph



