Commit Graph

21 Commits

Author SHA1 Message Date
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
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 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 493dc78a24 Simplify channel closing ordering 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
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 0b8c40aa61 Refactored and corrected client's network data reading 2015-10-06 12:48:04 +03: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 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 def74ddc09 Fix several races 2014-08-09 16:18:56 +04: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
Sergey Matveev 80082ba6f6 Separate 401 code answer 2014-05-13 23:56:29 +04:00
Sergey Matveev b2f90fb412 Initial commit 2014-05-11 20:18:55 +04:00