diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2020-01-06 21:14:46 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-05-27 00:33:09 +0300 |
commit | 6fba03fd08a2eb0daac4c915c89a2577777a973f (patch) | |
tree | 55f12cde4e92dfca146c5faf8d054bd378261fb4 /meta-intel/meta-common | |
parent | 475592fd429f7b59ab1a2e9d521a3b35b9f8b04a (diff) | |
download | openbmc-6fba03fd08a2eb0daac4c915c89a2577777a973f.tar.xz |
bmcweb: Set BMCWEB_HTTP_REQ_BODY_LIMIT_MB to 400
By default, bmcweb limits the size of the http request body to 30MB
to limit a DOS attack based on a large file size.
OpenBMC supports "System" or "bundled" images that contain two or more
firmware images. For OpenPOWER systems, these include the BMC and Host
firmware making the resulting image greater than the default 30MB.
A configurable option (BMCWEB_HTTP_REQ_BODY_LIMIT_MB) was added to
bmcweb to be able to change this limit:
https://github.com/openbmc/bmcweb/commit/0e1cf26b1cd98e0ec069e6187434fcabf1e9c200
Set this option to an arbitrary size of 400MB since the size of /tmp
for currently supported OpenBMC systems is ~460MB and /tmp is where
the uploaded image files are stored.
(From meta-openpower rev: 18c94c3554002fc2242f268b9eb449ec660ee92b)
Change-Id: I66dda4fa598db0d5ea8216e386d8e90c544e6bc2
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-intel/meta-common')
0 files changed, 0 insertions, 0 deletions