Skip to main content

Module admission

Module admission 

Source

Structsยง

PreAuthWebSocketAdmission ๐Ÿ”’
PreAuthWebSocketPermit ๐Ÿ”’
holds global and origin pre-auth capacity until authentication releases it or the upgraded socket is dropped
RejectionLogBudget ๐Ÿ”’

Enumsยง

PreAuthWebSocketAdmissionRejection ๐Ÿ”’

Constantsยง

REJECTION_LOG_BURST ๐Ÿ”’
REJECTION_LOG_INTERVAL ๐Ÿ”’

Staticsยง

REJECTION_LOG_BUDGET ๐Ÿ”’

Functionsยง

admit_rejection_log ๐Ÿ”’
Reserves one rejection log and returns the count suppressed since the last log.
lock_origins ๐Ÿ”’
origin_bucket ๐Ÿ”’
One IPv6 /64 shares a bucket so rotating interface addresses cannot evade admission. IPv4-mapped IPv6 shares the IPv4 bucket (RFC 4291 section 2.5.5.2).