- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- oracle listener (and other tcp port) security
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 04:23 AM
02-22-2002 04:23 AM
I'm trying to secure an HP-UX 10.20 machine, to deny acces to differents applications. I've read that Ftp , telnet (and co.) are easy to secure, because they're run with inetd (configure /var/adm/inetd.sec), but i also want to secure other tcp port, like the oracle listener port (1526), snmp port, and particular port application.
So my questions are :
1) can the oracle listener be also easy configured, with a simple file that explain the hosts that are allowed/denied ? I don't want to install and configure Kerberos, SSL or other softs.
2) is there a generic way (tools ?) to secure ports that are not managed with inetd ?
Thank's a lot for all response !!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 04:27 AM
02-22-2002 04:27 AM
Re: oracle listener (and other tcp port) security
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 04:39 AM
02-22-2002 04:39 AM
Re: oracle listener (and other tcp port) security
Listener port must be defined in /etc/services on a unix system.
Here a sample / extract from a listener.ora :
Start of sample
--------------------------------------------
#
# Installation Generated Net8 Configuration
# Version Date: Jun-17-97
# Filename: Listener.ora
#
LSN_P022 =
(ADDRESS_LIST =
(ADDRESS= (PROTOCOL= IPC)(KEY= P022))
(ADDRESS= (PROTOCOL= IPC)(KEY= P022.domain))
(ADDRESS= (PROTOCOL= TCP)(Host= xxx.xxx.xxx.xxx)(Port= xxxx))
)
SID_LIST_LSN_P022 =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME= P022.domain)
(ORACLE_HOME= /u001/app/oracle/product/8.0.5)
(SID_NAME = P022)
)
)
STARTUP_WAIT_TIME_LSN_P022 = 0
CONNECT_TIMEOUT_LSN_P022= 10
TRACE_LEVEL_LSN_P022 = OFF
----------------------------------------
end of sample
This file can be created with the network assistant.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 04:42 AM
02-22-2002 04:42 AM
Re: oracle listener (and other tcp port) security
I've just try adding there in /etc/services and it's not working better.
I precise that this applications (oracle listener and co.) have there own deamon, and are not launch by inetd !!!
Any other solution ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 05:09 AM
02-22-2002 05:09 AM
Re: oracle listener (and other tcp port) security
1) The /etc/services must containt something like that !?
oracle 1526/tcp # Oracle listener connect.
2) in your listener.ora, Alexander, what tells oracle that the listener must be secure ? I think that the ip address (x.x.x.x) is the address from you local host ? Or may be the oracle connections are made with inetd, that is not what i want : in my machine, the listener is a independant daemon !!
Thank's in advance for your response !!
Olivier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 05:30 AM
02-22-2002 05:30 AM
Re: oracle listener (and other tcp port) security
You'd hope that SQLNet would have this built in, but I haven't seen it. (Frankly, I was surprised there was even a security section in the Oracle Networking book ;-) ).
Use something like IPFilter/9000
https://software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B9901AA&date=
to provide the IP/host based network security.
There are some other packages out there that might work as well - you might want to check out ipchains.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 06:43 AM
02-22-2002 06:43 AM
Re: oracle listener (and other tcp port) security
Any other solution, or i'm wrong with this information !!??
Thank's a lot !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 12:12 PM
02-22-2002 12:12 PM
Solutionhttp://coombs.anu.edu.au/~avalon/ip-filter.html
http://freshmeat.net/projects/ipchains/
for ip based filters you can compile yourself (you'll probably want to know a bit about compiling and porting).
Try
ftp://ftp.porcupine.org/pub/security/index.html
for tcp_wrappers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 12:15 PM
02-22-2002 12:15 PM
Re: oracle listener (and other tcp port) security
Is this server on the internet or on some untrusted network? If so, May I suggest you simply put a router in front of it and manage the ports that way.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 12:19 PM
02-22-2002 12:19 PM
Re: oracle listener (and other tcp port) security
pass in quick proto tcp from 10.15.2.0/16 to 10.15.1.2/32 port = 1526 keep state group 200
In this example you would allow listener access from 10.15.2 subnet to your oracle box ip 10.15.1.2.
It takes a while to learn packet filtering, but if I had one security tool to use, this would be it.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 01:10 PM
02-22-2002 01:10 PM
Re: oracle listener (and other tcp port) security
there is an Oracle product for encryption of the communication between Net8-Listener and the Net8-Client!
And Oracle does NOT need any entries in "/etc/services" (since most DBAs use port-numbers, not service-names).
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 11:16 PM
02-27-2002 11:16 PM
Re: oracle listener (and other tcp port) security
One area you should not overlook is host-based security for the oracle listener.
lsnrctl and tnslsnr are used to launch the Oracle listener. However, the default permissions for both executables are -rwxr-x--x which implies executable by everyone.
Even with the executable bit set, a normal user cannot startup the listener. However, any user can shutdown the listener easily by executing:
# $ORACLE_HOME/bin/lsnrctl stop
You will need to restrict executable permissions to these executables in order to prevent this from happening.
Hope this helps. Regards.
Steven Sim Kok Leong