Commit Graph

130 Commits

Author SHA1 Message Date
Björn Busse 398bedcca4 Do not trim leading colon from msg 2018-03-04 19:50:32 +00:00
Björn Busse 3c46d29461
Merge pull request #1 from steigr/feature/proxy-protocol
Wrap up net.Conn with go-proxyproto.Conn
2018-03-04 20:37:56 +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 ff2275248b Canonical goircd name 2017-01-13 11:55:05 +03:00
Sergey Matveev 4d9f93b732 Parametrize maintainer address 2017-01-13 11:53:58 +03:00
Meng Zhuo f76a36974a add ignore 2017-01-12 17:06:27 +08:00
Meng Zhuo 0d473a6fa7 change log directory 2017-01-12 17:06:09 +08:00
Meng Zhuo 7afceda9cb add service && debian package 2017-01-12 16:57:19 +08:00
Sergey Matveev ec62152429 Raise copyright years 2017-01-02 11:00:42 +03:00
Zero King e29ccd8dc3 Fix typo 2016-09-25 10:20:56 +03:00
Sergey Matveev 0a67394023 Fix unnecessary unlocking causing panics 2016-09-19 12:23:41 +03:00
Sergey Matveev a9e5e5cd2f Trim possible :-prefix sent by Pidgin in PASS command 2016-04-07 18:33:27 +03:00
Sergey Matveev 9f6cca6c56 Example lighttpd configuration for logs directory viewing 2016-03-26 17:29:15 +03:00
Sergey Matveev bab2b1b9f6 Various race preventing locks 2016-03-26 17:10:04 +03:00
Sergey Matveev 491e6602aa Raise copyright years 2015-12-31 20:23:21 +03:00
Sergey Matveev a9659b7444 Fix receive timestamp setting 2015-12-10 11:27:14 +03:00
Sergey Matveev 7770e09e68 ISON command support 2015-11-14 18:54:34 +03:00
Sergey Matveev f93640a335 Force lowercase nicknames 2015-11-05 17:04:52 +03:00
Sergey Matveev b640107b1f Trivial formatting correction 2015-11-04 17:56:48 +03:00
Sergey Matveev a06713ebfd If no states are kept, then clear an empty rooms 2015-11-04 17:53:20 +03:00
Sergey Matveev 1c14ece74f Simplify channel closing ordering 2015-11-04 17:37:58 +03:00
Sergey Matveev c8ca2de848 Thanks to Björn for his patches 2015-10-19 22:16:47 +03:00
Björn Busse 4f1a1012b2 Do not alter MOTD
It should be up to the author how exactly the MOTD is laid out - some
people like to have a margin, therefor remove the trim().
2015-10-19 11:31:47 +03:00
Björn Busse 66eaa48372 Perform DNS lookup of client addresses 2015-10-19 11:22:11 +03: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