Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368871 - =net-analyzer/w3af-1.0 Fails to execute tcpdump
Summary: =net-analyzer/w3af-1.0 Fails to execute tcpdump
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: montjoie
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-27 11:28 UTC by Agostino Sarubbo
Modified: 2011-06-03 06:43 UTC (History)
1 user (show)

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 Agostino Sarubbo gentoo-dev 2011-05-27 11:28:58 UTC
=net-analyzer/w3af-1.0 Fails to execute tcpdump


ago@devil ~ $ w3af_gui 
w3af is officially supported under Python 2.6
WARNING: IPv6 support disabled in Python. Cannot load scapy IPv6 layers.
Starting w3af, running on:
  Python version:
    2.7.1 (r271:86832, Mar 27 2011, 13:25:07) 
    [GCC 4.4.5]
  GTK version: 2.22.1
  PyGTK version: 2.22.0

w3af - Web Application Attack and Audit Framework
  Version: 1.0-stable-4286 (from tgz)
  Author: Andres Riancho and the w3af team.
WARNING: Failed to execute tcpdump. Check it is installed and in the PATH
WARNING: can't import layer sctp: can't use AF_INET6, IPv6 is disabled




ago@devil ~ $ eix -e tcpdump
[I] net-analyzer/tcpdump
     Available versions:  3.9.8 3.9.8-r1 ~4.0.1_pre20090709 ~4.1.1 {(+)chroot ipv6 (-)samba smi ssl suid test}
     Installed versions:  3.9.8-r1(19:27:54 21/03/2011)(ssl -chroot -ipv6 -samba)
     Homepage:            http://www.tcpdump.org/
     Description:         A Tool for network monitoring and data acquisition
Comment 1 montjoie 2011-05-27 12:03:36 UTC
I have "greped" w3af sources and don't found any link/use of tcpdump.
Perhaps could you give us more info (type of scan, etc...) for finding which dependency/plugin is trying to use tcpdump.
Comment 2 Agostino Sarubbo gentoo-dev 2011-05-27 12:19:05 UTC
you can see this warning only opening w3af
Comment 3 montjoie 2011-05-27 12:37:31 UTC
tcpdump is at /usr/sbin/tcpdump
Under gentoo within a normal user PATH dont contains /usr/sbin so w3af (seems to be scapy in fact) cant find it.

3 possibilitys
- Change your PATH (but as a normal user you can't use tcpdump)
- Run w3af as root (booh)
- Change your PATH and modify tcpdump to use caps for running it as a non-root user.