You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "Beno, Tal" <ta...@hp.com> on 2008/03/08 20:33:59 UTC
Using MINA for TCP conversation construction / PCAP related
Hello,
I have a general question please.
I am engaged in a project where I want to construct TCP packets (which passes through a machine via one of the interfaces) into TCP conversations, much like Wireshark and some other tools are doing their TCP tracing.
Can MINA play some role in such a project? Anyone tried it in conjunction with PCAP? I may not grasp the extent of MINA thus might be confusing concepts, so please pardon me. In general I would also be grateful if you can think of a good advice how I can do it or know of an opensource which provides good enough programmatic APIs for that.
Cheers,
Tal
Re: Using MINA for TCP conversation construction / PCAP related
Posted by Mark Renouf <ma...@gmail.com>.
If you're asking specifically about Java, I think this might be useful:
http://jpcap.sourceforge.net/ (Haven't used it myself though... )
It would be very possible to hook MINA to that to handle protocol
decoding, using pcap as a transport.
AbstractPollingConnectionlessIoAcceptor might be a good place to start
with that.
On Sat, Mar 8, 2008 at 2:33 PM, Beno, Tal <ta...@hp.com> wrote:
> Hello,
> I have a general question please.
>
> I am engaged in a project where I want to construct TCP packets (which passes through a machine via one of the interfaces) into TCP conversations, much like Wireshark and some other tools are doing their TCP tracing.
>
> Can MINA play some role in such a project? Anyone tried it in conjunction with PCAP? I may not grasp the extent of MINA thus might be confusing concepts, so please pardon me. In general I would also be grateful if you can think of a good advice how I can do it or know of an opensource which provides good enough programmatic APIs for that.
>
> Cheers,
> Tal
>