#7635: notebook -- make it trivial for any user to restrict the notebook server 
to
only listen on certain subdomain
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  was         
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.3    
  Component:  notebook     |    Keywords:              
Work_issues:               |      Author:              
   Upstream:  N/A          |    Reviewer:              
     Merged:               |  
---------------------------+------------------------------------------------
Changes (by was):

  * status:  new => needs_review


Comment:

 The attached patch implements the described capability.  The help from the
 notebook? output is:
 {{{
         - ``subnets`` -- (default: None) a list of strings that define
 subnets;
           if given, requests to the notebook server from ip addresses
           that are not in any of the listed subnets are ignored.  See
           http://en.wikipedia.org/wiki/Subnetwork for more about subnets.
           An example input is ``subnets=['192.168.1.0/24',
 '216.34.0.0/16']``,
           which accepts any address of the form ``192.168.1.*`` or of the
           form ``216.34.*.*``.  For serious use, you may want to instead
           use your operating system's firewall, which is probably more
           robust and reduces the load on the server.
 }}}

 NOTE: The patch includes ipaddr.py, which I understand will be in the next
 (major?) Python release, at which point it could be removed from sagenb
 (though this could impact standalone use).   Note that ipaddr.py is
 licensed PSF, so is OK to include.  It's copyright is owned by Google, I
 think.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7635#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to