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

          How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

          Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?