Friday, September 01, 2006

Idea - Alert! On Snort


i'm searching via google and i found this picture is kinda interest...

this is a screenshot taken from SAM (Snort Alert Monitor) website at here





How can SAM alert me that my thresholds have been crossed?
SAM has many ways of grabbing your attention. The first is the rather large stop light in the top left corner of the screen. The second is by playing a specific sound when a particuliar threshold is reached. Currently we are using HAL quotes, but you are welcome to change them to anything you like. They are rather obviously labeled in the sam/wav directory. The third way you can be notified is that an email can be sent to a specific person or group of persons. And lastly a plugin architecture is being planned where you can create your own creative way of alerting the appropriate people.




another tool that i found is Snort alert verification now on v0.9.6 from it project download page.

Monday, June 26, 2006

idea: FreeBSD GUI Installer

in Bahasa
FreeBSD tidak laris seperti pisang panas utk pengguna Unix berbanding distro2 terkemuka Linux yakni Redhat, Mandrake dan Suse.
antara sebab yang boleh diterima pakai adalah antaramuka untuk proses installasi sistem operasi tersebut.. klu dalam linux sendiri pun, peratusan pengguna Slackware pun tidak ramai berbanding distro yg mempunyai GUI installer ini.

kajian:
betulkah FreeBSD tak pernah ada GUI installer?
pentingkah GUI installer utk FreeBSD? (boleh edar questionaire nih)
susahker nak develope GUI installer utk FreeBSD? (guna third party mcm anaconda dalam redhat?)

so any comment utk menambah ke adventure-an tajuk thesis ini?

Saturday, February 25, 2006

Customize Your Bash

in Bahasa

sini ada tips sikit utk customize bash prompt anda..

hehehe

1: check kat home directory anda, .bashrc anda wujud ke tidak
$ ls -a

klu tak der create newfile bernama .bashrc di dlm home directory anda
boleh guna apa2 aja editor yg anda tahu/suka
vi, dtpad, gnome-text-editor, pico, kwrite dan sbgnya..

2. masukkan line
PS1="prompt baru anda"
ke dalam .bashrc

contoh2nya
CODE

PS1="nadahahs was here >"
PS1="nadahahs@localhost $"
PS1="[\u@\h:\W, \@, \d]> "#nota satu
PS1="[\u][\w] >" #nota dua


nota satu
\u utk whoami
\h hostname
\W working directory (format pendek)
\@ masa sekarang
\d tarikh hari ni

nota dua
\w working directory (format panjang)


klu beginner.. tak faham sangat...
ok dalam linux anda pastikan anda sedang menggunakan bash
taip spt bawah ini (tanda dollar tu takyah taip la bang oi)
$ echo $SHELL

klu /bin/bash.. sah anda menggunakan bash
jadi langkah seterusnya taip
$ echo "PS1="[\u@\h][\w] \@, \d]>"" >> .bashrc

selamat mencuba

Wednesday, February 15, 2006

Bash Script: an Example

#script begin
j=5
MAX=10000
for ((nr=1; nr<$MAX; nr++))
do

let "t = $nr % $j"
case $j:$t in
5:3 ) nr=$nr-1; j=7;;
7:4 ) nr=$nr-1; j=9;;
9:5 ) break;;
*) j=5;;
esac;
done
echo
echo ============
echo Number = $nr