01-21-2008
Sorry for ressurecting the old thread... but it's still pretty high on google
I did read the manual... still can't figure out how to specify a subnet
the man page says:
Quote:
net net
True if either the IP source or destination
address has a network number of net. The from or
to qualifier may be used to select packets for
which the network number occurs only in the source
or destination address.
snoop -v net 10.0.0.0 255.0.0.0 doesn't seem to capture packets coming from/going to nodes in the 10.X net
snoop -v net 10.0.0.0/8 ---> invalid expression at "".
snoop -v net 10.0.0.0 8 doesn't seem to capture any packets either
Last edited by rb2k; 01-21-2008 at 07:07 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
is there a snoop equivalent in other flavors of unix? HPUX, SCO or linux.
TIA
Peter (2 Replies)
Discussion started by: pbonilla
2 Replies
2. Solaris
Hello! It is my first post in this forum :).
I`m facing a strange issue. I am using a Solaris 8 as OS, and using the ipnat (ipf) to NAT an incoming port to another, as following:
Host SUN with Solaris 8/NAT WEB Page
(A.B.C.D:80) ---> |A.B.C.D:80 ->... (0 Replies)
Discussion started by: mf_lattanzi
0 Replies
3. IP Networking
Hi Gang:
Need some help with a snoop command. Sun box (solaris 8) has 4 nic cards,
I need to snoop one address and output that to a file so wireshark can read it. Can anyone help me out..?
Think its something like....
snoop -i 10.10.10.10 -o snoop_output (1 Reply)
Discussion started by: jimmyc
1 Replies
4. Shell Programming and Scripting
Hi,
I want to write a script that checks an interface with the snoop command, if there is no traffic in 10 minutes on port 123 from the ip add 10.*.*.* it should send a e-mail.but i don't know how to start writing this script does anybody have an idea or an sample script that i can modifi.
... (2 Replies)
Discussion started by: tafil
2 Replies
5. Solaris
Is there anywhere we can get details about what we should expect to see and not to see in some packets captured with "snoop" during troubleshooting a problem? I know we can capture packes for a failed transaction and compare them with packets for a successful trasaction.Is that the only way to... (4 Replies)
Discussion started by: Pouchie1
4 Replies
6. Linux
Hi,
What web site I can download the snoop package from and install it into a linux environment, so I can practice and become familiar with the snoop command and capture packets with it.
Thanks , (0 Replies)
Discussion started by: Pouchie1
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
Can anyone please tell me a ftp site where I can download the solaris snoop package? I need to download the package so I can use the command in a Linux environment instead of using tcpdump. Need practice with snoop.
Thanks for your help. (3 Replies)
Discussion started by: Pouchie1
3 Replies
8. Solaris
Hi ,
I would like to write a perl script with the snoop command to capture packets from a specific IP address to a node (incoming packets) and packets from that node for the same session to another node and save the capture to a file. I would like my script to be able to read my IP all the time... (7 Replies)
Discussion started by: Pouchie1
7 Replies
9. Shell Programming and Scripting
Hi
I want to write a script for snoop which can do snoop for 30 min and then process should be killed automatically
I am using below codes
#!/usr/bin/ksh
snoop -d igb0 -o /opt/temp/abc.pcap
sleep 1500
kill -9 `ps -ef|grep -i snoop |grep -v grep|awk '{print $2}'`
But process is not... (3 Replies)
Discussion started by: anish19
3 Replies
10. Solaris
Hi!
I have run the following command: snoop -q -d e1000g0 -o /var/tmp/optima0.txt & them I am trying to read the output of it with snoop -i /var/tmp/optima0.txt, which is giving me this: # snoop -i /var/tmp/optima0.txt | more
1 0.00000 AIOPTSVR -> 10.100.4.72 TCP D=1393 S=22 Push... (8 Replies)
Discussion started by: fretagi
8 Replies
SNOOPY(8) System Manager's Manual SNOOPY(8)
NAME
snoopy - spy on Ethernet packets
SYNOPSIS
snoopy [ -abceiltup9 ] [ -np ] [ -N count ]
DESCRIPTION
Snoopy displays the header and first 20 data bytes of packets received from the local Ethernet. The packets displayed depend on the
options chosen. The following options each select packets from a particular protocol. If more than one flag is given, packets from all
those protocols are displayed.
a ARP
b BOOTP
c ICMP
e all Ethernet packets
i IP
l IL
t TCP
u UDP
By default all addresses are translated into system names. The option n suppresses this.
Snoopy runs in promiscuous mode by default, displaying all packets it can capture from the Ethernet. The option p causes only packets sent
to or from the system snoopy is running on to be displayed.
Option 9 causes the data of TCP and IL messages to be interpreted and displayed as 9P messages. The N option sets the count (default 20)
of the number of bytes to dump in hexadecimal from each packet.
FILES
/net/ether
Ethernet device
SOURCE
/sys/src/cmd/ip/snoopy.c
BUGS
The CPU servers do not take well to running in promiscuous mode. If run on them, snoopy may kill their Ethernets.
SNOOPY(8)