diff options
author | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-14 17:31:44 +0000 |
---|---|---|
committer | christopherm <christopherm@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-14 17:31:44 +0000 |
commit | 5a544d0d7a549a68b85e8410ecdc390b30390dd9 (patch) | |
tree | 957264f0186ad9b438ab258ba2a97bdf06c3963d /ledgersmb.conf.default | |
parent | 247dc6b555ec97da45e0ece2f11a8c1fc9a7de5c (diff) |
CONTENT_LENGTH is a user supplied variable. Without any checks for size, one could easily DoS the machine with very large POSTS. Commiting changes made to /trunk/ in /branches/1.2/
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2265 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'ledgersmb.conf.default')
-rw-r--r-- | ledgersmb.conf.default | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ledgersmb.conf.default b/ledgersmb.conf.default index 6b45ce44..482f7f65 100644 --- a/ledgersmb.conf.default +++ b/ledgersmb.conf.default @@ -10,6 +10,9 @@ latex : 1 # Maximum number of invoices that can be printed on a cheque check_max_invoices : 5 +# Maximum POST size to prevent DoS (4MB default) +max_post_size : 4194304 + [environment] # If the server can't find applications, append to the path PATH: /usr/local/pgsql/bin |