CEF Server
31ff98b1e7
switch to redis pubsub for communication
2024-08-27 19:09:27 +00:00
1b4601a9c5
allow env to be passed
2024-07-26 06:01:07 -07:00
384ae29dd8
import changes
2024-07-24 17:01:20 -07:00
Derrick
68453fa6d6
Tell servers to Stop when shutting down.
...
Run Stop() on all the server when a SIGINT or SIGTERM is received. This
should ensure any open sockets and files are closed.
2020-04-12 15:49:12 -07:00
Derrick
df98375463
Merge pull request #55 from olabiniV2/server_password
...
Add support for server passwords
2020-04-11 19:08:29 -07:00
Derrick
a31e58979d
Merge pull request #54 from olabiniV2/stderr_logging
...
Refactor logtarget
2020-04-11 19:08:06 -07:00
Derrick
f4d41de536
Merge pull request #52 from olabiniV2/configuration_setting
...
Make it possible to change configuration parameters on a server
2020-04-11 19:05:25 -07:00
Derrick
00b8984bd4
Merge pull request #51 from olabiniV2/optional_webport
...
Add a configuration parameter making it possible to avoid the web port
2020-04-11 18:59:52 -07:00
Derrick
181a4f3219
Fix go1.14 build error in Panic function.
2020-04-11 12:56:31 -07:00
Ola Bini
495d699ec8
Try to authenticate using server password if user authentication hasn't happened
2020-03-26 16:11:47 +00:00
Ola Bini
b076a99492
Add new methods for setting and checking a potential server password
2020-03-26 15:03:05 +00:00
Ola Bini
dd9b5531a3
Extract more generic versions of setting and checking configuration passwords
2020-03-26 15:00:08 +00:00
Ola Bini
8b2c7901ee
Use MultiWriter to simplify the writing implementation. Also make it possible to initialize the log target to variable amounts of writers, and doesn't hardcode the use of StdErr as output
2020-03-26 14:20:13 +00:00
Ola Bini
9c082d3516
Make OpenFile a factory function instead of a method on LogTarget. Use this to initialize the default logging target
2020-03-26 14:09:03 +00:00
Ola Bini
dd6f383d3e
Rename the default logtarget to not stutter. Also hide the default file log target implementation
2020-03-26 14:04:14 +00:00
Ola Bini
8d351aedb0
Extract a LogTarget interface to make it easier to manage logging
2020-03-26 14:00:01 +00:00
Ola Bini
6cddec04b5
Only send configuration updates if the channel exists
2020-03-25 19:54:32 +00:00
Ola Bini
58f77685e7
Make it possible to change configuration parameters on a server
2020-03-25 19:49:19 +00:00
Ola Bini
4fe03fb233
Add a configuration parameter making it possible to avoid listening to the web port
2020-03-25 19:38:32 +00:00
Davide Beatrici
bbb589fb37
Merge PR #46 : Set freezelog to nil after closing it
2019-12-20 23:54:39 +01:00
Davide Beatrici
cac44edebb
Merge PR #47 : Run go fmt and goimports on all files, to make them follow Golang standards
2019-12-20 23:54:11 +01:00
Ola Bini
76138f47fd
Run go fmt and goimports on all files, to make them follow Golang standards
2019-12-20 22:51:21 +00:00
Ola Bini
f8246ffbbc
Set freezelog to nil after closing it
2019-12-20 22:36:19 +00:00
Ola Bini
783bb5bf7b
Don't close the TCP listener, only the TLS listener
2019-12-20 22:25:55 +00:00
CodeLingo Bot
eb02aadf56
Fix function comments based on best practices from Effective Go
...
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-03-11 00:56:12 +00:00
rubenseyer
1d0ca25f5a
Websockets support
2018-02-09 20:59:09 +01:00
rubenseyer
19d8d352da
RegisterClient: missing !
2018-02-05 10:38:04 +01:00
Mikkel Krautz
07c0eeaa84
Merge PR #15 : Improve startup error messages.
2018-01-31 21:07:58 +01:00
Mikkel Krautz
9922dab5fd
freezer_windows: make ReplaceFile call fall back to os.Rename.
...
ReplaceFile fails because dst does not yet exist.
To remedy this, we fall back to os.Rename, which makes
everything work as it should.
2018-01-13 21:36:53 +01:00
Mikkel Krautz
bf6c6d57cc
Use %USERPROFILE% instead of $HOME on Windows for Grumble's default data dir.
...
This also changes Grumble to use ".grumble" on Windows. Previously, it
preferred the non-hidden "grumble" on Windows. Unfortunately, that now
clashes with my grumble Git checkout, so let's make it consistent across
platforms.
2018-01-13 20:51:25 +01:00
Mikkel Krautz
ebd34224a5
Improve startup error messages.
...
This ensures that our log messages include the path to the
directory/file that caused the error.
2018-01-13 20:32:48 +01:00
Tim Cooper
916cda8ea6
update public server registration URL
2018-01-04 08:51:35 -04:00
Tim Cooper
20eba760e5
go fmt
2016-03-25 22:05:23 -03:00
Tim Cooper
083163daf9
use updated import paths for proto, nacl
2016-03-25 22:04:43 -03:00
Mikkel Krautz
ef533d8f2b
grumble: move grumble cmd to 'cmd/grumble' instead of the source tree root.
2014-04-15 14:31:42 +02:00