- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: monitor connections to secondary ip address
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-24-2002 06:14 AM
тАО10-24-2002 06:14 AM
monitor connections to secondary ip address
I am using ifalias to assign a secondary ip address to our system. What I would like to do is monitor what is connecting to this ip address. If I use netstat -an | grep "ip @" then I get all the connection to that particluar ip address. what I need is what those connections are for example users logging in, or oracle process etc..... Can anyone help/advise.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 06:47 AM
тАО10-24-2002 06:47 AM
Re: monitor connections to secondary ip address
If you use netstat -a rather than netstat -an then netstat itself will convert the port number to the readable equivalent from /etc/services e.g. it will say .telnet rather than .23 but netstat -a uses a lot more system resources.
Not all ports need to be in /etc/services however, for Oracle processes look for the port number(s) that the Oracle listener is responding to.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 06:54 AM
тАО10-24-2002 06:54 AM
Re: monitor connections to secondary ip address
Thanks John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 06:58 AM
тАО10-24-2002 06:58 AM
Re: monitor connections to secondary ip address
Genrally the level of audit that you are looking for is possible form the listner log of oracle which in acutallity tells which users connected for how long using waht port , you can check the listener.log in /opt/oracle/product/8.1.7/network/listenr.log which will give u more details
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 07:08 AM
тАО10-24-2002 07:08 AM
Re: monitor connections to secondary ip address
Lets say my system has a Primary ip address and a seconadry ip address, you can get into my system with both ip address's however I only want to know what/who/process is login on or utalising the secondary ip address.
If I do a netstat -a the output shows local address and foriegn address (how do I know that the local address is my secondary or primary address. If I do a netstat -an | grep (and the particular address) then this works but I then do not know what my foreign address is by name /process.
Guys your help would be very much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 07:20 AM
тАО10-24-2002 07:20 AM
Re: monitor connections to secondary ip address
24-OCT-2002 11:08:09 * (CONNECT_DATA=(SID=PBSCS)(GLOBAL_NAME=PBSCS.world)(CID=(PROGRAM=kv.exe)(HOST=Windows NT PC)(USER=Anon006))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.10.92)(PORT=4818)) * establish * PBSCS * 12505
TNS-12505: TNS:listener could not resolve SID given in connect descriptor
24-OCT-2002 11:08:20 * (CONNECT_DATA=(SID=PBSCS)(GLOBAL_NAME=PBSCS.world)(CID=(PROGRAM=kv.exe)(HOST=Windows NT PC)(USER=Anon006))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.10.92)(PORT=4821)) * establish * PBSCS * 12505
TNS-12505: TNS:listener could not resolve SID given in connect descriptor
24-OCT-2002 11:08:33 * (CONNECT_DATA=(SID=PBSCS)(GLOBAL_NAME=PBSCS.world)(CID=(PROGRAM=kv.exe)(HOST=Windows NT PC)(USER=Anon006))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.10.92)(PORT=4826)) * establish * PBSCS * 12505
TNS-12505: TNS:listener could not resolve SID given in connect descriptor
24-OCT-2002 11:08:50 * (CONNECT_DATA=(SID=PBSCS)(GLOBAL_NAME=PBSCS.world)(CID=(PROGRAM=kv.exe)(HOST=Windows NT PC)(USER=Anon006))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.2.10.92)(PORT=4836)) * establish * PBSCS * 12505
TNS-12505: TNS:listener could not resolve SID given in connect descriptor
24-OCT-2002 11:10:26 * service_update * dwh * 0
24-OCT-2002 11:12:11 * service_update * usg * 0
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2002 12:20 PM
тАО10-24-2002 12:20 PM
Re: monitor connections to secondary ip address
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2002 09:41 AM
тАО10-25-2002 09:41 AM
Re: monitor connections to secondary ip address
from there the rest is left as an excercise to the reader :) it might involve merging-in some of the other suggestions. - grepping through logfiles and the like.