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

Ethereal-dev: [Ethereal-dev] [Patch] Etheral reads from socket

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Javier Acuña" <javier.acuna@xxxxxxxxxx>
Date: Sun, 26 Jun 2005 20:56:34 -0400


Hi

Here I'm sending a small patch that allows Ethereal to read data from a server. I already tested it with a server that waits an incoming connection and, when a client connects, it send data through the socket.

I added some options to the 'Capture' GUI to specify IP address and port number. The only problem is that I can't get the values from the preferences dialog to work. It will always pick up the default values. Can someone help me please?

Details:

Adds socket related options to capture_opts struct.
Adds code in capture_loop.c to allow reading from a socket, it's mostly adapted from reading from a pipe.
Adds code in capture_dlg.c to allow setting IP and port numbers. This needs improvement.

Once I can figure out how to solve the aforementioned preferences' bug, I'll add some more code to allow Ethereal to send an HTTP GET message to a server, and then read data from the socket.

After that, I will test my changes on Windows, and make the appropriate changes, if necessary.

Best Regards
Javier Acuña




________________________________________________________________

Mensaje enviado desde el Servicio Webmail del Dominio sixbell.cl



                  



_____________________________
La informacion contenida en esta transmision es confidencial, y no puede ser usada por otras personas que su(s) destinatario(s). El uso no autorizado de la informacion contenida en esta transmision puede ser sancionado. Si ha recibido esta transmision por error, por favor destruyala y notifique al remitente telefonicamente, con cobro revertido o via e-mail.

The information contained in this transmission is privileged, and may not be used by any person other than its addressee(s). Unauthorized use of the information contained in this transmission may be punished  by law.  If received in error, please destroy and notify the sender by calling collect or by e-mail.
_____________________________

Attachment: socket-patch.gz
Description: Binary data