ip level NKE - how to trace the process that generates traffic?
ip level NKE - how to trace the process that generates traffic?
- Subject: ip level NKE - how to trace the process that generates traffic?
- From: James J <email@hidden>
- Date: Sat, 03 Mar 2012 18:49:31 +0200
Hello
I am developing a kind of a traffic redirector for transparent proxy
filter, which should redirect all the IP traffic to a proxy (usermode)
application, except the traffic, that is generated by this proxy
application, which should be passed through freely.
I know I can find out whether the mbufs come from my application or
not in a Socket filter NKE (when the NKE is being attached to the
application socket, by calling proc_selfpid()). However, in IP level
NKE this is impossible.
Would there be a way to trace "the origins" of the mbuf that I receive
in my ipf_output_func() function?
Thank you
_______________________________________________
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