Commit Graph

33 Commits

Author SHA1 Message Date
hybris b7a5c66929 Merge remote-tracking branch 'github/master' 2021-12-29 16:19:22 +01:00
Sergey Matveev eaf030e5c8 Raise copyright years 2021-01-05 20:48:29 +03:00
Sergey Matveev b7fb219307 Many fixes and additions
* NAMES and WALLOPS command
* -cloak option
* -v renamed to -verbose
* -passwords renamed to -passwd
* -debug option prints traffic messages
* without -verbose only startup/shutdown and error messages are printed
* -timestamped option provides timestamps in printed messages, as
  earlier. No timestamps is useful for running under daemontools
* passwords are stored in SHA256-hashed format
* state files replaced with state directory with files
* removed many unnecessary pointers and locks
* graceful shutdown with all clients notification
* fixed time structure printing in log files, instead of short human
  readable timestamp
* PART is sent to the user itself, to notify his client about leaving
* log messages are printed to stdout, instead of stderr, for
  friendliness with daemontools logger
* ability to configure newly created directories and files with
  -perm-state-dir, -perm-state-file, -perm-log-file
2020-11-07 16:52:53 +03:00
Sergey Matveev 236377e360 Raise copyright years 2020-01-07 18:27:02 +03:00
Sergey Matveev 7a08129379 Raise copyright years 2019-09-27 11:35:02 +03:00
Sergey Matveev 964a1bf9db Forbid any later GNU GPL versions autousage 2019-09-27 11:32:53 +03:00
Sergey Matveev 57d3777421 Raise copyright years 2018-03-25 17:57:05 +03: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
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 ec62152429 Raise copyright years 2017-01-02 11:00:42 +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 1c14ece74f Simplify channel closing ordering 2015-11-04 17:37:58 +03:00
Björn Busse 66eaa48372 Perform DNS lookup of client addresses 2015-10-19 11:22:11 +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 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