Search found 5 matches

by poralix
05 Mar 2024, 07:46
Forum: Suggestions (csf)
Topic: CSF UI: Transform HTTP headers to lower-case
Replies: 2
Views: 699

Re: CSF UI: Transform HTTP headers to lower-case

By the way, RFC https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2 states Just as in HTTP/1.x, header field names are strings of ASCII characters that are compared in a case-insensitive fashion. However, header field names MUST be converted to lowercase prior to their encoding in HTTP/2. A request...
by poralix
04 Mar 2024, 06:46
Forum: Suggestions (csf)
Topic: CSF UI: Transform HTTP headers to lower-case
Replies: 2
Views: 699

CSF UI: Transform HTTP headers to lower-case

Hello, The PERL script /etc/csf/lfd.pl which is running as a daemon, when we enable CSF UI, checks incoming headers, and it requires them to be capitalized. For example: if ($header{'Content-Length'} > 0) { if ($header{'Content-Length'} > $maxbody) { and if ($header{'Content-Type'} =~ /multipart\/fo...
by poralix
23 Dec 2022, 17:37
Forum: Suggestions (csf)
Topic: CSF addon for Directadmin and too big POST requests
Replies: 1
Views: 4706

CSF addon for Directadmin and too big POST requests

Hello, Having too many data in /etc/csf/csf.deny makes it impossible to edit the file in a web-interface of Directadmin. It is a built-in limit in DirectAdmin when a loading variable 'POST' is limited to hard-coded 125749 bytes. Whenever a 'POST' request of a bigger size arrives it gets rejected by ...