Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] lua http.request and http.response structure

From: "Luis EG Ontanon" <luis@xxxxxxxxxxx>
Date: Tue, 2 Sep 2008 11:33:34 +0200
I'm wrote preety much all of WS Lua's interface, and I am not aware of
any such "structure"...

There are tap-data structures of lua that are extracted from header
files of dissectors using code generated by epan/wslua/make-taps.pl
which in turn is controlled by epan/wslua/taps .

These are *willingly* left un-documented. As my plans are to radically
modify this part of the code (but before I need to have a clear Idea
of what and how this should be done).

The http req/resp data currently passed to Listener calls is a Table
that contains the  same data as struct http_info_value_t defined in
epan/dissectors/packet-http.h .

typedef struct _http_info_value_t {
	guint32 framenum;
	gchar	*request_method;	
	guint	 response_code;
	gchar   *http_host;
	gchar   *request_uri;
} http_info_value_t;

Hope this helps...

I hope this helps but do not count on it to be there on future versions.

\Lego

On Tue, Sep 2, 2008 at 10:16 AM, Riccardo Roasio
<riccardo.roasio@xxxxxxxxx> wrote:
> Hi,
>
> where can i found informations about the lua http.response and
> http.request structure?
>
> Regards,
> Riccardo
>
> --
> Riccardo Roasio
> amuser S.p.A.
> advanced multimedia services
> 10149 Torino (Italy) - via Val della Torre, 4
> Tel     +39 011 291 3777
> Fax +39 011 291 3737
> riccardo.roasio@xxxxxxxxx
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> https://wireshark.org/mailman/listinfo/wireshark-dev
>



-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan