catgen_protocol - get the protocol for a session
#include <cat/gen.h>
int catgen_protocol(cat_session *sess);
This function determines the encryption protocol configured to be used by sess.
The return value indicates the encryption protocol in use. These can be the
following:
- CATGEN_PROTO_SSL
-
SSL v 3 protocol
- CATGEN_PROTO_DASP
-
DASP (ALLTAK/ALLTAAS)
- CATGEN_PROTO_PLAIN
-
No encryption protocol (plain pass-through proxy, used for testing
purposes).
- CATGEN_PROTO_UNKNOWN
-
The protocol is unknown or cannot be determined.
cat, catgen