Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 19:44:18 +0100
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   tcpdump | grep pattern > capture   nothing got
Message-ID:  <528D0302.7090906@peterschmitt.fr>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--DLNf3sOgbH8ADJnpmfNiAMVPtolg7aqeK
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi,

I use FreeBSD 10.0-BETA3 amd64, upgraded from 9.2-RELEASE with
freebsd-update.

I was capturing with tcpdump and doing some grep on it:

# tcpdump -li nfe0 port 53 | grep Refused > capture.txt

I was surprised that capture.txt is totally empty. If I don't redirect
the output, then it writes what I need on stdout.

It's very very strange=85

--=20
Florent Peterschmitt           | Please:
florent@peterschmitt.fr        |  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92           |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)


--DLNf3sOgbH8ADJnpmfNiAMVPtolg7aqeK
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSjQMFAAoJEFr01BkajbiBKk0P/15Jl3OKh2UTBEqWphOtn91A
CYX+9LRB2I+1eH8J3o89RmyXwAY2dYCC9Q3aYHqc1jepb5P17kXDuh0GHA76V7EE
OqCJp/INHI0bw+xvOseSZXxGJnwNhHfF8Uu0PF7i/EY9ATILN91VmWWglBlJOt/K
jMVJ0dzLfg+a2dBeN67ehhL1sTDIG+yREztYUiNtqNUnuwp9MytOwI6jTXA415wk
veJfssU8olCVKugjSt/W/eOPV9OFj6dFANt/JACOC3VtiqFXqUPdVIJeno8wFEGi
Y9TWxu/LgVVFV5zy7ihYiyYThvNs4WAiDuw3yG/VhFPLFdF7hRZr7zaO5NuHc4DV
lp0WRGq+CkUyg7em0XNDhWFZIl8ZzHX4yfeJ1r5yTW1Syd2JaRSrmX+3Z4e5RdT/
zfF5hCiFKNbUlIBtGUcS6cGP+MeL5tDpAskAbDHtX3Z/x+OAwzdE4FaOkftFf6k8
k8QQN6TS3uSEShJY0Ji2rXtV0kYPEbnJfn9a6yuDp99+IIktvpiCN0mqw7jcDe8j
PmtS1FBN6tdQf1Uo8y47jNsLEqpayJ1c8vcpU4GdVJLEhM1TCVDXToSnQkMfsh1e
7HcNc5gN38ou0/UjS94Q/W3O+LshmRdvkSMgm03qWeDTtLV1FShUvRrBPMBUuswq
1D0ORROXfXIoCLmdYBqx
=908R
-----END PGP SIGNATURE-----

--DLNf3sOgbH8ADJnpmfNiAMVPtolg7aqeK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528D0302.7090906>