home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / injoy2_3.zip / firerule.dct < prev    next >
Text File  |  1999-09-26  |  5KB  |  181 lines

  1. #
  2. #    FIRERULE.DCT - Do not modify this file!
  3. #
  4. #    This file contains dictionary translations for parsing
  5. #    requests and generating responses. The file is composed 
  6. #    of Attribute/Value Pairs. The value of each attribute
  7. #    is specified as one of 4 data types.  Valid data types are:
  8. #
  9. #    string - 0-253 octets (probably less)
  10. #    ipaddr - 4 octets in network byte order
  11. #    integer - 32 bit value in big endian order (high byte first)
  12. #    date - 32 bit value in big endian order - seconds since
  13. #
  14. #    Enumerated values are stored in *.cnf files in the respective
  15. #    database directories.
  16. #
  17.  
  18.  
  19. ATTRIBUTE    Rule-Name        1    string
  20. ATTRIBUTE    Rule-Status        2    integer
  21. ATTRIBUTE    Comment            3    string
  22. ATTRIBUTE    Protocol        4    integer
  23. ATTRIBUTE    Source-Port        5    integer
  24. ATTRIBUTE    Service            6    integer
  25. ATTRIBUTE    Service-List        7    string
  26. ATTRIBUTE    Source            8    string
  27. ATTRIBUTE    Source-Netmask        9    ipaddr
  28. ATTRIBUTE    Destination        10    string
  29. ATTRIBUTE    Destination-Netmask    20    ipaddr
  30. ATTRIBUTE    Rule-Action        21    integer
  31. ATTRIBUTE    Alert-Type        22    integer
  32. ATTRIBUTE    Alert-Info        23    string
  33. ATTRIBUTE    Log-Control        24    integer
  34. ATTRIBUTE    Log-Mask        25    string
  35. ATTRIBUTE    Log-File        26    string
  36. ATTRIBUTE    Log-Size        27    integer
  37. ATTRIBUTE    Account-Control        30    integer
  38. ATTRIBUTE    Account-File        31    string
  39. ATTRIBUTE    Account-Type        32    integer
  40. ATTRIBUTE    Mapping-Dest-IP        40    string
  41. ATTRIBUTE    Mapping-Dest-Port    41    integer
  42.  
  43.  
  44.  
  45. #
  46. #    String Translations
  47. #
  48.  
  49. # Source
  50. #
  51. # Specify host name, ip-address or the keyword "any" to instruct the firewall 
  52. # engine not to check/touch the IP number from the IP packet.
  53.  
  54.  
  55.  
  56. # Destination
  57. #
  58. # Specify host name, ip-address or the keyword "any" to instruct the firewall 
  59. # engine not to check/touch the IP number from the IP packet.
  60.  
  61.  
  62. # Log-Mask
  63. #
  64. # String composed from the following case-sensitive, whitespace seperated 
  65. # keywords:
  66. #
  67. #  "rule"   - rule name
  68. #  "date"   - todays date
  69. #  "time"   - current time
  70. #  "msg"    - descriptive text (if provided by application)
  71. #  "prot"   - Protocol
  72. #  "source" - source part of offending packets (ip)
  73. #  "dest"   - destination part of offending packets (ip)
  74. #  "service"- destination port number
  75. #  "dump"   - dump offending IP packets
  76. #
  77. # The sequence of keywords do not relate to the order of the output
  78.  
  79.  
  80. #
  81. #    Integer Translations
  82. #
  83.  
  84. #    Rule-Status
  85. VALUE        Rule-Status        Disabled        0
  86. VALUE        Rule-Status        Enabled            1
  87.  
  88. #    Protocol
  89. VALUE        Protocol        IGNORE            999999
  90. VALUE        Protocol        ICMP            1
  91. VALUE        Protocol        TCP            6
  92. VALUE        Protocol        UDP            17
  93.  
  94. #    Rule-Action
  95. VALUE        Rule-Action        Allow            1
  96. VALUE        Rule-Action        Deny            2
  97. VALUE        Rule-Action        Log            3
  98. VALUE        Rule-Action        Account            4
  99. VALUE        Rule-Action        Alert            5
  100. VALUE        Rule-Action        Portmap            6
  101.  
  102.  
  103. #    Alert-Type
  104. VALUE        Alert-Type        Alert-Off        0
  105. VALUE        Alert-Type        Alert-Audio        1
  106. VALUE        Alert-Type        Alert-Autostart        2
  107.  
  108. #    Source-Port
  109. VALUE        Source-Port        IGNORE            999999
  110. VALUE        Source-Port        FTP-DATA        20
  111. VALUE        Source-Port        FTP            21
  112. VALUE        Source-Port        TELNET            23
  113. VALUE        Source-Port        SMTP            25
  114. VALUE        Source-Port        DNS            53
  115. VALUE        Source-Port        TFTP            69
  116. VALUE        Source-Port        GOPHER            70
  117. VALUE        Source-Port        WWW            80
  118. VALUE        Source-Port        POP2            109
  119. VALUE        Source-Port        POP3            110
  120. VALUE        Source-Port        NNTP            119
  121. VALUE        Source-Port        NETBIOS-NS        137
  122. VALUE        Source-Port        NETBIOS            138
  123. VALUE        Source-Port        NETBIOS-SSN        139
  124. VALUE        Source-Port        SNMP            161
  125. VALUE        Source-Port        SNMP-TRAP        162
  126.  
  127. #    Service
  128. VALUE        Service            IGNORE            999999
  129. VALUE        Service            FTP-DATA        20
  130. VALUE        Service            FTP            21
  131. VALUE        Service            TELNET            23
  132. VALUE        Service            SMTP            25
  133. VALUE        Service            DNS            53
  134. VALUE        Service            TFTP            69
  135. VALUE        Service            GOPHER            70
  136. VALUE        Service            WWW            80
  137. VALUE        Service            POP2            109
  138. VALUE        Service            POP3            110
  139. VALUE        Service            NNTP            119
  140. VALUE        Service            NETBIOS-NS        137
  141. VALUE        Service            NETBIOS            138
  142. VALUE        Service            NETBIOS-SSN        139
  143. VALUE        Service            SNMP            161
  144. VALUE        Service            SNMP-TRAP        162
  145.  
  146.  
  147. #    Mapping-Dest-Port
  148. VALUE        Mapping-Dest-Port    IGNORE            999999
  149. VALUE        Mapping-Dest-Port    FTP-DATA        20
  150. VALUE        Mapping-Dest-Port    FTP            21
  151. VALUE        Mapping-Dest-Port    TELNET            23
  152. VALUE        Mapping-Dest-Port    SMTP            25
  153. VALUE        Mapping-Dest-Port    DNS            53
  154. VALUE        Mapping-Dest-Port    TFTP            69
  155. VALUE        Mapping-Dest-Port    GOPHER            70
  156. VALUE        Mapping-Dest-Port    WWW            80
  157. VALUE        Mapping-Dest-Port    POP2            109
  158. VALUE        Mapping-Dest-Port    POP3            110
  159. VALUE        Mapping-Dest-Port    NNTP            119
  160. VALUE        Mapping-Dest-Port    NETBIOS-NS        137
  161. VALUE        Mapping-Dest-Port    NETBIOS            138
  162. VALUE        Mapping-Dest-Port    NETBIOS-SSN        139
  163. VALUE        Mapping-Dest-Port    SNMP            161
  164. VALUE        Mapping-Dest-Port    SNMP-TRAP        162
  165.  
  166.  
  167. #    Log-Control
  168. VALUE        Log-Control        Disabled        0
  169. VALUE        Log-Control        Enabled            1
  170.  
  171. #    Account-Control
  172. VALUE        Account-Control        Disabled        0
  173. VALUE        Account-Control        Enabled            1
  174.  
  175.  
  176. #    Account-Type
  177. VALUE        Account-Type        Service            1
  178. VALUE        Account-Type        Source-IP        2
  179. VALUE        Account-Type        Destination-IP        3
  180. VALUE        Account-Type        Both-IP            4
  181.