Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] tcpdump doesn't produce a pcap file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Thu Mar 28, 2013 7:08 pm    Post subject: [solved] tcpdump doesn't produce a pcap file Reply with quote

Code:
# tcpdump -w test.pcap -i ppp0 -c 2
tcpdump: listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
2 packets captured
6 packets received by filter
0 packets dropped by kernel


# ls -l
total 0

# eix -I tcpdump
[I] net-analyzer/tcpdump
     Available versions:  3.9.8 3.9.8-r1 ~4.1.1 ~4.2.0 ~4.2.1 4.3.0 {(+)chroot ipv6 (-)samba smi ssl suid test}
     Installed versions:  4.3.0(07:39:32 PM 02/01/2013)(chroot ipv6 ssl test -samba -smi -suid)
     Homepage:            http://www.tcpdump.org/
     Description:         A Tool for network monitoring and data acquisition

What I'm missing ?

Last edited by toralf on Thu Mar 28, 2013 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Thu Mar 28, 2013 7:29 pm    Post subject: Reply with quote

chroot on? Look in /var/lib/tcpdump. Wasn't aware of this feature until now.
_________________
Death by snoo-snoo!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Thu Mar 28, 2013 8:11 pm    Post subject: Reply with quote

papahuhn wrote:
Look in /var/lib/tcpdump.
gah - does the man page mentioned this location ?
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Thu Mar 28, 2013 8:45 pm    Post subject: Reply with quote

No, I strace'd it.
_________________
Death by snoo-snoo!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Thu Mar 28, 2013 8:53 pm    Post subject: Reply with quote

papahuhn wrote:
No, I strace'd it.
:-D thx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum