ARP transmission delays promiscuous capture (libpcap/wireshark)Wireshark localhost traffic captureWhy libpcap captures incomplete packets?Capturing mobile phone traffic on WiresharkLibpcap does not capture whole packetDisplay packet's detail using libpcap like WiresharkDifferent order of packets in Wireshark vs tcpdump/libpcap?How to install wireshark by yum but depend libpcap which is build installSet timeout to unresponded hosts in ARP request with libpcapRTP Packet Loss with Freeswitch in Default Mode for a Video CallAdditional byte (0x00) arbitrarily added to the end Ethernet frames sent from Virtualbox VM

Adding things to bunches of things vs multiplication

Tabularx with hline and overrightarrow vertical spacing

Just one file echoed from an array of files

Meaning and structure of headline "Hair it is: A List of ..."

Atmospheric methane to carbon

What are these protruding elements from SU-27's tail?

Uploaded homemade mp3 to icloud music library, now "not available in my country or region"

Can others monetize my project with GPLv3?

How can I train a replacement without them knowing?

Why did St. Jerome use "virago" in Gen. 2:23?

Chess software to analyze games

Why do aircraft leave cruising altitude long before landing just to circle?

Are unaudited server logs admissible in a court of law?

How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1?

Check disk usage of files returned with spaces

Control GPIO pins from C

Radix2 Fast Fourier Transform implemented in C++

Is there a commercial liquid with refractive index greater than n=2?

Starships without computers?

My new Acer Aspire 7 doesn't have a Legacy Boot option, what can I do to get it?

Can I submit a paper computer science conference using an alias if using my real name can cause legal trouble in my original country

Does the Temple of the Gods spell nullify critical hits?

Rotate List by K places

Earliest evidence of objects intended for future archaeologists?



ARP transmission delays promiscuous capture (libpcap/wireshark)


Wireshark localhost traffic captureWhy libpcap captures incomplete packets?Capturing mobile phone traffic on WiresharkLibpcap does not capture whole packetDisplay packet's detail using libpcap like WiresharkDifferent order of packets in Wireshark vs tcpdump/libpcap?How to install wireshark by yum but depend libpcap which is build installSet timeout to unresponded hosts in ARP request with libpcapRTP Packet Loss with Freeswitch in Default Mode for a Video CallAdditional byte (0x00) arbitrarily added to the end Ethernet frames sent from Virtualbox VM






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have two machines: TX and RX. RX runs a libpcap application to sniff out and receive traffic on a dedicated ethernet port.



TX transmits a continuous stream of UDP packets holding MPEG-TS.



Whether using the libpcap app or wireshark, every once in a while there is gap between received packets of almost 1 second.



I've tracked this down to something to do with ARP.



TX Machine



Running wireshark on the sender shows packets being sent at regular intervals:
TX Wireshark Dump



RX Machine



Here's what wireshark shows on the receiver:



RX Wireshark Dump



There is a 999ms gap in receiving the two packets just before the ICMP packet sent by the receiver.



The time gap is very consistent and presents with both Wireshark and compiled libpcap app written in C++. Time gap always just before ICMP is sent by RX.



The receiver must be fully promiscuous and faithfully capture and report what's on the wire.



Disabling the ICMP port unreachable messages by setting arp_ignore is not a solution; the sender cannot send any data without knowing the MAC address of RX.



Is this a problem with libpcap?



This seems like purely a receiver-side issue but much searching has not come up with any solution.



I need a faithful capture from the wire. Something to modify somewhere?



Reference



The libpcap app is using the latest version, 1.9.0. Wireshark says:




Running on Linux 4.4.127-1.el6.elrepo.i686, with locale en_US.UTF-8,
with libpcap version 1.9.0-PRE-GIT (with TPACKET_V3), with libz 1.2.3,
GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.











share|improve this question






























    0















    I have two machines: TX and RX. RX runs a libpcap application to sniff out and receive traffic on a dedicated ethernet port.



    TX transmits a continuous stream of UDP packets holding MPEG-TS.



    Whether using the libpcap app or wireshark, every once in a while there is gap between received packets of almost 1 second.



    I've tracked this down to something to do with ARP.



    TX Machine



    Running wireshark on the sender shows packets being sent at regular intervals:
    TX Wireshark Dump



    RX Machine



    Here's what wireshark shows on the receiver:



    RX Wireshark Dump



    There is a 999ms gap in receiving the two packets just before the ICMP packet sent by the receiver.



    The time gap is very consistent and presents with both Wireshark and compiled libpcap app written in C++. Time gap always just before ICMP is sent by RX.



    The receiver must be fully promiscuous and faithfully capture and report what's on the wire.



    Disabling the ICMP port unreachable messages by setting arp_ignore is not a solution; the sender cannot send any data without knowing the MAC address of RX.



    Is this a problem with libpcap?



    This seems like purely a receiver-side issue but much searching has not come up with any solution.



    I need a faithful capture from the wire. Something to modify somewhere?



    Reference



    The libpcap app is using the latest version, 1.9.0. Wireshark says:




    Running on Linux 4.4.127-1.el6.elrepo.i686, with locale en_US.UTF-8,
    with libpcap version 1.9.0-PRE-GIT (with TPACKET_V3), with libz 1.2.3,
    GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.











    share|improve this question


























      0












      0








      0








      I have two machines: TX and RX. RX runs a libpcap application to sniff out and receive traffic on a dedicated ethernet port.



      TX transmits a continuous stream of UDP packets holding MPEG-TS.



      Whether using the libpcap app or wireshark, every once in a while there is gap between received packets of almost 1 second.



      I've tracked this down to something to do with ARP.



      TX Machine



      Running wireshark on the sender shows packets being sent at regular intervals:
      TX Wireshark Dump



      RX Machine



      Here's what wireshark shows on the receiver:



      RX Wireshark Dump



      There is a 999ms gap in receiving the two packets just before the ICMP packet sent by the receiver.



      The time gap is very consistent and presents with both Wireshark and compiled libpcap app written in C++. Time gap always just before ICMP is sent by RX.



      The receiver must be fully promiscuous and faithfully capture and report what's on the wire.



      Disabling the ICMP port unreachable messages by setting arp_ignore is not a solution; the sender cannot send any data without knowing the MAC address of RX.



      Is this a problem with libpcap?



      This seems like purely a receiver-side issue but much searching has not come up with any solution.



      I need a faithful capture from the wire. Something to modify somewhere?



      Reference



      The libpcap app is using the latest version, 1.9.0. Wireshark says:




      Running on Linux 4.4.127-1.el6.elrepo.i686, with locale en_US.UTF-8,
      with libpcap version 1.9.0-PRE-GIT (with TPACKET_V3), with libz 1.2.3,
      GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.











      share|improve this question














      I have two machines: TX and RX. RX runs a libpcap application to sniff out and receive traffic on a dedicated ethernet port.



      TX transmits a continuous stream of UDP packets holding MPEG-TS.



      Whether using the libpcap app or wireshark, every once in a while there is gap between received packets of almost 1 second.



      I've tracked this down to something to do with ARP.



      TX Machine



      Running wireshark on the sender shows packets being sent at regular intervals:
      TX Wireshark Dump



      RX Machine



      Here's what wireshark shows on the receiver:



      RX Wireshark Dump



      There is a 999ms gap in receiving the two packets just before the ICMP packet sent by the receiver.



      The time gap is very consistent and presents with both Wireshark and compiled libpcap app written in C++. Time gap always just before ICMP is sent by RX.



      The receiver must be fully promiscuous and faithfully capture and report what's on the wire.



      Disabling the ICMP port unreachable messages by setting arp_ignore is not a solution; the sender cannot send any data without knowing the MAC address of RX.



      Is this a problem with libpcap?



      This seems like purely a receiver-side issue but much searching has not come up with any solution.



      I need a faithful capture from the wire. Something to modify somewhere?



      Reference



      The libpcap app is using the latest version, 1.9.0. Wireshark says:




      Running on Linux 4.4.127-1.el6.elrepo.i686, with locale en_US.UTF-8,
      with libpcap version 1.9.0-PRE-GIT (with TPACKET_V3), with libz 1.2.3,
      GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.








      network-programming wireshark libpcap






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 27 at 13:50









      DannyDanny

      1,0541 gold badge15 silver badges25 bronze badges




      1,0541 gold badge15 silver badges25 bronze badges

























          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55378868%2farp-transmission-delays-promiscuous-capture-libpcap-wireshark%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55378868%2farp-transmission-delays-promiscuous-capture-libpcap-wireshark%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript