Commit Graph

23 Commits

Author SHA1 Message Date
Mathias Kaufmann 154aaa5243 Added healthchecking via HTTP
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 01:05:57 +01:00
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 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
Sergey Matveev 5ca748d928 Raise copyright years 2018-03-04 22:01:18 +00: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 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 62b4ca67a0 Unnecessary return because of Fatalln 2015-10-06 10:58:43 +03:00
Sergey Matveev b678682010 Raise copyright year. Trivial changes 2015-05-09 18:27:06 +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 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 cfeaaad88f Golinting 2014-08-09 16:42:19 +04:00
Sergey Matveev 1a2241388b SSL name is deprecated, use TLS instead 2014-06-10 11:26:13 +04: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 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 b2f90fb412 Initial commit 2014-05-11 20:18:55 +04:00