Large messages from client causing message-servers to crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Undecided
|
Unassigned | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
New
|
Undecided
|
Unassigned | ||
Kinetic |
New
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
We've found frequently that large messages from clients are causing the message app servers to crash or lock up causing a DoS. This requires restarting. We've updated the logging used on the Landscape servers as follows:
| LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %D %I" combined2
This logs the duration the request took (%D) and the no. of bytes or size (%I).
An example log showing crash:
| 93.xxx.xxx.xxx - - [05/Nov/
Looking at the user agent, it looks legitimate.
Perhaps the landscape client itself could break up these messages into smaller ones?
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
The related server-side bug filed for this is LP:1994534. Not sure how best we want to handle this.