Commit Graph

58 Commits

Author SHA1 Message Date
Mathias Kaufmann
30151254c2 Fix typo
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-06 22:52:43 +01:00
steigr
b4e0bbf0a4 Wrap up net.Conn with go-proxyproto.Conn
Wrap up connection into proxy-protocol handler.
See examples/proxy-protocol/haproxy* to test it

Signed-off-by: steigr <me@stei.gr>
2018-02-20 19:48:13 +01:00
Sergey Matveev
158ab243b2 Fixed unkeyed room mode getting 2015-10-13 09:37:03 +03:00
Sergey Matveev
3cee88801c Better FreeBSD's startup script 2015-10-11 21:02:52 +03:00
Sergey Matveev
e657ffd2ab Code refactoring
* Less memory allocations
* Daemon instance replaced with global variables
* Code simplification
* Asynchronously send messages to clients
2015-10-11 14:51:07 +03:00
Sergey Matveev
186ec4b4bd Daemon does not need reloading for passwords via HUP 2015-10-08 14:02:06 +03:00
Sergey Matveev
df1aca605d Append .log extension to logfiles 2015-10-08 12:58:50 +03:00
Sergey Matveev
a4ce3f8999 Various example startup scripts 2015-10-07 19:30:12 +03:00
Sergey Matveev
171c6d6df3 Increase maximum nickname length for convenience 2015-10-07 18:33:53 +03:00
Sergey Matveev
3564207ae9 Some client may send message parts with PART command 2015-10-07 17:13:21 +03:00
Sergey Matveev
13a478f8c2 More explanation of log and state files 2015-10-06 12:48:04 +03:00
Sergey Matveev
0b8c40aa61 Refactored and corrected client's network data reading 2015-10-06 12:48:04 +03:00
Sergey Matveev
63f94d18c9 Official repository of goircd is at git.cypherpunks.ru 2015-10-06 11:31:11 +03:00
Sergey Matveev
563ff8742c More beauty options description 2015-10-06 11:31:11 +03:00
Sergey Matveev
e9a315574b Less memory allocations 2015-10-06 11:31:11 +03:00
Sergey Matveev
e80115cf69 GNU and BSD Make compatible makefile 2015-10-06 11:31:11 +03:00
Sergey Matveev
62b4ca67a0 Unnecessary return because of Fatalln 2015-10-06 10:58:43 +03:00
Sergey Matveev
ad68cf29f6 Split long lines 2015-10-05 23:57:31 +03:00
Sergey Matveev
5fcf63baf8 Add missing copyright heading 2015-10-05 23:57:05 +03:00
Sergey Matveev
e0ffe8ac28 Fix client workability when sending message to unexistent recipient 2015-10-05 23:56:15 +03:00
Sergey Matveev
3016635f6a HasPrefix is not necessary before TrimPrefix 2015-09-28 11:38:32 +03:00
Sergey Matveev
43fccdbbae Merge pull request #2 from bbusse/increase-client-compatibility
Increase client compatibility - let Quassel IRC users join
2015-09-28 11:36:52 +03:00
Björn Busse
5a17f44b24 Increase client compatibility - let Quassel IRC users join
Quassel prefixes the nickname in the NICK command with a colon.
This seems to be in accordance with rfc2812. Therefor check
if the first character of a nickname is a colon and remove it.
2015-09-28 06:22:17 +02:00
Sergey Matveev
b678682010 Raise copyright year. Trivial changes 2015-05-09 18:27:06 +03:00
Sergey Matveev
8702ace766 Add AWAY command support 2014-11-14 23:26:32 +03:00
Sergey Matveev
990937d451 Remove signal processor for password reloading and use pointers to strings
Simplify code and server maintaining by removing password file caching
and refreshing it with HUP signal. Also use pointers to strings, already
presented after flag-module work.
2014-08-19 18:11:56 +04:00
Sergey Matveev
85e6538f2f Combine TLS cert and key options in single one 2014-08-14 23:08:41 +04:00
Sergey Matveev
b35f6e7b3c Ability to listen on raw and TLS sockets simultaneously 2014-08-14 18:46:21 +04:00
Sergey Matveev
4f5fa51327 Make an empty MODE b reply for faster client's sync 2014-08-14 17:41:57 +04:00
Sergey Matveev
f46c678ce0 Ability to show server's version 2014-08-14 17:31:49 +04:00
Sergey Matveev
a939b027fd Ability to authenticate users by nickname↔password database 2014-08-14 17:31:49 +04:00
Sergey Matveev
5c79c4235e Remove goroutines that lead to possible races 2014-08-13 19:13:12 +04:00
Sergey Matveev
cfeaaad88f Golinting 2014-08-09 16:42:19 +04:00
Sergey Matveev
def74ddc09 Fix several races 2014-08-09 16:18:56 +04:00
Sergey Matveev
87ba38e7f7 Send "already existing nickname" error to unregistered client, instead of already existing one 2014-07-03 11:08:42 +04:00
Sergey Matveev
60bd9cec0b Do not prepend unnecessary ':' to person-to-person PRIVMSGs 2014-06-27 22:29:31 +04:00
Sergey Matveev
564374f324 Thomas Habets contributed too 2014-06-10 11:27:04 +04:00
Sergey Matveev
afbf2b40d4 Mention TLS and -verbose options in documentation 2014-06-10 11:26:50 +04:00
Sergey Matveev
1a2241388b SSL name is deprecated, use TLS instead 2014-06-10 11:26:13 +04:00
Sergey Matveev
eb4b0917b3 Repair test due to address parsing error 2014-06-10 11:20:10 +04:00
Thomas Habets
a154bd6120 Remove port from /whois output. 2014-06-09 16:03:11 +02:00
Thomas Habets
41f9649494 Cleaned up file handling. 2014-06-08 03:16:33 +02:00
Thomas Habets
c1d256aaa0 Decrease log verbosity. 2014-06-08 02:49:27 +02:00
Thomas Habets
54d2fcb9cb Fix /whois for mixed case nicks. 2014-06-08 02:28:55 +02:00
Thomas Habets
de49f5eeba Make channels unidirectional. 2014-06-08 02:21:06 +02:00
Thomas Habets
1f4a463c0a Add SSL support. 2014-06-08 02:08:13 +02:00
Sergey Matveev
6a0a2a0ce1 Typo 2014-05-18 15:34:31 +04:00
Sergey Matveev
59a6cddf54 Additional unittests 2014-05-18 15:34:19 +04:00
Sergey Matveev
216a9dc05e Unnecessary message broadcasting goroutines 2014-05-18 15:26:50 +04:00
Sergey Matveev
cda982f7e9 Continuation after negative replies 2014-05-18 15:26:15 +04:00