[Seaside] Seaside Listening on localhost only ?

Sven Van Caekenberghe sven at beta9.be
Tue Nov 27 09:44:24 UTC 2007

On 26 Nov 2007, at 16:16, Randal L. Schwartz wrote:

> You should be able to change 127 0 0 1 to 255 255 255 255 to get back
> to the insecure behavior.

I got what I want (a server socket not only listening on localhost,  
but on any interface of the machine the deployed image is running on)  
with the following change:

'From Squeak3.9 of 20 November 2007 [latest update: #7068] on 27  
November 2007 at 10:40:11 am'!

!TcpListener methodsFor: 'private' stamp: 'svc 11/27/2007 10:05'!
pvtNewListener: backlogSize
	"Create a new socket that listens on our port.  The backlog is how  
many simultaneous
	connections to accept at the same time"

	| listener |
	listener := self socketClass newTCP.
	self socketsToDestroy add: listener.
		listenOn: portNumber
		backlogSize: backlogSize
		interface: #(0 0 0 0) asByteArray.
	^listener! !

However, I am still confused whether this is by design or not.  
Changing a method is not the ideal for configuration.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2409 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20071127/364d6614/smime.bin

More information about the seaside mailing list