Commit Graph

97 Commits

Author SHA1 Message Date
Björn Busse
782bce527b
Merge pull request #9 from steigr/bugfix/respect-ipv6-and-env-in-healthbind
Bugfix/respect ipv6 and env in healthbind
2018-04-24 21:08:14 +02:00
Mathias Kaufmann
cf6cce277f
Use provided argument or fall-back for health-bind.
The following arguments may used to specifiy health-check behavior:
* `-healthcheck` : Enable healthcheck (default: `false`)
* `-healthbind=[::1]:8086` : Override Healthcheck bind-address (default: `[::]:8086`

Or use Environmentvariables `HEALTHCHECK` and `HEALTHBIND`
2018-04-22 10:47:38 +02:00
Mathias Kaufmann
c7c83926e1
Added argument (and env-var) to specify health-bind-address. 2018-04-22 10:45:02 +02:00
Mathias Kaufmann
58c7c41905
Remove unused constant 2018-04-22 10:44:21 +02:00
Björn Busse
580b5a31dd
Merge pull request #8 from steigr/feature/tls-key-file
Allow to specify tlsKEY as seperate file.
2018-03-14 03:34:46 +01:00
Björn Busse
aa326013c4
Merge pull request #7 from steigr/feature/helm-chart
Added helm-chart
2018-03-14 03:33:03 +01:00
Björn Busse
bc6cfe7184
Merge pull request #5 from steigr/feature/docker-entrypoint
Fixed docker entrypoint setting
2018-03-14 03:29:37 +01:00
Mathias Kaufmann
6e35f78338 Allow to specify tlsKEY as seperate file.
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 02:06:18 +01:00
Mathias Kaufmann
95f4035392 Added helm chart
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 01:09:17 +01:00
Mathias Kaufmann
2678bcb062 Fixed entrypoint
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 01:08:43 +01:00
Mathias Kaufmann
154aaa5243 Added healthchecking via HTTP
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 01:05:57 +01:00
Björn Busse
cdbef56090
Merge pull request #4 from steigr/feature/docker-image
Added Dockerfile
2018-03-14 00:18:35 +01:00
Mathias Kaufmann
c8e83bb840 Added trailing newline
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 00:11:01 +01:00
Mathias Kaufmann
eeb6782f0f Added make targets to build and push docker images
Usage:
`make docker-image` to build the image
`make docker-image-push` to build and push the image

Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-14 00:10:00 +01:00
Björn Busse
dacbe3baa9
Merge pull request #3 from steigr/feature/env-vars
use github.com/namsral/flag for flags
2018-03-13 23:58:29 +01:00
Mathias Kaufmann
36e84da7b5 Added Dockerfile
Signed-off-by: Mathias Kaufmann <me@stei.gr>
2018-03-13 23:52:03 +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
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