-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, IC1igo.

On Tuesday, May 25, 2010, IC1igo Ortiz wrote:

>> I'm trying to use tcpdump in OpenBSD 4.6 with a syntax similar to the
>> following:
>>
>> # tcpdump -vvv udp and port 5060 or portrange 10000-2000 -s0 \
>>  -i eht0 -w eavesdropping_ulaw.dump
>>
>> In this case, the interface is em0, but I see that with this tcpdump
>> version there is no parameter 'portrange'. I'm using a version
>> compiled with the source code obtained by anoncvs, because I wanted
>> to install with pkg_add but was not available. I tried as follows,
>> but without success:

> No pkg_add needed, its part of the base install:
> http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/tcpdump/

Hmmm... yes, when I got the sources using anoncvs, I saw the tcpdump
source in /usr/src/usr.sbin. I'm surprised it have not been available
before, then, since that is part of the base install.

>> # tcpdump -vv udp and port 5060 or "port >= 10000 and port <= 20000" -s0 \
>> > -i em0 -w eavesdropping_ulaw.dump
>> tcpdump: syntax error

> Also, does -s0 work on OpenBSD? I thought it was a GNU/Linux and
> FreeBSDish hack. On OpenBSD, shouldnt it manually be set to whatever
> your MTU is?

As I said to Philip, this does not work :(

Thanks for your reply.

Regards,
Daniel
iEYEARECAAYFAkv8Fe8ACgkQZpa/GxTmHTcSeACfTS2OnMof63NhEezYx6TEoJEZ
cfkAn3NgJ5pTQOsY/0dZJ9NyrHl5cKlc
=g5qw
-----END PGP SIGNATURE-----

Reply via email to