In the previous post, we saw how to write a simple script to “fuzz” the Version field in the packet headers of a BGP Open message. Now, how do we make sure it does the right thing without visually inspecting every packet?
Fuzzing BGP with Node.js

Computer programs are seldom (never?) bug-free. After more than a few lines of code, it can be difficult to verify that a program or network service will always behave predictably, especially if given spurious input. Sometimes the best way to shake out the bugs is to seriously mistreat your code. Enter a technique called “fuzzing”.