Changeset 974:2091bf698fb1 in freeDiameter for extensions/app_diameap
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- extensions/app_diameap
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_diameap/diameap.l
- Property exe deleted
-
extensions/app_diameap/diameap.y
r565 r974 124 124 if (fl == NULL) { 125 125 int ret = errno; 126 TRACE_DEBUG(INFO, "Unable to open %s plugin file %s for reading: %s \n", $3, infile, strerror(ret));126 TRACE_DEBUG(INFO, "Unable to open %s plugin file %s for reading: %s", $3, infile, strerror(ret)); 127 127 yyerror (&yylloc, config, "Error adding EAP Plugin"); 128 128 YYERROR; -
extensions/app_diameap/diameap_eap.c
- Property exe deleted
-
extensions/app_diameap/diameap_eap.h
- Property exe deleted
-
extensions/app_diameap/diameap_eappacket.c
r425 r974 186 186 return; 187 187 188 fd_log_debug("------------- Dump EAP Packet------------- \n");188 fd_log_debug("------------- Dump EAP Packet-------------"); 189 189 int i; 190 190 fd_log_debug("\t -Code : "); … … 194 194 { 195 195 case 1: 196 fd_log_debug("Request \n");196 fd_log_debug("Request"); 197 197 break; 198 198 case 2: 199 fd_log_debug("Response \n");199 fd_log_debug("Response"); 200 200 break; 201 201 case 3: 202 fd_log_debug("Success \n");202 fd_log_debug("Success"); 203 203 break; 204 204 case 4: 205 fd_log_debug("Failure \n");205 fd_log_debug("Failure"); 206 206 break; 207 207 default: 208 fd_log_debug("Error (EAP Code value [%d] not allowed) \n",code);208 fd_log_debug("Error (EAP Code value [%d] not allowed)",code); 209 209 break; 210 210 } 211 211 u8 id; 212 212 CHECK_FCT_DO(diameap_eap_get_identifier(eappacket,&id),return); 213 fd_log_debug("\t -Identifier : %x \n", id);213 fd_log_debug("\t -Identifier : %x ", id); 214 214 u16 length; 215 215 CHECK_FCT_DO(diameap_eap_get_length(eappacket,&length),return); 216 fd_log_debug("\t -Length : %d \n", (unsigned int)length);216 fd_log_debug("\t -Length : %d ", (unsigned int)length); 217 217 if (eappacket.length > 4) 218 218 { 219 219 eap_type type; 220 220 CHECK_FCT_DO(diameap_eap_get_type(eappacket,&type),return); 221 fd_log_debug("\t -Type : %d \n", type);221 fd_log_debug("\t -Type : %d ", type); 222 222 } 223 223 if (eappacket.length > 5) 224 224 { 225 fd_log_debug("\t -Data : "); 225 char buf[1024]; 226 snprintf(buf, sizeof(buf), "\t -Data : "); 226 227 for (i = 5; i < eappacket.length && i < 30; i++) 227 228 { 228 fd_log_debug("%02x ", G8(eappacket.data + i));229 snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), "%02x ", G8(eappacket.data + i)); 229 230 } 230 231 if(i+1<eappacket.length) 231 fd_log_debug("[...] (len=%d)",(unsigned int) length);232 fd_log_debug(" \n");233 } 234 fd_log_debug("-------------End Dump EAP Packet------------- \n");232 snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), "[...] (len=%d)",(unsigned int) length); 233 fd_log_debug("%s", buf); 234 } 235 fd_log_debug("-------------End Dump EAP Packet-------------"); 235 236 } 236 237 -
extensions/app_diameap/diameap_init.c
r565 r974 368 368 return; 369 369 370 fd_log_debug( 371 "-------- DiamEAP extension : Configuration parameters (Dump) -------------\n"); 372 fd_log_debug("\t-Configuration file.....: %s\n", diameap_config->conffile); 373 fd_log_debug("\t-EAP Application Id.....: %u\n", 370 fd_log_debug("-------- DiamEAP extension : Configuration parameters (Dump) -------------"); 371 fd_log_debug("\t-Configuration file.....: %s", diameap_config->conffile); 372 fd_log_debug("\t-EAP Application Id.....: %u", 374 373 diameap_config->application_id); 375 fd_log_debug("\t-EAP Application Command: %u \n",374 fd_log_debug("\t-EAP Application Command: %u", 376 375 diameap_config->command_code); 377 fd_log_debug("\t-EAP Application Vendor.: %u \n", diameap_config->vendor_id);378 fd_log_debug("\t-Max invalid EAP packets: %u \n", diameap_config->max_invalid_eap_packet);379 fd_log_debug("\t-Multi-Round Timeout....: %u \n", diameap_config->multi_round_time_out);376 fd_log_debug("\t-EAP Application Vendor.: %u", diameap_config->vendor_id); 377 fd_log_debug("\t-Max invalid EAP packets: %u", diameap_config->max_invalid_eap_packet); 378 fd_log_debug("\t-Multi-Round Timeout....: %u", diameap_config->multi_round_time_out); 380 379 if (diameap_config->db.user) 381 380 { 382 fd_log_debug("\t-MySQL Database Params..: \n\t\tUser .......:%s\n",383 384 fd_log_debug("\t\tServer .....:%s \n", diameap_config->db.server);385 fd_log_debug("\t\tDatabase....:%s \n", diameap_config->db.database);386 } 387 388 fd_log_debug("\t-EAP Method Plugins.....: \n");381 fd_log_debug("\t-MySQL Database Params..:"); 382 fd_log_debug("\t\tUser .......:%s", diameap_config->db.user); 383 fd_log_debug("\t\tServer .....:%s", diameap_config->db.server); 384 fd_log_debug("\t\tDatabase....:%s", diameap_config->db.database); 385 } 386 387 fd_log_debug("\t-EAP Method Plugins.....: "); 389 388 diameap_plugin_dump(); 390 389 391 fd_log_debug( 392 "-------- DiamEAP extension : Configuration parameters (End) ---------------\n"); 390 fd_log_debug("-------- DiamEAP extension : Configuration parameters (End) ---------------"); 393 391 } 394 392 -
extensions/app_diameap/diameap_plugins.c
r610 r974 76 76 { 77 77 struct plugin * plugin = (struct plugin *) pl; 78 fd_log_debug("\t\t - %s plugin \t [Type: %i, Vendor: %i] %sloaded \n", plugin->methodname,78 fd_log_debug("\t\t - %s plugin \t [Type: %i, Vendor: %i] %sloaded", plugin->methodname, 79 79 plugin->methodtype,plugin->vendor, plugin->handler ? "" : "not "); 80 80 } -
extensions/app_diameap/plugins.h
- Property exe deleted
-
extensions/app_diameap/plugins/eap_identity/eap_identity.c
- Property exe deleted
-
extensions/app_diameap/plugins/eap_tls/eaptls.l
- Property exe deleted
-
extensions/app_diameap/plugins/eap_tls/eaptls.y
- Property exe deleted
Note: See TracChangeset
for help on using the changeset viewer.