Michael Santos

Results 82 comments of Michael Santos

Test `tracert` is working with the loopback: ~~~ erlang 2> tracert:host({127,0,0,1}). [{{127,0,0,1}, 62, {icmp,}}] ~~~ The default is to do a ICMP traceroute. You can try doing a UDP traceroute:...

No pull request :) Seems like the versions have diverged quite a bit! They've made some incompatible changes like moving from tuples to binaries for IP addresses. I'll look at...

Hey @sheltont , it seems the sniff example sets `crash` to `false` when the snaplen option is set: ~~~ epcap:start([{snaplen, 16#ffff}, ...]) ~~~ Another option is excluding ethertype 0x9998 in...

@metelik Apologies for the very slow response time, didn't see this issue. gmail has been filtering out my github emails. In case you haven't figured this out, you can try...

Hey @mszmurlo ! Use the `interface` socket option to gen_icmp:open/1: ~~~ erlang % ping -I lo 127.0.0.1 {ok, S} = gen_icmp:open([{interface, "lo"}]), gen_icmp:ping(S, ["127.0.0.1", "8.8.8.8"], []). [{error,timeout,"8.8.8.8",{8,8,8,8}}, {ok,"127.0.0.1", {127,0,0,1}, {127,0,0,1},...

No problem! The readme should have documented those options. BTW, if you don't want to manage the socket yourself, `gen_icmp:ping/2` accepts socket options: ~~~ erlang gen_icmp:ping(["127.0.0.1", "8.8.8.8"], [{interface, "lo"}]). ~~~

Here are some for 802.1x: https://www.cloudshark.org/captures/0061f1f9b34d http://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=eapol-mka.pcap

@jdppettit first of all, sorry for missing this issue! Seems gmail has decided to filter email from github. ``` {:error, {:undef, [{:procket, :socket, [:inet, :raw, :icmp], []} ``` The `undef`...

@jdppettit thanks for the update! Try adding the dependencies to mix.exs: ~~~ defp deps do [ {:gen_icmp, git: "https://github.com/msantos/gen_icmp.git"}, {:procket, git: "https://github.com/msantos/procket.git", override: true}, {:pkt, git: "https://github.com/msantos/pkt.git", override: true} ]...

On Sat, May 19, 2012 at 02:11:41AM -0700, Benoit Chesneau wrote: > Hi, Any idea how I could return something like : > > $ ping friendpaste.com > PING friendpaste.com...