[Nagiosplug-devel] check_nrpe.c, randomize_buffer
jannhorn at googlemail.com
Fri Oct 1 23:30:58 CEST 2010
today I looked into the source of the check_nrpe plugin and found this
(file check_nrpe.c, line 186, plugin last modified 03-10-2008 (latest
one I was able to find on sourceforge)):
/* clear the packet buffer */
/* fill the packet with semi-random data */
I've got two questions about this. First one, why does send_packet get
cleared before getting filled with random data? And why does the
remaining space in the buffer have to be filled with random data?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
More information about the Devel