ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- install_list-i.ri000064400000000473152372165450010045 0ustar00U:RDoc::AnyMethod[iI"install_list:ETI"ACL#install_list;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",Adds +list+ of ACL entries to this ACL.;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (list);T@FI"ACL;TcRDoc::NormalClass00ACLList/new-c.ri000064400000000444152372165450007360 0ustar00U:RDoc::AnyMethod[iI"new:ETI"ACL::ACLList::new;TT: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Creates an empty ACLList;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI" ACLList;TcRDoc::NormalClass00ACLList/cdesc-ACLList.ri000064400000001114152372165450010654 0ustar00U:RDoc::NormalClass[iI" ACLList:ETI"ACL::ACLList;TI" Object;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"NA list of ACLEntry objects. Used to implement the allow and deny halves ;TI"of an ACL;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I"new;TI"lib/drb/acl.rb;T[I" instance;T[[; [[; [[;[[I"add;T@"[I" match;T@"[[U:RDoc::Context::Section[i0o;;[; 0; 0[I"lib/drb/acl.rb;TI"ACL;TcRDoc::NormalClassACLList/add-i.ri000064400000000464152372165450007327 0ustar00U:RDoc::AnyMethod[iI"add:ETI"ACL::ACLList#add;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Adds +str+ as an ACLEntry in this list;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (str);T@FI" ACLList;TcRDoc::NormalClass00ACLList/match-i.ri000064400000000505152372165450007667 0ustar00U:RDoc::AnyMethod[iI" match:ETI"ACL::ACLList#match;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"7Matches +addr+ against each ACLEntry in this list.;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (addr);T@FI" ACLList;TcRDoc::NormalClass00ACLEntry/dot_pat-i.ri000064400000000475152372165450010421 0ustar00U:RDoc::AnyMethod[iI" dot_pat:ETI"ACL::ACLEntry#dot_pat;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"*Creates a Regexp to match an address.;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (str);T@FI" ACLEntry;TcRDoc::NormalClass00ACLEntry/new-c.ri000064400000001245152372165450007546 0ustar00U:RDoc::AnyMethod[iI"new:ETI"ACL::ACLEntry::new;TT: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"%Creates a new entry using +str+.;To:RDoc::Markup::BlankLineo; ; [I"J+str+ may be "*" or "all" to match any address, an IP address string ;TI"Hto match a specific address, an IP address mask per IPAddr, or one ;TI"5containing "*" to match part of an IPv4 address.;T@o; ; [I"AIPAddr::InvalidPrefixError may be raised when an IP network ;TI"5address with an invalid netmask/prefix is given.;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (str);T@FI" ACLEntry;TcRDoc::NormalClass00ACLEntry/cdesc-ACLEntry.ri000064400000001041152372165450011227 0ustar00U:RDoc::NormalClass[iI" ACLEntry:ETI"ACL::ACLEntry;TI" Object;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"An entry in an ACL;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[[[[[I" class;T[[: public[[:protected[[: private[[I"new;TI"lib/drb/acl.rb;T[I" instance;T[[; [[; [[;[[I" dot_pat;T@![I"dot_pat_str;T@![I" match;T@![[U:RDoc::Context::Section[i0o;;[; 0; 0[I"lib/drb/acl.rb;TI"ACL;TcRDoc::NormalClassACLEntry/match-i.ri000064400000000467152372165450010064 0ustar00U:RDoc::AnyMethod[iI" match:ETI"ACL::ACLEntry#match;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"'Matches +addr+ against this entry.;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (addr);T@FI" ACLEntry;TcRDoc::NormalClass00ACLEntry/dot_pat_str-i.ri000064400000000524152372165450011304 0ustar00U:RDoc::AnyMethod[iI"dot_pat_str:ETI"ACL::ACLEntry#dot_pat_str;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"9Creates a regular expression to match IPv4 addresses;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (str);T@FI" ACLEntry;TcRDoc::NormalClass00new-c.ri000064400000001241152372165450006121 0ustar00U:RDoc::AnyMethod[iI"new:ETI" ACL::new;TT: privateo:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"OCreates a new ACL from +list+ with an evaluation +order+ of DENY_ALLOW or ;TI"ALLOW_DENY.;To:RDoc::Markup::BlankLineo; ; [I"NAn ACL +list+ is an Array of "allow" or "deny" and an address or address ;TI"/mask or "all" or "*" to match any address:;T@o:RDoc::Markup::Verbatim; [ I" %w[ ;TI" deny all ;TI" allow 192.0.2.2 ;TI" allow 192.0.2.128/26 ;TI"];T: @format0: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I"#(list=nil, order = DENY_ALLOW);T@FI"ACL;TcRDoc::NormalClass00cdesc-ACL.ri000064400000003126152372165450006572 0ustar00U:RDoc::NormalClass[iI"ACL:ET@I" Object;To:RDoc::Markup::Document: @parts[o;;[ o:RDoc::Markup::Paragraph;[I"!Simple Access Control Lists.;To:RDoc::Markup::BlankLineo; ;[I"OAccess control lists are composed of "allow" and "deny" halves to control ;TI"Raccess. Use "all" or "*" to match any address. To match a specific address ;TI"@use any address or address mask that IPAddr can understand.;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"list = %w[ ;TI" deny all ;TI" allow 192.168.1.1 ;TI" allow ::ffff:192.168.1.2 ;TI" allow 192.168.1.3 ;TI"] ;TI" ;TI"8# From Socket#peeraddr, see also ACL#allow_socket? ;TI"4addr = ["AF_INET", 10, "lc630", "192.168.1.3"] ;TI" ;TI"acl = ACL.new ;TI"'p acl.allow_addr?(addr) # => true ;TI" ;TI"*acl = ACL.new(list, ACL::DENY_ALLOW) ;TI"&p acl.allow_addr?(addr) # => true;T: @format0: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[U:RDoc::Constant[iI" VERSION;TI"ACL::VERSION;T: public0o;;[o; ;[I"The current version of ACL;T; @*;0@*@cRDoc::NormalClass0U;[iI"DENY_ALLOW;TI"ACL::DENY_ALLOW;T;0o;;[o; ;[I"Default to deny;T; @*;0@*@@60U;[iI"ALLOW_DENY;TI"ACL::ALLOW_DENY;T;0o;;[o; ;[I"Default to allow;T; @*;0@*@@60[[[I" class;T[[;[[:protected[[: private[[I"new;TI"lib/drb/acl.rb;T[I" instance;T[[;[[;[[;[[I"allow_addr?;T@V[I"allow_socket?;T@V[I"install_list;T@V[[U:RDoc::Context::Section[i0o;;[; 0;0[I"lib/drb/acl.rb;T@*cRDoc::TopLevelallow_socket%3f-i.ri000064400000000471152372165450010326 0ustar00U:RDoc::AnyMethod[iI"allow_socket?:ETI"ACL#allow_socket?;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")Allow connections from Socket +soc+?;T: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (soc);T@FI"ACL;TcRDoc::NormalClass00allow_addr%3f-i.ri000064400000000733152372165450007751 0ustar00U:RDoc::AnyMethod[iI"allow_addr?:ETI"ACL#allow_addr?;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HAllow connections from addrinfo +addr+? It must be formatted like ;TI"Socket#peeraddr:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"*["AF_INET", 10, "lc630", "192.0.2.1"];T: @format0: @fileI"lib/drb/acl.rb;T:0@omit_headings_from_table_of_contents_below000[I" (addr);T@FI"ACL;TcRDoc::NormalClass00