tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: TCP dump
@ 2000-10-11  5:58 Nikola Milutinovic
  0 siblings, 0 replies; only message in thread
From: Nikola Milutinovic @ 2000-10-11  5:58 UTC (permalink / raw)
  To: tru64-unix-managers

Hi folks.

Problem solved. It appears that "coppy-all" has to be set in pfconfig if
you want to snoop your own traffic. So, if I understand correctly,

pfconfig +p	enables the PacketFilter to set promiscous mode
                (it has to be enabled explicitely by ifconfig)

pfconfig +c	enables copy-all mode, which is essential if you
           	want to snoop yourself.

I have tried this, but was unpatient. For some reason, I have a time
delay in operations when I try to snoop. I'll clarify. I've set the
following:

# pfconfig +p +c tu1
# ifconfig tu1 promisc
# tcpdump -i tu1 'port 143'

Then I started Netscape and connected to my IMAP server. There was a 10
second delay before tcpdump started printing output. After about 5
seconds Netscape made the connection. Like packets were buffered
internally and INet kernel subsystem was not getting them. This happens
only when tcpdump is active. And it only happens the first time, like it
has to "warm up", or something...

Any idea on these time delays?

Nix.
-- 
"/Earth is 98% full.  Please delete anyone you can."

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-11  5:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-11  5:58 SUMMARY: TCP dump Nikola Milutinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox