For Programmers: Free Programming Magazines  


Home > Archive > LDAP > January 2006 > simple-proxy.pl









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 simple-proxy.pl
Hans.Klunder@bigfoot.com

2006-01-24, 7:11 pm

Hi,

I noticed in the TODO that there was a request for a simple proxy which
can act as a man-in-the-middle.

Well, the attached script provides such a proxy, it is really a simple
proxy as it can currently handle only one client at the time, it will
dump requests and responses to STDOUT both in ASN1 and as perl structure.

Cheers,

Hans
ps. If you need a little more power like returning entries on a query I
suggest to have a look at Net::LDAP::Server on CPAN.




Peter Marschall

2006-01-29, 7:05 pm

Hi Hans,

On Tuesday, 24. January 2006 21:18, Hans.Klunder@bigfoot.com wrote:
> I noticed in the TODO that there was a request for a simple proxy which
> can act as a man-in-the-middle.
>
> Well, the attached script provides such a proxy, it is really a simple
> proxy as it can currently handle only one client at the time, it will
> dump requests and responses to STDOUT both in ASN1 and as perl structure.


I have committed the file (with a few slight changes) to the contrib section
of perl-ldap's SVN.

Thanks
Peter

--
Peter Marschall
eMail: peter@adpm.de
Hans.Klunder@bigfoot.com

2006-01-29, 7:05 pm

Peter,

Peter Marschall wrote:
> Hi Hans,
>
> On Tuesday, 24. January 2006 21:18, Hans.Klunder@bigfoot.com wrote:
>
>
> I have committed the file (with a few slight changes) to the contrib section
> of perl-ldap's SVN.
>
> Thanks
> Peter
>

Thanks for cleaning up and committing. The SVN version has one bug which
is fixed by the attached patch.

Cheers,

Hans

Peter Marschall

2006-01-29, 7:05 pm

Hi,

On Sunday, 29. January 2006 16:50, Hans.Klunder@bigfoot.com wrote:
> Thanks for cleaning up and committing. The SVN version has one bug which
> is fixed by the attached patch.


Thanks for spotting my fault.

(Hopefully ;-) fixed in SVN now.

CU
epter

--
Peter Marschall
eMail: peter@adpm.de
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com