handler

package
v0.0.0-...-549c736 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MAX_TIME_SHIFT = uint64(300)

Max time shift of 5 minutes

View Source
const M_FAILEDBUILDPROTO = "FAILED TO BUILD PROTO RESPONSE!"
View Source
const M_FAILEDDECRYPTAUTH = "FAILED TO DECRYPT AUTHENTICATOR!"
View Source
const M_FAILEDDECRYPTREQ = "FAILED TO DECRYPT REQUEST!"
View Source
const M_FAILEDDECRYPTST = "FAILED TO DECRYPT SERVICE TICKET!"
View Source
const M_FAILEDENCRYPTRES = "FAILED TO ENCRYPT RESPONSE!"
View Source
const M_HELPSTR = `
usage:
- up  userprincipal
- sp  serviceprincipal
- tl  ticketlifetime
- sh  sayhello
`
View Source
const M_NOTALLOWED = "YOUR NOT ALLOWED TO USE THIS TICKET FROM YOUR CURRENT IP ADDRESS!"
View Source
const M_STCORRUPTED = "SERVICE TICKET IS CORRUPTED! (WRONG USERPRINCIPAL or SERVICEPRINCIPAL)"
View Source
const M_STEXPIRED = "SERVICE TICKET HAS EXPIRED!"
View Source
const M_TIMEOUTOFSYNC = "INVALID TIMESTAMP! (CHECK IF YOUR TIME IS IN SYNC)"

Variables

This section is empty.

Functions

func HandleAPReq

func HandleAPReq(
	con *net.TCPConn,
	db *dataloader.Database,
	msg *message.AP_Request,
	errchan chan<- error)

func HandleSPNReq

func HandleSPNReq(
	con *net.TCPConn,
	db *dataloader.Database,
	errchan chan<- error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL