Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105197 - "tcpdump -ni any" it's not working
Summary: "tcpdump -ni any" it's not working
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 16:54 UTC by Claudiu Gafton
Modified: 2005-11-12 20:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudiu Gafton 2005-09-07 16:54:36 UTC
After I upgraded to gentoo-sources-2.6.13, "tcpdump -ni any host x.x.x.x" does 
not work anymore !!

Reproducible: Always
Steps to Reproduce:
1. Upgrade to gentoo-sources-2.6.13
2. tcpdump -ni any icmp
3. NO output ..... ? :(

Actual Results:  
NO output!
access-gw ~ # tcpdump -niany icmp
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes

0 packets captured
1 packets received by filter
0 packets dropped by kernel



access-gw ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 
2.6.13-gentoog1 i686)
=================================================================
System uname: 2.6.13-gentoog1 i686 Intel(R) XEON(TM) CPU 2.20GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -msse2 -O3 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -msse2 -O3 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 alsa crypt eds fortran gdbm gif gstreamer ipv6 jpeg libwww mmx mp3 
ncurses nls nptl nptlonly ogg oss pam perl png python readline snmp spell sse 
ssl tcpd truetype vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Marco Morales 2005-10-31 23:37:36 UTC
here it works:

Evax86 ~ # uname -a
Linux Evax86 2.6.13-gentoo-r5 #1 SMP Sun Oct 30 00:15:01 GMT 2005 i686 Intel(R)
Pentium(R) 4 CPU 2.00GHz GenuineIntel GNU/Linux
Evax86 ~ # tcpdump -ni any icmp
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
00:54:41.389246 IP 192.168.1.153 > 192.168.1.122: icmp 64: echo request seq 33
00:54:41.389650 IP 192.168.1.122 > 192.168.1.153: icmp 64: echo reply seq 33
00:54:42.283015 IP 192.168.1.153 > 192.168.1.122: icmp 64: echo request seq 34
00:54:42.283074 IP 192.168.1.122 > 192.168.1.153: icmp 64: echo reply seq 34

4 packets captured
8 packets received by filter
0 packets dropped by kernel

--------

Do you still have the problem? could you give us more details?
Comment 2 Marco Morales 2005-11-12 20:01:51 UTC
Please reopen it if you could give us more info.