亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2329 | 回復(fù): 0
打印 上一主題 下一主題

[新手入門] aix上如何限制指定ip地址通過telnet連接 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-11-15 17:12 |只看該作者 |倒序瀏覽
面對眾多的復(fù)雜環(huán)境,客戶出于安全的考慮常常有很多特殊的需求,其中一個最常碰到的問題就是“我能否按照IP Address來確定是否允許其訪問服務(wù)器?”客戶通常可以根據(jù)用戶名或者pty來設(shè)置是否允許訪問,但是如果不能做到以IP Address 來做,那么當(dāng)服務(wù)器被連到網(wǎng)上就可能被攻擊,F(xiàn)在我們要介紹一個非常出色的軟件 Tcp_Wrapper,它可以幫助我們實現(xiàn)完善的服務(wù)器訪問策略。但是在我們 AIX 系統(tǒng)光盤中并沒有包含這樣的軟件,Tcp_Wapper是在 Solaris, HP_UX以及 Linux中廣泛流行的免費軟件.我們強烈建議您把它作為您重要服務(wù)器的安全標(biāo)準(zhǔn)配置。
Tcp_wrapper是Wietse Venema開發(fā)的一個可用于各種Unix平臺的免費軟件,說起Tcp_wrapper的誕生,到有個小小的故事,大約在1990年,作者所在大學(xué)的服務(wù)器屢屢受到一個外來黑客侵入, 因為受害主機的硬盤數(shù)據(jù)屢次被rm –rf / 命令整個抹掉,所以找尋線索極為困難,直到有一天晚上Venema在工作的過程中無意中發(fā)現(xiàn)這個黑客在不斷的finger 受害主機,偷窺受害者的工作,在那個時候一個想法誕生了:設(shè)計一個軟件,使它可以截獲發(fā)起finger請求的IP,用戶名等資料,Venema 很快投入了工作,而Tcp_wrapper也由此出現(xiàn)!在這以后,Tcp_wrapper隨著應(yīng)用逐漸成為一種標(biāo)準(zhǔn)的Unix安全工具,成為unix守護程序inetd的一個插件.通過Tcp_wrapper,管理員可以設(shè)置對inetd提供的各種服務(wù)進行監(jiān)控和過濾.
下面我們介紹Tcp_Wrapper在AIX上的安裝和使用
第一步:下載
第二步:安裝
第三步:配置
第四步:測試
第一步:下載
http://ftp.univie.ac.at/aix/download/aix43/tcp_wrappers-7.6.1.0.exe
第二步:安裝
# ls
tcp_wrappers-7.6.1.0.exe
# chmod +x *exe
# ./tcp_wrappers-7.6.1.0.exe
UnZipSFX 5.32 of 3 November 1997, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: tcp_wrappers-7.6.1.0.bff
inflating: tcp_wrappers-7.6.1.0.bff.asc
# inutoc .
# installp -aXgd . all
+--------------------------------------------------------------------+
Pre-installation Verification...
+--------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
Selected Filesets
-----------------
freeware.tcp_wrappers.rte 7.6.1.0 # ----TCP/IP daemon security wrapp...
;>;
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
----1 Passed pre-installation verification
----
1 Total to be installed
+--------------------------------------------------------------------+
Installing Software...
+--------------------------------------------------------------------+
installp: APPLYING software for:
--------freeware.tcp_wrappers.rte 7.6.1.0
. . . . . ;>; . . . . . . .
TCP WRAPPERS, version 7.6
Copyright (C) 1997 by Wietse Venema. All rights reserved.
(Some individual files may be covered by other copyrights.)
Plaese refer to the DISCLAIMER file delivered in the directory
/usr/local/lib/tcp_wrappers-7.6 for complete details. The README file
delivered in the same directory should also be read.
Packaging is Copyright (C) 1999 BULL SA. This LPP may not be redistributed
comercially. No warranty or support in any form is offered with this
LPP.
. . . . . ;>;. . . .
Finished processing all filesets. (Total time: 2 secs).
+-------------------------------------------------------------------+
Summaries:
+-------------------------------------------------------------------+
Installation Summary
--------------------
Name ------------------------Level ----Part---- -Event -----Result
--------------------------------------------------------------------
freeware.tcp_wrappers.rte -7.6.1.0 ----USR ------APPLY ----SUCCESS
第三步:配置
# vi /etc/inetd.conf
modifty the two lines from
ftp ----stream -tcp6 -nowait -root -/usr/sbin/ftpd -----ftpd
telnet -stream -tcp6 -nowait -root -/usr/sbin/telnetd -telnetd -a
to the following
ftp ----stream -tcp6 -nowait -root -/usr/local/bin/tcpd -ftpd
telnet -stream -tcp6 -nowait -root -/usr/local/bin/tcpd -telnetd –a
# vi /etc/hosts.deny
all:all
# vi /etc/hosts.allow
telnetd:192.168.0.201:allow
ftpd:192.168.0.201:allow
# refresh –s inetd
第四步:測試
# /usr/local/bin/tcpdmatch ftpd 9.185.43.221
client: address 9.185.43.221
server: process ftpd
access: denied
# /usr/local/bin/tcpdmatch ftpd 192.168.0.201
client: address 192.168.0.201
server: process ftpd
access: granted
# /usr/local/bin/tcpdmatch telnetd 9.185.43.221
client: address 9.185.43.221
server: process ftpd
access: denied
# /usr/local/bin/tcpdmatch telnetd 192.168.0.201
client: address 192.168.0.201
server: process ftpd
access: granted
以上只是對訪問控制文件的一個簡單示例,您可以參看Tcp_wrapper的相應(yīng)說明定制更為復(fù)雜并且有效的安全訪問策略.

本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u1/41906/showart_423220.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP