Raw sockets (was: New Introductory Tutorial)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Raw sockets (was: New Introductory Tutorial)

Bert Freudenberg
To look at all traffic you need a "raw socket". Our SocketAddressInformation class only specifies socketTypeDGram and socketTypeStream, but not socketTypeRaw. 

However, there is a "primitiveSocketCreateRAW" in the VM's SocketPlugin. In the image, I only see references to "primitiveSocketCreate". So there might be a way to do it, but the code appears to not be in the image.

- Bert -

On Fri, Aug 26, 2016 at 7:33 AM, Dennis Groves <[hidden email]> wrote:
I would like to do network traffic analysis with Squeak, however All I can find are socket and http objects is there an object for looking at all the traffic on a given interface?

Cheers,

Dennis