From e9b7b8acad4a0ae1bfb3a58b44b26c0074975955 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 3 Nov 2010 16:31:50 -0700 Subject: [PATCH] Add address-type info to config file basics doc --- docs/configuration_file_basics.xml | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/docs/configuration_file_basics.xml b/docs/configuration_file_basics.xml index 58427c5ef..039777582 100644 --- a/docs/configuration_file_basics.xml +++ b/docs/configuration_file_basics.xml @@ -492,6 +492,48 @@ ACCEPT net:\ +
+ Addresses + + In both Shorewall and Shorewall6, there are two basic types of + addresses: + + + + Host Address + + + This address type refer to a single host. + + In IPv4, the format is i.j.k.l where + i through l are decimal + numbers between 1 and 255. + + In IPv6, the format is a:b:c:d:e:f:g:h + where a through h consist + of 1 to 4 hexidecimal digits. a single series of 0 addresses may be + omitted. For example 2001:0;0;0;0;0;0;0;1 may be written + 2001::1. + + + + + Network Address + + + A network address refers to 1 or more hosts and consists of a + host address followed by a slash ("/") and a Variable + Length Subnet Mask (VLSM). The VLSM is a decimal number. + For IPv4, it is in the range 0 through 32. For IPv6, the range is 0 + through 128. + + + + + In the Shorewall documentation and manpages, we have tried to make + it clear which type of address is accepted in each specific case. +
+
Specifying SOURCE and DEST