Other

PDF Convert

Android Port

Hello Mark

I'm searching for a port of jNetPcap for Android devices but I don't think it exists yet. Despite libpcap is actually included in the tree, there isn't a simple, straightforward way in the SDK of accessing the data, so I think it'd be a great achievement for everybody to get your library running on Android.

So far, I've been surfing the internet and found you were also looking for that some months ago as I could understand by reading a discussion in the android-ndk mailing list. I'd be very interested in working on this too and thought you may know the way to accomplish this.

As far as I know all that's needed is cross-compiling the jni part of the project against an arm target to obtain a libjnetpcap.so that runs on Android. Then one could include the jar in the project and use the API *almost* transparently from the app. At this moment I'm trying to create an Android.mk and and a config.h for the library as explained in http://warpedtimes.wordpress.com/2010/02/03/building-open-source-librari..., but I haven't succeeded so far (working on that).

My question is: Did you do some deeper research on this? If so, could you point me in the right direction to get the same result? If you don't, what do you think it'd be the best way to get this done?

Many thanks in advance.

--Alex

Importing a Windows application to other OS

Hello.
We are developing an application that uses JNetPCap, and we want to develop a version of that application for other operating systems.

Here are a few questions:
1.- Can JNetPCap be used in other OS's different from windows (Unix, Linux, etc.)

2.- If yes, which WinPCap alternative must be used?

3.- What JNetPCap classes/objects/methods must be modified, we use the following classes:
org.jnetpcap.Pcap;
org.jnetpcap.PcapIf;
org.jnetpcap.packet.PcapPacket;
org.jnetpcap.packet.PcapPacketHandler;
org.jnetpcap.protocol.network.Ip4;
org.jnetpcap.protocol.tcpip.Http;
org.jnetpcap.protocol.tcpip.Tcp;

thanks.

Using JNetPcap in RHEL4

I try to use the jnetpcap in RHEL4,
But when try to sendPacket, it failed.
I found that my libpcap version is 0.8.4.
Then I update the libpcap to 0.9.4,
I see in the manul that if libpcap version > 0.9.3, the jnetpcap will support sendpacket API,
But it still failed.
Why?

I see the jnetpcap will support FreeBSD,
Is this version released?

is the tcp-reassembler working?

Hello, I am using jnetpcap 2.0 on opensuse.i just wanted to know if the reassembly is working? I'm using http-analyzer class in the same way that the example of the images to capture http traffic (especially HTML pages).

However, when running html.page(), the text is not complete... For example, the navigation to the jnetpcap's main page gives:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr" id="html-main">

<head>
  <title>Reading Images from Http | jNetPcap OpenSource</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/codefilter/codefilter.css?W" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/jnetpcap.com/files/css/f4cc3662caf0ccc48024a2a8149ec1f4.css" />
  <script type="text/javascript" src="/sites/jnetpcap.com/files/js/62c26b0a62c2d646431941852bdf882c.js"></script>
<script type="text/javascript">jQuery.extend(Drupal.settings, { "basePath": "/", "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit

<--
note that the code is not complete, is just the beginning of the html tree

You have to configure the tcp assembler for use in the first place? or just listen to the http-analyzer is enough?

guys could help me please? thx !!