Documentation
¶
Overview ¶
Copyright © 2024 Keytos [email protected]
Define EAP Codes ¶
Copyright © 2024 Keytos [email protected]
Define EAP datagram of the following format
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Code | Identifier | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Data ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Copyright © 2025 Keytos [email protected]
Define MD5-Challenge authentication session ¶
Copyright © 2024 Keytos [email protected]
Define MS-CHAPv2 authentication session ¶
Copyright © 2024 Keytos [email protected]
Define Protected EAP tunnel ¶
Copyright © 2024 Keytos [email protected]
Define EAP authentication session ¶
Copyright © 2024 Keytos [email protected]
Define TLS authentication session ¶
Copyright © 2024 Keytos [email protected]
Define Tunneled-TLS authentication session ¶
Copyright © 2024 Keytos [email protected]
Define Tunneled-TLS EAP tunnel ¶
Copyright © 2024 Keytos [email protected]
Define EAP Request/Response Types
Index ¶
- type Code
- type Content
- type Datagram
- type EapTunnel
- type Header
- type PEAP
- type Session
- type TLS
- func (tt *TLS) Authenticate(certpath, keyLogFilename string) error
- func (tt *TLS) Close() error
- func (tt *TLS) LocalAddr() net.Addr
- func (tt *TLS) Read(b []byte) (int, error)
- func (tt *TLS) RemoteAddr() net.Addr
- func (tt *TLS) SetDeadline(t time.Time) error
- func (tt *TLS) SetReadDeadline(t time.Time) error
- func (tt *TLS) SetWriteDeadline(t time.Time) error
- func (tt *TLS) Write(b []byte) (int, error)
- type TTLS
- type TtlsEAP
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datagram ¶
func (*Datagram) Deserialize ¶ added in v0.2.0
type PEAP ¶ added in v0.2.0
type PEAP struct {
*TLS
// contains filtered or unexported fields
}
func CreatePEAP ¶ added in v0.2.0
func (*PEAP) MaxDataSize ¶ added in v0.2.0
type Session ¶
type Session struct {
Tunnel EapTunnel
EAPSendStart bool
AnonymousUsername string
RecvKey, SendKey []byte
// contains filtered or unexported fields
}
func NewSession ¶
type TLS ¶
type TLS struct {
*Session
// contains filtered or unexported fields
}
func (*TLS) Authenticate ¶
func (*TLS) RemoteAddr ¶
type TTLS ¶ added in v0.2.0
type TTLS struct {
*TLS
// contains filtered or unexported fields
}
func CreateTTLS ¶ added in v0.2.0
type TtlsEAP ¶ added in v0.2.0
type TtlsEAP struct {
*TTLS
}
func CreateTtlsEAP ¶ added in v0.2.0
func (*TtlsEAP) MaxDataSize ¶ added in v0.2.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.