====== Утилита httpry ======
^ Description | httpry is a tool designed for displaying and logging HTTP traffic. It is not intended to perform analysis itself, but instead to capture, parse and/or log the traffic for later analysis. It can be run in real-time displaying the live traffic on the wire, or as a daemon process that logs to an output file. It is written to be as lightweight and flexible as possible, so that it can be easily adaptable to different applications. It does not display the raw HTTP data transferred, but instead focuses on parsing and displaying the request/response line along with associated header fields. |
^ Homepage | http://dumpsterventures.com/jason/httpry/, https://github.com/jbittel/httpry |
НЕ работает с **https**
Установка
# yum install httpry
# apt-get install httpry
Пример запуска
# httpry -i eth0
2016-12-23 15:00:45 192.168.1.13 192.168.1.77 > GET rtfm.wiki / HTTP/1.1 - -
2016-12-23 15:00:45 192.168.1.77 192.168.1.13 < - - - HTTP/1.1 200 OK
Добавив ключ ''-s'' можно также посмотреть количество запросов в секунду и найти наиболее активный виртуальный хост
# httpry -i eth0 -s
2016-12-23 15:35:36 example.com 103 rps
2016-12-23 15:35:36 dev.example.com 3 rps
2016-12-23 15:35:36 totals 106.00 rps
2016-12-23 15:35:41 example.com 116 rps
2016-12-23 15:35:41 dev.example.com 5 rps
2016-12-23 15:35:41 totals 120.80 rps
2016-12-23 15:35:46 example.com 121 rps
2016-12-23 15:35:46 dev.example.com 5 rps
2016-12-23 15:35:46 foobar.com 6 rps
2016-12-23 15:35:46 totals 127.40 rps