changed ranking of warnings
@@ -602,6 +602,24 @@ if(taglenerrorcount > 0) printf("IE TAG length error (malformed packets)..: %ld
if(essiderrorcount > 0) printf("ESSID error (malformed packets)..........: %ld\n", essiderrorcount);
eapolmsgerrorcount = eapolmsgerrorcount +eapolm1errorcount +eapolm2errorcount +eapolm3errorcount +eapolm4errorcount;
if(eapolmsgerrorcount > 0) printf("EAPOL messages (malformed packets).......: %ld\n", eapolmsgerrorcount);
+
+if(sequenceerrorcount > 0)
+ {
+ printf("\nWarning: out of sequence timestamps!\n"
+ "This dump file contains frames with out of sequence timestamps.\n");
+ }
+if(zeroedtimestampcount > 0)
+ {
+ printf("\nWarning: missing timestamps!\n"
+ "This dump file contains frames with zeroed timestamps.\n"
+ "That prevent calculation of EAPOL TIMEOUT values.\n");
+ }
+if(eapolmsgtimestamperrorcount > 0)
+ {
+ printf("\nWarning: wrong timestamps!\n"
+ "This dump file contains frames with wrong timestamps.\n"
+ "That prevent calculation of EAPOL TIMEOUT values.\n");
+ }
if(malformedcount > 10)
{
printf( "\nWarning: malformed packets detected!\n"
@@ -611,7 +629,6 @@ if(malformedcount > 10)
"a bit error in the payload it can lead to unexpected results.\n"
"Please analyze the dump file with Wireshark.\n");
}
-
if((authenticationcount +associationrequestcount +reassociationrequestcount) == 0)
{
printf("\nWarning: missing frames!\n"
@@ -621,7 +638,6 @@ if((authenticationcount +associationrequestcount +reassociationrequestcount) ==
"it could happen if filter options are used during capturing.\n"
"That makes it hard to recover the PSK.\n");
}
-
if(proberequestcount == 0)
{
printf("\nWarning: missing frames!\n"
@@ -631,7 +647,6 @@ if(proberequestcount == 0)
"it could happen if filter options are used during capturing.\n"
"That makes it hard to recover the PSK.\n");
}
-
if(eapolm1ancount <= 1)
{
printf("\nWarning: missing frames!\n"
@@ -640,23 +655,6 @@ if(eapolm1ancount <= 1)
"it could happen if filter options are used during capturing.\n"
"That makes it impossible to calculate nonce-error-correction values.\n");
}
-if(sequenceerrorcount > 0)
- {
- printf("\nWarning: out of sequence timestamps!\n"
- "This dump file contains frames with out of sequence timestamps.\n");
- }
-if(zeroedtimestampcount > 0)
- {
- printf("\nWarning: missing timestamps!\n"
- "This dump file contains frames with zeroed timestamps.\n"
- "That prevent calculation of EAPOL TIMEOUT values.\n");
- }
-if(eapolmsgtimestamperrorcount > 0)
- {
- printf("\nWarning: wrong timestamps!\n"
- "This dump file contains frames with wrong timestamps.\n"
- "That prevent calculation of EAPOL TIMEOUT values.\n");
- }
printf("\n");
return;
}
