Simple DNS Sniffer in GoLang

Golang makes it really simple to code some otherwise arduous tasks. In this case, we needed to sniff raw network data, filter out DNS data, and send the DNS queries and responses to an Elasticsearch cluster. The resulting code is surprisingly simple thanks to libraries such as GoPacket, as you can see below: The … Continue reading Simple DNS Sniffer in GoLang

Practical embedding in GoLang

Eric Urban has written a phenomenal blog post about embedding in Golang: Embedding in Golang is an important concept to  grasp, especially when coming from an object-oriented paradigm, since as Eric describes, embedding in Golang is superficially similar to OO's inheritance concept. I came across a practical need for doing this when dealing with … Continue reading Practical embedding in GoLang