connclass: cidr/parent/port/limit/globalmax + hashed/trusted-cert passwords, per-class recvq/sendq + fakelag, and rfc1413 ident
This commit is contained in:
parent
f5f888dbaa
commit
f371ed0a18
14 changed files with 842 additions and 126 deletions
|
|
@ -290,8 +290,10 @@ pub struct User {
|
|||
pub account: Option<String>, // logged-in account name (set by services)
|
||||
pub signon: u64, // unix secs at registration (WHOIS 317)
|
||||
pub addr: SocketAddr,
|
||||
pub port: u16, // listener port the client connected to (connectclass port=, ident)
|
||||
pub registered: bool,
|
||||
pub dns_pending: bool, // holding registration for a reverse-DNS lookup
|
||||
pub ident_pending: bool, // holding registration for an ident (RFC1413) lookup
|
||||
pub waitpong: Option<String>, // conn_waitpong: cookie the client must PONG before registering
|
||||
pub class: Option<String>, // connectclass: assigned connection class name
|
||||
pub pass: Option<String>, // password sent via PASS (for connectclass passwords)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue