Giter Site home page Giter Site logo

evaluating pcap4j about pcap4j HOT 7 CLOSED

dzonekl avatar dzonekl commented on August 18, 2024
evaluating pcap4j

from pcap4j.

Comments (7)

kaitoy avatar kaitoy commented on August 18, 2024

Hi dzonekl,

I have no concrete plan to support any protocols for now. At least, I think I should support common ones early, such as NDP, PPP, HTTP, etc. I don't think telecommunications protocols are common very much and so I will give low priorities to them.
Basically, I hope users would add protocol supports themselves (and push them to my repository). I will document how to do that.

Thank you for your interest in Pcap4J,
Kaito

from pcap4j.

dzonekl avatar dzonekl commented on August 18, 2024

Hello Kaito,

Thank you for your response. I understand your priorities regarding support
for specific protocols.
I would like to understand, what it take to add one protocol. I am looking
forward to the "howto" document
on this.

BTW, I have managed to run some of the tests examples of pcap4j, for
example

  • PcapNetworkInterfaceTest
  • ReadPacketFile.

Does this mean, the wrapper for libPcap works correctly? (I didn't install
anything specific on MacOSX).

Also, I get a compile error on the files:

/pcap4j/src/main/java/org/pcap4j/core/PcapIpv4Address.java
/pcap4j/src/main/java/org/pcap4j/core/PcapIpv6Address.java

The 'v' should be a captial letter, as the class name is : PcapIpV4Address,
PcapIpV6Address

rgds Christophe

On Sun, May 5, 2013 at 8:44 AM, Kaito Yamada [email protected]:

Hi dzonekl,

I have no concrete plan to support any protocols for now. At least, I
think I should support common ones early, such as NDP, PPP, HTTP, etc. I
don't think telecommunications protocols are common very much and so I will
give low priorities to them.
Basically, I hope users would add protocol supports themselves (and push
them to my repository). I will document how to do that.

Thank you for your interest in Pcap4J,
Kaito


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-17447561
.

C*hristophe Bouhier
*[email protected]
+31612962997
Clifforstraat 43-II
1051 GS, Amsterdam
http://www.netxforge.com

from pcap4j.

kaitoy avatar kaitoy commented on August 18, 2024

Both PcapNetworkInterfaceTest and ReadPacketFile use some APIs of libpcap and so if it works it means the wrappers work well.
As for compile error, thank you for your information. I've fixed the problem. I didn't notice the problem because my local repository is fine. When I pushed my local changes of class names to the remote repository, something bad happened and the file name changes did not go into the repository.

from pcap4j.

dzonekl avatar dzonekl commented on August 18, 2024

Thanks for the update. I have trouble pulling your change.
I made a own branch (eclipsefy) to run pcap4j as an eclipse OSGI plugin,
but pulling is complaining:

*Christophes-MacBook-Pro:pcap4j Christophe$ git checkout eclipsefy
error: The following untracked working tree files would be overwritten by
checkout:
src/main/java/org/pcap4j/core/PcapIpv4Address.java
src/main/java/org/pcap4j/core/PcapIpv6Address.java
target/.gitignore
Please move or remove them before you can switch branches.
Aborting
*
I am not sure, what happend but the commit looks odd, with several commits
manipulating them. I think you should revert back and try again, because
this breaks somehow.
(I didn't touch these files locally).

BTW, it would be nice if pcap4j could be offered as plugin, I can offer a
patch for this if you think it's worth it.
cheers. Christophe

On Fri, May 10, 2013 at 7:52 AM, Kaito Yamada [email protected]:

PcapNetworkInterfaceTest uses some APIs of libpcap and so if it works it
means the wrappers work well.
As for compile error, thank you for your information. I've fixed the
problem. I didn't notice the problem because my local repository is fine.
When I pushed my local changes of class names to the remote repository,
something bad happened and the file name changes did not go into the
repository.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-17705480
.

C*hristophe Bouhier
*[email protected]
+31612962997
Clifforstraat 43-II
1051 GS, Amsterdam
http://www.netxforge.com

from pcap4j.

kaitoy avatar kaitoy commented on August 18, 2024

The pcap4j repository on Github seems to be fine. I can clone pcap4j from Github and build it successfully. I'm afraid your local repository or working tree has a problem. Please try to remove pcap4j you cloned and re-make a clone.
As for plugin, I'm not familiar with it but if you will contribute something it would be great.

Kaito

from pcap4j.

kaitoy avatar kaitoy commented on August 18, 2024

Hi dzonekl,

I wrote how to add a protocol support: https://github.com/kaitoy/pcap4j/blob/master/www/HowToAddProtocolSupport.md
I don't think this document is enough, but I'm not sure what should be added. If you give me feedback it helps.

Kaito

from pcap4j.

dzonekl avatar dzonekl commented on August 18, 2024

Hi, thanks.
I will have a look and let you know.
CHeers Christophe

On Sat, Jun 1, 2013 at 5:50 AM, Kaito Yamada [email protected]:

Hi dzonekl,

I wrote how to add a protocol support:
https://github.com/kaitoy/pcap4j/blob/master/www/HowToAddProtocolSupport.md
I don't think this document is enough, but I'm not sure what should be
added. If you give me feedback it helps.

Kaito


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-18783039
.

C*hristophe Bouhier
*[email protected]
+31612962997
Clifforstraat 43-II
1051 GS, Amsterdam
http://www.netxforge.com

from pcap4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.