我只是在编写一个脚本来备份 mysql 数据库并将其上传到 s3...我使用“s3cmd la”来查看当前在这个 s3 存储桶上的内容,并惊讶地看到一百万像这样的文件:
2012-10-23 12:19 411 s3://xv_backups/xv.backups_2012-10-23-12-19-55-F6DC46D0F13059F7
2012-10-23 12:30 410 s3://xv_backups/xv.backups_2012-10-23-12-30-27-76B099AC21454FED
2012-10-23 13:21 411 s3://xv_backups/xv.backups_2012-10-23-13-21-53-0A339BDD587ECACD
2012-10-23 13:28 410 s3://xv_backups/xv.backups_2012-10-23-13-28-23-65B7B3AEAAAD0FDF
2012-10-23 14:18 410 s3://xv_backups/xv.backups_2012-10-23-14-18-07-29FFF4BD0AE9AB02
2012-10-23 14:26 410 s3://xv_backups/xv.backups_2012-10-23-14-26-43-3BC4C3011FB93627
2012-10-23 14:28 410 s3://xv_backups/xv.backups_2012-10-23-14-28-19-CAC78643A195BFB5
2012-10-23 15:21 410 s3://xv_backups/xv.backups_2012-10-23-15-21-34-BABF49A52A8BA824
2012-10-23 16:00 411 s3://xv_backups/xv.backups_2012-10-23-16-00-30-072D0A74DBA71008
2012-10-23 16:21 410 s3://xv_backups/xv.backups_2012-10-23-16-21-12-B81605B136D338F3
2012-10-23 16:28 378 s3://xv_backups/xv.backups_2012-10-23-16-28-15-1BDAA5F42E3E5EAE
2012-10-23 16:57 410 s3://xv_backups/xv.backups_2012-10-23-16-57-50-CF7662865C347D1D
2012-10-23 17:20 410 s3://xv_backups/xv.backups_2012-10-23-17-20-19-798E3C0312C959A0
2012-10-23 17:31 411 s3://xv_backups/xv.backups_2012-10-23-17-31-31-18C3CD91ACE9D6ED
2012-10-23 17:56 410 s3://xv_backups/xv.backups_2012-10-23-17-56-06-8B197E8EE680A9F5
2012-10-23 18:19 410 s3://xv_backups/xv.backups_2012-10-23-18-19-54-486BC0B861DF196E
2012-10-23 19:24 411 s3://xv_backups/xv.backups_2012-10-23-19-24-03-129C8E3227876BDA
我注意到它们都是相对较小的文件 - 但是......它们来自世界的哪里?我 id "s3cmd get" 下载一个来检查它,我看到:
06859b77eb778603ede74dfa6b3444948d577d4c5bca27bfaa1fadd6ed56d35a xv_backups [23/Oct/2012:18:19:54 +0000] 10.186.158.42 3272ee65a908a7677109fedda345db8d9554ba26398b2ca10581de88777e2b61 88B05F67852EAA0D REST.PUT.OBJECT bb.backups_2012-10-23-18-19-54-486BC0B861DF196E "PUT /xv_backups/xv.backups_2012-10-23-18-19-54-486BC0B861DF196E HTTP/1.1" 200 - - 410 48 28 "-" "Jakarta Commons-HttpClient/3.0" -
那么--- 某处发出了 put 请求,并将这个时髦的文件放在 s3 上?有谁知道这是什么,它是如何到达这里的,我该如何阻止它,我应该担心吗?