Add notice about QUIC decryption

This commit is contained in:
emanuele-f 2024-01-28 21:47:12 +01:00
parent bb08878419
commit a0b5fd7196
2 changed files with 6 additions and 0 deletions

View File

@ -308,6 +308,11 @@ public class ConnectionOverview extends Fragment implements ConnectionDetailsAct
mError.setTextColor(ContextCompat.getColor(context, R.color.colorTabText));
mError.setText(R.string.decryption_info_no_rule);
mError.setVisibility(View.VISIBLE);
} else if((mConn.getDecryptionStatus() == ConnectionDescriptor.DecryptionStatus.NOT_DECRYPTABLE)
&& mConn.l7proto.equals("QUIC")) {
mError.setTextColor(ContextCompat.getColor(context, R.color.warning));
mError.setText(R.string.decrypt_quic_notice);
mError.setVisibility(View.VISIBLE);
} else
mError.setVisibility(View.GONE);
}

View File

@ -500,4 +500,5 @@
<string name="never">Never</string>
<string name="always">Always</string>
<string name="for_connections_to_decrypt">Only for connections to decrypt</string>
<string name="decrypt_quic_notice">Decrypting QUIC is currently not supported. As a workaround, stop the capture and select the option to block QUIC in the PCAPdroid settings</string>
</resources>