Mathias Kaufmann
06d17fe26b
use github.com/namsral/flag for flags
...
github.com/namsral/flag enables environment and config file parsing
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-13 23:36:53 +01:00
Björn Busse
dec20c2cd0
Add a tlsonly option
2018-03-08 17:37:26 +00:00
Björn Busse
de42ef98b6
Fix type of lusers
2018-03-08 17:11:58 +00:00
Björn Busse
9a4e42ba8b
Add a prometheus exporter and some metrics
2018-03-08 02:40:26 +00:00
Björn Busse
a3ce9988ff
Merge pull request #2 from steigr/feature/proxy-protocol
...
Feature/proxy protocol
2018-03-06 23:50:57 +01:00
Mathias Kaufmann
b0536016a1
Fix handling of TLS-Connections
...
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-06 22:53:04 +01:00
Mathias Kaufmann
30151254c2
Fix typo
...
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-06 22:52:43 +01:00
Björn Busse
eb84358fef
Re-add net import
2018-03-04 22:53:24 +00:00
Gunnar Ruthenberg
a9a5b17ce4
Fixes by Gunnar
2018-03-04 22:24:15 +00:00
Sergey Matveev
2d71da2234
Trim possible :-prefix sent by Pidgin in PASS command
2018-03-04 22:01:18 +00:00
Sergey Matveev
1dbc0856bd
Example lighttpd configuration for logs directory viewing
2018-03-04 22:01:18 +00:00
Sergey Matveev
51766fc90d
Various race preventing locks
2018-03-04 22:01:18 +00:00
Sergey Matveev
5ca748d928
Raise copyright years
2018-03-04 22:01:18 +00:00
Sergey Matveev
8fd97af456
Fix receive timestamp setting
2018-03-04 22:01:18 +00:00
Sergey Matveev
61e337b083
ISON command support
2018-03-04 22:01:18 +00:00
Sergey Matveev
5413b3ae52
Force lowercase nicknames
2018-03-04 22:01:18 +00:00
Sergey Matveev
e354be7595
Trivial formatting correction
2018-03-04 22:01:18 +00:00
Sergey Matveev
d5f10048e1
If no states are kept, then clear an empty rooms
2018-03-04 22:01:18 +00:00
Sergey Matveev
493dc78a24
Simplify channel closing ordering
2018-03-04 22:01:18 +00:00
Sergey Matveev
cd4faa7dd6
Thanks to Björn for his patches
2018-03-04 22:01:18 +00:00
Björn Busse
69b0c46170
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().
2018-03-04 22:01:18 +00:00
Björn Busse
0b56bd0ba4
Perform DNS lookup of client addresses
2018-03-04 22:01:18 +00:00
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
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