ModSecurity:输出过滤器:无法读取存储桶(rc 104):连接被对等方重置

发布于 2024-09-08 04:08:34 字数 333 浏览 6 评论 0原文

我正在向使用 django 和活塞上传文件的休息服务发出 POST 请求,但是当我执行请求时,我收到此(奇怪?)错误:

[Sun Jul 04 16:12:38 2010] [error] [client 79.39.191.166] ModSecurity: Output filter: Failed to read bucket (rc 104): Connection reset by peer [hostname "url"] [uri "/api/odl/"] [unique_id "TDEVZEPNBIMAAGLwU9AAAAAG"]

这是什么意思?我该如何调试它?

I'm doing a POST request to a rest service made with django and piston uploading a file, but when I do the request i get this (strange?) error:

[Sun Jul 04 16:12:38 2010] [error] [client 79.39.191.166] ModSecurity: Output filter: Failed to read bucket (rc 104): Connection reset by peer [hostname "url"] [uri "/api/odl/"] [unique_id "TDEVZEPNBIMAAGLwU9AAAAAG"]

What does it mean? And how can I debug it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

峩卟喜欢 2024-09-15 04:08:34

输出过滤是一种方法管理员可以检查通过 Apache 的所有文本以查找特定的字符串集,然后阻止这些请求。

您有两个选择:

  1. 查看 apache 配置中的 mod_security 过滤规则。
  2. 从输出中删除一半文本,看看它是否有效。如果是,则问题字符串位于该文本块内。对越来越小的文本块重复此操作,直到找到有问题的字符串。

Output filtering is a way for an administrator to check all text that go through Apache for a specific set a strings, and then block those requests.

You have two options:

  1. Look at the mod_security filter rules inside your apache config.
  2. Remove half of your text from your output, and see if it works or not. If it did, the problem string is inside that block of text. Repeat with smaller and smaller chunks of text until you have found the offending string.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文