Daniel Oaks
49034cb20e
certfp: Add certfp retrieval from client
7 gadus atpakaļ
Daniel Oaks
e33a810522
capability: Add extended-join and userhost-in-names
8 gadus atpakaļ
Daniel Oaks
ef592d160c
capability: Add server-time
8 gadus atpakaļ
Daniel Oaks
d810033a02
client: Timeout ident more nicely
8 gadus atpakaļ
Daniel Oaks
199f8bd8ae
USER: disallow usernames that break the protocol
8 gadus atpakaļ
Daniel Oaks
19c2bb69fc
Allow looking up usernames with ident on connection
8 gadus atpakaļ
Daniel Oaks
5d3b185881
client: Use more accurate QUIT message for ping timeouts
8 gadus atpakaļ
Daniel Oaks
b820559050
modes: Add TLS umode (+Z)
8 gadus atpakaļ
Daniel Oaks
34a099b61a
Fix PING and PONG
8 gadus atpakaļ
Daniel Oaks
04442ddef1
Stuff is no longer completely broken. Just mostly.
8 gadus atpakaļ
Daniel Oaks
9e7a590f23
server: Fix
8 gadus atpakaļ
Daniel Oaks
2a519c8061
use server.name and server.nameString, name for checking and getting nice comparison, nameString for reply outputs
8 gadus atpakaļ
Daniel Oaks
7b13858f8c
client: Fix
8 gadus atpakaļ
Daniel Oaks
7fcc6bdbc4
channels: Fix
8 gadus atpakaļ
Daniel Oaks
08225c201d
continue work reorganising and redoing EVERYTHING
8 gadus atpakaļ
Daniel Oaks
e83283e7fd
urgh this should not even be commited yet, this will all be squashed out
8 gadus atpakaļ
Daniel Oaks
2f08401a0f
Attempt to add mostly-correct license info at the top of each file... track this stuff a bit better
8 gadus atpakaļ
Daniel Oaks
9860094020
socket: Use updated socket code
8 gadus atpakaļ
Daniel Oaks
8885f14f19
PROXY: Restrict to specified addresses/hostnames
8 gadus atpakaļ
Daniel Oaks
ed95f09725
Fix clients no longer being able to send commands after a single command errors out
8 gadus atpakaļ
Jeremy Latt
4ce4ba31c5
keep track of whether sockets are closed
10 gadus atpakaļ
Jeremy Latt
6c10add399
improve performance by using less goroutines
- get rid of command channel in Client
- get rid of loginTimer; use other timers instead
- move debugging code to debug.go
10 gadus atpakaļ
Jeremy Latt
b0bb0faadc
remove unnecessary String()s; rename parse functions
10 gadus atpakaļ
Jeremy Latt
3b12dec207
cleanup
10 gadus atpakaļ
Jeremy Latt
d696f2313e
stop leaking client goroutines; closes #34
10 gadus atpakaļ
Edmund Huber
2272aae213
spelling and gofmt
10 gadus atpakaļ
Edmund Huber
6267b6a40c
clean up /theater so that it doesn't need a bunch of pointers and that it reuses channel-scoped-user-modes machinery
10 gadus atpakaļ
Edmund Huber
d5bdc78d55
adding theater-mode, fixes #15
10 gadus atpakaļ
Jeremy Latt
8c44bb9ff3
ONICK command to allow operators to change users' nicks
10 gadus atpakaļ
Jeremy Latt
7a9f1d750b
explain why CheckPassword happens in client thread
10 gadus atpakaļ
Jeremy Latt
2006aff9f7
break up types.go
- remove old interfaces, move to relevant files
- remove Phase in favor of a boolean flag
10 gadus atpakaļ
Jeremy Latt
e15f47c766
move to channel-based logging
10 gadus atpakaļ
Jeremy Latt
77d053ccac
get rid of editableCommand
10 gadus atpakaļ
Jeremy Latt
96a108f8da
mark unicode normalization with type
10 gadus atpakaļ
Jeremy Latt
f56db354ee
fix client auth for no password
All clients are authorized if the server lacks a password.
10 gadus atpakaļ
Jeremy Latt
76852b0370
implement WHOWAS with a shared ringbuffer
10 gadus atpakaļ
Jeremy Latt
0874692aa8
send proper replies for cap protocol
10 gadus atpakaļ
Jeremy Latt
36602c9a3c
basic capability negotiation
- multi-prefix is supported as an example
10 gadus atpakaļ
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)
10 gadus atpakaļ
Jeremy Latt
be089e7f5f
do bcrypt in the client main routine
10 gadus atpakaļ
Jeremy Latt
0bf968e19e
move command parsing and hostname lookups into the socket routine
10 gadus atpakaļ
Jeremy Latt
ff5656fdb4
aggressively clean up client
10 gadus atpakaļ
Jeremy Latt
1283bd35c7
encapsulate client replies in method
10 gadus atpakaļ
Jeremy Latt
e1c4c8e8cc
don't send prefix on server-originated string coded replies
10 gadus atpakaļ
Jeremy Latt
ad513da486
do hostname lookups in the client read thread
10 gadus atpakaļ
Jeremy Latt
97881b555d
async hostname lookups
10 gadus atpakaļ
Jeremy Latt
c0dc733351
don't wait for writing to complete
10 gadus atpakaļ
Jeremy Latt
9960089226
format replies to strings instead of using a Reply struct
10 gadus atpakaļ
Jeremy Latt
25ebab37d3
replies shouldn't contain references to client
10 gadus atpakaļ
Jeremy Latt
9c385ededd
synchronize on last writes to client sockets
10 gadus atpakaļ