# Af\_ Packet mode, local loopback data problem

**URL:** <https://discuss.elastic.co/t/af-packet-mode-local-loopback-data-problem/280335>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [August 3, 2021, 3:12pm UTC](https://discuss.elastic.co/t/af-packet-mode-local-loopback-data-problem/280335 "2021-08-03T15:12:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chinaxushi](https://avatars.discourse-cdn.com/v4/letter/c/51bf81/32.png) [@chinaxushi](https://discuss.elastic.co/u/chinaxushi)\
**Post date:** [August 3, 2021, 3:12pm UTC](https://discuss.elastic.co/t/af-packet-mode-local-loopback-data-problem/280335/1 "2021-08-03T15:12:26Z")

</div>

Turn on af\_packet, a large number of reconnections occur in the traffic sniffed by the local loop. If pcap is turned on, there is no problem. The following figure is a screenshot of the file with the command dump

```auto
./packetbeat run -dump ./123.cap

```

 ![微信截图_20210803230845](https://us1.discourse-cdn.com/elastic/original/3X/5/e/5e867a0a5b0ff0bc6358eff0f35ed65aeb29b8b9.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 31, 2021, 5:13pm UTC](https://discuss.elastic.co/t/af-packet-mode-local-loopback-data-problem/280335/2 "2021-08-31T17:13:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
