Wednesday, May 15, 2024

May 15 (Wed) – Network Monitoring #4

A short update on progress.

Yesterday evening I worked on the dns phone book piece. I don’t know what made me think that a ready-made parser was gonna make it easy to do. My bulb shines dimly these days, it seems.

.

All the parser does is remove some formatting from the json. The script needs to remove the rest of it until plain text is all that’s left. Then evaluate that.

.

The approach I tried last night wasn’t the best. I made five DNS lookups and ended up with a small pile of data that needed to be in an array of arrays in order to process. That was when I realized my approach wasn’t so good. I can re-use about two thirds of what I wrote so there’s that.

.

My approach should (and will) be: make one lookup and evaluate the result. A comprehensive test requires several lookups for high confidence, the script will do at least five. The test passes if they all pass, anything else is rubbish. Stay tuned.

Last 8 comments

Admin