Sending Custom Packets over Raw Socket (e.g. custom ICMP payload, etc.)

Hello,

My apologies in advance if this is not the correct category for this question.

I’m interested in trying to write a ping or traceroute-like tool in Julia (partly for my own edification, but also for use in networking research at my job), specifically one that uses ICMP packets. I don’t think it would be too hard to create IP packets with ICMP payloads and encode them properly, but the problem lies in sending the packets: I’d need to be able to open a raw socket. From what I can tell, Julia doesn’t appear to have this functionality.

My question is, does anybody know whether this is possible, and if not, whether there are any plans to introduce raw sockets in the future?

Thanks in advance

1 Like