<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>packages on Yacin Nadji, Ph.D.</title><link>https://yacin.nadji.us/tags/packages/</link><description>Recent content in packages on Yacin Nadji, Ph.D.</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sun, 23 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://yacin.nadji.us/tags/packages/index.xml" rel="self" type="application/rss+xml"/><item><title>The Cure for Exceptional Zeek Package Testing (Part 1)</title><link>https://yacin.nadji.us/posts/2026/08/the-cure-for-exceptional-zeek-package-testing-part-1/</link><pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate><guid>https://yacin.nadji.us/posts/2026/08/the-cure-for-exceptional-zeek-package-testing-part-1/</guid><description>This article was originally posted on Zeek&amp;rsquo;s blog.
Introduction As someone who ships a lot of Zeek packages to production, I&amp;rsquo;m always looking for ways to improve package testing. In the common, simple case, you have a small PCAP that exercises the behavior you need to generate your log or Notice and you can write a simple btest for it. But what if our case isn&amp;rsquo;t so simple? Perhaps a PCAP isn&amp;rsquo;t available or cannot be shared.</description></item><item><title>The Cure for Exceptional Zeek Package Testing (Part 2)</title><link>https://yacin.nadji.us/posts/2026/08/the-cure-for-exceptional-zeek-package-testing-part-2/</link><pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate><guid>https://yacin.nadji.us/posts/2026/08/the-cure-for-exceptional-zeek-package-testing-part-2/</guid><description>This article was originally posted on Zeek&amp;rsquo;s blog.
Introduction In the previous blog in our series, we presented our motivational package, ip-distance, and how you can easily write unit tests with BTest. This works great for smaller auxiliary functions that aren&amp;rsquo;t necessary driven by network traffic, but what if a PCAP to drive our tests isn&amp;rsquo;t available or can&amp;rsquo;t be shared along with the code? In this part of the blog series, we&amp;rsquo;ll cover #2 and #3 in the list below:</description></item><item><title>The Cure for Exceptional Zeek Package Testing (Part 3)</title><link>https://yacin.nadji.us/posts/2026/08/the-cure-for-exceptional-zeek-package-testing-part-3/</link><pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate><guid>https://yacin.nadji.us/posts/2026/08/the-cure-for-exceptional-zeek-package-testing-part-3/</guid><description>This article was originally posted on Zeek&amp;rsquo;s blog.
Introduction Back in Part 1 and Part 2, we presented our motivational package, ip-distance, how you can easily write unit tests in BTest, and how you can generate events—either by hand or through Zeek&amp;rsquo;s event tracing utility—to test your Zeek content. However, there&amp;rsquo;s another case I&amp;rsquo;d like to cover where you can use Zeek&amp;rsquo;s ability to read its own logs using the Input framework to exercise your package&amp;rsquo;s functionality.</description></item></channel></rss>