--------------------- PatchSet 11994 Date: 2008/03/17 23:33:32 Author: hno Branch: SQUID_2_6 Tag: (none) Log: Author: Massimo Zito squid_radius_auth failed to process more than 256 requests The radius request-id field is a unsigned char, but the internal request_id counter was a integer causing mismatch after 256 queries. Members: helpers/basic_auth/squid_radius_auth/Changelog:1.1.2.1->1.1.2.2 helpers/basic_auth/squid_radius_auth/squid_rad_auth.c:1.2.2.1->1.2.2.2 Index: squid/helpers/basic_auth/squid_radius_auth/Changelog =================================================================== RCS file: /cvsroot/squid/squid/helpers/basic_auth/squid_radius_auth/Changelog,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- squid/helpers/basic_auth/squid_radius_auth/Changelog 26 Nov 2007 13:37:38 -0000 1.1.2.1 +++ squid/helpers/basic_auth/squid_radius_auth/Changelog 17 Mar 2008 23:33:32 -0000 1.1.2.2 @@ -1,3 +1,6 @@ +1.10: - Fix processing of more than 256 queries + - Send a dummy NAS-Port-Type attribute + - Documentation cleanup 1.09: - RADIUS protocol fixes by Henrik Nordstrom - Corrected how retransmits & timeouts is handled - The shared secret now verified properly Index: squid/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c =================================================================== RCS file: /cvsroot/squid/squid/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -u -r1.2.2.1 -r1.2.2.2 --- squid/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c 26 Nov 2007 11:18:47 -0000 1.2.2.1 +++ squid/helpers/basic_auth/squid_radius_auth/squid_rad_auth.c 17 Mar 2008 23:33:32 -0000 1.2.2.2 @@ -105,7 +105,7 @@ static char *send_buffer = (char *) i_send_buffer; static char *recv_buffer = (char *) i_recv_buffer; static int sockfd; -static int request_id; +static u_char request_id; static char vector[AUTH_VECTOR_LEN]; static char secretkey[MAXPASS + 1] = ""; static char server[MAXLINE] = "";