Ticket #3 (closed defect: fixed)

Opened 3 years ago

Last modified 18 months ago

Needs a valid capture device even when reading from file

Reported by: tibob Owned by: tibob
Priority: normal Milestone: 0.12.0
Component: configuration Version: trunk
Severity: normal Keywords:
Cc:

Description

IPFM cannot read a stream from file (as a normal user) when device has not been specified in ipfm.conf:

LOG
FILENAME "/tmp/ipfm-ping.txt"
NORESOLVE

Error message (debug enabled):

./ipfm -c ipfm-ping.conf -r ../../../flux/ping.cap
Starting IPFM
Command line parsed.
[pcap] pcap_lookupdev error: no suitable device found

Attachments

.2 (0 bytes) - added by anonymous 3 years ago.

Change History

Changed 3 years ago by tibob

  • status changed from new to assigned
  • version set to trunk
  • component changed from other to configuration

when a device is not specified, IPFM tries to get the default device from libpcap, which probably needs root permission. A test should be added.

Changed 3 years ago by tibob

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in [114].

Changed 3 years ago by anonymous

  • attachment .2 added

Add/Change #3 (Needs a valid capture device even when reading from file)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.