Apache Directory Project - Creating a sniffer with MINA for tests purposes

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2005 > Creating a sniffer with MINA for tests purposes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Creating a sniffer with MINA for tests purposes
Tony Blanchard

2005-06-21, 5:45 pm

Hello to the list.

I tried to make a sniffer to hear what was on between my ldap client and
apacheds and I used Mina 0.9-SNAPSHOT to do this.
I can hear what my client asks but only when the ldap server is down. It
seems that once a connection is opened on localhost:10389 (my conf)
the other can not bind to the socket address.
As I am not a network specialist, could you please tell me in what
direction to look for a solution. Maybe I should not use an IoAcceptor
to sniff the connection ?

Maybe I missed something really easy ?
Thanks,
Tony Blanchard





Alex Karasulu

2005-06-21, 5:45 pm

Tony Blanchard wrote:

> Hello to the list.
>
> I tried to make a sniffer to hear what was on between my ldap client
> and apacheds and I used Mina 0.9-SNAPSHOT to do this.
> I can hear what my client asks but only when the ldap server is down.
> It seems that once a connection is opened on localhost:10389 (my conf)
> the other can not bind to the socket address.
> As I am not a network specialist, could you please tell me in what
> direction to look for a solution. Maybe I should not use an IoAcceptor
> to sniff the connection ?
>
> Maybe I missed something really easy ?


Yeah use ethereal . Seriously why don't you do that Tony. I'm sure
you can use a simple filter easily in Mina to do this but why bother
unless you have an application other than inspecting the data. Is that
the case?

Alex

Alex Karasulu

2005-06-21, 5:45 pm

Tony Blanchard wrote:

You online Tony? I'm on IRC and you can reach me on IM here. Might be
good to stay connected.

AIM: alexokarasulu
MSN: aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org
Yahoo!: alexkarasulu
IRC: aok

I'm on IRC on freenode.net channels #directory and #directory-dev.

Alex


Alex Karasulu

2005-06-21, 5:45 pm

Alex Karasulu wrote:

> Tony Blanchard wrote:
>
> You online Tony? I'm on IRC and you can reach me on IM here. Might
> be good to stay connected.
>
> AIM: alexokarasulu
> MSN: aok123-Bdlq13kUjeyLZ21kGMrzwg@public.gmane.org
> Yahoo!: alexkarasulu
> IRC: aok
>
> I'm on IRC on freenode.net channels #directory and #directory-dev.


Oh and I'm using ethereal for all Sniffing btw so I can help out online
if you have issues. You don't have to deal with writing custom code to
sniff this stuff its very easy. I'll only be there for next few hours
though.

Good luck,
Alex

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com