Archive for the ‘Linux’ Category

aduh ribetnya ngeset password di esmith7, bayangkan, saja semua kemungkinan udah dicoba, eh enggak ada yang cocok..
kan repot, untung ada jimatnya..
nich…semoga ini bisa membantu kawan2 yang mengalami kasus yang sama

/sbin/e-smith/config setprop passwordstrength Users none
/sbin/e-smith/config setprop passwordstrength Ibays none
/sbin/e-smith/config setprop passwordstrength Admin strong

Iklan

http_port 3128
icp_port 3130
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
no_cache deny QUERY
icp_query_timeout 0 Lanjut Baca »

tail -f /var/log/qpsmtpd/current

adalah perintah standard untuk menampilkan isi file log, namun yang tampilkan dilayar berupa angka-angka yang membuat pusing. untuk menampilkannya dalam format tanggal dan waktu, perlu ditambahkan perintah lain

tail -f /var/log/qpsmtpd/current | /usr/local/bin/tai64nlocal

contoh :

[root@r ~]# tail -f /var/log/qpsmtpd/current
@4000000045bac9f61682c77c 7211 450 Connecting host started transmitting before SMTP greeting
@4000000045bac9f70cbd0644 2938 cleaning up after 7211
@4000000045baca02251d6d3c 7216 Accepted connection 0/40 from 24.87.70.123 / S0106001372ddc1f8.vn.shawcable.net
@4000000045baca02251d80c4 7216 Connection from S0106001372ddc1f8.vn.shawcable.net [24.87.70.123]
@4000000045baca0225b603bc 7216 running plugin (connect): check_earlytalker
@4000000045baca0225b6135c 7216 check_earlytalker plugin: remote host started talking before we said hello [24.87.70.123]
@4000000045baca0225b61f14 7216 Plugin check_earlytalker, hook connect returned DENYSOFT, Connecting host started transmitting before SMTP greeting
@4000000045baca0225b62acc 7216 450 Connecting host started transmitting before SMTP greeting
@4000000045baca0225b6329c 7216 Could not print [450 Connecting host started transmitting before SMTP greeting]: Connection reset by peer
@4000000045baca0313cdd10c 2938 cleaning up after 7216

[root@r ~]# tail -f /var/log/qpsmtpd/current | /usr/local/bin/tai64nlocal
2007-01-27 11:02:02.290996500 7583 trying to get config for morerelayclients
2007-01-27 11:02:02.292013500 7583 Plugin check_relay, hook connect returned DECLINED,
2007-01-27 11:02:02.292612500 7583 running plugin (connect): check_norelay
2007-01-27 11:02:02.293363500 7583 trying to get config for norelayclients
2007-01-27 11:02:02.294848500 7583 Plugin check_norelay, hook connect returned DECLINED,
2007-01-27 11:02:02.295484500 7583 trying to get config for smtpgreeting
2007-01-27 11:02:02.302775500 7583 220 mailserver.florasawita.com ESMTP
2007-01-27 11:02:02.303557500 7583 trying to get config for timeoutsmtpd
2007-01-27 11:02:02.304249500 7583 trying to get config for timeout
2007-01-27 11:02:05.170101500 2938 cleaning up after 7583

Tahapan memblock situs prono dengan menggunakan squid

edit file squid.conf

[root@server ~]# pico /etc/squid/squid.conf

Didalamnya masukkan teks sebagi berikut :

acl sex url_regex “/etc/squid/blacklist.txt”

acl notsex url_regex “etc/squid/whitelist.txt”

http_access allow notsex

http_access deny sex

blacklist.txt adalah namafile yang berisikan text atau situs yang akan diblok :

[root@server ~]# pico /etc/squid/blacklist.txt

playboy.com

xxx.com

telanjang

hot

tante girang

sedangkan whitelist.txt adalah file yang berisikan text atau situs yang ingin dilewatkan (tidak di blok) :

[root@server ~]# pico /etc/squid/whitelist.txt

hotmail.com

hotpop

detik.com

apabila laangkah diatas sudah selesai, squid harus kita restart dengan memberi perintah

[root@server ~]# service squid restart




  • Calender

    November 2017
    M S S R K J S
    « Jan    
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  
  • RSS Detik-inet

    • Sebuah galat telah terjadi; umpan tersebut kemungkinan sedang anjlok. Coba lagi nanti.
  • udah diintip

    • 433,159 kali