- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Web Server Access: Identifying connections
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
11-20-2002 11:29 PM
11-20-2002 11:29 PM
I've Web server configured on HP-UX 11.0. I normally view the syslog file to identify the connection being made to the server. But when I access the server from the web through a specific port e.g, 5020, I can not see any entry in the syslog file.
Is there any way I can identify the connections being made to my web server?
Regards,
Sanjay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 12:25 AM
11-21-2002 12:25 AM
Re: Web Server Access: Identifying connections
What webserver are you running ? Apache server has access logs .
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 12:38 AM
11-21-2002 12:38 AM
Re: Web Server Access: Identifying connections
netstat -an | grep 5020
and
netstat -a | grep 5020
Your web server may have and access_log to id connections and requests also.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 11:33 AM
11-21-2002 11:33 AM
Re: Web Server Access: Identifying connections
You can see users connections in access_log, error_log for Apache.
If you want to see on the unix level, netstat or lsof -i tcp | grep -i established | grep 5020 will do the trick.
Hope this helps,
0leg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:23 PM
11-21-2002 02:23 PM
Re: Web Server Access: Identifying connections
Web Logic 6.1 is configured on the HP-UX machine. Just like we trace the IP's connecting to the system from syslog.log file, I would like to capture the IP's connecting to my Web Logic server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 02:51 PM
11-21-2002 02:51 PM
Re: Web Server Access: Identifying connections
run
lsof -i tcp@your_host_name:5020
don't have lsof -
http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/lsof-4.64/
Hope this helps.
0leg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:09 PM
11-21-2002 03:09 PM
Re: Web Server Access: Identifying connections
I get the following output after giving the lsof command:
#lsof -i tcp
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 19920 myapp 49u inet 0x516e7b80 0t0 TCP *:5020 (LISTEN)
#lsof -i tcp@myhost:5020
=> NO OUTPUT
Although the first command indicates that port 5020 is in LISTEN mode. I would like to identify as what connections (IP Address of the intruder) are being made to this port and from which IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:13 PM
11-21-2002 03:13 PM
Re: Web Server Access: Identifying connections
WebLogic uses .properties files as it's configuration files.
I don't have a WebLogic manual handy, but I think that you should be able set something in that file to turn on connection logging.
Check your manual or access the support pages at bea.com
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 03:54 PM
11-21-2002 03:54 PM
Re: Web Server Access: Identifying connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 04:53 PM
11-21-2002 04:53 PM
Re: Web Server Access: Identifying connections
Here's the link to the 6.1 admin guide:
http://edocs.bea.com/wls/docs61/adminguide/index.html
And here's the link to the logging section specifically:
http://edocs.bea.com/wls/docs61/adminguide/logging.html#1029443
But I am not able to bring up an admin console on my WL6.1 server. The app admins have the PW - we sys admins don't.
And here's the the section you really need - the web server section:
http://edocs.bea.com/wls/docs61/adminguide/web_server.html#113868
Sure looks to me like you can set this up via the Admin Console GUI.
Sorry I couldn't be more helpful.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 07:51 PM
11-21-2002 07:51 PM
Re: Web Server Access: Identifying connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 08:14 PM
11-21-2002 08:14 PM
Re: Web Server Access: Identifying connections
Thanks for providing the comprehensive information. I went through the complete list but could not the location where the log files are logged?
Would you be able to indicate whether the files will be logged?
Rgds, Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 09:04 PM
11-21-2002 09:04 PM
Re: Web Server Access: Identifying connections
Let me explain what the critical problem I am faxing.
User connects to the Web Server to access the Oracle database through PeopleSoft (PIA) architecture.
Now, users can connect to the Web Server if they are connecting through port 9000 or 9010 but not able to connect when trying to connect through port 5020 which in turns directs them to the production server.
Any idea whey users can not see the page when connected through port 5020 but able to connect when coming through port 9000 or 9010.
I've checked everything on the Unix box and no restrictions etc. have been defined. Also services, inetd.sec & inetd.conf files does not contain any specific information about these ports or services.
Going crazyyyyyyyyyyyyyy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2002 10:22 PM
11-24-2002 10:22 PM
Re: Web Server Access: Identifying connections
Achieved the desired result. The steps mentioned in the following url is really useful:
http://edocs.bea.com/wls/docs61/adminguide/web_server.html#113868
Also, following the following steps to achieve the results:
(a) Go to the respective domain directory under Weblogic folder:
/opt/weblogic/6.10/config/mydomain
(b) Modify config.xml file
(c) Set LoggingEnabled=true
(d) Save and exit
(e) /opt/weblogic/6.10/config/mydomain/logs directory
(f) The new "access.log" file will be created which will contain all the access information.
Cheers,
Sanjay