Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/ISSUE_TEMPLATE/ | H | - | - | 66 | 64 | |
config/ | H | - | - | 239 | 206 | |
http/ | H | - | - | 7,540 | 6,169 | |
include/ | H | - | - | 9,507 | 8,037 | |
redfish-core/ | H | - | - | 404,601 | 369,148 | |
scripts/ | H | - | - | 2,237 | 1,786 | |
src/ | H | - | - | 1,857 | 1,483 | |
static/ | H | - | - | 534 | 470 | |
subprojects/ | H | - | - | 96 | 75 | |
test/ | H | - | - | 8,245 | 6,000 | |
.clang-format | H A D | 03-Feb-2025 | 3.7 KiB | 137 | 135 | |
.clang-tidy | H A D | 03-Jan-2025 | 14.8 KiB | 402 | 400 | |
.codespell-ignore | H A D | 02-Jan-2024 | 518 | 15 | 11 | |
.dockerignore | H A D | 22-Jul-2020 | 53 | 7 | 5 | |
.eslintignore | H A D | 29-May-2024 | 25 | 2 | 1 | |
.gitignore | H A D | 29-Feb-2024 | 5.3 KiB | 293 | 223 | |
.markdownlint.yaml | H A D | 07-Dec-2022 | 45 | 4 | 3 | |
.openbmc-enforce-gitlint | HD | 24-Aug-2022 | 0 | |||
.prettierignore | H A D | 12-May-2024 | 25 | 2 | 1 | |
.shellcheck | HD | 06-Oct-2020 | 0 | |||
AGGREGATION.md | H A D | 13-Oct-2022 | 7 KiB | 193 | 152 | |
CLIENTS.md | H A D | 15-Jul-2024 | 2.6 KiB | 73 | 48 | |
COMMON_ERRORS.md | H A D | 02-Feb-2025 | 14.3 KiB | 418 | 340 | |
DBUS_USAGE.md | H A D | 02-Jan-2024 | 1.5 KiB | 27 | 24 | |
DEVELOPING.md | H A D | 29-Aug-2024 | 10.4 KiB | 257 | 192 | |
HEADERS.md | H A D | 07-Dec-2022 | 3 KiB | 53 | 44 | |
LICENSE | H A D | 15-Jul-2021 | 11.1 KiB | 202 | 169 | |
OEM_SCHEMAS.md | H A D | 15-Jul-2024 | 5.6 KiB | 102 | 84 | |
OWNERS | H A D | 21-Feb-2024 | 4.2 KiB | 100 | 93 | |
README.md | H A D | 15-May-2023 | 2.9 KiB | 83 | 57 | |
REDFISH_CHECKLIST.md | H A D | 15-Jul-2024 | 1.7 KiB | 37 | 26 | |
Redfish.md | H A D | 20-Aug-2024 | 20.1 KiB | 1,148 | 853 | |
TESTING.md | H A D | 16-Oct-2024 | 4.7 KiB | 148 | 107 | |
meson.build | H A D | 03-Jan-2025 | 15.1 KiB | 513 | 463 | |
meson.options | H A D | 24-Feb-2025 | 16.4 KiB | 538 | 483 | |
run-ci | H A D | 08-Feb-2022 | 305 | 10 | 5 |
README.md
1 # OpenBMC webserver 2 3 This component attempts to be a "do everything" embedded webserver for OpenBMC. 4 5 ## Features 6 7 The webserver implements a few distinct interfaces: 8 9 - DBus event websocket. Allows registering on changes to specific dbus paths, 10 properties, and will send an event from the websocket if those filters match. 11 - OpenBMC DBus REST api. Allows direct, low interference, high fidelity access 12 to dbus and the objects it represents. 13 - Serial: A serial websocket for interacting with the host serial console 14 through websockets. 15 - Redfish: A protocol compliant, [DBus to Redfish translator](Redfish.md). 16 - KVM: A websocket based implementation of the RFB (VNC) frame buffer protocol 17 intended to mate to webui-vue to provide a complete KVM implementation. 18 19 ## Protocols 20 21 bmcweb at a protocol level supports http and https. TLS is supported through 22 OpenSSL. 23 24 ## AuthX 25 26 ### Authentication 27 28 Bmcweb supports multiple authentication protocols: 29 30 - Basic authentication per RFC7617 31 - Cookie based authentication for authenticating against webui-vue 32 - Mutual TLS authentication based on OpenSSL 33 - Session authentication through webui-vue 34 - XToken based authentication conformant to Redfish DSP0266 35 36 Each of these types of authentication is able to be enabled or disabled both via 37 runtime policy changes (through the relevant Redfish APIs) or via configure time 38 options. All authentication mechanisms supporting username/password are routed 39 to libpam, to allow for customization in authentication implementations. 40 41 ### Authorization 42 43 All authorization in bmcweb is determined at routing time, and per route, and 44 conform to the Redfish PrivilegeRegistry. 45 46 \*Note: Non-Redfish functions are mapped to the closest equivalent Redfish 47 privilege level. 48 49 ## Configuration 50 51 bmcweb is configured per the 52 [meson build files](https://mesonbuild.com/Build-options.html). Available 53 options are documented in `meson_options.txt` 54 55 ## Compile bmcweb with default options 56 57 ```ascii 58 meson setup builddir 59 ninja -C builddir 60 ``` 61 62 If any of the dependencies are not found on the host system during 63 configuration, meson will automatically download them via its wrap dependencies 64 mentioned in `bmcweb/subprojects`. 65 66 ## Use of persistent data 67 68 bmcweb relies on some on-system data for storage of persistent data that is 69 internal to the process. Details on the exact data stored and when it is 70 read/written can seen from the `persistent_data` namespace. 71 72 ## TLS certificate generation 73 74 When SSL support is enabled and a usable certificate is not found, bmcweb will 75 generate a self-signed a certificate before launching the server. Please see the 76 bmcweb source code for details on the parameters this certificate is built with. 77 78 ## Redfish Aggregation 79 80 bmcweb is capable of aggregating resources from satellite BMCs. Refer to 81 [AGGREGATION.md](https://github.com/openbmc/bmcweb/blob/master/AGGREGATION.md) 82 for more information on how to enable and use this feature. 83