()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 05-09-09 16:27
tcp_wrappers ġ os: solaris 9
 ۾ :
ȸ : 10,686  
TCP Ʈũ (finger, ftp, telnet )û ޾ 񽺸 ϱ û ȣƮ Ȼ ʿ ˻縦 Ͽ 񽺰 DZ ֵ ִ α׷Դϴ.

α׷ ٿε

Ű α׷ www.sunfreeware.com ֽϴ.

tcp_wrappers-7.6-sol9-sparc-local.gz

---------------------------------------------------------------------------------

Ű ġ.

(file>root)/#gunzip tcp_wrappers-7.6-sol9-sparc-local.gz
(file>root)/#pkgadd -d tcp_wrappers-7.6-sol9-sparc-local

ġ δ
/usr/local/bin ġ ˴ϴ.

---------------------------------------------------------------------------------

inetd.conf

(file>root)/#vi /etc/inetd.conf
ġ 158 ° ٿ ֽϴ. -----> ٹȣ :set nu

Ư ͳ Ʈũ 񽺿 ؼ ۵ 񽺸 ϴ ֽϴ. 񽺴 ̹ /etc/services Ͽ 'service name' Ʈ, ׸ ؼ Ư Ѵ.


- inetd.conf .

telnet stream  tcp6    nowait  root    /usr/sbin/in.telnetd    in.telnetd
ftp    stream  tcp6    nowait  root    /usr/sbin/in.ftpd      in.ftpd -a

- inetd.conf .

telnet  stream  tcp    nowait  root    /usr/local/bin/tcpd    in.telnetd
ftp    stream  tcp    nowait  root    /usr/local/bin/tcpd    in.ftpd -a

wq!


"/etc/inetd.conf"ȭϿ ftp, telnetܿ finger, exec, rsh, rlogin,tftp, talk, comsat ٸ tcp Ǵ udp 񽺵鵵 Ҽ Ƿ  Ʈ ؾ ʿ䰡 ִ 񽺵 /usr/local/bin/tcpd  ü Ҽ ֽϴ.

---------------------------------------------------------------------------------

hosts.allow hosts.deny .

-ش (hosts.allow) ּҿ ٺ(hosts.deny) մϴ.
ϵ ġ /etc ؿ ˴ϴ.


-hosts.deny

(file>root)/#vi /etc/hosts.deny

ALL:ALL

wq!

ALL: ALL  ----> ALL 񽺸 ǹϸ, κ ALL (IP address) ǹմϴ. 

-hosts.allow

(file>root)/#vi /etc/hosts.allow
in.telnetd:192.168.0.55 , 192.168.0.
in.ftpd -a : 192.168.0.55 , 192.168.0.

wq!

---------------------------------------------------------------------------------

inetd -s

(test>root)/# ps -ef | grep inetd
    root  154    1  0 15:32:53 ?        0:00 /usr/sbin/inetd -s
    root  585  544  0 16:12:07 pts/5    0:00 grep inetd
(test>root)/# pkill -HUP 154

---------------------------------------------------------------------------------

׽Ʈ....
̿ ϸ hosts.allow ip ϴ°
ֽϴ.


(file>root)/# telnet 192.168.0.212 4001
Trying 192.168.0.212...
Connected to 192.168.0.212.
Escape character is '^]'.
Connection closed by foreign host.
(file>root)/# ftp 192.168.0.212 4002
Connected to 192.168.0.212.
421 Service not available, remote server has closed connection
ftp>

 
 

Total 185
ȣ     ۾ ¥ ȸ
140 tcp_wrappers ġ os: solaris 9
2005/09/09 10687
139 solaris 8 nfs ~~~ ؼ...
2009/05/14 10685
138 E3500 Boot Disk dump ü ۵ .
2007/09/18 10666
137 prstat
2006/11/02 10573
136 vnc & putty & ssh ġ - putty ̿ ͳθ .
2007/01/26 10552
135 cfgadm ɾ
2007/09/18 10453
134 x86 - CDE ( soalrsi 10 ) --- 1
2006/03/30 10451
133 crash dump core dump
2006/10/31 10359
132 solaris 9 & solaris 10 hostname
2006/04/12 10337
131 samba ġ ġ OS : solaris 9 sparc
2005/08/25 10326
130 /etc/path_to_inst
2008/08/14 10233
129 ھ м ũƮ[] ũ
2007/12/04 10225
128 Solaris10 inetd Ķ ٲٴ
2007/06/28 10148
127 vi ⸦ ̿ Ͱ ð....
2005/12/26 10079
126 IBM, SUN, DELL, NEC ϵ ο ⡦
2007/03/13 10057
 1  2  3  4  5  6  7  8  9  10    
 
 
 
Administrator Login