Tuesday, November 08, 2005

Cara mudah Ident OPENBSD dgn OIDENTD

Setelah sebelumnya ada posting mengenai instalasi OpenBSD Lanjut lagi ke artikel berkaitan :D

Cara Mudah Membuat IDENT pada server menggunakan OIDENTD pada OPENBSD

tanpa basa-basi :D
bisa menggunakan port or source
sebelumnya di matikan dulu ident yg laen
# vi /etc/inetd.conf
-----------------------------------------------------------------------------------------------------------------
#ident stream tcp nowait _identd /usr/libexec/identd identd -el
#ident stream tcp6 nowait _identd /usr/libexec/identd identd -el
-----------------------------------------------------------------------------------------------------------------
reboot

# cd /usr/port/net/oident/
# make clean install

# vi /etc/oidentd.conf
---------------------------------------------------------------------------------------------------------------------------------
#perbolehkan semua klien membuat respon identd angka acak, menyembunyikan ident
#dan menolak spoof ident
default {
default {
deny spoof
deny spoof_all
deny spoof_privport
allow random_numeric
allow numeric
allow hide
}
}

#supaya sewaktu koneksi irc dengan user "root" tidak diban/autokick oleh Dal.NeT
#akan direspond ke-ident "luckyy_man"
user root {
default {
force reply "luckyy_man"
--------------------------------------------------------------------------------------------------------------------------------------

# vi /etc/oidentd_masq.conf
--------------------------
192.168.0.5 luckyy_man UNIX # walau client windows tetap pake UNIX :)
192.168.0.11 luckyy_man1 UNIX
192.168.0.12 luckyy_man2 UNIX
192.168.0.13 luckyy_man3 UNIX

buat start pertama kali, pastikan port 113 terbuka
# /usr/local/sbin/oidentd -m

biar autorun edit
# vi /etc/rc.local
if [ -x /usr/local/sbin/oidentd ]; then
echo -n ' oidentd'; /usr/local/sbin/oidentd -m
fi

atau
# vi /etc/inetd.conf
----------------------------------------------------------------------------------------------------------------------------
ident stream tcp nowait root /usr/local/sbin/oidentd oidentd -Im
-----------------------------------------------------------------------------------------------------------------------------
sembarang pilih mana :D
nah sudah bisa ident server, coba masuk irc chanel awali :D
terus di whois :D
untuk sementara memakai ip asli (ip server), kl pake ip proxy atau ip blok or sebagai nya belum jalan

nat on $ext_if from $int_ext to any -> ($ext_if) # ini jalan ident nya
nat on $ext_if from $int_ext to port 6600:7000 -> 202.xxx.xxx.xxx (ip blok dari isp) # ident nya gak jalan

mungkin ada teman2 yg bisa bantu, supaya pake ip blok biar jalan ?

artikel di ambil dari http://ibank.cikal.net/archives/install_identd.txt yg telah di modifikasi :D

No comments: