[stunnel-users] stunnel-users Digest, Vol 48, Issue 8
Pietro Di Primo
pietro.diprimo at ct.infn.it
Thu Jul 10 16:42:30 CEST 2008
Thank you for reply.
I tryied it but it doesn't work because my client run some separated
subprocesses and are them that contact the server so, if an extern process
try to connect to 127.0.0.1:<the_found_port> while one of that subprocess
has finished and the next is not yet started, it will be able to do it and
also my subprocess will be pending (i tryed it).
Hope i was able to explain the situation.
Any suggestion?
Thanks in advace
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 9 Jul 2008 13:26:03 +0200 (CEST)
> From: "Pietro Di Primo" <pietro.diprimo at ct.infn.it>
> Subject: [stunnel-users] client-server tunnelling
> To: stunnel-users at mirt.net
> Message-ID:
> <2553.193.206.208.201.1215602763.squirrel at imapfis.ct.infn.it>
> Content-Type: text/plain;charset=utf-8
>
> Hi, I have a client server application, and want to tunnel it in this way:
> a script select a free port in a random way, write the stunnel.conf file.
> with "accept=<the_found_port>" and "connect=<my_server>" and run my client
> application passing to 127.0.0.1:<the_found_port> as server address.
> The problem is that i need to be sure that no other client or user can
> access <the_found_port> while the application is running.
> I guess that it should be possible to do it, but i wasn't able to.
>
> Can anybody help me?
>
> Thanks
>
>
> --
> ---
>
> Ing. Pietro Di Primo
> INFN - Istituto Nazionale di Fisica Nucleare
> Grid Computing Research Area
> Via S. Sofia 78 95123 CATANIA (Italy)
> Voice : +39 095 378-5446/5517
> Fax. : +39 095 378 5518
> Mobile : +39 320 8591527
> E-mail : pietro.diprimo at ct.infn.it
> Skype : pietrodiprimo
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 9 Jul 2008 14:08:23 +0200
> From: Micha? Trojnara <Michal.Trojnara at mobi-com.net>
> Subject: Re: [stunnel-users] client-server tunnelling
> To: stunnel-users at mirt.net
> Message-ID: <6ba9f1b703149916bb1a61fb68a1e377 at mirt.net>
> Content-Type: text/plain; charset="UTF-8"
>
>
> Pietro Di Primo wrote:
>> Hi, I have a client server application, and want to tunnel it in this
> way:
>> a script select a free port in a random way, write the stunnel.conf
>> file.
>> with "accept=<the_found_port>" and "connect=<my_server>" and run my
> client
>> application passing to 127.0.0.1:<the_found_port> as server address.
>> The problem is that i need to be sure that no other client or user can
>> access <the_found_port> while the application is running.
>> I guess that it should be possible to do it, but i wasn't able to.
>
> Simply bind the specific network interface with:
> accept=127.0.0.1:<the_found_port>
>
> Best regards,
> Mike
>
>
>
> ------------------------------
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at mirt.net
> http://stunnel.mirt.net/mailman/listinfo/stunnel-users
>
>
> End of stunnel-users Digest, Vol 48, Issue 8
> ********************************************
>
--
---
Ing. Pietro Di Primo
INFN - Istituto Nazionale di Fisica Nucleare
Grid Computing Research Area
Via S. Sofia 78 95123 CATANIA (Italy)
Voice : +39 095 378-5446/5517
Fax. : +39 095 378 5518
Mobile : +39 320 8591527
E-mail : pietro.diprimo at ct.infn.it
Skype : pietrodiprimo
More information about the stunnel-users
mailing list