地球人 | 請教FreeBSD之TCP_WRAPPERS 剛剛把TCP_WRAPPERS設定了一下 可是try了半天,不是都deny..要不就all allow 我的設定如下: # Provide a small amount of protection for ftpd ftpd : localhost 10.1.1.1 10.1.1.2 .xxx.com : allow ftpd : .nice.guy.example.com : allow ftpd : .evil.cracker.example.com : deny ftpd : ALL : deny #Telnet telnetd : ALL except \ .yyy.idv.tw [email protected] 10.1.1.1 10.1.1.2 .xxx.com : \ spawn=(echo `date` - %u@%h[%a] %d | /usr/bin/mail -s "tcp_wrappers" root) & : 能不能請高手幫我看看,我的錯誤在哪? 謝謝. **還有一個問題: # Start by allowing everything (this prevents the rest of the file # from working, so remove it when you need protection). # The rules here work on a "First match wins" basis. ALL : ALL : deny--->這個地方我看不太懂.我要的是部分可以allow,其他則deny.那要我要設deny or allow阿 |
回覆 |
|
XML | RSS 2.0 | RSS |
本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。