# x-depulso: capturing packets in Go to feed an ML traffic classifier

DevFeed: [x-depulso: capturing packets in Go to feed an ML traffic classifier](<https://devfeed.tech/articles/x-depulso-capturing-packets-in-go-to-feed-an-ml-traffic-classifier-34035.md>)

Original publisher: [Read original article](<https://andikaahmad.com/blog/x-depulso/>)

Published: 2021-07-25T00:00:00Z

Content type: article

Language: en

Sources: [Andika Ahmad Ramadhan -- Blog](<https://devfeed.tech/sources/andika-ahmad-ramadhan-blog.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Network](<https://devfeed.tech/topics/network.md>), [Machine Learning & Artificial Intelligence](<https://devfeed.tech/topics/machine-learning-artificial-intelligence.md>), [Kafka](<https://devfeed.tech/topics/kafka.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [go](<https://devfeed.tech/tags/go.md>), [java](<https://devfeed.tech/tags/java.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [network](<https://devfeed.tech/tags/network.md>), [programming](<https://devfeed.tech/tags/programming.md>)

## AI overview

This article describes x-depulso, a small Go sensor built for a university final project. It captures packets from a network interface, rotates them into bounded pcap files, sends each file through the Java-based CICFlowMeter to produce flow statistics, and streams those results to Kafka for machine-learning traffic classification.

## Source excerpt

x-depulso is a small Go sensor that rotates packet captures off a network interface and runs each file through CICFlowMeter, turning raw traffic into flow statistics for a machine-learning classifier. Built for my university final project, and my first real Go system programming.