Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2653] New: Capture stops if interface goes down

Date: Sat, 28 Jun 2008 08:25:51 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2653

           Summary: Capture stops if interface goes down
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: petr.bug@xxxxxxxxx


Build Information:
Version 0.99.6

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.0, with GLib 2.14.1, with libpcap 0.9.7, with libz
1.2.3.3, with libpcre 7.4, without Net-SNMP, with ADNS, without Lua, with
GnuTLS
1.6.3, with Gcrypt 1.2.4, with MIT Kerberos, with PortAudio <= V18, without
AirPcap.

Running on Linux 2.6.22-14-generic, with libpcap version 0.9.7.

Built using gcc 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2).

--
Steps to reproduce:
1) Start capturing packets
2) Do "sudo ifconfig eth0 down" (or alternatively "sudo /etc/init.d/networking
restart")
3) Wireshark stops capturing and displays this messagebox:

"Error while capturing packets: recvfrom: Network is down
Please report this to the Wireshark developers.  (This is not a crash;
please do not report it as such.)"

Expected behavior:
Wireshark will continue capturing packets that arrive while the interface does
not have IPv4 address.

Motivation: Allow debugging DHCP client problems.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.