Shivaram Lingamneni
d66470f1c4
review fix: rename various packages and objects
преди 6 години
Shivaram Lingamneni
a2ac4eeef9
refactor limits and throttling
преди 6 години
Daniel Oaks
207c1074df
Split utils out to a separate subpackage
преди 6 години
Daniel Oaks
4aa52956e5
Split isupport to its' own subpackage
преди 6 години
Shivaram Lingamneni
3877db2391
review fixes: rename MonitorManager methods
преди 6 години
Shivaram Lingamneni
26686d7e86
refactor monitor and /oper implementations
преди 6 години
Shivaram Lingamneni
23a66fa502
fix various data races, including 2 introduced by #139
преди 6 години
Shivaram Lingamneni
e66735619e
tweak some defaults
* Lower ident timeout to 1.5 seconds, as discussed in #oragono
* Enforce connection limits at the granularity of ipv4 /32's and ipv6 /64's
* Raise the limit on number of new connections to 64 every 10 minutes
(for the benefit of people behind large IPv4 NATs)
преди 6 години
Daniel Oaks
275449e6cc
caps: Move most capability-handling types into the caps package
преди 6 години
Daniel Oaks
cea6565b80
client: HasCapabs -> HasRoleCapabs to make it more clear exactly what this means
преди 6 години
Daniel Oaks
9bfdc4fdfb
Move caps to their own package to prevent conflicts
преди 6 години
Daniel Oaks
c39206ad13
Don't create new caps out of nowhere, dummy
преди 6 години
Daniel Oaks
cd8b4877b6
accounts: Check for account logins correctly, fixes registration. Also fix a typo, thanks squigz!
преди 6 години
Shivaram Lingamneni
1612c141d5
send the actual quit message to friends
преди 6 години
Daniel Oaks
a78a8f1130
client: Only add friends if they actually have the caps we request. Friends() is entirely broken because of this
преди 6 години
Daniel Oaks
e95c75f87d
monitor: Fix a crash around the MONITOR command
преди 6 години
Shivaram Lingamneni
99f02ede20
restore PROXY protocol support
support for PROXY was removed in 43e28e2fef . After discussion,
it's worth keeping around in case of client compatibility issues,
and until /rehash support is more mature.
преди 6 години
Daniel Oaks
23a26f83fe
client: Show real IP and whether the target's using TLS in WHOIS
преди 7 години
Daniel Oaks
1c0c4841a1
General comments, fix misspellings and lints
преди 7 години
Daniel Oaks
c9ed749538
Rename deps
преди 7 години
Daniel Oaks
a8fa131244
Move to new repo
преди 7 години
Daniel Oaks
309ec8191e
Add 'k' snomask for kills (including those coming from dlines and klines)
преди 7 години
Daniel Oaks
3ee26041ff
Send snomask on client quits
преди 7 години
Daniel Oaks
55d8eb5dce
Make 'nick' snomask look nicer
преди 7 години
Daniel Oaks
53190ef131
Send a whole lot more snomasks
преди 7 години
Daniel Oaks
ebb9d629d7
xline: Add ANDKILL param to kill all matching clients
преди 7 години
Daniel Oaks
d847d55c06
Fix wordWrap function so it doesn't drop chars, and fix client.Notice() to automagically split very long lines.
преди 7 години
Daniel Oaks
9fe7c143c8
server: Remove useless comments, make idle/quit function layouts nicer
преди 7 години
Daniel Oaks
c911ff2bcd
Squash a bunch of possible races
преди 7 години
Daniel Oaks
f7a4f5d956
socket: Move to a timing-out send method that reduces goroutines and ensures QUIT/ERROR are sent
преди 7 години
Daniel Oaks
f665ebac16
channels: Help prevent issues when join/parting
преди 7 години
Daniel Oaks
1c917a19a7
client: Ensure ERROR message is parsed when quitting
преди 7 години
Daniel Oaks
22216d4d60
Fix lots of nits
преди 7 години
Daniel Oaks
317a804644
Fix dates at top of source files
преди 7 години
Daniel Oaks
300d02bd9c
channel: Kill a race condition that locked up the server.
Specifically, if you joined a channel while someone else was trying to part. the Join method would grab the lock, the Quit method would queue to grab the lock, the Join method would unlock and then try to regrab the lock, and it would get into a situation where nobody would have the lock and everyone would be waiting for it.
This caused weird oddities with clients.
преди 7 години
Daniel Oaks
aad1070633
client: Unlock channel mutex earlier
преди 7 години
Daniel Oaks
05074e966d
modes: Continue overhauling
преди 7 години
Daniel Oaks
f29a5f0e70
socket: Very initial SendQ limit
преди 7 години
Daniel Oaks
de4db1c6ef
socket: Start overhaul of sockets and writing
преди 7 години
Daniel Oaks
439331cfb8
logger: Move to separate package, make *much* nicer
преди 7 години
Daniel Oaks
5de03f2169
logging: Reverse arrows for in and out, in ~= left, out ~= right
преди 7 години
Daniel Oaks
b328a4fcd3
logging: Add userinput and output, fix up lots
преди 7 години
Daniel Oaks
29e89b16a0
logger: Very initial working new logs
преди 7 години
Martin Lindhe
730d283201
server-time: convert local time to UTC before using it, fixes #94
преди 7 години
vegax87
a623d8ef1e
Solved! RPL_USERHOST must use trailing
преди 7 години
Daniel Oaks
c8b5fb65e0
WHOIS: Use inbuilt functionality to force trailing, as suggested by @vegax87
преди 7 години
Daniel Oaks
c2fedfb177
client: Forego the ForceTrailing func, just automagically work it out based on the command name
преди 7 години
Daniel Oaks
b257c5955e
client: Add SendForceTrailing function, to force the last param to be a trailing
преди 7 години
Daniel Oaks
67d65b0e3d
client: Ignore empty lines, send ERROR with no prefix
преди 7 години
Daniel Oaks
cbe49ff3d8
Use a better line-splitting algorithm
преди 7 години