# PF\_RING on Packetbeat error

**URL:** <https://discuss.elastic.co/t/pf-ring-on-packetbeat-error/91356>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [June 30, 2017, 1:46am UTC](https://discuss.elastic.co/t/pf-ring-on-packetbeat-error/91356 "2017-06-30T01:46:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgyggi](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pgyggi](https://discuss.elastic.co/u/pgyggi)\
**Post date:** [June 30, 2017, 1:46am UTC](https://discuss.elastic.co/t/pf-ring-on-packetbeat-error/91356/1 "2017-06-30T01:46:00Z")

</div>

everybody,  
1、I want to use PF\_RING for Packetbeat and then install PF\_RING on my CentOS(1161 min),PF\_RING is work.  
see:  
[root@packetbeat packetbeat]# lsmod |grep pf\_ring  
pf\_ring 1234205 0  
2、 I clone the latest version beats from github,and with golang(version:1.8) to recompile it , compile successfully.but run ./packetbeat,it show error:panic: runtime error: cgo argument has Go pointer to Go pointer.  
3、i change the version of go (version:1.5),It cannot be recompiled ,show error:cannot find package "context" in any of:

so,i have no idea about how to user PF\_RING on packetbeat,anyone can help me?

thanks.

---

<div class="post-metadata">

**Author:** ![tudor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tudor/32/3753_2.png) [@tudor](https://discuss.elastic.co/u/tudor)\
**Post date:** [June 30, 2017, 9:45am UTC](https://discuss.elastic.co/t/pf-ring-on-packetbeat-error/91356/2 "2017-06-30T09:45:40Z")

</div>

We didn't test or maintain `pf_ring` for quite some time. Can you explain why you need it in your case? Versus using `af_packet`?

---

<div class="post-metadata">

**Author:** ![pgyggi](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pgyggi](https://discuss.elastic.co/u/pgyggi)\
**Post date:** [July 1, 2017, 8:02am UTC](https://discuss.elastic.co/t/pf-ring-on-packetbeat-error/91356/4 "2017-07-01T08:02:11Z")

</div>

thanks for your reply  
Now our bandwidth more than 10Gbit,so ,I don't know whether af\_packet lost packet or not.  
I saw pf\_ring can capture more than 10G .  
\_  
can you tell me what's the bandwidth that af\_packet can capture?

---

<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:** [July 29, 2017, 8:02am UTC](https://discuss.elastic.co/t/pf-ring-on-packetbeat-error/91356/5 "2017-07-29T08:02:19Z")

</div>

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