Welcome! Log In Create A New Profile

Advanced

noob question about stunnel

Posted by Nelson Serafica 
Nelson Serafica
noob question about stunnel
September 03, 2009 10:50AM
I know this is a stupid question but how do I patch stunnel? I have extract haproxy.tar.gz. cd to that directory and
command "patch < ../stunnel-4.15-xforwarded-for.diff" but I encountered an error:

[[email protected] haproxy-1.3.20]# patch < ../stunnel-4.15-xforwarded-for.diff
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru stunnel-4.15/doc/stunnel.8 stunnel-4.15_patched/doc/stunnel.8
|--- stunnel-4.15/doc/stunnel.8 2005-11-17 11:39:08.000000000 +0100
|+++ stunnel-4.15_patched/doc/stunnel.8 2006-07-07 09:13:34.000000000 +0200
--------------------------
File to patch:

Anyone knows how to resolve the problem?
Benoit
Re: noob question about stunnel
September 03, 2009 10:50AM
Nelson Serafica a écrit :
> I know this is a stupid question but how do I patch stunnel? I have
> extract haproxy.tar.gz. cd to that directory and command "patch <
> ../stunnel-4.15-xforwarded-for.diff" but I encountered an error:
>
> [[email protected] haproxy-1.3.20]# patch < ../stunnel-4.15-xforwarded-for.diff
> can't find file to patch at input line 4
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -ru stunnel-4.15/doc/stunnel.8 stunnel-4.15_patched/doc/stunnel.8
> |--- stunnel-4.15/doc/stunnel.8 2005-11-17 11:39:08.000000000 +0100
> |+++ stunnel-4.15_patched/doc/stunnel.8 2006-07-07 09:13:34.000000000
> +0200
> --------------------------
> File to patch:
>
> Anyone knows how to resolve the problem?
>

Well maybe you should try to apply the "patch for stunnel" to ... "stunnel"
Just an idea ...
Duncan Hall
Re: noob question about stunnel
September 03, 2009 11:00AM
Have you considered just downloading and compiling stunnel-4.22 it
already contains the patch?

I see you are using Centos. I have compiled an x86 stunnel-4.22 rpm for
CentOS 5.3 perhaps I could email it to you?

Regards,

Duncan



Nelson Serafica wrote:
> I know this is a stupid question but how do I patch stunnel? I have
> extract haproxy.tar.gz. cd to that directory and command "patch <
> ../stunnel-4.15-xforwarded-for.diff" but I encountered an error:
>
> [[email protected] haproxy-1.3.20]# patch < ../stunnel-4.15-xforwarded-for.diff
> can't find file to patch at input line 4
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -ru stunnel-4.15/doc/stunnel.8 stunnel-4.15_patched/doc/stunnel.8
> |--- stunnel-4.15/doc/stunnel.8 2005-11-17 11:39:08.000000000 +0100
> |+++ stunnel-4.15_patched/doc/stunnel.8 2006-07-07 09:13:34.000000000
> +0200
> --------------------------
> File to patch:
>
> Anyone knows how to resolve the problem?
>
Nelson Serafica
Re: noob question about stunnel
September 03, 2009 11:00AM
@Duncan

Please email if it could help solve the problem.

I have installed stunnel-4.27.tar.gz. Do I still need to patch stunnel-4.15-xforwarded-for.diff (I think so just not
sure though).

Also, how do I know that port 443 is now listen to stunnel and being forward to haproxy port 80?



Duncan Hall wrote:
> Have you considered just downloading and compiling stunnel-4.22 it
> already contains the patch?
>
> I see you are using Centos. I have compiled an x86 stunnel-4.22 rpm for
> CentOS 5.3 perhaps I could email it to you?
>
Duncan
Re: noob question about stunnel
September 03, 2009 02:40PM
Sorry my mistake, stunnel 4.22 doesn't already contain the patch but my
RPM was compiled with this patch
http://haproxy.1wt.eu/download/patches/stunnel-4.22-xforwarded-for.diff

I have both a x86 and 64bit versions RPM packaged for CentOS 5.3 if you
want them.

Duncan



Duncan Hall wrote:
> Have you considered just downloading and compiling stunnel-4.22 it
> already contains the patch?
>
> I see you are using Centos. I have compiled an x86 stunnel-4.22 rpm
> for CentOS 5.3 perhaps I could email it to you?
>
> Regards,
>
> Duncan
>
>
>
> Nelson Serafica wrote:
>> I know this is a stupid question but how do I patch stunnel? I have
>> extract haproxy.tar.gz. cd to that directory and command "patch <
>> ../stunnel-4.15-xforwarded-for.diff" but I encountered an error:
>>
>> [[email protected] haproxy-1.3.20]# patch <
>> ../stunnel-4.15-xforwarded-for.diff
>> can't find file to patch at input line 4
>> Perhaps you should have used the -p or --strip option?
>> The text leading up to this was:
>> --------------------------
>> |diff -ru stunnel-4.15/doc/stunnel.8 stunnel-4.15_patched/doc/stunnel.8
>> |--- stunnel-4.15/doc/stunnel.8 2005-11-17 11:39:08.000000000 +0100
>> |+++ stunnel-4.15_patched/doc/stunnel.8 2006-07-07 09:13:34.000000000
>> +0200
>> --------------------------
>> File to patch:
>>
>> Anyone knows how to resolve the problem?
>>
>
>
Guillaume Bourque
Re: noob question about stunnel
September 03, 2009 02:50PM
Hi Nelson,

2009/9/3 Nelson Serafica <[email protected]>

> @Duncan
>
> Please email if it could help solve the problem.
>
> I have installed stunnel-4.27.tar.gz. Do I still need to patch
> stunnel-4.15-xforwarded-for.diff (I think so just not sure though).
>
> Also, how do I know that port 443 is now listen to stunnel and being
> forward to haproxy port 80?
>
>
> lsof -n -i :443

this will give you what processe is listenning on port 443




>
>
> Duncan Hall wrote:
>
>> Have you considered just downloading and compiling stunnel-4.22 it already
>> contains the patch?
>>
>> I see you are using Centos. I have compiled an x86 stunnel-4.22 rpm for
>> CentOS 5.3 perhaps I could email it to you?
>>
>>
>


--
Guillaume Bourque, B.Sc.,
consultant, infrastructures technologiques libres
514 576-7638
Duncan
Re: noob question about stunnel
September 03, 2009 03:20PM
As requested,

http://graphicslib.viator.com/graphicslib/stunnel/stunnel-4.22-5.i386.rpm
http://graphicslib.viator.com/graphicslib/stunnel/stunnel-4.22-5.x86_64.rpm
http://graphicslib.viator.com/graphicslib/stunnel/stunnel-4.22-5.src.rpm

Regards,

Duncan


Guillaume Bourque wrote:
> Hi Nelson,
>
> 2009/9/3 Nelson Serafica <[email protected]
> <mailto:[email protected]>>
>
> @Duncan
>
> Please email if it could help solve the problem.
>
> I have installed stunnel-4.27.tar.gz. Do I still need to patch
> stunnel-4.15-xforwarded-for.diff (I think so just not sure though).
>
> Also, how do I know that port 443 is now listen to stunnel and
> being forward to haproxy port 80?
>
>
> lsof -n -i :443
>
> this will give you what processe is listenning on port 443
>
>
>
>
>
>
> Duncan Hall wrote:
>
> Have you considered just downloading and compiling
> stunnel-4.22 it already contains the patch?
>
> I see you are using Centos. I have compiled an x86
> stunnel-4.22 rpm for CentOS 5.3 perhaps I could email it to you?
>
>
>
>
>
> --
> Guillaume Bourque, B.Sc.,
> consultant, infrastructures technologiques libres
> 514 576-7638
>
Guillaume Bourque
Re: noob question about stunnel
September 03, 2009 04:10PM
Thanks

Guillaume

Duncan a écrit :
> As requested,
>
> http://graphicslib.viator.com/graphicslib/stunnel/stunnel-4.22-5.i386.rpm
> http://graphicslib.viator.com/graphicslib/stunnel/stunnel-4.22-5.x86_64..rpm
>
> http://graphicslib.viator.com/graphicslib/stunnel/stunnel-4.22-5.src.rpm
>
> Regards,
>
> Duncan
>
>
> Guillaume Bourque wrote:
>> Hi Nelson,
>>
>> 2009/9/3 Nelson Serafica <[email protected]
>> <mailto:[email protected]>>
>>
>> @Duncan
>>
>> Please email if it could help solve the problem.
>>
>> I have installed stunnel-4.27.tar.gz. Do I still need to patch
>> stunnel-4.15-xforwarded-for.diff (I think so just not sure though)..
>>
>> Also, how do I know that port 443 is now listen to stunnel and
>> being forward to haproxy port 80?
>>
>>
>> lsof -n -i :443
>> this will give you what processe is listenning on port 443
>>
>>
>>
>>
>>
>>
>> Duncan Hall wrote:
>>
>> Have you considered just downloading and compiling
>> stunnel-4.22 it already contains the patch?
>>
>> I see you are using Centos. I have compiled an x86
>> stunnel-4.22 rpm for CentOS 5.3 perhaps I could email it to you?
>>
>>
>>
>>
>>
>> --
>> Guillaume Bourque, B.Sc.,
>> consultant, infrastructures technologiques libres
>> 514 576-7638
>>
>


--
Guillaume Bourque, B.Sc.,
consultant, infrastructures technologiques libres !
514 576-7638
Sorry, only registered users may post in this forum.

Click here to login