- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- History list if IP address connected to hp-ux serv...
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
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
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
тАО11-20-2006 01:27 AM
тАО11-20-2006 01:27 AM
History list if IP address connected to hp-ux server
The files btmp and utmp give me the logins, but there are aplications or servers that open ports whitout login.
netstat -an give the runnig connections, but Can i know all ips that connected in a day, week, etc?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 01:42 AM
тАО11-20-2006 01:42 AM
Re: History list if IP address connected to hp-ux server
last -R
Shows IP addresses otherwise you are parsing /var/adm/syslog/syslog.log
inetd -l enhances logging and can give you moreinformation in the future.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 01:57 AM
тАО11-20-2006 01:57 AM
Re: History list if IP address connected to hp-ux server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 03:45 AM
тАО11-20-2006 03:45 AM
Re: History list if IP address connected to hp-ux server
Some connection don't login to the operating sistem and the last -R don't save them.
I need to know all server or pc that have been connected to hp-ux server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 03:52 AM
тАО11-20-2006 03:52 AM
Re: History list if IP address connected to hp-ux server
# netstat -an | grep 'ESTABLISHED$'
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 04:09 AM
тАО11-20-2006 04:09 AM
Re: History list if IP address connected to hp-ux server
If this is a production system and there are questions about security, start by (download) running Bastille to close off unused ports. This makes the logs a lot smaller and takes you to the goal of a reliable, secure system.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 06:15 AM
тАО11-20-2006 06:15 AM
Re: History list if IP address connected to hp-ux server
The ESTABLISHED connections don├В┬┤t give the informati├Г┬│n of the past connection.
What is the correct option or flag of nettl command for check the ip address? the manual is not clear.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 12:58 PM
тАО11-20-2006 12:58 PM
Re: History list if IP address connected to hp-ux server
There would be ways I suspect to use nettl or tcpdump, but I suspect that the ipfilter logging might be "better" for some definition of better.
Otherwise, if you were to have a script that periodically looked at the IP IRE hash table (IIRC that is the thing) with ndd you would be able to find those IP's at that snapshot to which we've send traffic. If you look more frequenty than the ire_flush interval (peruse ndd -h and/or ndd /dev/ip ?) and are good at "merging" you could arrive at a list of the IPs with which the system has communicated. However, that would not tell you anything more than the IP's - it would not tell you which protocols to which IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 04:09 PM
тАО11-20-2006 04:09 PM
Re: History list if IP address connected to hp-ux server
for the Oracle connections, you can verify your $ORACLE_HOME/network/log/listener.log
e.g.
grep HOST $ORACLE_HOME/network/log/listener.log
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 04:12 PM
тАО11-20-2006 04:12 PM
Re: History list if IP address connected to hp-ux server
You can also get the IP Addressed of clients connecting through your Apache Web Server by verifying the "access_log" file
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2006 09:16 PM
тАО11-20-2006 09:16 PM
Re: History list if IP address connected to hp-ux server
There is a "log first" keyword combination that
logs initiation of all TCP connections. Likewise,
UDP and ICMP connections can be logged using
additional IPFilter rules.
You could even write scripts (that uses 'ipfstat'
command) that runs periodically and pulls out
all existing connections to/from the system.
To give an example, one such script could run
once in 5 minutes and keep track of all
connections and printout when new connections
are created and old ones are terminated and print
to a file.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 07:34 AM
тАО11-22-2006 07:34 AM
Re: History list if IP address connected to hp-ux server
Thanks.