
なぜサーバーをブラックリストに載せるべきなのでしょうか?
curl または別のプログラムで?
サーバーがブラックリストに載るにはどうすればよいでしょうか?
それはサーバーまたはプログラムに依存しますか?
これはブラックリストに登録された IP アドレスですか、それとも http 応答内のサーバー名ですか?
PS: 関係があるかどうかはわかりませんが、私は Linux / Ubuntu で実行しています。
完全な出力は次のとおりです (ローカルホストでトルネードをテスト)
> * Rebuilt URL to: localhost:8888/
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8888 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:8888
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 16 May 2014 16:35:40 GMT
< Content-Length: 12
< Etag: "e02aa1b106d5c7c6a98def2b13005d5b84fd8dc8"
< Content-Type: text/html; charset=UTF-8
* Server TornadoServer/3.2 is not blacklisted
< Server: TornadoServer/3.2
<
* Connection #0 to host localhost left intact
Hello, world
答え1
からの内部メッセージですcurl
。
見る:https://github.com/bagder/curl/blob/master/lib/pipeline.c
パイプラインに関連する機能の一部であるようですcurl
。
bool Curl_pipeline_server_blacklisted(struct SessionHandle *handle,
char *server_name)
{
...
infof(handle, "Server %s is not blacklisted\n", server_name);