home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / IJB20OS2 / SACLFILE.TXT < prev    next >
Text File  |  1997-09-16  |  4KB  |  101 lines

  1. #    Access Control List for the Internet Junkbuster 2.0
  2. #
  3. # Copyright 1997 Junkbusters Corporation.  For distribution, modification and
  4. # use under the GNU General Public License. These files come with NO WARRANTY.
  5. # See http://www.junkbusters.com/ht/en/gpl.html or the README file for details.
  6. #
  7. # Note: we provided this feature due to popular demand from ISPs,
  8. # please be reminded that the FAQ states that this proxy is not
  9. # intended to be a substitute for a firewall or to encourage anyone
  10. # to defer addressing basic security weaknesses.
  11.  
  12. # If no access file is provided, the proxy talks to anyone that connects.
  13. # If an access file is provided, the proxy talks only to IP addresses
  14. # permitted somewhere in this file and not denied later in this file.
  15. #
  16. # Summary -- if using an ACL:
  17. #
  18. #    Client must have permission to receive service
  19. #    LAST match in ACL file wins
  20. #    Default behavior is to deny service
  21. #
  22. # Syntax for an entry in an Access Control List is:
  23. #
  24. # ACTION    SRC_ADDR[/SRC_MASKLEN]    [ DST_ADDR[/DST_MASKLEN] ]
  25. #
  26. # where the fields are
  27. #
  28. # ACTION      = "permit" | "deny"
  29. #
  30. # SRC_ADDR    = client hostname or dotted IP address
  31. # SRC_MASKLEN = number of bits in the subnet mask for the source
  32. #
  33. # DST_ADDR    = server or forwarder hostname or dotted IP address
  34. # DST_MASKLEN = number of bits in the subnet mask for the target
  35. #
  36. # field separator (FS) is whitespace (space or tab)
  37. #
  38. # IMPORTANT NOTE
  39. # ==============
  40. # If the junkbuster is using a forwarder or a gateway for a particular 
  41. # destination URL, the DST_ADDRR that is examined is the address of
  42. # the forwarder or the gateway and NOT the address of the ultimate target.
  43. # This is necessary because it may be impossible for the local
  44. # junkbuster to determine the address of the ultimate target
  45. # (that's often what gateways are used for).
  46. #
  47. # Here are a few examples to show how the ACL works:
  48.  
  49. # localhost is OK --  no DST_ADDR implies that ALL destination addresses are OK
  50. # permit    localhost
  51.  
  52. # a silly example to illustrate:
  53. #
  54. # permit any host on the class-C subnet with junkbusters to go anywhere
  55. #
  56. # permit    www.junkbusters.com/24
  57. #
  58. # except deny one particular IP address from using it at all
  59. #
  60. # deny        ident.junkbusters.com
  61.  
  62. # another example
  63. #
  64. # you can specify an explicit network address and subnet mask
  65. # explict addresses do not have to be resolved to be used.
  66. #
  67. # permit 207.153.200.0/24
  68.  
  69. # a subnet mask of 0 matches anything, so the next line permits everyone.
  70. #
  71. # permit 0.0.0.0/0
  72.  
  73. # Note:  you cannot say
  74. #
  75. # permit    .org
  76. #
  77. # to allow all .org domains; every IP-address listed must resolve fully.
  78.  
  79. # An ISP may want to provide a junkbuster that is accessible by "the world"
  80. # and yet restrict use of some of their private content to hosts on its
  81. # internal network (i.e. its own subscribers).  Say, for instance the
  82. # ISP owns the Class-B IP address block 123.124.0.0 (a 16 bit netmask).
  83. # This is how they could do it:
  84.  
  85. # permit 0.0.0.0/0    0.0.0.0/0    # other clients can go anywhere 
  86. #                      with the following exceptions:
  87. #
  88. # deny   0.0.0.0/0    123.124.0.0/16    # block all external requests for
  89. #                                         sites on the ISP's network
  90. #
  91. # permit 0.0.0.0/0    www.my_isp.com    # except for the ISP's main web site
  92. #
  93. # permit 123.124.0.0/16    0.0.0.0/0    # the ISP's clients can go anywhere
  94.  
  95. # Note that some hostnames may be listed with multiple IP addresses,
  96. # the primary value returned by gethostbyname() is used.
  97. #
  98.  
  99.  
  100.  
  101.