summaryrefslogtreecommitdiff
path: root/conf/packet_adapter.conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-08-09 18:47:16 +0800
committerluwenpeng <[email protected]>2023-08-10 18:31:38 +0800
commite34aa3f5e23d7fa0b95944269c499d5c1e7c23aa (patch)
treeaf0565991e01741c850d9479850fc58df6f9b509 /conf/packet_adapter.conf
parent1063574ca0d3fea91f26b8a6bd76a2d021efd822 (diff)
TSG-16531 PacketAdapter适配容器环境,使用mrzcpd收包,通过RAW Socket注RST包v2.0.0-20230810
Diffstat (limited to 'conf/packet_adapter.conf')
-rw-r--r--conf/packet_adapter.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/packet_adapter.conf b/conf/packet_adapter.conf
new file mode 100644
index 0000000..e220a7c
--- /dev/null
+++ b/conf/packet_adapter.conf
@@ -0,0 +1,18 @@
+[packet_io]
+thread_num=8
+cpu_mask=2,3,4-9
+rx_burst_max=128
+bypass_traffic=0
+app_symbol=packet_adapter
+app_device=eth_nf_packet_adapter
+
+[stat]
+output_file=log/packet_adapter.fs2
+statsd_server=127.0.0.1
+statsd_port=8100
+# 1 : FS_OUTPUT_STATSD
+# 2 : FS_OUTPUT_INFLUX_LINE
+statsd_format=1
+statsd_cycle=2
+prometheus_listen_port=9001
+prometheus_listen_url=/packet_adapter_prometheus \ No newline at end of file