Difference between revisions of "Tripwire: Notifikasi e-mail"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 15: | Line 15: | ||
tripwire -m p /etc/tripwire/twpol.txt | tripwire -m p /etc/tripwire/twpol.txt | ||
+ | atau | ||
+ | |||
+ | twadmin -m P -e /etc/tripwire/twpol.txt | ||
==Konfigurasi SMTP Server== | ==Konfigurasi SMTP Server== | ||
Line 27: | Line 30: | ||
SMTPHOST =smtp.telkom.net | SMTPHOST =smtp.telkom.net | ||
SMTPPORT =25 | SMTPPORT =25 | ||
+ | |||
+ | Update file configurasi tripwire | ||
+ | |||
+ | twadmin -m F -e /etc/tripwire/twcfg.txt | ||
+ | |||
==Test e-mail message== | ==Test e-mail message== |
Revision as of 10:37, 24 January 2011
Kita dapat melaporkan kejadian menggunakan tripwire dan ini harus ditulis pada file Tripwire
/etc/tripwire/twpol.txt
contoh e-mail admin bob@domain.com;sam@domain.com
( rulename = "Networking Programs", severity = $(SIG_HI), emailto = bob@domain.com;sam@domain.com )
Setelah selesai dimasukan lakukan
tripwire -m p /etc/tripwire/twpol.txt
atau
twadmin -m P -e /etc/tripwire/twpol.txt
Konfigurasi SMTP Server
Edit
vi /etc/tripwire/twcfg.txt
Pastikan misalnya
MAILMETHOD =SMTP SMTPHOST =smtp.telkom.net SMTPPORT =25
Update file configurasi tripwire
twadmin -m F -e /etc/tripwire/twcfg.txt
Test e-mail message
Untuk mentest notifikasi e-mail kita dapat mengunakan perintah berikut
/usr/sbin/tripwire --test --email your@email.address
Test e-mail akan dikirim langsung ke e-mail address oleh tripwire