Commit Graph

19 Commits

Author SHA1 Message Date
Russ Young
f3e23793a7 Added the default OWASP http headers to http responses. 2021-04-14 13:59:04 -06:00
Alan Jowett
01a9815bdf Set disconnect reason when updating ban-ip
Resolves: #360

Signed-off-by: Alan Jowett alan.jowett@microsoft.com
2020-11-06 13:16:32 -07:00
Nikos Mavrogiannopoulos
ce89e0f582 Ensure that unchecked function calls are for a reason and fix otherwise
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-06-30 21:53:34 +02:00
Nikos Mavrogiannopoulos
ba6921ed9a Introduced the notion of virtual hosts
This provides virtualized server configurations which take
effect after client connection when client hello is received.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-03-06 20:42:31 +01:00
Nikos Mavrogiannopoulos
67991e6960 removed dead assignments
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-09-07 21:57:31 +02:00
Nikos Mavrogiannopoulos
abd621b30c kkdcp: increased read timeout and made it a definition
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2017-04-29 13:01:35 +02:00
Nikos Mavrogiannopoulos
02471bd0cb kkdcp: increase maximum packet size to 64kb
There are cases where our previous limit (16kb) was insufficient
(see #100), and it is reasonable to switch to a limit related to
maximum UDP packet size.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2017-04-28 17:20:29 +02:00
Nikos Mavrogiannopoulos
3feec67070 worker: avoid sending an X-Reason header
HTTP/1.x allows sending any arbitrary reason we would like
after the error code. We now do that.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2017-01-19 17:40:01 +01:00
Nikos Mavrogiannopoulos
82424ffd82 added informational message on KKDCP request processing 2015-09-04 15:53:17 +02:00
Nikos Mavrogiannopoulos
1e18234d2f kkdcp: fixes in post handler 2015-02-27 14:10:44 +01:00
Nikos Mavrogiannopoulos
445ea63783 made the ban points configurable 2015-02-26 11:23:06 +01:00
Nikos Mavrogiannopoulos
7a675ff5e2 When sending BAN IP messages to main receive a reply on whether further actions should continue
That allows to BAN a user even during an open connection.
2015-02-25 20:08:51 +01:00
Nikos Mavrogiannopoulos
8dd9cedd68 worker: collect any ban points and communicate them to main on exit 2015-02-25 16:10:15 +01:00
Nikos Mavrogiannopoulos
0aa2c86f08 Added points in KKDCP connections to prevent DoS attacks. 2015-02-25 14:31:21 +01:00
Nikos Mavrogiannopoulos
9a3be087b4 kkdcp: allow the handling of multiple realms per URL 2015-02-19 15:27:55 +01:00
Nikos Mavrogiannopoulos
85de70c621 kkdcp: attempt to read the whole message 2015-02-19 15:27:40 +01:00
Nikos Mavrogiannopoulos
3e33936f0c corrected DER message construction 2015-02-19 15:27:37 +01:00
Nikos Mavrogiannopoulos
773d277802 kkdcp: perform the proper encoding and decoding on exchanged data 2015-02-19 11:47:20 +01:00
Nikos Mavrogiannopoulos
6334bada15 renamed urlfw to kkdcp 2015-02-19 11:47:20 +01:00