Bitrix Site Manager

Creating and editing a stop list record

In this section

  • Context bar
  • "Parameters" tab
  • "Actions" tab
  • "Comment" tab
  • Notes on network masks
  • This form is used to create and edit the stop list record.

    Context bar

    Button Description
    Stop list Opens the stop list. 
    Create Creates a new stop-list record.
    Delete Deletes the current stop-list record.

    "Parameters" tab

    Field Description
    Modified The date and time the record was last modified.
    Record activity
    Active Makes the record active or inactive.
    Start date The date the record is to become active.
    End date The date the record is to become inactive.
    Criteria to filter out visitors
    Site The site on which the record works. A visitor matches the stop-list record only if all criteria match.
    IP address The IP address of the affected visitor.
    Net mask The visitor IP address mask.
    UserAgent The visitor UserAgent.
    From The referring page (from which the affected visitors enter the site).
    To The page to which affected visitors come.

    "Actions" tab

    Field Description
    Redirect to URL Address of the page to which the visitors is to be redirected (if the visitor matches the record criteria).
    Show message The message to be displayed to the visitor.
    Encoding Language of the message; affects the message display.
    Save statistics Set this flag to record the stop-list visitor hits.

    "Comment" tab

    An arbitrary comment explaining the reasons why the record was created.

    Remember to click Save after you have made any changes.

    Subnet mask (in stop lists)

    In the TCP/IP terms, a subnet mask (or net mask) is a bit mask (set of flags) that specifies which bits of the IP address specify a particular IP network or a host within a subnetwork. For example, an IP address of 12.34.56.78 with a subnet mask of 255.255.0.0 specifies net 12.34.0.0.

    To extract the network ID (network address) from an arbitrary IP address using an arbitrary subnet mask, IP uses a mathematical operation called a logical AND comparison:

    IP address:   00001100 00100010 00111000 1001110 (012.034.056.078)
    Subnet mask:  11111111 11111111 11100000 0000000 (255.255.224.000)
    ------------------------------------------------------------------
    Network ID:   00001100 00100010 00100000 0000000 (012.034.032.000)
    

    A stop list record contains two records: network IP and subnet mask. A visitor is considered to match a stop list record if, having the subnet mask (of a stop list record) applied to their IP address, we get the network IP (of a stop list record).

    Example 1. Deny access to all visitors from IP of 206.191.49.66.

    1. Specify the following:
      • network IP = 206.191.49.66
      • subnet mask = 255.255.255.255
    2. When a visitor with IP of 206.191.49.66 enters the site, the following operation occurs:
      Visitor IP address: 11010001 10111111 11000001 1000010 (206.191.049.066)
      Subnet mask:        11111111 11111111 11111111 1111111 (255.255.225.255)
      ------------------------------------------------------------------------
      Result:             11010001 10111111 11000001 1000010 (206.191.049.066)
      
      If the result matches the network IP (of a stop list record), the visitor is found in the stop list. Thus, all visitors from 206.191.49.66 will match the stop list record.

    Example 2. Deny access to all visitors from subnet of 206.191.49.xxx (IP in the range from 206.191.49.1 to 206.191.49.255)

    1. specify:
      • network IP = 206.191.49.0
      • subnet mask = 255.255.255.0
    2. When a visitor with IP of 206.191.49.76 enters the site, the following operation occurs:
      Visitor IP address: 11010001 10111111 11000001 1001100 (206.191.049.076)
      Subnet mask:        11111111 11111111 11111111 0000000 (255.255.225.000)
      ------------------------------------------------------------------------
      Result:             11010001 10111111 11000001 0000000 (206.191.049.000)
      
      The result matches the network IP (of a stop list record), and consequently, the visitor is found in the stop list. Thus, all visitors with IP's from 206.191.49.1 to 206.191.49.255 will not be allowed to access the server.