Pcaprub on Windows

I am trying to use Ruby on Windows to perform some low level packet
sniffing and manipulation. I have looked at pcaprub and can’t seem to
get it compiled on Windows using Cygwin or Devkit. I am open to using
other libraries if there is something I am not considering. What is the
best approach here?

Thanks,

Chris

On Aug 28, 9:42 pm, Chris R. [email protected] wrote:

I am trying to use Ruby on Windows to perform some low level packet
sniffing and manipulation. I have looked at pcaprub and can’t seem to
get it compiled on Windows using Cygwin or Devkit. I am open to using
other libraries if there is something I am not considering. What is the
best approach here?

I guess you can’t use pcap from cygwin since is emulating posix while
pcap is native Windows driver and library.

When you mention “devkit” I suppose you’re using RubyInstaller +
DevKit, correct? If so I would suggest you provide the headers and
development dependencies (lib) required for pcaprub be installed.

Most of the time, the answers to these questions are in the
documentation (if present) or the tool source code.

Look into that and provide the full output of errors you’re getting;
that helps too.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs