In this paper, HTTP status codes are used as custom metrics within the HPA as the experimental scenario. By integrating the Random Forest classification algorithm from machine learning, attacks are assessed and predicted, dynamically adjusting the maximum pod parameter in the HPA to manage attack traffic. This approach enables the adjustment of HPA parameters using machine learning scripts in targeted attack scenarios while effectively managing attack traffic. All access from attacking IPs is redirected to honeypot pods, achieving a lower incidence of 5XX status codes through HPA pod adjustments under high load conditions. This method also ensures effective isolation of attack traffic, preventing excessive HPA expansion due to attacks. Additionally, experiments conducted under various conditions demonstrate the importance of setting appropriate thresholds for HPA adjustments.


翻译:本文以HTTP状态码作为HPA自定义指标构建实验场景。通过集成机器学习中的随机森林分类算法,对攻击行为进行评估与预测,动态调整HPA中的最大Pod参数以管控攻击流量。该方法能够在定向攻击场景中运用机器学习脚本调整HPA参数,同时有效管理攻击流量。所有来自攻击IP的访问均被重定向至蜜罐Pod,通过高负载条件下的HPA Pod调整实现了更低的5XX状态码发生率。该方法还能确保攻击流量的有效隔离,防止因攻击导致HPA过度扩缩。此外,在不同条件下进行的实验证明了为HPA调整设置合适阈值的重要性。

0
下载
关闭预览

相关内容

《攻击场景描述形式化模型研究》
专知会员服务
28+阅读 · 2025年8月15日
基于态势演化博弈的无人机集群动态攻防
专知会员服务
98+阅读 · 2023年9月3日
专知会员服务
56+阅读 · 2020年12月28日
使用随机森林分类器预测森林火灾规模
论智
13+阅读 · 2018年5月15日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
19+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 1月15日
VIP会员
相关VIP内容
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
19+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员