Difference between revisions of "Tripwire: Notifikasi e-mail"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
  )  |   )  | ||
| − | + | encrypt policy  | |
| − | + |   cd /etc/tripwire  | |
| − | + |   twadmin --create-polfile --cfgfile ./tw.cfg --site-keyfile ./site.key ./twpol.txt  | |
| − | |||
| − | |||
| − |   twadmin -  | ||
==Konfigurasi SMTP Server==  | ==Konfigurasi SMTP Server==  | ||
| Line 29: | Line 26: | ||
  MAILMETHOD    =SMTP  |   MAILMETHOD    =SMTP  | ||
  SMTPHOST      =smtp.telkom.net  |   SMTPHOST      =smtp.telkom.net  | ||
| + |  SMTPHOST      =222.124.18.79 (kalau mau aman)  | ||
  SMTPPORT      =25  |   SMTPPORT      =25  | ||
| − | + | encrypt konfigurasi  | |
| − | |||
| − | |||
| + |  cd /etc/tripwire  | ||
| + |  twadmin --create-cfgfile --cfgfile ./tw.cfg --site-keyfile ./site.key ./twcfg.txt  | ||
==Test e-mail message==  | ==Test e-mail message==  | ||
| − | Untuk mentest notifikasi e-mail kita dapat mengunakan perintah berikut  | + | Untuk mentest notifikasi [[e-mail]] kita dapat mengunakan perintah berikut  | 
  /usr/sbin/tripwire --test --email your@email.address  |   /usr/sbin/tripwire --test --email your@email.address  | ||
Latest revision as of 07:28, 25 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 )
encrypt policy
cd /etc/tripwire twadmin --create-polfile --cfgfile ./tw.cfg --site-keyfile ./site.key ./twpol.txt
Konfigurasi SMTP Server
Edit
vi /etc/tripwire/twcfg.txt
Pastikan misalnya
MAILMETHOD =SMTP SMTPHOST =smtp.telkom.net SMTPHOST =222.124.18.79 (kalau mau aman) SMTPPORT =25
encrypt konfigurasi
cd /etc/tripwire twadmin --create-cfgfile --cfgfile ./tw.cfg --site-keyfile ./site.key ./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