RooSoft

RooSoft

Network packet analyzer

Is there an Elixir or Erlang library that can translate a frame of bytes received from the network into some structured data?

I’d like to analyze packet capture frames much like Wireshark can do, in plain Elixir.

Marked As Solved

voltone

voltone

There is GitHub - msantos/pkt: Erlang network protocol library · GitHub (in Erlang). But you’re never going to match the capabilities of the Wireshark dissectors. Maybe you could execute the Lua-based dissectors using GitHub - rvirding/luerl: Lua in Erlang · GitHub

Also Liked

LostKobrakai

LostKobrakai

There are layers to the data on the network. E.g. HTTP works on TCP and TCP on IP, so you’d need to be able to unpack those packages from the outside in IP->TCP->HTTP. You also need to figure out where packet boundaries are if you’d don’t know the data you have starts at a packet boundary.

hst337

hst337

procket

Last Post!

hst337

hst337

procket

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

Other popular topics Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44608 311
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New

We're in Beta

About us Mission Statement