On Thu, Mar 6, 2008 at 4:19 PM, Yi Qiang <[EMAIL PROTECTED]> wrote:
> The problem is that the notebook is never launched to bound to a specific
> interface. Could you please file a trac# against this?
>
> The specific issue is that in twistedconf.tac, we start the server like so:

Ah ha!   This used to work as expected when the notebook used Python's
simplehttp but now that we switched to twisted that interface stuff just gets
ignored.  Very interesting.  Thanks for tracking this down!

>
> strports.service('tls:8000:privateKey=/Users/yqiang/.sage/notebook/private.pem:certKey=/Users/yqiang/.sage/notebook/public.pem',
> factory)
>
> It should read something like
>
> strports.service('tls:8000:interface=127.0.0.1:privateKey=/Users/yqiang/.sage/notebook/private.pem:certKey=/Users/yqiang/.sage/notebook/public.pem',
> factory)
>
> to only listen on localhost.
>
> Someone more familiar with the notebook should probably write the patch,
> since the behavior of this should depend on what the user specifies when
> launching the notebook.

Well if you make the patch, I'll referee it.

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to