.NET HTTP分析器 [英] .NET HTTP parser

查看:139
本文介绍了.NET HTTP分析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写一个应用程序来嗅出一些HTTP流量。我使用的WinPcap访问TCP / IP数据包。有一个库,这将有助于我解析HTTP消息?

I am writing an application to sniff some HTTP traffic. I am using WinPcap to access the TCP/IP packets. Is there a library that will help me parse the HTTP messages?

我已经实现了一个基本的解析器我自己,但我想更多的东西成熟:我一直运行到新的变化(分块的消息,GZIP-COM pression等。)

I have implemented a basic parser myself, but I would like something more mature: I keep running into new variations (chunked messages, gzip-compression etc.)

在.NET框架可能有一个HTTP分析器,但我看不到任何的方式来使用它,当TCP数据包不是来自直接的TCP连接。

The .NET framework probably have a HTTP parser, but I can't see any way to use it, when the TCP packets do not come from a direct TCP connection.

推荐答案

查看HttpMachine | https://github.com/bvanderveen/httpmachine

Check out HttpMachine | https://github.com/bvanderveen/httpmachine

这篇关于.NET HTTP分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆