Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4409Themes and Skins13Add-ons763Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Other Tutorials And HOWTOs Nagios HTTP WARNING: HTTP/1.1 403 Forbidden
0.0 (0)
100.2K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)Marcin Bednarski (3)John Shorey (3)Davide Lemma (3)Chad Columbus (3)
See More
Newest Contributors
pawal (1)matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Thomas Guthmann
TG

Thomas Guthmann

@tguthmann

User Stats

Member Since: September 9, 2010

Favorites0

Views

Projects0

No Projects Found
check radius adv

random hash errors

Hi, Just a comment to say this plugin is great and easier to use than check_radius. However, we found a bug which happen once in a while (~1% of the time). The hash is empty. Indeed hash=0000000000000000. Why I really don't known... After adding more debug, I found the bug in this loop of fnGeneratePasswordHash: /* as long as the cipher block is valid, concatenate it onto our hash * password */ (while ((x rors by doing that. So if someone, smarter than me can fix this with more elegance. Feel free. In the mean time, applying the following patch assure that over 100k tests in a row, you don't have any errors like we had before. Thomas ----snip----snip----- --- check_radius_adv.c.ORI 2010-09-09 18:09:55.258325002 +1000 +++ check_radius_adv.c 2010-09-09 18:13:17.435608325 +1000 @@ -580,7 +580,7 @@ int fnGeneratePasswordHash(RADIUS_HEADER *radhead) { - unsigned char b[8][16], p[8][16], c[8][16]; + unsigned char b[8][16], p[8][16], c[8][16], hash[128]; unsigned char ssra[49]; int currlen = 0, pwlen = global.password.pw_clear[0], bpos = 0, ppos = 0, cpos = 0, x, sslen; @@ -588,6 +588,7 @@ memset(b,0,128); memset(p,0,128); memset(c,0,128); + memset(hash,0,128); memset(ssra,0,49); sslen = global.sharedsecret[0]; @@ -631,8 +632,10 @@ /* from 0 to 16, XOR the clear text password with the hashed * md5 output */ - for (x = 0; x

Reviewed 16 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile