Bug 1476379
| Summary: | [RFE] Add randomness to SCAP client runs to avoid DDOS of the server | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Rich Jerrido <rjerrido> |
| Component: | SCAP Plugin | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Unspecified | CC: | bkearney, egolov, jcallaha, ktordeur, mcorr, mhulan, oprazak |
| Target Milestone: | 6.5.0 | Keywords: | FutureFeature, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-foreman_scap_client-0.3.19 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-05-14 12:36:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rich Jerrido
2017-07-28 18:22:30 UTC
Created redmine issue http://projects.theforeman.org/issues/20449 from this bug The number can be configured by puppet-foreman_scap_client with default value to 600 so user could still change the configuration by overriding this smart class parameter. The only thing I don't like on this approach is the python code. Maybe we could improve the foreman_scap_client to use sleep function from ruby. We'd pass the interval as optional second argument. (In reply to Marek Hulan from comment #2) > The number can be configured by puppet-foreman_scap_client with default > value to 600 so user could still change the configuration by overriding this > smart class parameter. The only thing I don't like on this approach is the > python code. Maybe we could improve the foreman_scap_client to use sleep > function from ruby. We'd pass the interval as optional second argument. Doens't have to be python. That was just an example. Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20449 has been resolved. verified @satellite 6.5.0 snap 13 @puppet-foreman_scap_client-0.3.19-1.el7sat.noarch observation: - randomness added into the cron job, which allows the clients to splay their reporting. - the range of randomness configurable by the end-user. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1222 |