原文地址:http://dumpsterventures.com/jason/httpry/

core program

httpry is a specialized packet sniffer designed for displaying and logging HTTP traffic. It is not intended to perform analysis itself, but to capture, parse, and log the traffic for later analysis. It can be run in real-time displaying the traffic as it is parsed, 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.

What can you do with it? Here's a few ideas:

  • See what users on your network are requesting online
  • Check for proper server configuration (or improper, as the case may be)
  • Research patterns in HTTP usage
  • Watch for dangerous downloaded files
  • Verify the enforcement of HTTP policy on your network
  • Extract HTTP statistics out of saved capture files
  • It's just plain fun to watch in realtime

Here's an example of the log file output using the default output format string:

# httpry version 0.1.8
# Fields: timestamp,source-ip,dest-ip,direction,method,host,request-uri,http-version,status-code,reason-phrase
2009-01-12 15:02:31 192.168.0.16 209.85.171.103 > GET www.google.com / HTTP/1.1 - -
2009-01-12 15:02:31 192.168.0.16 209.85.171.103 > GET www.google.com / HTTP/1.1 - -
2009-01-12 15:02:32 192.168.0.16 209.85.171.103 > GET www.google.com / HTTP/1.1 - -
2009-01-12 15:02:33 192.168.0.16 209.85.171.103 > GET www.google.com / HTTP/1.1 - -
2009-01-12 15:02:33 209.85.171.103 192.168.0.16 < - - - HTTP/1.1 200 OK
2009-01-12 15:02:33 192.168.0.16 209.85.171.103 > GET www.google.com /intl/en_ALL/images/logo.gif HTTP/1.1 - -
2009-01-12 15:02:33 209.85.171.103 192.168.0.16 < - - - HTTP/1.1 200 OK
2009-01-12 15:02:33 192.168.0.16 209.85.171.103 > GET www.google.com /extern_js/f/CgJlbhICdXMrMAo4DSwrMA44AywrMBg4Ayw/AQ-hC7_2R8g.js HTTP/1.1 - -
2009-01-12 15:02:33 209.85.171.103 192.168.0.16 < - - - HTTP/1.1 200 OK
2009-01-12 15:02:33 192.168.0.16 209.85.173.101 > GET clients1.google.com /generate_204 HTTP/1.1 - -
2009-01-12 15:02:33 209.85.173.101 192.168.0.16 < - - - HTTP/1.1 204 No Content

parsing scripts

Of course, the fun of collecting data is finding ways to analyze it. The log files are designed to be easily parsed by command line utilities, but sometimes you need to dig a little deeper. Complementing the core httpry program is a set of parsing scripts for mining information out of generated log files. Most of these scripts are written as plugins for a core parsing script and include functionality for extracting search terms, searching for specified terms within client flows, and outputting the logs in XML among other things. It is relatively straightforward to write custom plugins for additional parsing tasks.

latest news

The latest release adds a number of useful features and tweaks. VLAN tagged packets are now handled, and the PPP link type is supported. There's a new option available for specifying a custom ethernet header offset. Packet parsing is also improved with better handling of partial headers and a non-zero read timeout for live captures. For specifics of the changes in this release, check out the changelog

As with many previous releases, most of the major features and improvements in this version are a direct result of contributions of code or ideas, which are always appreciated. The doc/AUTHORS file specifically lists those individuals as their contributions are greatly appreciated! The httpry codebase is hosted on GitHub if you would like to file a bug or contribute back to the project.

linux http请求监控工具httpry---官方文档相关推荐

  1. [Linux Kernel] memory-barriers 内存屏蔽 官方文档

    文章目录 DISCLAIMER | 免责声明 CONTENTS | 目录 一.ABSTRACT MEMORY ACCESS MODEL | 抽象内存访问模型 1. DEVICE OPERATIONS ...

  2. linux3.10.53编译,根据官方文档在Linux下编译安装Apache

    根据官方文档在Linux下编译安装Apache 前言 永远记住官方文档才是最准确的安装手册,这篇文章仅为对官方文档的解读和补充,学习提升务必阅读官方文档: http://httpd.apache.or ...

  3. 【官方文档】Fluent Bit 安装在 Linux

    文章目录 1. Amazon Linux 2. Redhat / CentOS 2.1. 安装在 Redhat / CentOS 上 2.2. 配置 Yum 2.3. 安装 3. Debian 4. ...

  4. 【官方文档】Fluentd 通过 RPM 包安装在 Red Hat Linux

    文章目录 1. td-agent 是什么? 2. calyptia-fluentd 是什么? 3. 用于安装 td-agent 3.1. 步骤 0:安装前 3.2. 步骤 1:从 rpm Reposi ...

  5. 从LFS官方文档构建完整Linux系统

    这不是新手教程!!! Parallels Desktop (为防止找不到网卡 NIC Type设成Intel(R) PRO/1000 MT). kali-linux-2.0-amd64(i386).i ...

  6. OpenTsdb官方文档-----理解指标和时间序列

      OpenTSDB是一个时间序列数据库.时间序列是一段时间内某个特定指标量的一系列数值数据点.每个时间序列由一个指标量加上一个或多个与此指标量相关联的标签组成(我们会稍微介绍一下标签).指标量是您希 ...

  7. Hyperledger Fabric 2.0 官方文档中文版 第6章 教程(上)

    Hyperledger Fabric 2.0 官方文档中文版第6章 教程上 总目录 6.教程(上) 将智能合约部署到通道 启动网络 Logspout设置 打包智能合约 安装链码包 批准链码定义 将链码 ...

  8. 【官方文档】Fluent Bit 简介

    文章目录 1. 什么是 Fluent Bit ? 2. Fluent Bit 简史 3. Fluentd & Fluent Bit 4. 许可证 官方文档地址: What is Fluent ...

  9. 【官方文档】Fluent Bit 数据管道之过滤插件(Kubernetes)

    文章目录 1. 配置参数 2. 处理 'log' 值 3. Kubernetes Annotations 3.1. Pod 定义中的 annotations 示例 3.1.1. 建议一个解析器 3.1 ...

  10. ASP.NET Core Razor官方文档踩坑

    环境:ASP.NET Core 3.1 工具:VS2019 官方文档的起始页地址:教程:使用 ASP.NET Core 创建 Razor Pages Wb 应用 | Microsoft Learn 添 ...

最新文章

  1. python封装方法有几种_Python中的封装有什么作用?
  2. 成功解决pml.Simple derived_col_names[int(obj[‘split_feature‘])],\ IndexError: list index out of range
  3. Tomcat中server.xml文件内各节点详解
  4. python爬虫好学不_python爬虫好学吗
  5. JedisConnectionException: java.Net.SocketTimeoutException: Read timed
  6. vs2015html5环境配置,visual studio 2015 PreView环境搭建图文教程
  7. 内蒙古联通与锡盟行政公署签大数据合作协议
  8. Spring-jdbc-ConnectionHolder
  9. $(cd $(dirname $0),pwd) 解析
  10. vscode源码分析【一】从源码运行vscode
  11. Mysql最常用的十大函数
  12. 蓝桥杯官网练习系统基础练习(一)
  13. 【Windows 10】U盘量产
  14. 【MFC】Ribbon界面开发(三)
  15. 微信公众号授权登录重复登录不跳转
  16. Python有限状态机FMS结合测试用例
  17. LeetCode——5805. 最小未被占据椅子的编号(The Number of the Smallest Unoccupied Chair)[中等]——分析及代码(Java)
  18. 3d效果图设计师接私单的渠道介绍和避坑指南
  19. 【案例】融360:智能金融系统建设最佳实践案例
  20. 微信小程序+Node服务器

热门文章

  1. MSSQL中的随机函数
  2. java版电子商务spring cloud分布式微服务b2b2c社交电商 (十四)服务注册(consul)
  3. 我们在开源项目中是怎样埋彩蛋的
  4. 揭秘码云:全球第二大代码托管平台的核心架构
  5. Java模板引擎-FreeMarker
  6. 深入理解javascript选择器API系列第二篇——getElementsByClassName
  7. (转)Ubuntu10.04各文件夹的作用
  8. 函数式思维: 利用 Either 和 Option 进行函数式错误处理 类型安全的函数式异常...
  9. aptana对齐快捷键ctrl+shift+f
  10. 面向开发者的2018年AI趋势分析