UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 25th, 2005, 12:36 PM
deb_dutta deb_dutta is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 25 deb_dutta User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 2 m 4 sec
Reputation Power: 0
Question help in "snoop" command

Hello,
I have a requirement.
Suppose i have two Solaris servers.
One of them having the Web-Server (configured in a particular PORT) say web-srv, other one say "collector". In that server one Internet application is running.
My requirement is that i want to observe all the "HTTP" requests send to the “Web-Server” from "collector". For this i used following commnad from "Collector" ,
/usr/local/bin/sudo snoop -v <web-srv> <port-no>

But i am not able to trace any HTTP request but i am able to find out other TCP-IP packets. e.g if i make a ping from "collector" to "web-server" then snoop can capture packets and contents of that.

My requirement is how I will observe the "web-server" HTTP request from "collector". Can snoop capture HTTP request?

Thanks for any help
Regards

Reply With Quote
  #2  
Old April 26th, 2005, 01:45 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Try:

snoop web-server and collector and port 80

for a start, see how it goes. Or make it even more simple, just 'snoop port 80' and add the other conditions slowly using the 'and' operator to filter more selectively. As always read the man page for snoop - 'man snoop'.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > help in "snoop" command


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway