ip level NKE : Parse out data in HTTP POST request
ip level NKE : Parse out data in HTTP POST request
- Subject: ip level NKE : Parse out data in HTTP POST request
- From: Arjun SM <email@hidden>
- Date: Mon, 14 May 2012 10:28:43 +0530
Hi all,
I am a newbie in this and I am trying to understand as to how I can keep track of the packet in NKE IP filter.
Scenario: I am trying to read data from all HTTP POST request's that goes out of my machine. Below is the hook function I have registered.
static errno_t myipfilter_output(void *cookie, mbuf_t *data, ipf_pktopts_t options)once i get the data, I check if its a HTTP request and IF YES, check for POST keyword in it. If YES, then I would proceed to parse out the data.
Problem:
As I understand, data can be distributed over multiple packets. It means that the actual data might not be present along with the HTTP POST header request itself and the data would arrive at a later stage.
My question is that, how do i keep track of the packets for specific HTTP POST request so that I don't miss out on the data ?
thanks in advance for all the help
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden