Hi,
I noticed in the newest version of TcpListener that you changed the listen code from binding on all ports to only binding on localhost (127.0.0.1). What are the reasons for this? It is hard coded, so I have to either change the code or set up a local address translation rule.
Thanks, Jason
On 11/4/07, Giovanni Corriga giovanni@corriga.net wrote:
Il giorno dom, 04/11/2007 alle 09.23 -0800, Rob Withers ha scritto:
Ok, I got an HttpsService defined, but my SSLSocket still doesn't support all of the protocol you expect a socket to have. I'll work on that. You would have to launch this from your HVRootView class like:
^(HttpsService startOn: portNum named: name) loadRSACertificateFile: 'certificates/rsa.cert' privateKeyFile: 'certificates/rsa.key'; plug: ma rootModule; mode: mode
Looks good.
Giovanni
Il giorno dom, 04/11/2007 alle 21.51 +0100, Jason Johnson ha scritto:
Hi,
I noticed in the newest version of TcpListener that you changed the listen code from binding on all ports to only binding on localhost (127.0.0.1). What are the reasons for this? It is hard coded, so I have to either change the code or set up a local address translation rule.
That's a change that comes from Ron Teitelbaum's packages. Ron's package comment says that this change was suggested by Adrian Lienhard. Probably the best would be to have it listening on localhost only by default, and have the user explicitly tell it to listen on all interfaces. Would that work for you?
Ciao,
Giovanni
El 11/4/07 6:46 PM, "Giovanni Corriga" giovanni@corriga.net escribió:
That's a change that comes from Ron Teitelbaum's packages. Ron's package comment says that this change was suggested by Adrian Lienhard. Probably the best would be to have it listening on localhost only by default, and have the user explicitly tell it to listen on all interfaces. Would that work for you?
Ciao,
Giovanni
How is this related to my recent ask about localAdress on Linux ? You have HV2 working in a Linux box and could reach from other machine ?
Very thanks
Edgar
Il giorno dom, 04/11/2007 alle 18.52 -0300, Edgar J. De Cleene ha scritto:
El 11/4/07 6:46 PM, "Giovanni Corriga" giovanni@corriga.net escribió:
That's a change that comes from Ron Teitelbaum's packages. Ron's package comment says that this change was suggested by Adrian Lienhard. Probably the best would be to have it listening on localhost only by default, and have the user explicitly tell it to listen on all interfaces. Would that work for you?
Ciao,
Giovanni
How is this related to my recent ask about localAdress on Linux ? You have HV2 working in a Linux box and could reach from other machine ?
It might as well be. I've reverted that patch; please try loading http://www.squeaksource.com/KomHttpServer/KomServices-gc.12.mcz and tell me if it solves your problem.
Meanwhile, I'll open a bug to remind me to fix all this stuff.
Giovanni
Yes, configurable is the way to go I think.
Thanks, Jason
On 11/4/07, Giovanni Corriga giovanni@corriga.net wrote:
Il giorno dom, 04/11/2007 alle 21.51 +0100, Jason Johnson ha scritto:
Hi,
I noticed in the newest version of TcpListener that you changed the listen code from binding on all ports to only binding on localhost (127.0.0.1). What are the reasons for this? It is hard coded, so I have to either change the code or set up a local address translation rule.
That's a change that comes from Ron Teitelbaum's packages. Ron's package comment says that this change was suggested by Adrian Lienhard. Probably the best would be to have it listening on localhost only by default, and have the user explicitly tell it to listen on all interfaces. Would that work for you?
Ciao, Giovanni
Il giorno lun, 05/11/2007 alle 05.26 +0100, Jason Johnson ha scritto:
Yes, configurable is the way to go I think.
Ok, then if you're interested please monitor http://bugs.squeak.org/view.php?id=6752 . Meanwhile the latest KomServices package in the SqueakSource repo has been reverted to the previous behavior.
Giovanni
squeak-dev@lists.squeakfoundation.org