限制特定IP访问【BLOCKING BY SPECIFICALLY IP ADDRESS】

简介:
 If you want to block some connections from specifically ip address and not use fire wall, you can add some parameters in the sqlnet.ora that can achieve  what you want.
 
for example:
/u02/oracle/product/9.2.0/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.

NAMES.DEFAULT_DOMAIN = localdomain

NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
#This turns on the hostname/IP checking for your listeners
tcp.validnode_checking=yes
#invited nodes of the  ip address 
tcp.invited_nodes=(192.168.11.89,192.168.11.3)

#exclude a list of clients
tcp.excluded_nodes=(192.168.11.100)

remember,you need restart listener.

Just a small tip -:)

本文转自Be the miracle!博客51CTO博客,原文链接http://blog.51cto.com/miracle/50341如需转载请自行联系原作者


Larry.Yue

相关文章
|
22天前
|
网络架构 开发者
|
2月前
|
缓存 Java Maven
ip解析ip2region
ip解析ip2region
38 0
|
9月前
|
网络协议 Unix Linux
ipconfig 和ip addr的区别
今天在玩DNS解析记录的追踪。
128 0
|
网络协议 C# 数据库
Convert IPv6 Address to IP numbers (C#)
URL: http://lite.ip2location.com/ Use the code below to convert the IP address of your web visitors and lookup for their geographical location, e.
1419 0
|
网络协议
|
JavaScript 前端开发
|
网络协议
From 192.168.25.133 icmp_seq=238 Destination Host Unreachable 虚拟机ping主机不通
From 192.168.25.133 icmp_seq=238 Destination Host Unreachable 虚拟机ping主机不通,但是主机可以ping通虚拟机,虚拟机ping不通外网 如果是使用net8模式 我的问题是物理机没有开启服务 将本地服务启动就可以了
3190 0