Re: [stunnel-users] launch stunnel server daemon from php?

This is a discussion on Re: [stunnel-users] launch stunnel server daemon from php? within the Stunnel Users forums, part of the Networking and Network Related category; --===============2001642334== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYX8XqlwBJQgDxCD" Content-Disposition: ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 1 Week Ago
Brian Hatch
 
Posts: n/a
Default Re: [stunnel-users] launch stunnel server daemon from php?


--===============2001642334==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="zYX8XqlwBJQgDxCD"
Content-Disposition: inline


--zYX8XqlwBJQgDxCD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Around 2008-05-02 12:19 -0700, Wesley Kenzie implored:

> I am having problems launching stunnel from a php "exec" command. I would
> like to have it launch as a server daemon and then have the exec command
> return control to the php script. The best I have been able to do is lau=

nch
> it in foreground with a command like "/usr/local/bin/stunnel
> /etc/stunnel/test.conf &" but control never returns to the php script.
>=20
> I do not want to use inetd mode, and would prefer to specify command line
> arguments, but I see they are no longer available in version 4.



Can you show code that works for other excutables, but not stunnel,
plus your configuration file?

Stunnel will stop when it has no more input to send to the remote
end. It could be that stunnel is hanging because its input isn't
closed, so it assumes it's not 'done' yet.



--=20
Brian Hatch Deja moo (n)
Systems and - The feeling that you've
Security Engineer heard that bull before.
http://www.ifokr.org/bri/

Every message PGP signed

--zYX8XqlwBJQgDxCD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFIH06zVkMj8/ymYEsRAjNmAKCeECb09c13cV9rz3Yx1SMf4W49KQCcDWBb
+q2h5JnGr6jmfHuvG8F7q0U=
=OOxW
-----END PGP SIGNATURE-----

--zYX8XqlwBJQgDxCD--

--===============2001642334==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users

--===============2001642334==--
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:10 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0