Welcome, Guest. Please login or register.
Did you miss your activation email?
Friday 15 November 2024, 06:05:54 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14255 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  tpcdump stops with 'permission denied' error when dumping to multiple files
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: tpcdump stops with 'permission denied' error when dumping to multiple files  (Read 9763 times)
sawilla
Full Member
***
Offline Offline

Posts: 12


« on: Saturday 18 December 2010, 11:26:00 am »

The issue I'm having with tcpdump is identical to an issue addressed in a CentOS bug report so I'm copying the description here and providing a link in case it helps with fixing the problem.

http://bugs.centos.org/view.php?id=1570

tcpdump (14:3.8.2-10.RHEL4) on CentOS 4.4 i386 used with -C and -W switches like so: tcpdump -e -i eth0 -n -s 1518 -vv -C 1 -W 1000 -w trace.cap should generate trace.cap000, trace.cap001 and so on.

However, when the second file needs to be created, tcpdump stops with a 'permission denied' error, even when run as root in /root.

Logged
sawilla
Full Member
***
Offline Offline

Posts: 12


« Reply #1 on: Saturday 18 December 2010, 12:00:04 pm »

I found out this issue can be solved by writing the capture files to a directory that the 'pcap' user owns.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.031 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com