Jeremy Latt
e15f47c766
move to channel-based logging
hace 10 años
Jeremy Latt
77d053ccac
get rid of editableCommand
hace 10 años
Jeremy Latt
f56db354ee
fix client auth for no password
All clients are authorized if the server lacks a password.
hace 10 años
Jeremy Latt
76852b0370
implement WHOWAS with a shared ringbuffer
hace 10 años
Jeremy Latt
0874692aa8
send proper replies for cap protocol
hace 10 años
Jeremy Latt
36602c9a3c
basic capability negotiation
- multi-prefix is supported as an example
hace 10 años
Jeremy Latt
72726a39b8
many changes
- load config sub files relative to config file dir
- load config file by name
- expect bcrypt for passwords
- -genpasswd for generating config-file-safe passwords
- block client thread while checking passwords (PASS and OPER)
hace 10 años
Jeremy Latt
be089e7f5f
do bcrypt in the client main routine
hace 10 años
Jeremy Latt
0bf968e19e
move command parsing and hostname lookups into the socket routine
hace 10 años
Jeremy Latt
ff5656fdb4
aggressively clean up client
hace 10 años
Jeremy Latt
1283bd35c7
encapsulate client replies in method
hace 10 años
Jeremy Latt
e1c4c8e8cc
don't send prefix on server-originated string coded replies
hace 10 años
Jeremy Latt
ad513da486
do hostname lookups in the client read thread
hace 10 años
Jeremy Latt
97881b555d
async hostname lookups
hace 10 años
Jeremy Latt
c0dc733351
don't wait for writing to complete
hace 10 años
Jeremy Latt
9960089226
format replies to strings instead of using a Reply struct
hace 10 años
Jeremy Latt
25ebab37d3
replies shouldn't contain references to client
hace 10 años
Jeremy Latt
9c385ededd
synchronize on last writes to client sockets
hace 10 años
Jeremy Latt
af6a8ee6f0
remove channel buffering
hace 10 años
Jeremy Latt
6265b70622
get rid of goroutines on client socket
hace 10 años
Jeremy Latt
95f267ea4f
buffer all channels
hace 10 años
Jeremy Latt
0cd6be8008
clean up nickname setting logic
hace 10 años
Jeremy Latt
86d4cae141
swap refcounting friends for iteration
hace 10 años
Jeremy Latt
9e471b5b5d
solve quit/connection close race
hace 10 años
Jeremy Latt
2bc1b952a0
do idle in the server goroutine instead of the timeout goroutine
hace 10 años
Jeremy Latt
4f106e7d3e
make server logging consistent with other logs
hace 10 años
Jeremy Latt
58517ad4e8
fix closed channel on socket close
hace 10 años
Jeremy Latt
9c1ab4f610
fix socket close race
hace 10 años
Jeremy Latt
baf83e73d2
support USER from both RFCs 1459 and 2812
hace 10 años
Jeremy Latt
bb64d38684
implement who reply like ngircd
hace 10 años
Jeremy Latt
528588acfc
augment whois idle with signon time
hace 10 años
Jeremy Latt
9a5f21e78c
beef up whois
hace 10 años
Jeremy Latt
bd3ca4ae47
fix race in idle timeout; fix some string trimming; fix some replies
hace 10 años
Jeremy Latt
1a7f56a903
clean up general command and name handling
hace 10 años
Jeremy Latt
a55b912941
enforce nicks via lowercase strings
hace 10 años
Jeremy Latt
6d8b381927
convert client bools to a flags map
hace 10 años
Jeremy Latt
a9d7f64693
kick command
hace 10 años
Jeremy Latt
4e56ea1bdc
get rid of unnecessary concurrency for channels and clients
hace 10 años
Jeremy Latt
54ca916c85
stop login timer on destroy
hace 10 años
Jeremy Latt
e411dafda7
get rid of mutexes in favor of channel-base syncing
hace 10 años
Jeremy Latt
33b1e6c582
simplify Replier
hace 10 años
Jeremy Latt
3a9027e3dc
don't double-close socket
hace 10 años
Jeremy Latt
4d9742d033
organize server command into phases
hace 10 años
Jeremy Latt
72a90d5544
don't close channels unless necessary
hace 10 años
Jeremy Latt
6ea3c8f4d1
fix race conditions
hace 10 años
Jeremy Latt
7051627fb2
avoid race double-close on replies
hace 10 años
Jeremy Latt
7cef494d28
don't close replies twice
hace 10 años
Jeremy Latt
be01a412d9
only quit registered clients
hace 10 años
Jeremy Latt
dcc40bbac1
more logging
hace 10 años
Jeremy Latt
541a40b056
touch should respect destroyed
hace 10 años