--- maradns-1.3.07.09.orig/Makefile +++ maradns-1.3.07.09/Makefile @@ -1,6 +1,6 @@ # This is a wrapper that runs "./configure ; make" all: - ./compile.sh + ./configure ; make debug: ./configure ; make debug --- maradns-1.3.07.09.orig/dns/Makefile +++ maradns-1.3.07.09/dns/Makefile @@ -3,7 +3,7 @@ MHOBJS=../libs/MaraHash.o OBJECTS=$(DOBJECTS) $(JOBJS) $(MHOBJS) -FLAGS = -g -Wall $(DEBUG) +#FLAGS = -g -Wall $(DEBUG) #FLAGS = -g $(DEBUG) all: Queries.o Compress.o bobbit.o Decompress.o --- maradns-1.3.07.09.orig/tcp/Makefile +++ maradns-1.3.07.09/tcp/Makefile @@ -2,10 +2,11 @@ MJOBJS=../qual/qual_timestamp.o MHOBJS=../libs/MaraHash.o DOBJECTS=../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o +POBJ6=../parse/Csv2_rr_wks.o POBJ5=../parse/Csv2_database.o ../parse/Csv2_rr_txt.o ../parse/Csv2_esc_txt.o POBJ3=../parse/Csv2_rr_soa.o ../parse/Csv2_rr_aaaa.o ../parse/Csv2_rr_a.o POBJ2=../parse/Csv2_read.o ../parse/Csv2_main.o ../parse/Csv2_parse.o $(POBJ3) -POBJ4=../parse/ParseIpAcl.o ../parse/Parse_ipv6.o $(POBJ2) +POBJ4=../parse/ParseIpAcl.o ../parse/Parse_ipv6.o $(POBJ2) $(POBJ6) POBJECTS=../parse/ParseMaraRc.o ../parse/ParseCsv1.o $(POBJ4) $(POBJ5) OBJECTS=../parse/ParseCsv1.o ../parse/ParseMaraRc.o ../parse/ParseIpAcl.o SOBJECTS=../server/timestamp.o ../server/MaraBigHash.o ../server/read_kvars.o \ @@ -16,7 +17,7 @@ $(TCPOBJS) EXECS=getzone zoneserver fetchzone -FLAGS = -g -Wall $(DEBUG) +#FLAGS = -g -Wall $(DEBUG) #FLAGS = -g $(DEBUG) all: $(EXECS) --- maradns-1.3.07.09.orig/rng/rng-32bit-tables.h +++ maradns-1.3.07.09/rng/rng-32bit-tables.h @@ -1,332 +1,332 @@ /* This file is automatically generated by the program make_32bit_tables.c */ static const u32 Te0[256] = { -0xb3e2509bU, 0x63b4ca06U, 0x85e4a2d4U, 0x216c4602U, -0x3a6f3fa8U, 0xa616bd75U, 0x134d0610U, 0x4d60b99cU, -0x176ab44dU, 0x7f41f98eU, 0xe277da8fU, 0xcdec08c9U, -0x5a0a0dd1U, 0x1b0379aaU, 0x7b664bd3U, 0xa1e0f757U, -0xfaa55b5aU, 0xea39a535U, 0xc5a27773U, 0xb17c0938U, -0x2023e7deU, 0xd47128c0U, 0x7c9001f1U, 0x22bdbe7dU, -0xec804ecbU, 0xb9327682U, 0xbd15c4dfU, 0xc9cbba94U, -0xa488e4d6U, 0x014fa1dcU, 0x60653279U, 0xfe82e907U, -0x74de7e4bU, 0xa8e12931U, 0x0427b25dU, 0xe65068d2U, -0x898d6f33U, 0x928e1699U, 0x1202a7ccU, 0x7a29ea0fU, -0x1f24cbf7U, 0x64428024U, 0xdd70f6a6U, 0xbec43ca0U, -0x2d058be5U, 0x15f4edeeU, 0x572c61eaU, 0x1cf53388U, -0xf974a325U, 0x4046d5a7U, 0x2bbc601bU, 0xdea10ed9U, -0x42d88c04U, 0x8f3484cdU, 0x5f621e50U, 0x835d492aU, -0xf51d6ec2U, 0x2f9bd246U, 0xbf8b9d7cU, 0xee1e1768U, -0x6c0cff9eU, 0x16251591U, 0x37495393U, 0x5cb3e62fU, -0x3f072c29U, 0x4bd95262U, 0x05681381U, 0x90104f3aU, -0x03d1f87fU, 0x5244726bU, 0xd53e891cU, 0x9ac06923U, -0x51958a14U, 0x915feee6U, 0xdfeeaf05U, 0x79f81270U, -0xd2c8c33eU, 0x39bec7d7U, 0x764027e8U, 0x4808aa1dU, -0xcf72516aU, 0x269a0c20U, 0xab30d14eU, 0xc2543d51U, -0x770f8634U, 0xa0af568bU, 0x27d5adfcU, 0x4ffee03fU, -0xb4141ab9U, 0x8ce57cb2U, 0x2af3c1c7U, 0xdbc91d58U, -0xd6ef7163U, 0x3cd6d456U, 0x5b45ac0dU, 0x3e488df5U, -0x32214012U, 0xe1a622f0U, 0x9b8fc8ffU, 0x43972dd8U, -0xcca3a915U, 0x286d9864U, 0x31f0b86dU, 0x3498abecU, -0x73283469U, 0x6fdd07e1U, 0x682b4dc3U, 0x66dcd987U, -0x5663c036U, 0x62fb6bdaU, 0x95785cbbU, 0xe71fc90eU, -0x726795b5U, 0xcb55e337U, 0x5dfc47f3U, 0x70f9cc16U, -0xb68a431aU, 0x81c31089U, 0xe4ce3171U, 0x0d266c3bU, -0xacc69b6cU, 0x985e3080U, 0xda86bc84U, 0x6d435e42U, -0x6964ec1fU, 0x06b9ebfeU, 0x84ab0308U, 0xbae38efdU, -0x11d35fb3U, 0x00000000U, 0x0ef79444U, 0xfbeafa86U, -0xbbac2f21U, 0x650d21f8U, 0xae58c2cfU, 0x86355aabU, -0x612a93a5U, 0xf452cf1eU, 0x446167faU, 0x877afb77U, -0xf3a4853cU, 0xa7591ca9U, 0x7ddfa02dU, 0x58945472U, -0x9c7982ddU, 0xd818e527U, 0x336ee1ceU, 0x07f64a22U, -0xa5c7450aU, 0x808cb155U, 0xb7c5e2c6U, 0xef51b6b4U, -0x3606f24fU, 0xffcd48dbU, 0x55b23849U, 0x6bfab5bcU, -0x4eb141e3U, 0x8e7b2511U, 0x6ab51460U, 0xfd531178U, -0x18d281d5U, 0xd38762e2U, 0xf2eb24e0U, 0xca1a42ebU, -0xdc3f577aU, 0x88c2ceefU, 0x8daadd6eU, 0x029e59a3U, -0x199d2009U, 0xb033a8e4U, 0x0901de66U, 0x0c69cde7U, -0x0fb83598U, 0xf7833761U, 0xf6cc96bdU, 0x78b7b3acU, -0x7591df97U, 0x49470bc1U, 0xe58190adU, 0x97e60518U, -0xd7a0d0bfU, 0x4a96f3beU, 0x9fa87aa2U, 0xe9e85d4aU, -0x0b9f87c5U, 0x452ec626U, 0xbc5a6503U, 0xd95744fbU, -0x9911915cU, 0x96a9a4c4U, 0x46ff3e59U, 0x4c2f1840U, -0x9437fd67U, 0xe3387b53U, 0x3d99758aU, 0xc73c2ed0U, -0x2c4a2a39U, 0x254bf45fU, 0x23f21fa1U, 0x1a4cd876U, -0xd0569a9dU, 0xb87dd75eU, 0x1dba9254U, 0x38f1660bU, -0xa2310f28U, 0x5e2dbf8cU, 0x47b09f85U, 0x14bb4c32U, -0xa9ae88edU, 0x50da2bc8U, 0x24045583U, 0xeb7604e9U, -0xb55bbb65U, 0x1e6b6a2bU, 0x8212e8f6U, 0xf13adc9fU, -0xc0ca64f2U, 0x084e7fbaU, 0xa37eaef4U, 0x35d70a30U, -0xedcfef17U, 0xe0e9832cU, 0x30bf19b1U, 0x9ee7db7eU, -0xe8a7fc96U, 0x93c1b745U, 0xfc1cb0a4U, 0xb2adf147U, -0x109cfe6fU, 0xad893ab0U, 0xaf176313U, 0x2ed4739aU, -0x6e92a63dU, 0x9d362301U, 0xf83b02f9U, 0xc6738f0cU, -0xc185c52eU, 0xc8841b48U, 0x6793785bU, 0xaa7f7092U, -0x4109747bU, 0xc31b9c8dU, 0x71b66dcaU, 0x8b133690U, -0xd1193b41U, 0x54fd9995U, 0xc4edd6afU, 0x7e0e5852U, -0x3b209e74U, 0x8a5c974cU, 0xf0757d43U, 0x59dbf5aeU, -0xce3df0b6U, 0x530bd3b7U, 0x0ad02619U, 0x292239b8U, +0xb3e2509bU, 0x63b4ca06U, 0x85e4a2d4U, 0x216c4602U, +0x3a6f3fa8U, 0xa616bd75U, 0x134d0610U, 0x4d60b99cU, +0x176ab44dU, 0x7f41f98eU, 0xe277da8fU, 0xcdec08c9U, +0x5a0a0dd1U, 0x1b0379aaU, 0x7b664bd3U, 0xa1e0f757U, +0xfaa55b5aU, 0xea39a535U, 0xc5a27773U, 0xb17c0938U, +0x2023e7deU, 0xd47128c0U, 0x7c9001f1U, 0x22bdbe7dU, +0xec804ecbU, 0xb9327682U, 0xbd15c4dfU, 0xc9cbba94U, +0xa488e4d6U, 0x014fa1dcU, 0x60653279U, 0xfe82e907U, +0x74de7e4bU, 0xa8e12931U, 0x0427b25dU, 0xe65068d2U, +0x898d6f33U, 0x928e1699U, 0x1202a7ccU, 0x7a29ea0fU, +0x1f24cbf7U, 0x64428024U, 0xdd70f6a6U, 0xbec43ca0U, +0x2d058be5U, 0x15f4edeeU, 0x572c61eaU, 0x1cf53388U, +0xf974a325U, 0x4046d5a7U, 0x2bbc601bU, 0xdea10ed9U, +0x42d88c04U, 0x8f3484cdU, 0x5f621e50U, 0x835d492aU, +0xf51d6ec2U, 0x2f9bd246U, 0xbf8b9d7cU, 0xee1e1768U, +0x6c0cff9eU, 0x16251591U, 0x37495393U, 0x5cb3e62fU, +0x3f072c29U, 0x4bd95262U, 0x05681381U, 0x90104f3aU, +0x03d1f87fU, 0x5244726bU, 0xd53e891cU, 0x9ac06923U, +0x51958a14U, 0x915feee6U, 0xdfeeaf05U, 0x79f81270U, +0xd2c8c33eU, 0x39bec7d7U, 0x764027e8U, 0x4808aa1dU, +0xcf72516aU, 0x269a0c20U, 0xab30d14eU, 0xc2543d51U, +0x770f8634U, 0xa0af568bU, 0x27d5adfcU, 0x4ffee03fU, +0xb4141ab9U, 0x8ce57cb2U, 0x2af3c1c7U, 0xdbc91d58U, +0xd6ef7163U, 0x3cd6d456U, 0x5b45ac0dU, 0x3e488df5U, +0x32214012U, 0xe1a622f0U, 0x9b8fc8ffU, 0x43972dd8U, +0xcca3a915U, 0x286d9864U, 0x31f0b86dU, 0x3498abecU, +0x73283469U, 0x6fdd07e1U, 0x682b4dc3U, 0x66dcd987U, +0x5663c036U, 0x62fb6bdaU, 0x95785cbbU, 0xe71fc90eU, +0x726795b5U, 0xcb55e337U, 0x5dfc47f3U, 0x70f9cc16U, +0xb68a431aU, 0x81c31089U, 0xe4ce3171U, 0x0d266c3bU, +0xacc69b6cU, 0x985e3080U, 0xda86bc84U, 0x6d435e42U, +0x6964ec1fU, 0x06b9ebfeU, 0x84ab0308U, 0xbae38efdU, +0x11d35fb3U, 0x00000000U, 0x0ef79444U, 0xfbeafa86U, +0xbbac2f21U, 0x650d21f8U, 0xae58c2cfU, 0x86355aabU, +0x612a93a5U, 0xf452cf1eU, 0x446167faU, 0x877afb77U, +0xf3a4853cU, 0xa7591ca9U, 0x7ddfa02dU, 0x58945472U, +0x9c7982ddU, 0xd818e527U, 0x336ee1ceU, 0x07f64a22U, +0xa5c7450aU, 0x808cb155U, 0xb7c5e2c6U, 0xef51b6b4U, +0x3606f24fU, 0xffcd48dbU, 0x55b23849U, 0x6bfab5bcU, +0x4eb141e3U, 0x8e7b2511U, 0x6ab51460U, 0xfd531178U, +0x18d281d5U, 0xd38762e2U, 0xf2eb24e0U, 0xca1a42ebU, +0xdc3f577aU, 0x88c2ceefU, 0x8daadd6eU, 0x029e59a3U, +0x199d2009U, 0xb033a8e4U, 0x0901de66U, 0x0c69cde7U, +0x0fb83598U, 0xf7833761U, 0xf6cc96bdU, 0x78b7b3acU, +0x7591df97U, 0x49470bc1U, 0xe58190adU, 0x97e60518U, +0xd7a0d0bfU, 0x4a96f3beU, 0x9fa87aa2U, 0xe9e85d4aU, +0x0b9f87c5U, 0x452ec626U, 0xbc5a6503U, 0xd95744fbU, +0x9911915cU, 0x96a9a4c4U, 0x46ff3e59U, 0x4c2f1840U, +0x9437fd67U, 0xe3387b53U, 0x3d99758aU, 0xc73c2ed0U, +0x2c4a2a39U, 0x254bf45fU, 0x23f21fa1U, 0x1a4cd876U, +0xd0569a9dU, 0xb87dd75eU, 0x1dba9254U, 0x38f1660bU, +0xa2310f28U, 0x5e2dbf8cU, 0x47b09f85U, 0x14bb4c32U, +0xa9ae88edU, 0x50da2bc8U, 0x24045583U, 0xeb7604e9U, +0xb55bbb65U, 0x1e6b6a2bU, 0x8212e8f6U, 0xf13adc9fU, +0xc0ca64f2U, 0x084e7fbaU, 0xa37eaef4U, 0x35d70a30U, +0xedcfef17U, 0xe0e9832cU, 0x30bf19b1U, 0x9ee7db7eU, +0xe8a7fc96U, 0x93c1b745U, 0xfc1cb0a4U, 0xb2adf147U, +0x109cfe6fU, 0xad893ab0U, 0xaf176313U, 0x2ed4739aU, +0x6e92a63dU, 0x9d362301U, 0xf83b02f9U, 0xc6738f0cU, +0xc185c52eU, 0xc8841b48U, 0x6793785bU, 0xaa7f7092U, +0x4109747bU, 0xc31b9c8dU, 0x71b66dcaU, 0x8b133690U, +0xd1193b41U, 0x54fd9995U, 0xc4edd6afU, 0x7e0e5852U, +0x3b209e74U, 0x8a5c974cU, 0xf0757d43U, 0x59dbf5aeU, +0xce3df0b6U, 0x530bd3b7U, 0x0ad02619U, 0x292239b8U, }; static const u32 Te1[256] = { -0x9bb3e250U, 0x0663b4caU, 0xd485e4a2U, 0x02216c46U, -0xa83a6f3fU, 0x75a616bdU, 0x10134d06U, 0x9c4d60b9U, -0x4d176ab4U, 0x8e7f41f9U, 0x8fe277daU, 0xc9cdec08U, -0xd15a0a0dU, 0xaa1b0379U, 0xd37b664bU, 0x57a1e0f7U, -0x5afaa55bU, 0x35ea39a5U, 0x73c5a277U, 0x38b17c09U, -0xde2023e7U, 0xc0d47128U, 0xf17c9001U, 0x7d22bdbeU, -0xcbec804eU, 0x82b93276U, 0xdfbd15c4U, 0x94c9cbbaU, -0xd6a488e4U, 0xdc014fa1U, 0x79606532U, 0x07fe82e9U, -0x4b74de7eU, 0x31a8e129U, 0x5d0427b2U, 0xd2e65068U, -0x33898d6fU, 0x99928e16U, 0xcc1202a7U, 0x0f7a29eaU, -0xf71f24cbU, 0x24644280U, 0xa6dd70f6U, 0xa0bec43cU, -0xe52d058bU, 0xee15f4edU, 0xea572c61U, 0x881cf533U, -0x25f974a3U, 0xa74046d5U, 0x1b2bbc60U, 0xd9dea10eU, -0x0442d88cU, 0xcd8f3484U, 0x505f621eU, 0x2a835d49U, -0xc2f51d6eU, 0x462f9bd2U, 0x7cbf8b9dU, 0x68ee1e17U, -0x9e6c0cffU, 0x91162515U, 0x93374953U, 0x2f5cb3e6U, -0x293f072cU, 0x624bd952U, 0x81056813U, 0x3a90104fU, -0x7f03d1f8U, 0x6b524472U, 0x1cd53e89U, 0x239ac069U, -0x1451958aU, 0xe6915feeU, 0x05dfeeafU, 0x7079f812U, -0x3ed2c8c3U, 0xd739bec7U, 0xe8764027U, 0x1d4808aaU, -0x6acf7251U, 0x20269a0cU, 0x4eab30d1U, 0x51c2543dU, -0x34770f86U, 0x8ba0af56U, 0xfc27d5adU, 0x3f4ffee0U, -0xb9b4141aU, 0xb28ce57cU, 0xc72af3c1U, 0x58dbc91dU, -0x63d6ef71U, 0x563cd6d4U, 0x0d5b45acU, 0xf53e488dU, -0x12322140U, 0xf0e1a622U, 0xff9b8fc8U, 0xd843972dU, -0x15cca3a9U, 0x64286d98U, 0x6d31f0b8U, 0xec3498abU, -0x69732834U, 0xe16fdd07U, 0xc3682b4dU, 0x8766dcd9U, -0x365663c0U, 0xda62fb6bU, 0xbb95785cU, 0x0ee71fc9U, -0xb5726795U, 0x37cb55e3U, 0xf35dfc47U, 0x1670f9ccU, -0x1ab68a43U, 0x8981c310U, 0x71e4ce31U, 0x3b0d266cU, -0x6cacc69bU, 0x80985e30U, 0x84da86bcU, 0x426d435eU, -0x1f6964ecU, 0xfe06b9ebU, 0x0884ab03U, 0xfdbae38eU, -0xb311d35fU, 0x00000000U, 0x440ef794U, 0x86fbeafaU, -0x21bbac2fU, 0xf8650d21U, 0xcfae58c2U, 0xab86355aU, -0xa5612a93U, 0x1ef452cfU, 0xfa446167U, 0x77877afbU, -0x3cf3a485U, 0xa9a7591cU, 0x2d7ddfa0U, 0x72589454U, -0xdd9c7982U, 0x27d818e5U, 0xce336ee1U, 0x2207f64aU, -0x0aa5c745U, 0x55808cb1U, 0xc6b7c5e2U, 0xb4ef51b6U, -0x4f3606f2U, 0xdbffcd48U, 0x4955b238U, 0xbc6bfab5U, -0xe34eb141U, 0x118e7b25U, 0x606ab514U, 0x78fd5311U, -0xd518d281U, 0xe2d38762U, 0xe0f2eb24U, 0xebca1a42U, -0x7adc3f57U, 0xef88c2ceU, 0x6e8daaddU, 0xa3029e59U, -0x09199d20U, 0xe4b033a8U, 0x660901deU, 0xe70c69cdU, -0x980fb835U, 0x61f78337U, 0xbdf6cc96U, 0xac78b7b3U, -0x977591dfU, 0xc149470bU, 0xade58190U, 0x1897e605U, -0xbfd7a0d0U, 0xbe4a96f3U, 0xa29fa87aU, 0x4ae9e85dU, -0xc50b9f87U, 0x26452ec6U, 0x03bc5a65U, 0xfbd95744U, -0x5c991191U, 0xc496a9a4U, 0x5946ff3eU, 0x404c2f18U, -0x679437fdU, 0x53e3387bU, 0x8a3d9975U, 0xd0c73c2eU, -0x392c4a2aU, 0x5f254bf4U, 0xa123f21fU, 0x761a4cd8U, -0x9dd0569aU, 0x5eb87dd7U, 0x541dba92U, 0x0b38f166U, -0x28a2310fU, 0x8c5e2dbfU, 0x8547b09fU, 0x3214bb4cU, -0xeda9ae88U, 0xc850da2bU, 0x83240455U, 0xe9eb7604U, -0x65b55bbbU, 0x2b1e6b6aU, 0xf68212e8U, 0x9ff13adcU, -0xf2c0ca64U, 0xba084e7fU, 0xf4a37eaeU, 0x3035d70aU, -0x17edcfefU, 0x2ce0e983U, 0xb130bf19U, 0x7e9ee7dbU, -0x96e8a7fcU, 0x4593c1b7U, 0xa4fc1cb0U, 0x47b2adf1U, -0x6f109cfeU, 0xb0ad893aU, 0x13af1763U, 0x9a2ed473U, -0x3d6e92a6U, 0x019d3623U, 0xf9f83b02U, 0x0cc6738fU, -0x2ec185c5U, 0x48c8841bU, 0x5b679378U, 0x92aa7f70U, -0x7b410974U, 0x8dc31b9cU, 0xca71b66dU, 0x908b1336U, -0x41d1193bU, 0x9554fd99U, 0xafc4edd6U, 0x527e0e58U, -0x743b209eU, 0x4c8a5c97U, 0x43f0757dU, 0xae59dbf5U, -0xb6ce3df0U, 0xb7530bd3U, 0x190ad026U, 0xb8292239U, +0x9bb3e250U, 0x0663b4caU, 0xd485e4a2U, 0x02216c46U, +0xa83a6f3fU, 0x75a616bdU, 0x10134d06U, 0x9c4d60b9U, +0x4d176ab4U, 0x8e7f41f9U, 0x8fe277daU, 0xc9cdec08U, +0xd15a0a0dU, 0xaa1b0379U, 0xd37b664bU, 0x57a1e0f7U, +0x5afaa55bU, 0x35ea39a5U, 0x73c5a277U, 0x38b17c09U, +0xde2023e7U, 0xc0d47128U, 0xf17c9001U, 0x7d22bdbeU, +0xcbec804eU, 0x82b93276U, 0xdfbd15c4U, 0x94c9cbbaU, +0xd6a488e4U, 0xdc014fa1U, 0x79606532U, 0x07fe82e9U, +0x4b74de7eU, 0x31a8e129U, 0x5d0427b2U, 0xd2e65068U, +0x33898d6fU, 0x99928e16U, 0xcc1202a7U, 0x0f7a29eaU, +0xf71f24cbU, 0x24644280U, 0xa6dd70f6U, 0xa0bec43cU, +0xe52d058bU, 0xee15f4edU, 0xea572c61U, 0x881cf533U, +0x25f974a3U, 0xa74046d5U, 0x1b2bbc60U, 0xd9dea10eU, +0x0442d88cU, 0xcd8f3484U, 0x505f621eU, 0x2a835d49U, +0xc2f51d6eU, 0x462f9bd2U, 0x7cbf8b9dU, 0x68ee1e17U, +0x9e6c0cffU, 0x91162515U, 0x93374953U, 0x2f5cb3e6U, +0x293f072cU, 0x624bd952U, 0x81056813U, 0x3a90104fU, +0x7f03d1f8U, 0x6b524472U, 0x1cd53e89U, 0x239ac069U, +0x1451958aU, 0xe6915feeU, 0x05dfeeafU, 0x7079f812U, +0x3ed2c8c3U, 0xd739bec7U, 0xe8764027U, 0x1d4808aaU, +0x6acf7251U, 0x20269a0cU, 0x4eab30d1U, 0x51c2543dU, +0x34770f86U, 0x8ba0af56U, 0xfc27d5adU, 0x3f4ffee0U, +0xb9b4141aU, 0xb28ce57cU, 0xc72af3c1U, 0x58dbc91dU, +0x63d6ef71U, 0x563cd6d4U, 0x0d5b45acU, 0xf53e488dU, +0x12322140U, 0xf0e1a622U, 0xff9b8fc8U, 0xd843972dU, +0x15cca3a9U, 0x64286d98U, 0x6d31f0b8U, 0xec3498abU, +0x69732834U, 0xe16fdd07U, 0xc3682b4dU, 0x8766dcd9U, +0x365663c0U, 0xda62fb6bU, 0xbb95785cU, 0x0ee71fc9U, +0xb5726795U, 0x37cb55e3U, 0xf35dfc47U, 0x1670f9ccU, +0x1ab68a43U, 0x8981c310U, 0x71e4ce31U, 0x3b0d266cU, +0x6cacc69bU, 0x80985e30U, 0x84da86bcU, 0x426d435eU, +0x1f6964ecU, 0xfe06b9ebU, 0x0884ab03U, 0xfdbae38eU, +0xb311d35fU, 0x00000000U, 0x440ef794U, 0x86fbeafaU, +0x21bbac2fU, 0xf8650d21U, 0xcfae58c2U, 0xab86355aU, +0xa5612a93U, 0x1ef452cfU, 0xfa446167U, 0x77877afbU, +0x3cf3a485U, 0xa9a7591cU, 0x2d7ddfa0U, 0x72589454U, +0xdd9c7982U, 0x27d818e5U, 0xce336ee1U, 0x2207f64aU, +0x0aa5c745U, 0x55808cb1U, 0xc6b7c5e2U, 0xb4ef51b6U, +0x4f3606f2U, 0xdbffcd48U, 0x4955b238U, 0xbc6bfab5U, +0xe34eb141U, 0x118e7b25U, 0x606ab514U, 0x78fd5311U, +0xd518d281U, 0xe2d38762U, 0xe0f2eb24U, 0xebca1a42U, +0x7adc3f57U, 0xef88c2ceU, 0x6e8daaddU, 0xa3029e59U, +0x09199d20U, 0xe4b033a8U, 0x660901deU, 0xe70c69cdU, +0x980fb835U, 0x61f78337U, 0xbdf6cc96U, 0xac78b7b3U, +0x977591dfU, 0xc149470bU, 0xade58190U, 0x1897e605U, +0xbfd7a0d0U, 0xbe4a96f3U, 0xa29fa87aU, 0x4ae9e85dU, +0xc50b9f87U, 0x26452ec6U, 0x03bc5a65U, 0xfbd95744U, +0x5c991191U, 0xc496a9a4U, 0x5946ff3eU, 0x404c2f18U, +0x679437fdU, 0x53e3387bU, 0x8a3d9975U, 0xd0c73c2eU, +0x392c4a2aU, 0x5f254bf4U, 0xa123f21fU, 0x761a4cd8U, +0x9dd0569aU, 0x5eb87dd7U, 0x541dba92U, 0x0b38f166U, +0x28a2310fU, 0x8c5e2dbfU, 0x8547b09fU, 0x3214bb4cU, +0xeda9ae88U, 0xc850da2bU, 0x83240455U, 0xe9eb7604U, +0x65b55bbbU, 0x2b1e6b6aU, 0xf68212e8U, 0x9ff13adcU, +0xf2c0ca64U, 0xba084e7fU, 0xf4a37eaeU, 0x3035d70aU, +0x17edcfefU, 0x2ce0e983U, 0xb130bf19U, 0x7e9ee7dbU, +0x96e8a7fcU, 0x4593c1b7U, 0xa4fc1cb0U, 0x47b2adf1U, +0x6f109cfeU, 0xb0ad893aU, 0x13af1763U, 0x9a2ed473U, +0x3d6e92a6U, 0x019d3623U, 0xf9f83b02U, 0x0cc6738fU, +0x2ec185c5U, 0x48c8841bU, 0x5b679378U, 0x92aa7f70U, +0x7b410974U, 0x8dc31b9cU, 0xca71b66dU, 0x908b1336U, +0x41d1193bU, 0x9554fd99U, 0xafc4edd6U, 0x527e0e58U, +0x743b209eU, 0x4c8a5c97U, 0x43f0757dU, 0xae59dbf5U, +0xb6ce3df0U, 0xb7530bd3U, 0x190ad026U, 0xb8292239U, }; static const u32 Te2[256] = { -0x509bb3e2U, 0xca0663b4U, 0xa2d485e4U, 0x4602216cU, -0x3fa83a6fU, 0xbd75a616U, 0x0610134dU, 0xb99c4d60U, -0xb44d176aU, 0xf98e7f41U, 0xda8fe277U, 0x08c9cdecU, -0x0dd15a0aU, 0x79aa1b03U, 0x4bd37b66U, 0xf757a1e0U, -0x5b5afaa5U, 0xa535ea39U, 0x7773c5a2U, 0x0938b17cU, -0xe7de2023U, 0x28c0d471U, 0x01f17c90U, 0xbe7d22bdU, -0x4ecbec80U, 0x7682b932U, 0xc4dfbd15U, 0xba94c9cbU, -0xe4d6a488U, 0xa1dc014fU, 0x32796065U, 0xe907fe82U, -0x7e4b74deU, 0x2931a8e1U, 0xb25d0427U, 0x68d2e650U, -0x6f33898dU, 0x1699928eU, 0xa7cc1202U, 0xea0f7a29U, -0xcbf71f24U, 0x80246442U, 0xf6a6dd70U, 0x3ca0bec4U, -0x8be52d05U, 0xedee15f4U, 0x61ea572cU, 0x33881cf5U, -0xa325f974U, 0xd5a74046U, 0x601b2bbcU, 0x0ed9dea1U, -0x8c0442d8U, 0x84cd8f34U, 0x1e505f62U, 0x492a835dU, -0x6ec2f51dU, 0xd2462f9bU, 0x9d7cbf8bU, 0x1768ee1eU, -0xff9e6c0cU, 0x15911625U, 0x53933749U, 0xe62f5cb3U, -0x2c293f07U, 0x52624bd9U, 0x13810568U, 0x4f3a9010U, -0xf87f03d1U, 0x726b5244U, 0x891cd53eU, 0x69239ac0U, -0x8a145195U, 0xeee6915fU, 0xaf05dfeeU, 0x127079f8U, -0xc33ed2c8U, 0xc7d739beU, 0x27e87640U, 0xaa1d4808U, -0x516acf72U, 0x0c20269aU, 0xd14eab30U, 0x3d51c254U, -0x8634770fU, 0x568ba0afU, 0xadfc27d5U, 0xe03f4ffeU, -0x1ab9b414U, 0x7cb28ce5U, 0xc1c72af3U, 0x1d58dbc9U, -0x7163d6efU, 0xd4563cd6U, 0xac0d5b45U, 0x8df53e48U, -0x40123221U, 0x22f0e1a6U, 0xc8ff9b8fU, 0x2dd84397U, -0xa915cca3U, 0x9864286dU, 0xb86d31f0U, 0xabec3498U, -0x34697328U, 0x07e16fddU, 0x4dc3682bU, 0xd98766dcU, -0xc0365663U, 0x6bda62fbU, 0x5cbb9578U, 0xc90ee71fU, -0x95b57267U, 0xe337cb55U, 0x47f35dfcU, 0xcc1670f9U, -0x431ab68aU, 0x108981c3U, 0x3171e4ceU, 0x6c3b0d26U, -0x9b6cacc6U, 0x3080985eU, 0xbc84da86U, 0x5e426d43U, -0xec1f6964U, 0xebfe06b9U, 0x030884abU, 0x8efdbae3U, -0x5fb311d3U, 0x00000000U, 0x94440ef7U, 0xfa86fbeaU, -0x2f21bbacU, 0x21f8650dU, 0xc2cfae58U, 0x5aab8635U, -0x93a5612aU, 0xcf1ef452U, 0x67fa4461U, 0xfb77877aU, -0x853cf3a4U, 0x1ca9a759U, 0xa02d7ddfU, 0x54725894U, -0x82dd9c79U, 0xe527d818U, 0xe1ce336eU, 0x4a2207f6U, -0x450aa5c7U, 0xb155808cU, 0xe2c6b7c5U, 0xb6b4ef51U, -0xf24f3606U, 0x48dbffcdU, 0x384955b2U, 0xb5bc6bfaU, -0x41e34eb1U, 0x25118e7bU, 0x14606ab5U, 0x1178fd53U, -0x81d518d2U, 0x62e2d387U, 0x24e0f2ebU, 0x42ebca1aU, -0x577adc3fU, 0xceef88c2U, 0xdd6e8daaU, 0x59a3029eU, -0x2009199dU, 0xa8e4b033U, 0xde660901U, 0xcde70c69U, -0x35980fb8U, 0x3761f783U, 0x96bdf6ccU, 0xb3ac78b7U, -0xdf977591U, 0x0bc14947U, 0x90ade581U, 0x051897e6U, -0xd0bfd7a0U, 0xf3be4a96U, 0x7aa29fa8U, 0x5d4ae9e8U, -0x87c50b9fU, 0xc626452eU, 0x6503bc5aU, 0x44fbd957U, -0x915c9911U, 0xa4c496a9U, 0x3e5946ffU, 0x18404c2fU, -0xfd679437U, 0x7b53e338U, 0x758a3d99U, 0x2ed0c73cU, -0x2a392c4aU, 0xf45f254bU, 0x1fa123f2U, 0xd8761a4cU, -0x9a9dd056U, 0xd75eb87dU, 0x92541dbaU, 0x660b38f1U, -0x0f28a231U, 0xbf8c5e2dU, 0x9f8547b0U, 0x4c3214bbU, -0x88eda9aeU, 0x2bc850daU, 0x55832404U, 0x04e9eb76U, -0xbb65b55bU, 0x6a2b1e6bU, 0xe8f68212U, 0xdc9ff13aU, -0x64f2c0caU, 0x7fba084eU, 0xaef4a37eU, 0x0a3035d7U, -0xef17edcfU, 0x832ce0e9U, 0x19b130bfU, 0xdb7e9ee7U, -0xfc96e8a7U, 0xb74593c1U, 0xb0a4fc1cU, 0xf147b2adU, -0xfe6f109cU, 0x3ab0ad89U, 0x6313af17U, 0x739a2ed4U, -0xa63d6e92U, 0x23019d36U, 0x02f9f83bU, 0x8f0cc673U, -0xc52ec185U, 0x1b48c884U, 0x785b6793U, 0x7092aa7fU, -0x747b4109U, 0x9c8dc31bU, 0x6dca71b6U, 0x36908b13U, -0x3b41d119U, 0x999554fdU, 0xd6afc4edU, 0x58527e0eU, -0x9e743b20U, 0x974c8a5cU, 0x7d43f075U, 0xf5ae59dbU, -0xf0b6ce3dU, 0xd3b7530bU, 0x26190ad0U, 0x39b82922U, +0x509bb3e2U, 0xca0663b4U, 0xa2d485e4U, 0x4602216cU, +0x3fa83a6fU, 0xbd75a616U, 0x0610134dU, 0xb99c4d60U, +0xb44d176aU, 0xf98e7f41U, 0xda8fe277U, 0x08c9cdecU, +0x0dd15a0aU, 0x79aa1b03U, 0x4bd37b66U, 0xf757a1e0U, +0x5b5afaa5U, 0xa535ea39U, 0x7773c5a2U, 0x0938b17cU, +0xe7de2023U, 0x28c0d471U, 0x01f17c90U, 0xbe7d22bdU, +0x4ecbec80U, 0x7682b932U, 0xc4dfbd15U, 0xba94c9cbU, +0xe4d6a488U, 0xa1dc014fU, 0x32796065U, 0xe907fe82U, +0x7e4b74deU, 0x2931a8e1U, 0xb25d0427U, 0x68d2e650U, +0x6f33898dU, 0x1699928eU, 0xa7cc1202U, 0xea0f7a29U, +0xcbf71f24U, 0x80246442U, 0xf6a6dd70U, 0x3ca0bec4U, +0x8be52d05U, 0xedee15f4U, 0x61ea572cU, 0x33881cf5U, +0xa325f974U, 0xd5a74046U, 0x601b2bbcU, 0x0ed9dea1U, +0x8c0442d8U, 0x84cd8f34U, 0x1e505f62U, 0x492a835dU, +0x6ec2f51dU, 0xd2462f9bU, 0x9d7cbf8bU, 0x1768ee1eU, +0xff9e6c0cU, 0x15911625U, 0x53933749U, 0xe62f5cb3U, +0x2c293f07U, 0x52624bd9U, 0x13810568U, 0x4f3a9010U, +0xf87f03d1U, 0x726b5244U, 0x891cd53eU, 0x69239ac0U, +0x8a145195U, 0xeee6915fU, 0xaf05dfeeU, 0x127079f8U, +0xc33ed2c8U, 0xc7d739beU, 0x27e87640U, 0xaa1d4808U, +0x516acf72U, 0x0c20269aU, 0xd14eab30U, 0x3d51c254U, +0x8634770fU, 0x568ba0afU, 0xadfc27d5U, 0xe03f4ffeU, +0x1ab9b414U, 0x7cb28ce5U, 0xc1c72af3U, 0x1d58dbc9U, +0x7163d6efU, 0xd4563cd6U, 0xac0d5b45U, 0x8df53e48U, +0x40123221U, 0x22f0e1a6U, 0xc8ff9b8fU, 0x2dd84397U, +0xa915cca3U, 0x9864286dU, 0xb86d31f0U, 0xabec3498U, +0x34697328U, 0x07e16fddU, 0x4dc3682bU, 0xd98766dcU, +0xc0365663U, 0x6bda62fbU, 0x5cbb9578U, 0xc90ee71fU, +0x95b57267U, 0xe337cb55U, 0x47f35dfcU, 0xcc1670f9U, +0x431ab68aU, 0x108981c3U, 0x3171e4ceU, 0x6c3b0d26U, +0x9b6cacc6U, 0x3080985eU, 0xbc84da86U, 0x5e426d43U, +0xec1f6964U, 0xebfe06b9U, 0x030884abU, 0x8efdbae3U, +0x5fb311d3U, 0x00000000U, 0x94440ef7U, 0xfa86fbeaU, +0x2f21bbacU, 0x21f8650dU, 0xc2cfae58U, 0x5aab8635U, +0x93a5612aU, 0xcf1ef452U, 0x67fa4461U, 0xfb77877aU, +0x853cf3a4U, 0x1ca9a759U, 0xa02d7ddfU, 0x54725894U, +0x82dd9c79U, 0xe527d818U, 0xe1ce336eU, 0x4a2207f6U, +0x450aa5c7U, 0xb155808cU, 0xe2c6b7c5U, 0xb6b4ef51U, +0xf24f3606U, 0x48dbffcdU, 0x384955b2U, 0xb5bc6bfaU, +0x41e34eb1U, 0x25118e7bU, 0x14606ab5U, 0x1178fd53U, +0x81d518d2U, 0x62e2d387U, 0x24e0f2ebU, 0x42ebca1aU, +0x577adc3fU, 0xceef88c2U, 0xdd6e8daaU, 0x59a3029eU, +0x2009199dU, 0xa8e4b033U, 0xde660901U, 0xcde70c69U, +0x35980fb8U, 0x3761f783U, 0x96bdf6ccU, 0xb3ac78b7U, +0xdf977591U, 0x0bc14947U, 0x90ade581U, 0x051897e6U, +0xd0bfd7a0U, 0xf3be4a96U, 0x7aa29fa8U, 0x5d4ae9e8U, +0x87c50b9fU, 0xc626452eU, 0x6503bc5aU, 0x44fbd957U, +0x915c9911U, 0xa4c496a9U, 0x3e5946ffU, 0x18404c2fU, +0xfd679437U, 0x7b53e338U, 0x758a3d99U, 0x2ed0c73cU, +0x2a392c4aU, 0xf45f254bU, 0x1fa123f2U, 0xd8761a4cU, +0x9a9dd056U, 0xd75eb87dU, 0x92541dbaU, 0x660b38f1U, +0x0f28a231U, 0xbf8c5e2dU, 0x9f8547b0U, 0x4c3214bbU, +0x88eda9aeU, 0x2bc850daU, 0x55832404U, 0x04e9eb76U, +0xbb65b55bU, 0x6a2b1e6bU, 0xe8f68212U, 0xdc9ff13aU, +0x64f2c0caU, 0x7fba084eU, 0xaef4a37eU, 0x0a3035d7U, +0xef17edcfU, 0x832ce0e9U, 0x19b130bfU, 0xdb7e9ee7U, +0xfc96e8a7U, 0xb74593c1U, 0xb0a4fc1cU, 0xf147b2adU, +0xfe6f109cU, 0x3ab0ad89U, 0x6313af17U, 0x739a2ed4U, +0xa63d6e92U, 0x23019d36U, 0x02f9f83bU, 0x8f0cc673U, +0xc52ec185U, 0x1b48c884U, 0x785b6793U, 0x7092aa7fU, +0x747b4109U, 0x9c8dc31bU, 0x6dca71b6U, 0x36908b13U, +0x3b41d119U, 0x999554fdU, 0xd6afc4edU, 0x58527e0eU, +0x9e743b20U, 0x974c8a5cU, 0x7d43f075U, 0xf5ae59dbU, +0xf0b6ce3dU, 0xd3b7530bU, 0x26190ad0U, 0x39b82922U, }; static const u32 Te3[256] = { -0xe2509bb3U, 0xb4ca0663U, 0xe4a2d485U, 0x6c460221U, -0x6f3fa83aU, 0x16bd75a6U, 0x4d061013U, 0x60b99c4dU, -0x6ab44d17U, 0x41f98e7fU, 0x77da8fe2U, 0xec08c9cdU, -0x0a0dd15aU, 0x0379aa1bU, 0x664bd37bU, 0xe0f757a1U, -0xa55b5afaU, 0x39a535eaU, 0xa27773c5U, 0x7c0938b1U, -0x23e7de20U, 0x7128c0d4U, 0x9001f17cU, 0xbdbe7d22U, -0x804ecbecU, 0x327682b9U, 0x15c4dfbdU, 0xcbba94c9U, -0x88e4d6a4U, 0x4fa1dc01U, 0x65327960U, 0x82e907feU, -0xde7e4b74U, 0xe12931a8U, 0x27b25d04U, 0x5068d2e6U, -0x8d6f3389U, 0x8e169992U, 0x02a7cc12U, 0x29ea0f7aU, -0x24cbf71fU, 0x42802464U, 0x70f6a6ddU, 0xc43ca0beU, -0x058be52dU, 0xf4edee15U, 0x2c61ea57U, 0xf533881cU, -0x74a325f9U, 0x46d5a740U, 0xbc601b2bU, 0xa10ed9deU, -0xd88c0442U, 0x3484cd8fU, 0x621e505fU, 0x5d492a83U, -0x1d6ec2f5U, 0x9bd2462fU, 0x8b9d7cbfU, 0x1e1768eeU, -0x0cff9e6cU, 0x25159116U, 0x49539337U, 0xb3e62f5cU, -0x072c293fU, 0xd952624bU, 0x68138105U, 0x104f3a90U, -0xd1f87f03U, 0x44726b52U, 0x3e891cd5U, 0xc069239aU, -0x958a1451U, 0x5feee691U, 0xeeaf05dfU, 0xf8127079U, -0xc8c33ed2U, 0xbec7d739U, 0x4027e876U, 0x08aa1d48U, -0x72516acfU, 0x9a0c2026U, 0x30d14eabU, 0x543d51c2U, -0x0f863477U, 0xaf568ba0U, 0xd5adfc27U, 0xfee03f4fU, -0x141ab9b4U, 0xe57cb28cU, 0xf3c1c72aU, 0xc91d58dbU, -0xef7163d6U, 0xd6d4563cU, 0x45ac0d5bU, 0x488df53eU, -0x21401232U, 0xa622f0e1U, 0x8fc8ff9bU, 0x972dd843U, -0xa3a915ccU, 0x6d986428U, 0xf0b86d31U, 0x98abec34U, -0x28346973U, 0xdd07e16fU, 0x2b4dc368U, 0xdcd98766U, -0x63c03656U, 0xfb6bda62U, 0x785cbb95U, 0x1fc90ee7U, -0x6795b572U, 0x55e337cbU, 0xfc47f35dU, 0xf9cc1670U, -0x8a431ab6U, 0xc3108981U, 0xce3171e4U, 0x266c3b0dU, -0xc69b6cacU, 0x5e308098U, 0x86bc84daU, 0x435e426dU, -0x64ec1f69U, 0xb9ebfe06U, 0xab030884U, 0xe38efdbaU, -0xd35fb311U, 0x00000000U, 0xf794440eU, 0xeafa86fbU, -0xac2f21bbU, 0x0d21f865U, 0x58c2cfaeU, 0x355aab86U, -0x2a93a561U, 0x52cf1ef4U, 0x6167fa44U, 0x7afb7787U, -0xa4853cf3U, 0x591ca9a7U, 0xdfa02d7dU, 0x94547258U, -0x7982dd9cU, 0x18e527d8U, 0x6ee1ce33U, 0xf64a2207U, -0xc7450aa5U, 0x8cb15580U, 0xc5e2c6b7U, 0x51b6b4efU, -0x06f24f36U, 0xcd48dbffU, 0xb2384955U, 0xfab5bc6bU, -0xb141e34eU, 0x7b25118eU, 0xb514606aU, 0x531178fdU, -0xd281d518U, 0x8762e2d3U, 0xeb24e0f2U, 0x1a42ebcaU, -0x3f577adcU, 0xc2ceef88U, 0xaadd6e8dU, 0x9e59a302U, -0x9d200919U, 0x33a8e4b0U, 0x01de6609U, 0x69cde70cU, -0xb835980fU, 0x833761f7U, 0xcc96bdf6U, 0xb7b3ac78U, -0x91df9775U, 0x470bc149U, 0x8190ade5U, 0xe6051897U, -0xa0d0bfd7U, 0x96f3be4aU, 0xa87aa29fU, 0xe85d4ae9U, -0x9f87c50bU, 0x2ec62645U, 0x5a6503bcU, 0x5744fbd9U, -0x11915c99U, 0xa9a4c496U, 0xff3e5946U, 0x2f18404cU, -0x37fd6794U, 0x387b53e3U, 0x99758a3dU, 0x3c2ed0c7U, -0x4a2a392cU, 0x4bf45f25U, 0xf21fa123U, 0x4cd8761aU, -0x569a9dd0U, 0x7dd75eb8U, 0xba92541dU, 0xf1660b38U, -0x310f28a2U, 0x2dbf8c5eU, 0xb09f8547U, 0xbb4c3214U, -0xae88eda9U, 0xda2bc850U, 0x04558324U, 0x7604e9ebU, -0x5bbb65b5U, 0x6b6a2b1eU, 0x12e8f682U, 0x3adc9ff1U, -0xca64f2c0U, 0x4e7fba08U, 0x7eaef4a3U, 0xd70a3035U, -0xcfef17edU, 0xe9832ce0U, 0xbf19b130U, 0xe7db7e9eU, -0xa7fc96e8U, 0xc1b74593U, 0x1cb0a4fcU, 0xadf147b2U, -0x9cfe6f10U, 0x893ab0adU, 0x176313afU, 0xd4739a2eU, -0x92a63d6eU, 0x3623019dU, 0x3b02f9f8U, 0x738f0cc6U, -0x85c52ec1U, 0x841b48c8U, 0x93785b67U, 0x7f7092aaU, -0x09747b41U, 0x1b9c8dc3U, 0xb66dca71U, 0x1336908bU, -0x193b41d1U, 0xfd999554U, 0xedd6afc4U, 0x0e58527eU, -0x209e743bU, 0x5c974c8aU, 0x757d43f0U, 0xdbf5ae59U, -0x3df0b6ceU, 0x0bd3b753U, 0xd026190aU, 0x2239b829U, +0xe2509bb3U, 0xb4ca0663U, 0xe4a2d485U, 0x6c460221U, +0x6f3fa83aU, 0x16bd75a6U, 0x4d061013U, 0x60b99c4dU, +0x6ab44d17U, 0x41f98e7fU, 0x77da8fe2U, 0xec08c9cdU, +0x0a0dd15aU, 0x0379aa1bU, 0x664bd37bU, 0xe0f757a1U, +0xa55b5afaU, 0x39a535eaU, 0xa27773c5U, 0x7c0938b1U, +0x23e7de20U, 0x7128c0d4U, 0x9001f17cU, 0xbdbe7d22U, +0x804ecbecU, 0x327682b9U, 0x15c4dfbdU, 0xcbba94c9U, +0x88e4d6a4U, 0x4fa1dc01U, 0x65327960U, 0x82e907feU, +0xde7e4b74U, 0xe12931a8U, 0x27b25d04U, 0x5068d2e6U, +0x8d6f3389U, 0x8e169992U, 0x02a7cc12U, 0x29ea0f7aU, +0x24cbf71fU, 0x42802464U, 0x70f6a6ddU, 0xc43ca0beU, +0x058be52dU, 0xf4edee15U, 0x2c61ea57U, 0xf533881cU, +0x74a325f9U, 0x46d5a740U, 0xbc601b2bU, 0xa10ed9deU, +0xd88c0442U, 0x3484cd8fU, 0x621e505fU, 0x5d492a83U, +0x1d6ec2f5U, 0x9bd2462fU, 0x8b9d7cbfU, 0x1e1768eeU, +0x0cff9e6cU, 0x25159116U, 0x49539337U, 0xb3e62f5cU, +0x072c293fU, 0xd952624bU, 0x68138105U, 0x104f3a90U, +0xd1f87f03U, 0x44726b52U, 0x3e891cd5U, 0xc069239aU, +0x958a1451U, 0x5feee691U, 0xeeaf05dfU, 0xf8127079U, +0xc8c33ed2U, 0xbec7d739U, 0x4027e876U, 0x08aa1d48U, +0x72516acfU, 0x9a0c2026U, 0x30d14eabU, 0x543d51c2U, +0x0f863477U, 0xaf568ba0U, 0xd5adfc27U, 0xfee03f4fU, +0x141ab9b4U, 0xe57cb28cU, 0xf3c1c72aU, 0xc91d58dbU, +0xef7163d6U, 0xd6d4563cU, 0x45ac0d5bU, 0x488df53eU, +0x21401232U, 0xa622f0e1U, 0x8fc8ff9bU, 0x972dd843U, +0xa3a915ccU, 0x6d986428U, 0xf0b86d31U, 0x98abec34U, +0x28346973U, 0xdd07e16fU, 0x2b4dc368U, 0xdcd98766U, +0x63c03656U, 0xfb6bda62U, 0x785cbb95U, 0x1fc90ee7U, +0x6795b572U, 0x55e337cbU, 0xfc47f35dU, 0xf9cc1670U, +0x8a431ab6U, 0xc3108981U, 0xce3171e4U, 0x266c3b0dU, +0xc69b6cacU, 0x5e308098U, 0x86bc84daU, 0x435e426dU, +0x64ec1f69U, 0xb9ebfe06U, 0xab030884U, 0xe38efdbaU, +0xd35fb311U, 0x00000000U, 0xf794440eU, 0xeafa86fbU, +0xac2f21bbU, 0x0d21f865U, 0x58c2cfaeU, 0x355aab86U, +0x2a93a561U, 0x52cf1ef4U, 0x6167fa44U, 0x7afb7787U, +0xa4853cf3U, 0x591ca9a7U, 0xdfa02d7dU, 0x94547258U, +0x7982dd9cU, 0x18e527d8U, 0x6ee1ce33U, 0xf64a2207U, +0xc7450aa5U, 0x8cb15580U, 0xc5e2c6b7U, 0x51b6b4efU, +0x06f24f36U, 0xcd48dbffU, 0xb2384955U, 0xfab5bc6bU, +0xb141e34eU, 0x7b25118eU, 0xb514606aU, 0x531178fdU, +0xd281d518U, 0x8762e2d3U, 0xeb24e0f2U, 0x1a42ebcaU, +0x3f577adcU, 0xc2ceef88U, 0xaadd6e8dU, 0x9e59a302U, +0x9d200919U, 0x33a8e4b0U, 0x01de6609U, 0x69cde70cU, +0xb835980fU, 0x833761f7U, 0xcc96bdf6U, 0xb7b3ac78U, +0x91df9775U, 0x470bc149U, 0x8190ade5U, 0xe6051897U, +0xa0d0bfd7U, 0x96f3be4aU, 0xa87aa29fU, 0xe85d4ae9U, +0x9f87c50bU, 0x2ec62645U, 0x5a6503bcU, 0x5744fbd9U, +0x11915c99U, 0xa9a4c496U, 0xff3e5946U, 0x2f18404cU, +0x37fd6794U, 0x387b53e3U, 0x99758a3dU, 0x3c2ed0c7U, +0x4a2a392cU, 0x4bf45f25U, 0xf21fa123U, 0x4cd8761aU, +0x569a9dd0U, 0x7dd75eb8U, 0xba92541dU, 0xf1660b38U, +0x310f28a2U, 0x2dbf8c5eU, 0xb09f8547U, 0xbb4c3214U, +0xae88eda9U, 0xda2bc850U, 0x04558324U, 0x7604e9ebU, +0x5bbb65b5U, 0x6b6a2b1eU, 0x12e8f682U, 0x3adc9ff1U, +0xca64f2c0U, 0x4e7fba08U, 0x7eaef4a3U, 0xd70a3035U, +0xcfef17edU, 0xe9832ce0U, 0xbf19b130U, 0xe7db7e9eU, +0xa7fc96e8U, 0xc1b74593U, 0x1cb0a4fcU, 0xadf147b2U, +0x9cfe6f10U, 0x893ab0adU, 0x176313afU, 0xd4739a2eU, +0x92a63d6eU, 0x3623019dU, 0x3b02f9f8U, 0x738f0cc6U, +0x85c52ec1U, 0x841b48c8U, 0x93785b67U, 0x7f7092aaU, +0x09747b41U, 0x1b9c8dc3U, 0xb66dca71U, 0x1336908bU, +0x193b41d1U, 0xfd999554U, 0xedd6afc4U, 0x0e58527eU, +0x209e743bU, 0x5c974c8aU, 0x757d43f0U, 0xdbf5ae59U, +0x3df0b6ceU, 0x0bd3b753U, 0xd026190aU, 0x2239b829U, }; static const u32 Te4[256] = { -0x18181818U, 0x23232323U, 0xc6c6c6c6U, 0xe8e8e8e8U, -0x87878787U, 0xb8b8b8b8U, 0x01010101U, 0x4f4f4f4fU, -0x36363636U, 0xa6a6a6a6U, 0xd2d2d2d2U, 0xf5f5f5f5U, -0x79797979U, 0x6f6f6f6fU, 0x91919191U, 0x52525252U, -0x60606060U, 0xbcbcbcbcU, 0x9b9b9b9bU, 0x8e8e8e8eU, -0xa3a3a3a3U, 0x0c0c0c0cU, 0x7b7b7b7bU, 0x35353535U, -0x1d1d1d1dU, 0xe0e0e0e0U, 0xd7d7d7d7U, 0xc2c2c2c2U, -0x2e2e2e2eU, 0x4b4b4b4bU, 0xfefefefeU, 0x57575757U, -0x15151515U, 0x77777777U, 0x37373737U, 0xe5e5e5e5U, -0x9f9f9f9fU, 0xf0f0f0f0U, 0x4a4a4a4aU, 0xdadadadaU, -0x58585858U, 0xc9c9c9c9U, 0x29292929U, 0x0a0a0a0aU, -0xb1b1b1b1U, 0xa0a0a0a0U, 0x6b6b6b6bU, 0x85858585U, -0xbdbdbdbdU, 0x5d5d5d5dU, 0x10101010U, 0xf4f4f4f4U, -0xcbcbcbcbU, 0x3e3e3e3eU, 0x05050505U, 0x67676767U, -0xe4e4e4e4U, 0x27272727U, 0x41414141U, 0x8b8b8b8bU, -0xa7a7a7a7U, 0x7d7d7d7dU, 0x95959595U, 0xd8d8d8d8U, -0xfbfbfbfbU, 0xeeeeeeeeU, 0x7c7c7c7cU, 0x66666666U, -0xddddddddU, 0x17171717U, 0x47474747U, 0x9e9e9e9eU, -0xcacacacaU, 0x2d2d2d2dU, 0xbfbfbfbfU, 0x07070707U, -0xadadadadU, 0x5a5a5a5aU, 0x83838383U, 0x33333333U, -0x63636363U, 0x02020202U, 0xaaaaaaaaU, 0x71717171U, -0xc8c8c8c8U, 0x19191919U, 0x49494949U, 0xd9d9d9d9U, -0xf2f2f2f2U, 0xe3e3e3e3U, 0x5b5b5b5bU, 0x88888888U, -0x9a9a9a9aU, 0x26262626U, 0x32323232U, 0xb0b0b0b0U, -0xe9e9e9e9U, 0x0f0f0f0fU, 0xd5d5d5d5U, 0x80808080U, -0xbebebebeU, 0xcdcdcdcdU, 0x34343434U, 0x48484848U, -0xffffffffU, 0x7a7a7a7aU, 0x90909090U, 0x5f5f5f5fU, -0x20202020U, 0x68686868U, 0x1a1a1a1aU, 0xaeaeaeaeU, -0xb4b4b4b4U, 0x54545454U, 0x93939393U, 0x22222222U, -0x64646464U, 0xf1f1f1f1U, 0x73737373U, 0x12121212U, -0x40404040U, 0x08080808U, 0xc3c3c3c3U, 0xececececU, -0xdbdbdbdbU, 0xa1a1a1a1U, 0x8d8d8d8dU, 0x3d3d3d3dU, -0x97979797U, 0x00000000U, 0xcfcfcfcfU, 0x2b2b2b2bU, -0x76767676U, 0x82828282U, 0xd6d6d6d6U, 0x1b1b1b1bU, -0xb5b5b5b5U, 0xafafafafU, 0x6a6a6a6aU, 0x50505050U, -0x45454545U, 0xf3f3f3f3U, 0x30303030U, 0xefefefefU, -0x3f3f3f3fU, 0x55555555U, 0xa2a2a2a2U, 0xeaeaeaeaU, -0x65656565U, 0xbabababaU, 0x2f2f2f2fU, 0xc0c0c0c0U, -0xdedededeU, 0x1c1c1c1cU, 0xfdfdfdfdU, 0x4d4d4d4dU, -0x92929292U, 0x75757575U, 0x06060606U, 0x8a8a8a8aU, -0xb2b2b2b2U, 0xe6e6e6e6U, 0x0e0e0e0eU, 0x1f1f1f1fU, -0x62626262U, 0xd4d4d4d4U, 0xa8a8a8a8U, 0x96969696U, -0xf9f9f9f9U, 0xc5c5c5c5U, 0x25252525U, 0x59595959U, -0x84848484U, 0x72727272U, 0x39393939U, 0x4c4c4c4cU, -0x5e5e5e5eU, 0x78787878U, 0x38383838U, 0x8c8c8c8cU, -0xd1d1d1d1U, 0xa5a5a5a5U, 0xe2e2e2e2U, 0x61616161U, -0xb3b3b3b3U, 0x21212121U, 0x9c9c9c9cU, 0x1e1e1e1eU, -0x43434343U, 0xc7c7c7c7U, 0xfcfcfcfcU, 0x04040404U, -0x51515151U, 0x99999999U, 0x6d6d6d6dU, 0x0d0d0d0dU, -0xfafafafaU, 0xdfdfdfdfU, 0x7e7e7e7eU, 0x24242424U, -0x3b3b3b3bU, 0xababababU, 0xcecececeU, 0x11111111U, -0x8f8f8f8fU, 0x4e4e4e4eU, 0xb7b7b7b7U, 0xebebebebU, -0x3c3c3c3cU, 0x81818181U, 0x94949494U, 0xf7f7f7f7U, -0xb9b9b9b9U, 0x13131313U, 0x2c2c2c2cU, 0xd3d3d3d3U, -0xe7e7e7e7U, 0x6e6e6e6eU, 0xc4c4c4c4U, 0x03030303U, -0x56565656U, 0x44444444U, 0x7f7f7f7fU, 0xa9a9a9a9U, -0x2a2a2a2aU, 0xbbbbbbbbU, 0xc1c1c1c1U, 0x53535353U, -0xdcdcdcdcU, 0x0b0b0b0bU, 0x9d9d9d9dU, 0x6c6c6c6cU, -0x31313131U, 0x74747474U, 0xf6f6f6f6U, 0x46464646U, -0xacacacacU, 0x89898989U, 0x14141414U, 0xe1e1e1e1U, -0x16161616U, 0x3a3a3a3aU, 0x69696969U, 0x09090909U, -0x70707070U, 0xb6b6b6b6U, 0xd0d0d0d0U, 0xededededU, -0xccccccccU, 0x42424242U, 0x98989898U, 0xa4a4a4a4U, -0x28282828U, 0x5c5c5c5cU, 0xf8f8f8f8U, 0x86868686U, +0x18181818U, 0x23232323U, 0xc6c6c6c6U, 0xe8e8e8e8U, +0x87878787U, 0xb8b8b8b8U, 0x01010101U, 0x4f4f4f4fU, +0x36363636U, 0xa6a6a6a6U, 0xd2d2d2d2U, 0xf5f5f5f5U, +0x79797979U, 0x6f6f6f6fU, 0x91919191U, 0x52525252U, +0x60606060U, 0xbcbcbcbcU, 0x9b9b9b9bU, 0x8e8e8e8eU, +0xa3a3a3a3U, 0x0c0c0c0cU, 0x7b7b7b7bU, 0x35353535U, +0x1d1d1d1dU, 0xe0e0e0e0U, 0xd7d7d7d7U, 0xc2c2c2c2U, +0x2e2e2e2eU, 0x4b4b4b4bU, 0xfefefefeU, 0x57575757U, +0x15151515U, 0x77777777U, 0x37373737U, 0xe5e5e5e5U, +0x9f9f9f9fU, 0xf0f0f0f0U, 0x4a4a4a4aU, 0xdadadadaU, +0x58585858U, 0xc9c9c9c9U, 0x29292929U, 0x0a0a0a0aU, +0xb1b1b1b1U, 0xa0a0a0a0U, 0x6b6b6b6bU, 0x85858585U, +0xbdbdbdbdU, 0x5d5d5d5dU, 0x10101010U, 0xf4f4f4f4U, +0xcbcbcbcbU, 0x3e3e3e3eU, 0x05050505U, 0x67676767U, +0xe4e4e4e4U, 0x27272727U, 0x41414141U, 0x8b8b8b8bU, +0xa7a7a7a7U, 0x7d7d7d7dU, 0x95959595U, 0xd8d8d8d8U, +0xfbfbfbfbU, 0xeeeeeeeeU, 0x7c7c7c7cU, 0x66666666U, +0xddddddddU, 0x17171717U, 0x47474747U, 0x9e9e9e9eU, +0xcacacacaU, 0x2d2d2d2dU, 0xbfbfbfbfU, 0x07070707U, +0xadadadadU, 0x5a5a5a5aU, 0x83838383U, 0x33333333U, +0x63636363U, 0x02020202U, 0xaaaaaaaaU, 0x71717171U, +0xc8c8c8c8U, 0x19191919U, 0x49494949U, 0xd9d9d9d9U, +0xf2f2f2f2U, 0xe3e3e3e3U, 0x5b5b5b5bU, 0x88888888U, +0x9a9a9a9aU, 0x26262626U, 0x32323232U, 0xb0b0b0b0U, +0xe9e9e9e9U, 0x0f0f0f0fU, 0xd5d5d5d5U, 0x80808080U, +0xbebebebeU, 0xcdcdcdcdU, 0x34343434U, 0x48484848U, +0xffffffffU, 0x7a7a7a7aU, 0x90909090U, 0x5f5f5f5fU, +0x20202020U, 0x68686868U, 0x1a1a1a1aU, 0xaeaeaeaeU, +0xb4b4b4b4U, 0x54545454U, 0x93939393U, 0x22222222U, +0x64646464U, 0xf1f1f1f1U, 0x73737373U, 0x12121212U, +0x40404040U, 0x08080808U, 0xc3c3c3c3U, 0xececececU, +0xdbdbdbdbU, 0xa1a1a1a1U, 0x8d8d8d8dU, 0x3d3d3d3dU, +0x97979797U, 0x00000000U, 0xcfcfcfcfU, 0x2b2b2b2bU, +0x76767676U, 0x82828282U, 0xd6d6d6d6U, 0x1b1b1b1bU, +0xb5b5b5b5U, 0xafafafafU, 0x6a6a6a6aU, 0x50505050U, +0x45454545U, 0xf3f3f3f3U, 0x30303030U, 0xefefefefU, +0x3f3f3f3fU, 0x55555555U, 0xa2a2a2a2U, 0xeaeaeaeaU, +0x65656565U, 0xbabababaU, 0x2f2f2f2fU, 0xc0c0c0c0U, +0xdedededeU, 0x1c1c1c1cU, 0xfdfdfdfdU, 0x4d4d4d4dU, +0x92929292U, 0x75757575U, 0x06060606U, 0x8a8a8a8aU, +0xb2b2b2b2U, 0xe6e6e6e6U, 0x0e0e0e0eU, 0x1f1f1f1fU, +0x62626262U, 0xd4d4d4d4U, 0xa8a8a8a8U, 0x96969696U, +0xf9f9f9f9U, 0xc5c5c5c5U, 0x25252525U, 0x59595959U, +0x84848484U, 0x72727272U, 0x39393939U, 0x4c4c4c4cU, +0x5e5e5e5eU, 0x78787878U, 0x38383838U, 0x8c8c8c8cU, +0xd1d1d1d1U, 0xa5a5a5a5U, 0xe2e2e2e2U, 0x61616161U, +0xb3b3b3b3U, 0x21212121U, 0x9c9c9c9cU, 0x1e1e1e1eU, +0x43434343U, 0xc7c7c7c7U, 0xfcfcfcfcU, 0x04040404U, +0x51515151U, 0x99999999U, 0x6d6d6d6dU, 0x0d0d0d0dU, +0xfafafafaU, 0xdfdfdfdfU, 0x7e7e7e7eU, 0x24242424U, +0x3b3b3b3bU, 0xababababU, 0xcecececeU, 0x11111111U, +0x8f8f8f8fU, 0x4e4e4e4eU, 0xb7b7b7b7U, 0xebebebebU, +0x3c3c3c3cU, 0x81818181U, 0x94949494U, 0xf7f7f7f7U, +0xb9b9b9b9U, 0x13131313U, 0x2c2c2c2cU, 0xd3d3d3d3U, +0xe7e7e7e7U, 0x6e6e6e6eU, 0xc4c4c4c4U, 0x03030303U, +0x56565656U, 0x44444444U, 0x7f7f7f7fU, 0xa9a9a9a9U, +0x2a2a2a2aU, 0xbbbbbbbbU, 0xc1c1c1c1U, 0x53535353U, +0xdcdcdcdcU, 0x0b0b0b0bU, 0x9d9d9d9dU, 0x6c6c6c6cU, +0x31313131U, 0x74747474U, 0xf6f6f6f6U, 0x46464646U, +0xacacacacU, 0x89898989U, 0x14141414U, 0xe1e1e1e1U, +0x16161616U, 0x3a3a3a3aU, 0x69696969U, 0x09090909U, +0x70707070U, 0xb6b6b6b6U, 0xd0d0d0d0U, 0xededededU, +0xccccccccU, 0x42424242U, 0x98989898U, 0xa4a4a4a4U, +0x28282828U, 0x5c5c5c5cU, 0xf8f8f8f8U, 0x86868686U, }; --- maradns-1.3.07.09.orig/qual/Makefile +++ maradns-1.3.07.09/qual/Makefile @@ -2,9 +2,6 @@ JOBJS=../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o OBJECTS=$(DOBJECTS) -#FLAGS = -g -Wall $(DEBUG) -#FLAGS = -g $(DEBUG) - all: qual_timestamp.o clean: --- maradns-1.3.07.09.orig/server/Makefile +++ maradns-1.3.07.09/server/Makefile @@ -1,11 +1,13 @@ -SOBJECTS=MaraBigHash.o recursive.o timestamp.o read_kvars.o MaraAnyChain.o +SOBJECTS=MaraBigHash.o recursive.o timestamp.o read_kvars.o MaraAnyChain.o \ + udpsuccess.o JOBJS=../libs/JsStr.o ../libs/JsStrOS.o ../libs/JsStrCP.o MHOBJS=../libs/MaraHash.o MJOBJS=../qual/qual_timestamp.o +POBJ6=../parse/Csv2_rr_wks.o POBJ5=../parse/Csv2_database.o ../parse/Csv2_rr_txt.o ../parse/Csv2_esc_txt.o POBJ3=../parse/Csv2_rr_soa.o ../parse/Csv2_rr_aaaa.o ../parse/Csv2_rr_a.o POBJ2=../parse/Csv2_read.o ../parse/Csv2_main.o ../parse/Csv2_parse.o $(POBJ3) -POBJ4=../parse/ParseIpAcl.o ../parse/Parse_ipv6.o $(POBJ2) +POBJ4=../parse/ParseIpAcl.o ../parse/Parse_ipv6.o $(POBJ2) $(POBJ6) POBJECTS=../parse/ParseMaraRc.o ../parse/ParseCsv1.o $(POBJ4) $(POBJ5) DOBJECTS=../dns/Queries.o ../dns/Compress.o ../dns/bobbit.o ../dns/Decompress.o ROBJECTS=../rng/rng-api-fst.o ../rng/rng-alg-fst.o @@ -46,6 +48,9 @@ MaraAnyChain.o: MaraAnyChain.c $(CC) -c $(FLAGS) -o MaraAnyChain.o MaraAnyChain.c +udpsuccess.o: udpsuccess.c + $(CC) -c $(FLAGS) -o udpsuccess.o udpsuccess.c + maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread --- maradns-1.3.07.09.orig/debian/resolvconf-script +++ maradns-1.3.07.09/debian/resolvconf-script @@ -0,0 +1,91 @@ +#!/bin/bash -eu +# note: need bash because of ${...//X/Y} syntax +# +# Script to update the maradns upstream server list +# +# Resolvconf may run even if maradns is not running. In that case, we update +# update the configuration file but do not restart the daemon. +# Otherwise, maradns is only restarted if the configuration file changed. +# +# If you want to use this script, set your upstream_servers["."] variable to +# "resolvconf_nameservers" (see $IPV4_ALIAS value below) +IPV4_ALIAS=resolvconf_nameservers +# E.g.: upstream_servers["."] = "resolvconf_nameservers" +# +# This only works with the main maradns server, using configuration file +# /etc/maradns/mararc. Patches to extend this functionality to multiple servers +# are welcome. +# +# Note: you need to enable this functionality in /etc/default/maradns because +# this script modifies a configuration file in /etc, which you may not like. +# +# (c) 2006 Martin F. Krafft +# Released under the terms of the Artistic Licence. +# + +PATH=/usr/sbin:/usr/bin:/sbin:/bin + +DEFAULT=/etc/default/maradns +[ -f $DEFAULT ] && . $DEFAULT + +if [ -z "${RESOLVCONF_UPDATE_FORWARDERS:-}" ]; then + echo "Warning: \$RESOLVCONF_UPDATE_FORWARDERS not defined in $DEFAULT." >&2 + echo " Pulling the emergency brake..." >&2 + exit 0 +fi + +case $RESOLVCONF_UPDATE_FORWARDERS in + y*|Y*|1|on|On|true|True|TRUE) :;; + *) + echo "Not updating maradns, disabled in $DEFAULT." >&2 + exit 0 + ;; +esac + +# fail silently if resolvconf is not installed. +LISTRECS=/lib/resolvconf/list-records +[ -x $LISTRECS ] || exit 0 +IFACEDIR=/etc/resolvconf/run/interface +[ -d $IFACEDIR ] || exit 0 + +MARARC=/etc/maradns/mararc +[ -e $MARARC ] || exit 0 +[ -w $MARARC ] || exit 1 + +CSL="" +cd $IFACEDIR +RECORDS=$(/lib/resolvconf/list-records) +if [ -n "$RECORDS" ]; then + IPS=$(sed -ne 's,^nameserver ,,p' $RECORDS) + for ip in $IPS; do + ifconfig -a | grep -q " inet addr:${ip//./\.}" || CSL=${CSL}${CSL:+,}$ip + done +fi + +[ -n "$CSL" ] || exit 0 + +IPV4ALIAS_REGEXP="ipv4_alias\[\"$IPV4_ALIAS\"\]" + +CHANGED=0 +if grep -q $IPV4ALIAS_REGEXP $MARARC; then + + HASHSUM=$(md5sum $MARARC) + SEDSCRIPT="s@^\($IPV4ALIAS_REGEXP\)[[:space:]]*=.*@\1 = \"$CSL\"@" + sed -i -e "$SEDSCRIPT" $MARARC + [ "$HASHSUM" != "$(md5sum $MARARC)" ] && CHANGED=1 + +else + + # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436209 + #echo "${IPV4ALIAS_REGEXP//\\\\/} = \"$CSL\"" >> $MARARC + echo "${IPV4ALIAS_REGEXP//\\/} = \"$CSL\"" >> $MARARC + CHANGED=1 + +fi + +MARAINIT=/etc/init.d/maradns +if [ -x $MARAINIT ] && [ $CHANGED -eq 1 ]; then + ps -fC maradns | grep -q $MARARC && exec $MARAINIT restart +fi + +exit 0 --- maradns-1.3.07.09.orig/debian/compat +++ maradns-1.3.07.09/debian/compat @@ -0,0 +1 @@ +4 --- maradns-1.3.07.09.orig/debian/mararc +++ maradns-1.3.07.09/debian/mararc @@ -0,0 +1,225 @@ +# Example mararc file (unabridged version) + +# The various zones we support + +# We must initialize the csv1 hash, or MaraDNS will be unable to +# load any zone files +csv1 = {} + +# This is just to show the format of the file +# csv1["example.com."] = "db.example.com" + +# The address this DNS server runs on. If you want to bind +# to all addresses a given machine has, use "0.0.0.0". +bind_address = "127.0.0.3" +# The directory with all of the zone files +chroot_dir = "/etc/maradns" +# The numeric UID MaraDNS will run as +maradns_uid = 65534 +# The (optional) numeric GID MaraDNS will run as +# maradns_gid = 99 +# The maximum number of threads (or processes, with the zone server) +# MaraDNS is allowed to run +maxprocs = 96 +# It is possible to specify a different maximum number of processes that +# the zone server can run. If this is not set, the maximum number of +# processes that the zone server can have defaults to the 'maxprocs' value +# above +# max_tcp_procs = 64 + +# Normally, MaraDNS has some MaraDNS-specific features, such as DDIP +# synthesizing, a special DNS query ("erre-con-erre-cigarro.maradns.org." +# with a TXT query returns the version of MaraDNS that a server is +# running), unique handling of multiple QDCOUNTs, etc. Some people +# might not like these features, so I have added a switch that lets +# a sys admin disable all these features. Just give "no_fingerprint" +# a value of one here, and MaraDNS should be more or less +# indistinguishable from a tinydns server. +no_fingerprint = 0 + +# Normally, MaraDNS only returns A and MX records when given a +# QTYPE=* (all RR types) query. Changing the value of default_rrany_set +# to 15 causes MaraDNS to also return the NS and SOA records, which +# some registars require. The default value of this is 3 +default_rrany_set = 3 + +# These constants limit the number of records we will display, in order +# to help keep packets 512 bytes or smaller. This, combined with round_robin +# record rotation, help to use DNS as a crude load-balancer. + +# The maximum number of records to display in a chain of records (list +# of records) for a given host name +max_chain = 8 +# The maximum number of records to display in a list of records in the +# additional section of a query. If this is any value besides one, +# round robin rotation is disabled (due to limitations in the current +# data structure MaraDNS uses) +max_ar_chain = 1 +# The maximum number of records to show total for a given question +max_total = 20 + +# The number of messages we log to stdout +# 0: No messages except for fatal parsing errors and the legal disclaimer +# 1: Only startup messages logged (default) +# 2: Error queries logged +# 3: All queries logged (but not very verbosely right now) +verbose_level = 1 + +# Initialize the IP aliases, which are used by the list of root name servers, +# the ACL for zone transfers, and the ACL of who gets to perform recursive +# queries +ipv4_alias = {} + +# Various sets of root name servers +# Note: Netmasks can exist, but are ignored when specifying root name server + +# ICANN: the most common and most controversial root name server +# http://www.icann.org +ipv4_alias["icann"] = "198.41.0.4,192.228.79.201,192.33.4.12,128.8.10.90,192.203.230.10,192.5.5.241,192.112.36.4,128.63.2.53,192.36.148.17,192.58.128.30,193.0.14.129,199.7.83.42,202.12.27.33" + +# OSRC: http://www.open-rsc.org/ +ipv4_alias["osrc"] = "199.166.24.1,205.189.73.102,199.166.24.3,207.126.103.16,195.117.6.10,205.189.73.10,204.57.55.100,213.196.2.97" + +# AlterNIC: http://www.alternic.org/ +ipv4_alias["alternic"] = "160.79.129.192,24.6.78.12,160.79.133.70,65.15.8.202,216.162.42.240,195.224.64.190,160.79.133.66,216.162.42.185" + +# OpenNIC: http://www.opennic.unrated.net/ +ipv4_alias["opennic"] = "131.161.247.226,209.151.84.102,64.247.218.140,64.247.218.149,209.104.33.250,209.104.63.249,209.151.84.103,199.175.137.211,207.6.128.246,65.243.92.254" + +# Pacific Root: http://www.pacificroot.com/ +# Disabled because Pacific Root no longer runs traditional style root +# servers +#ipv4_alias["pacificroot"] = "204.107.129.2,208.179.42.162,12.28.140.20,204.107.129.10,212.115.192.151,202.76.159.5,209.54.94.3,167.160.132.2" + +# IRSC: http://www.irsc.ah.net/ +# This group was terminated January 2002 +#ipv4_alias["irsc"] = "203.21.205.2,203.21.205.3,212.234.36.20,212.234.36.19,207.180.91.9,198.199.168.92,207.180.91.10" + +# TINC: http://www.tinc-org.com/ +# On 2002/11/15, the tinc domain was owned by a domain squatter +# The only working server on this list is 145.89.234.7 +#ipv4_alias["tinc"] = "64.6.65.10,208.128.113.35,212.172.21.254,207.112.147.14,145.89.234.7,209.133.38.16" + +# Super Root: http://www.superroot.org/ +# They no longer use a traditional list of root servers +#ipv4_alias["superroot"] = "199.5.157.128,199.166.24.12,199.166.28.10,5.189.73.10,199.166.31.250,199.166.24.1,205.189.73.102,199.166.24.3,204.80.125.130,207.126.103.16,204.57.55.100" + +# End of list of root name server lists + +# Here is a ACL which restricts who is allowed to perform zone transfer from +# the zoneserver program + +# VERY IMPORTANT: Do not put spaces in the zone_transfer_acl list +# Good: zone_transfer_acl = "office,home" +# Bad: zone_transfer_acl = "office, home" + +# Simplest form: 10.1.1.1/24 (IP: 10.1.1.1, 24 left bits in IP need to match) +# and 10.100.100.100/255.255.255.224 (IP: 10.100.100.100, netmask +# 255.255.255.224) are allowed to connect to the zone server +# NOTE: The "maradns" program does not serve zones. Zones are served +# by the "zoneserver" program. +# zone_transfer_acl = "10.1.1.1/24,10.100.100.100/255.255.255.224" + +# More complex: We create two aliases: One called "office" and another +# called "home". We allow anyone in the office or at home to perform zone +# transfers +# ipv4_alias["office"] = "10.1.1.1/24" +# ipv4_alias["home"] = "10.100.100.100/255.255.255.224" +# zone_transfer_acl = "office,home" + +# More complex then the last example. We have three employees, +# Susan, Becca, and Mia, whose computers we give zone transfer rights to. +# Susan and Becca are system administrators, and Mia is a developer. +# They are all part of the company. We give the entire company zone +# transfer access +# ipv4_alias["susan"] = "10.6.7.8/32" # Single IP allowed +# ipv4_alias["becca"] = "10.7.8.9" # also a single IP +# ipv4_alias["mia"] = "10.8.9.10/255.255.255.255" # Also a single IP +# ipv4_alias["sysadmins"] = "susan,becca" +# ipv4_alias["devel"] = "mia" +# ipv4_alias["company"] = "sysadmins,devel" +# This is equivalent to the above line +# ipv4_alias["company"] = "susan,becca,mia" +# zone_transfer_acl = "company" + +# If you want to enable recursion on the loopback interface, uncomment +# the relevent lines in the following section + +# Recursive ACL: Who is allowd to perform recursive queries. The format +# is identical to that of "zone_transfer_acl", including ipv4_alias support + +# ipv4_alias["localhost"] = "127.0.0.0/8" +# recursive_acl = "localhost" + +# Random seed file: The file from which we read 16 bytes from to get the +# 128-bit random Rijndael key. This is ideally a file which is a good source +# of random numbers, but can also be a fixed file if your OS does not have +# a decent random number generator (make sure the contents of that file is +# random and with 600 perms, owned by root, since we read the file *before* +# dropping root privledges) + +# random_seed_file = "/dev/urandom" + +# The maximum number of elements we can have in the cache. If we have more +# elements in the cache than this amount, the "custodian" kicks in to effect, +# removing elements not recently accessed from the cache (8 elements removed +# per query) until we are at the 99% level or so again. + +# maximum_cache_elements = 1024 + +# It is possible to change the minimul "time to live" for entries in the +# cache; this is the minimum time that an entry will stay in the cache. +# Value is in seconds; default is 300 (5 minutes) +# min_ttl = 300 +# CNAME records generally take more effort to resolve in MaraDNS than +# non-CNAME records; it is a good idea to make this higher then min_ttl +# default value is to be the same as min_ttl +# min_ttl_cname = 900 + +# The root servers which we use when making recursive queries. + +# The following line must be uncommented to enable recursive queries +# root_servers = {} + +# You can choose which set of root servers to use. Current values (set above) +# are: icann, osrc, alternic, opennic, pacificroot, irsc, tinc, and +# superroot. This line must also be uncommented to enable recursive +# queries. +# root_servers["."] = "osrc" + +# You can tell MaraDNS to *not* query certain DNS servers when in recursive +# mode. This is mainly used to not allow spam-friendly domains to resolve, +# since spammers are starting to get in the habit of using spam-friendly +# DNS servers to resolve their domains, allowing them to hop from ISP to +# ISP. The format of this is the same as for zone_transfer_acl and +# recursive_acl + +# For example, at the time of this document (August 12, 2001), azmalink.net +# is a known spam-friendly DNS provider (see doc/detailed/spammers/azmalink.net +# for details.) Note that this is based on IPs, and azmalink.net constantly +# changes IPs (as they constantly have to change ISPs) +# 2002/10/12: Azmalink changed ISP again, this reflect their current ISP +#ipv4_alias["azmalink"] = "12.164.194.0/24" + +# As of September 20, 2001, hiddenonline.net is a known spam-friendly +# DNS provider (see doc/detailed/spammers/hiddenonline for details). +#ipv4_alias["hiddenonline"] = "65.107.225.0/24" +#spammers = "azmalink,hiddenonline" + +# It is also possible to change the maximum number of times MaraDNS will +# follow a CNAME record or a NS record with a glue A record. The default +# value for this is ten. +# max_glueless_level = 10 +# In addition, one can change the maximum number of total queries that +# MaraDNS will perform to look up a host name. The default value is 32. +# max_queries_total = 32 +# In addition, one can change the amount of time that MaraDNS will wait +# for a DNS server to respond before giving up and trying the next DNS +# server on a list. Note that, the larger this value is, the slower +# MaraDNS will process recursive queries when a DNS server is not +# responding to DNS queries. The default value is two seconds. +# timeout_seconds = 2 + + +# And that does it for the caching at this point + --- maradns-1.3.07.09.orig/debian/maradns.docs +++ maradns-1.3.07.09/debian/maradns.docs @@ -0,0 +1,2 @@ +doc/en +doc/pt_br --- maradns-1.3.07.09.orig/debian/changelog +++ maradns-1.3.07.09/debian/changelog @@ -0,0 +1,656 @@ +maradns (1.3.07.09-3) unstable; urgency=low + + * Fix "Provide tools included in maradns source package" + Added tools csv1tocsv2.pl and maraconf.sh (Closes: #507593) + + -- Kai Hendry Mon, 15 Dec 2008 20:57:07 +0000 + +maradns (1.3.07.09-2) unstable; urgency=high + + * Security fix, urgency high: + Does not run as the maradns user/group (Closes: #500707) + * reference to the wrong README.Debian in /etc/defaults/maradns + (Closes: #500200) + * Waiting 3 seconds instead of 10 for maradns to parse mararc on startup + + -- Kai Hendry Sat, 11 Oct 2008 22:07:58 +0100 + +maradns (1.3.07.09-1) unstable; urgency=low + + * New upstream release + * Please update maradns to fix MX bug (Closes: #496468) + * Added Homepage: field + * Added note about /etc/maradns/mararc differing from online docs + * Does not run as the maradns user/group (Closes: #500707) + * Does not run as the maradns user/group (Closes: #500707) + * reference to the wrong README.Debian in /etc/defaults/maradns + (Closes: #500200) + + -- Kai Hendry Sat, 11 Oct 2008 22:07:47 +0100 + +maradns (1.3.07.08-1) unstable; urgency=low + + * New Upstream Version + + -- Kai Hendry Sun, 13 Jan 2008 09:37:52 +0000 + +maradns (1.2.12.09-1) unstable; urgency=low + + * New upstream release + * Bad root server for icann (Closes: #457158) + * debian/watch fails to report upstream's version (Closes: + #449961) + + -- Kai Hendry Thu, 20 Dec 2007 22:56:45 +0000 + +maradns (1.2.12.08-1) unstable; urgency=high + + * New upstream security release + * http://marc.info/?l=maradns-list&m=118842373527534&w=2 + + -- Kai Hendry Sun, 02 Sep 2007 17:48:27 +0100 + +maradns (1.2.12.07-1) unstable; urgency=low + + * New upstream release + * resolvconf update script breaks maradns configuration (Closes: + #436209) + * no warning on failure to start (Closes: #436214) + + -- Kai Hendry Mon, 27 Aug 2007 22:18:15 +0100 + +maradns (1.2.12.06-1) unstable; urgency=medium + + * New upstream release + * A couple of memory leaks fixed + * Upstream considers these bugs important, hence medium urgency + + -- Kai Hendry Sat, 19 May 2007 22:00:19 +0100 + +maradns (1.2.12.05-1) unstable; urgency=low + + * New upstream release + * Added LSB info to maradns&zoneserver init + Thanks to Petter Reinholdtsen for his aid + + -- Kai Hendry Mon, 19 Feb 2007 12:13:29 +0000 + +maradns (1.2.12.04-1) unstable; urgency=low + + * New upstream release + * Source package contains non-free IETF RFC/I-D's (Closes: #393397) + + -- Kai Hendry Tue, 28 Nov 2006 08:54:23 -0300 + +maradns (1.2.12.03-1) unstable; urgency=low + + * New upstream release with many new doc tweaks. Though most of the changes + are with the webpages which I have chosen not to distribute as you can + read them all rather online at http://maradns.org/ + * The diffs in the Makefiles are due to upstream's configure script + * Added bind2csv2.py as an example from upstream's tools/ + There is a lot of little scripts in tools/ which can probably join this + + -- Kai Hendry Mon, 9 Oct 2006 17:44:21 -0300 + +maradns (1.2.12.02-4) unstable; urgency=low + + * More tweaks to the init. + + -- Kai Hendry Mon, 9 Oct 2006 16:01:50 -0300 + +maradns (1.2.12.02-3) unstable; urgency=low + + * I applied patch in the wrong place. Thanks again to Boris Dorès + + -- Kai Hendry Sun, 8 Oct 2006 21:02:33 -0300 + +maradns (1.2.12.02-2) unstable; urgency=low + + * start/stop zoneserver (Closes: #384943) + Thank you Boris Dorès for the patch + * Need --oknodo in postinst (Closes: #386734) + * Start maradns(19) before exim4(20) + + -- Kai Hendry Sun, 8 Oct 2006 19:32:22 -0300 + +maradns (1.2.12.02-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Wed, 23 Aug 2006 21:08:05 +0100 + +maradns (1.2.10-1) unstable; urgency=low + + * New upstream release + * Added --oknodo to stop case + * Stopping maradns: invoke-rc.d: initscript maradns, action "stop" + failed. (Closes: #374655) + + -- Kai Hendry Wed, 21 Jun 2006 22:08:54 +0900 + +maradns (1.2.07.6-1) unstable; urgency=low + + * New upstream release + * Microsoft doesn't follow DNS standards (Closes: #373701) + + -- Kai Hendry Sun, 18 Jun 2006 11:09:28 +0900 + +maradns (1.2.07.5-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Mon, 29 May 2006 21:35:46 +0900 + +maradns (1.2.07.1-1) unstable; urgency=low + + * New upstream release + * http://www.maradns.org/tutorial/update.html#1.2.03 + + -- Kai Hendry Wed, 22 Mar 2006 19:31:52 +0900 + +maradns (1.2.03.4-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Tue, 21 Mar 2006 11:39:29 +0900 + +maradns (1.2.03.3-1.1) unstable; urgency=low + + [ martin f. krafft ] + * Non-maintainer upload. + * Integrated resolvconf update script (closes: Bug#356725). + + [ Kai Hendry ] + * Merging Martin's changes + + -- Kai Hendry Tue, 21 Mar 2006 11:35:13 +0900 + +maradns (1.2.03.3-1) unstable; urgency=low + + * New upstream release + * fetchzone not included in package (Closes: #353738) + + -- Kai Hendry Tue, 21 Feb 2006 18:10:45 +0900 + +maradns (1.2.03.2-1) unstable; urgency=medium + + * New upstream release + * New version of maradns available (Closes: #336366) + + -- Kai Hendry Sat, 4 Feb 2006 01:03:34 +0900 + +maradns (1.2.03.1-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Thu, 2 Feb 2006 11:37:14 +0900 + +maradns (1.2.00-1) unstable; urgency=low + + * New upstream release (3.5 years in the making!) + * New version of maradns available (Closes: #336366) + + -- Thu, 22 Dec 2005 23:55:23 +0000 + +maradns (1.0.34-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Sat, 5 Nov 2005 13:28:08 +1100 + +maradns (1.0.32-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Mon, 29 Aug 2005 00:03:55 +1000 + +maradns (1.0.30-1) unstable; urgency=low + + * New upstream release + + -- Kai Hendry Fri, 8 Jul 2005 09:56:44 +1000 + +maradns (1.0.28-1) unstable; urgency=medium + + * New upstream release that fixes 2.6 lockup problem + + -- Kai Hendry Tue, 10 May 2005 03:03:06 +0100 + +maradns (1.0.27-1) unstable; urgency=high + + * New upstream release (sponsored upload) + * Fixes security issue described here: + http://www.maradns.org/download/patches/maradns-1.0.26-rekey_rng.patch + * Closes: #307662: New upstreams; security fixies, bug fixes, etc.. + * Returned wildcard example + + -- Jaakko Niemi Fri, 6 May 2005 14:32:14 +0300 + +maradns (1.0.26-1) unstable; urgency=low + + * New upstream release + * Thanks to my debian-jp collegues, especially Takatsugu 'Knok' Nokubi + for lending me his laptop for this belated release + * Thanks to Albert Lee for giving me his package to check mine against + * Closes: #298018: README.Debian subdomain issues + * Closes: #298019: README.Debian refers to nonexistant natalian.org + pages + * Thanks Charles Fry for the README corrections + + -- Kai Hendry Mon, 18 Apr 2005 16:05:04 +0900 + +maradns (1.0.23-4) unstable; urgency=low + + * Sponsored upload + * Closes: #269839: maradns: multiple server configuration broken + * Added tutorial in README.Debian to set up a "wildcard" authoritative + server + * Added wildcard example + + -- Jaakko Niemi Sun, 26 Sep 2004 16:47:16 +0300 + +maradns (1.0.23-3) unstable; urgency=low + + * Closes: #262613: garbage during initial installation + * Closes: #262615: No manpages for binaries + * Modified README with instructions for a typical maradns + use case with apache's vhost alias + + -- Kai Hendry Sun, 1 Aug 2004 20:04:01 +0300 + +maradns (1.0.23-2) unstable; urgency=low + + * Sponsored upload + * Closes: #256028: New rc file does not start multiple servers + properly. Thank you for the patch Chris Allegretta. + * Improved package description + * Various worthwhile cleanups suggested by Marc 'HE' Brockschmidt + * Closes: #164645: maradns not properly daemonized + * Re-organised documentation (examples handled by dh_installdocs) + + -- Jaakko Niemi Wed, 14 Jul 2004 12:17:35 +0300 + +maradns (1.0.23-1) unstable; urgency=low + + * New upstream release + * Sponsored upload + * Move rc.d priority from 30 to 15 (Closes: #233559) + + -- Jaakko Niemi Sun, 30 May 2004 12:06:23 +0300 + +maradns (1.0.21-1) unstable; urgency=low + + * New maintainer, Kai Hendry. This is sponsored upload for him. + * New upstream release + * Closes: #176066: Could start several servers (bound to different + IPs) + * Closes: #226664: unclean purge + * Closes: #223011: spelling of "privileged" + * bumped standards version, no changes. + + -- Jaakko Niemi Tue, 25 May 2004 21:51:21 +0300 + +maradns (1.0.20-1) unstable; urgency=low + + * New upstream release (closes: #216634, #217732) + + -- Jaakko Niemi Tue, 28 Oct 2003 17:05:27 +0200 + +maradns (1.0.19-1) unstable; urgency=low + + * New upstream release (closes: #207372) + + -- Jaakko Niemi Wed, 3 Sep 2003 23:15:08 +0300 + +maradns (1.0.17-1) unstable; urgency=low + + * New upstream release + * use full path with logger (closes: #190238) + + -- Jaakko Niemi Thu, 24 Apr 2003 16:00:30 +0300 + +maradns (1.0.15-1) unstable; urgency=low + + * New upstream release + + -- Jaakko Niemi Fri, 28 Feb 2003 22:58:49 +0200 + +maradns (1.0.11-1) unstable; urgency=low + + * New upstream release + * clean /usr/doc leftovers from postinst + + -- Jaakko Niemi Fri, 3 Jan 2003 19:13:13 +0200 + +maradns (1.0.10-1) unstable; urgency=low + + * New upstream release (closes: #168983) + * update standards version to 3.5.8 + + -- Jaakko Niemi Fri, 6 Dec 2002 09:41:51 +0200 + +maradns (1.0.07-1) unstable; urgency=low + + * New upstream version, fixes stability issues some people + were seeing. + + -- Jaakko Niemi Tue, 27 Aug 2002 18:41:28 +0300 + +maradns (1.0.04-1) unstable; urgency=low + + * New upstream version. + * Don't conflict with bind anymore. Away with the sillyness. + * Add separate user for maradns (closes: #129719) + - note that you will need manually adjust mararc to match, + if this is not first time installation. + (maradns_uid and maradns_gid options) + + -- Jaakko Niemi Wed, 17 Jul 2002 00:07:26 +0300 + +maradns (1.0.02-1) unstable; urgency=low + + * New upstream version. + + -- Jaakko Niemi Sun, 7 Jul 2002 19:03:49 +0300 + +maradns (1.0.00-1) unstable; urgency=low + + * New upstream version. + + -- Jaakko Niemi Fri, 21 Jun 2002 17:59:44 +0300 + +maradns (0.9.92-1) unstable; urgency=low + + * New upstream version. + + -- Jaakko Niemi Sun, 16 Jun 2002 20:47:50 +0300 + +maradns (0.9.91-1) unstable; urgency=low + + * New upstream release. RC1 of 1.0 + + -- Jaakko Niemi Thu, 13 Jun 2002 19:32:03 +0300 + +maradns (0.9.39-1) unstable; urgency=low + + * New upstream release. + + -- Jaakko Niemi Tue, 11 Jun 2002 22:35:04 +0300 + +maradns (0.9.34-1) unstable; urgency=low + + * new upstream version. Few bugfixes. + + -- Jaakko Niemi Fri, 31 May 2002 19:16:42 +0300 + +maradns (0.9.33-1) unstable; urgency=low + + * new upstream version, rolling towards 1.0 + (closes: #147845, #142760) + * several bugfixes + * drop build-dep to lynx, as upstream ships text + version of changelog + + -- Jaakko Niemi Sat, 25 May 2002 12:50:40 +0300 + +maradns (0.9.18-1) unstable; urgency=low + + * new upstream version, freeze continues + * upload to main + + -- Jaakko Niemi Fri, 29 Mar 2002 19:54:25 +0200 + +maradns (0.9.15-1) unstable; urgency=low + + * New upstream release + + -- Jaakko Niemi Fri, 8 Mar 2002 21:57:36 +0200 + +maradns (0.9.11-1) unstable; urgency=low + + * New upstream release + + -- Jaakko Niemi Sat, 16 Feb 2002 02:09:43 +0200 + +maradns (0.9.09-1) unstable; urgency=low + + * New upstream release + - Lots of documentation updates + * call update-rc.d unconditionally in postrm (closes: #129938) + + -- Jaakko Niemi Wed, 30 Jan 2002 22:57:56 +0200 + +maradns (0.9.01-1) unstable; urgency=high + + * New upstream release: + - SECURITY: fixes a DoS issue in compression code, found + during code audit + - fixes memory leak in thread code + - documentation updates + (closes: #128873) + * Maintainer scripts now attempt to shut down maradns and + zoneserver on package removal and purge. + + -- Jaakko Niemi Sat, 12 Jan 2002 18:04:54 +0200 + +maradns (0.8.99a-1) unstable; urgency=low + + * New upstream release. Stability fixes. + + -- Jaakko Niemi Fri, 21 Dec 2001 21:39:51 +0200 + +maradns (0.8.99-1) unstable; urgency=low + + * New upstream release. + + -- Jaakko Niemi Mon, 10 Dec 2001 20:07:18 +0200 + +maradns (0.8.35-1) unstable; urgency=low + + * new upstream release. Sam definately needs a vacation. + * fix maradns location in manpage (closes: 118310) + + -- Jaakko Niemi Tue, 20 Nov 2001 22:30:46 +0200 + +maradns (0.8.34-1) unstable; urgency=low + + * new upstream release. Significant bugfixes. + + -- Jaakko Niemi Sat, 17 Nov 2001 17:31:55 +0200 + +maradns (0.8.30-1) unstable; urgency=low + + * new upstream release + * stability improvements with recursive server + + -- Jaakko Niemi Sun, 11 Nov 2001 02:28:52 +0200 + +maradns (0.8.28-1) unstable; urgency=low + + * new upstream release + * debug release ; read doc/readme.debug + + -- Jaakko Niemi Thu, 1 Nov 2001 21:24:11 +0200 + +maradns (0.8.26-1) unstable; urgency=low + + * new upstream release ; improved documentation + + -- Jaakko Niemi Tue, 16 Oct 2001 21:24:26 +0300 + +maradns (0.8.25-1) unstable; urgency=low + + * new upstream release; bugfixes. + * duh! did I really upload .24 as debian-native ? + * added sleep 3 between stop and start in init scripts; + on some this might not be enough, please report. + + -- Jaakko Niemi Sun, 14 Oct 2001 00:09:21 +0300 + +maradns (0.8.24-1) unstable; urgency=high + + * new upstream release + * minor security fix in prngd + * improved documentation, more manpages + * made the default installation to be recursive server for localhost. + + -- Jaakko Niemi Wed, 10 Oct 2001 00:29:22 +0300 + +maradns (0.8.23-1) unstable; urgency=low + + * new upstream release + * ditched auto*, use upstream build system + + -- Jaakko Niemi Sat, 6 Oct 2001 02:34:30 +0300 + +maradns (0.8.20-1) unstable; urgency=high + + * minor security fix to aes engine; having null characters + in AES key made it possible for the key to have either + little or no entropy at all. + + -- Jaakko Niemi Tue, 18 Sep 2001 18:41:28 +0300 + +maradns (0.8.17-1) unstable; urgency=low + + * new upstream release ; bugfixes. + * added quickstart.recursive to the docs + * fixed restart option in init script (duh!). + + -- Jaakko Niemi Sun, 9 Sep 2001 21:06:59 +0300 + +maradns (0.8.16-1) unstable; urgency=low + + * new upstream release ; bugfixes. + + -- Jaakko Niemi Mon, 20 Aug 2001 19:51:03 +0300 + +maradns (0.8.09-1) unstable; urgency=low + + * new upstream release ; bugfixes. + + -- Jaakko Niemi Sat, 4 Aug 2001 16:53:24 +0300 + +maradns (0.8.08-1) unstable; urgency=low + + * new upstream release, bugfixes. + + -- Jaakko Niemi Sun, 29 Jul 2001 17:44:52 +0300 + +maradns (0.8.06-1) unstable; urgency=low + + * new upstream release, one security fix. + + -- Jaakko Niemi Fri, 20 Jul 2001 01:19:36 +0300 + +maradns (0.8.04-1) unstable; urgency=low + + * first upload of 0.8.x to unstable + * move to non-US due the rijndael based prngd + + -- Jaakko Niemi Tue, 17 Jul 2001 02:16:27 +0300 + +maradns (0.8.02-1) experimental; urgency=low + + * new upstream release with bugfixes + + -- Jaakko Niemi Thu, 12 Jul 2001 03:55:22 +0300 + +maradns (0.8.00-1) experimental; urgency=low + + * new upstream release, fixes all known bugs + + -- Jaakko Niemi Mon, 9 Jul 2001 13:43:37 +0300 + +maradns (0.7.22-1) experimental; urgency=low + + * new upstream version + * fixed init scripts and disablesd reload etc. as maradns + does not yet handle signals. + + -- Jaakko Niemi Sun, 8 Jul 2001 15:30:13 +0300 + +maradns (0.7.21-1) experimental; urgency=low + + * new upstream version + + -- Jaakko Niemi Sat, 7 Jul 2001 21:53:33 +0300 + +maradns (0.7.20-1) experimental; urgency=low + + * new upstream. Closing alpha stage + + -- Jaakko Niemi Wed, 4 Jul 2001 13:30:51 +0300 + +maradns (0.7.18-1) experimental; urgency=low + + * experimental release + + -- Jaakko Niemi Tue, 3 Jul 2001 00:56:22 +0300 + +maradns (0.5.25-2) unstable; urgency=low + + * Fixed sillybug in zoneserver initscript. (closes: #100546) + + -- Jaakko Niemi Tue, 12 Jun 2001 08:42:41 +0300 + +maradns (0.5.25-1) unstable; urgency=low + + * new upstream release + * Updated manpages (closes: #98738) + + -- Jaakko Niemi Sun, 3 Jun 2001 16:22:23 +0300 + +maradns (0.5.24-1) unstable; urgency=low + + * new upstream release + * chmod +x configure (duh!) + + -- Jaakko Niemi Tue, 22 May 2001 18:46:48 +0300 + +maradns (0.5.23-1) unstable; urgency=low + + * new upstream release + + -- Jaakko Niemi Sun, 20 May 2001 17:29:58 +0300 + +maradns (0.5.22-2) unstable; urgency=low + + * added manpages for zoneserver, askmara and getzone + * init script zoneserver + * moved getzone to /usr/bin + + -- Jaakko Niemi Sat, 19 May 2001 19:25:35 +0300 + +maradns (0.5.22-1) unstable; urgency=low + + * new upstream release + + -- Jaakko Niemi Thu, 17 May 2001 18:33:40 +0300 + +maradns (0.5.21-1) unstable; urgency=low + + * new upstream release + + -- Jaakko Niemi Wed, 9 May 2001 17:59:31 +0300 + +maradns (0.5.18-1) unstable; urgency=low + + * new upstream release + + -- Jaakko Niemi Fri, 4 May 2001 07:49:48 +0300 + +maradns (0.5.16-1) unstable; urgency=low + + * new upstream release + + -- Jaakko Niemi Sun, 29 Apr 2001 15:33:00 +0300 + +maradns (0.5.13-1) unstable; urgency=low + + * Initial Release. + + -- Jaakko Niemi Tue, 24 Apr 2001 23:09:17 +0300 + + --- maradns-1.3.07.09.orig/debian/rules +++ maradns-1.3.07.09/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +configure: configure-stamp +configure-stamp: + dh_testdir + ./configure + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + dh_install + + install -m755 debian/resolvconf-script \ + debian/maradns/etc/resolvconf/update.d/maradns + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs doc/en/changelog.txt + dh_installexamples + dh_installinit --update-rcd-params="defaults 19" + dh_installinit --name=zoneserver + dh_installdocs -Xman -Xsource -Xfaq.html -XMakefile -Xps -Xmisc -Xchangelog -Xlogfile -Xdownload.html -Xwebpage -Xpdf + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- maradns-1.3.07.09.orig/debian/maradns.default +++ maradns-1.3.07.09/debian/maradns.default @@ -0,0 +1,11 @@ +# If you want to start more than one server (binding to different IPs), you +# may write different configuration files and list them here, separated by +# spaces. This script will start one server for each one of them. +# Typical example: +# SERVERS="/etc/maradns/mararc" +SERVERS="/etc/maradns/mararc" + +# If you have resolvconf installed, you can enable the following to have +# resolvconf update an ipv4_alias in mararc with the upstream DNS servers, as +# determined by resolvconf. +RESOLVCONF_UPDATE_FORWARDERS=no --- maradns-1.3.07.09.orig/debian/copyright +++ maradns-1.3.07.09/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Jaakko Niemi on Tue, 24 Apr +2001 23:09:17 +0300. Parts of previous packaging from Tollef Fog Heen. + +Current debian maintainer is Kai Hendry since summer +2004. It since been transformed to use the debhelper build system. + +It was downloaded from http://www.maradns.org + +Author: Sam Trenholme + +Copyright: simple BSD license + +http://maradns.org/license.txt + +Copyright (c) 2002-2005 Sam Trenholme + +TERMS + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +This software is provided 'as is' with no guarantees of correctness or fitness +for purpose. --- maradns-1.3.07.09.orig/debian/maradns.examples +++ maradns-1.3.07.09/debian/maradns.examples @@ -0,0 +1,3 @@ +tools/bind2csv2.py +tools/csv1tocsv2.pl +tools/maraconf.sh --- maradns-1.3.07.09.orig/debian/postrm +++ maradns-1.3.07.09/debian/postrm @@ -0,0 +1,22 @@ +#!/bin/sh -e + +case "$1" in + + purge) + rmdir /etc/maradns ||true + rm -f /var/run/maradns.pid ||true + userdel maradns ||true + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + # do nothing + ;; + + *) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; + +esac + +#DEBHELPER# --- maradns-1.3.07.09.orig/debian/dirs +++ maradns-1.3.07.09/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/sbin +etc/maradns +etc/resolvconf/update.d --- maradns-1.3.07.09.orig/debian/README.Debian +++ maradns-1.3.07.09/debian/README.Debian @@ -0,0 +1,104 @@ +maradns for Debian +------------------ + + This version of MaraDNS works as authoritative or/and recursive server. + + The main configuration file is in /etc/maradns/mararc on Debian systems, not /etc/mararc. + http://marc.info/?l=maradns-list&m=121967113124980 + + Below are guides to two typical setups: + +Recursive: +---------- + +Usually good enough to: +sudo cp /usr/share/doc/maradns/en/examples/example_recursive_mararc.txt /etc/maradns/mararc + +BUT please use the uid and gid of the default mararc. Look up the maradns uid +and gid with `id`. + +You might want to throw in: + hide_disclaimer = "YES" +And use icann root servers instead. + +Authoritative: +-------------- + +If you have a server on the Internet and you would like to serve Web +applications off subdomains, read all the instructions carefully. + +You own the domain example.com. When visitors go to http://webapp.example.com +these pages are simply served by your server from /web/webapp.example.com + +1) + +You need apache configured with vhost alias: + +Apache 1.3: +bilbo$ cat /etc/apache/modules.conf | grep vhost +LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so +Apache 2.0: +http://httpd.apache.org/docs-2.0/mod/mod_vhost_alias.html + +2) + +In your mararc, you need a line that such as: + + csv1["example.com."] = "wildcard" + +Then in /etc/maradns you need a file named "wildcard" from +/usr/share/doc/maradns/en/examples/ and replace the IPs with your server's IP +address. + +3) + +Test! +bilbo$ dig anything.example.com @localhost +Is the correct IP coming back? + + +4) + +Then set your nameservers at your domain registrar to point to your server by +plugging in your IP address. + + +Advantages: +* No need to restart apache after adding subdomain (or Web application) +* Much cleaner Web application setup +* Web applications are contained. Overrides must be done by .htaccess with httpd.conf edits avoided +* Better looking URLs (Good Web applications are designed around the URL) + +Disadvantages: +* DocumentRoot becomes VirtualDocumentRoot +* Logfiles can become tricky, try apache2-utils which contains split-logfile +* anything.domain will resolve :) This is not advisable outside a hobbyist/developer use +* there is no consensus that subdomains for different webapps is a good idea! (See FHS) + +References: +http://www.rscott.org/dns/ +http://www.swelltech.com/pipermail/mara-archive/2004-July/001261.html +http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM +http://people.debian.org/~terpstra/message/20040819.095858.8c04d549.en.html +http://httpd.apache.org/docs-2.0/vhosts/ + +resolvconf Integration +---------------------- + +If you set RESOLVCONF_UPDATE_FORWARDERS to a true value in +/etc/default/maradns, and resolvconf is installed, it can tell maradns +whenever the upstream DNS servers change. It does this by adding and managing +a line similar to the following to /etc/maradns/mararc: + + ipv4_alias["resolvconf_nameservers"] = "1.2.3.4,2.3.4.5" + +This by itself does not do anything, but if you wish to have maradns use the +nameservers determined by resolvconf, add the following two lines to your +configuration: + + upstream_servers = {} + upstream_servers["."] = "resolvconf_nameservers" + +Please note that only the main server is supported. If you define multiple +SERVERS in /etc/default/maradns, you will need to figure out what to do (and +send a patch). --- maradns-1.3.07.09.orig/debian/postinst +++ maradns-1.3.07.09/debian/postinst @@ -0,0 +1,33 @@ +#!/bin/sh -e + +if ! id -u maradns >/dev/null 2>&1 ; then + + echo "creating MaraDNS system user..." + adduser --quiet --system --group --home /etc/maradns maradns + +fi + +if [ "$1" = "configure" ] && [ -f /etc/maradns/mararc ] +then + IDNUM=`id -u maradns` + GIDNUM=`id -g maradns` + if [ "$2" = "" ] # we are doing fresh install + then + sed -e "s/^maradns_uid = .*$/maradns_uid = $IDNUM/" \ + -e "s/^# maradns_gid = .*$/maradns_gid = $GIDNUM/" < /etc/maradns/mararc > /etc/maradns/mararc.tmp + mv -f /etc/maradns/mararc.tmp /etc/maradns/mararc + else + grep -q "maradns_uid = $IDNUM" /etc/maradns/mararc || echo WARNING: "maradns_uid = $IDNUM" is missing from /etc/maradns/mararc + fi +fi + +# If an old style (single server) pid file +# stop the server if it's running and delete the file +if [ -f /var/run/maradns.pid ] ; then + start-stop-daemon --oknodo --stop -m --quiet --pidfile /var/run/maradns.pid /usr/sbin/maradns + rm -f /var/run/maradns.pid +fi + +#DEBHELPER# + +exit 0 --- maradns-1.3.07.09.orig/debian/control +++ maradns-1.3.07.09/debian/control @@ -0,0 +1,21 @@ +Source: maradns +Section: net +Priority: extra +Maintainer: Kai Hendry +Build-Depends: debhelper (>= 4) +Homepage: http://maradns.org +Standards-Version: 3.8.0 + +Package: maradns +Architecture: any +Depends: ${shlibs:Depends}, adduser +Description: Simple security-focused Domain Name Service server + An easy to configure DNS server that functions as a + recursive and/or authoritative name server. Maradns is + optimised for serving a small number of domains quickly and + efficiently. Well suited to host your own private DNS server + for making up subdomains with minimal fuss. Maradns is + security-aware by utilising a special string library which + is resistant to buffer overflows and mandating to run as an + unprivileged user. + . --- maradns-1.3.07.09.orig/debian/prerm +++ maradns-1.3.07.09/debian/prerm @@ -0,0 +1,2 @@ +#!/bin/sh +#DEBHELPER# --- maradns-1.3.07.09.orig/debian/maradns.zoneserver.init +++ maradns-1.3.07.09/debian/maradns.zoneserver.init @@ -0,0 +1,112 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux +# by Ian Murdock . +# +# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl +# +# This file was automatically customized by dh-make on Tue, 24 Apr 2001 23:09:17 +0300 + +### BEGIN INIT INFO +# Provides: maradnszoneserver +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Controls the maradns zone transfer service +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/zoneserver +DEFAULT=/etc/default/maradns + +NAME="zoneserver" +DESC="zoneserver" + +test -f $DAEMON || exit 0 +test -f $DEFAULT && . $DEFAULT + +if ! [ "$SERVERS" ] ; then +echo "No servers configured" +exit 0 +fi + + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + for rcfile in $SERVERS ; do + if grep -q -i "^\(zone_transfer_acl\|tcp_convert_server\)" $rcfile; then + SERVERNAME=`echo $rcfile | sed 's/\//_/g;s/^_*//;' | awk -F. '{print $NF}'` + SERVERNAME=zoneserver.$SERVERNAME + start-stop-daemon --start -m --pidfile /var/run/$SERVERNAME.pid \ + --exec $DAEMON -- -f $rcfile &1 | logger -p daemon.notice -t $SERVERNAME 2>/dev/null & + else + echo "No zone ACL's configured for $rcfile -- not starting zoneserver for it." + fi + done + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + for rcfile in $SERVERS ; do + if grep -q -i "^\(zone_transfer_acl\|tcp_convert_server\)" $rcfile; then + SERVERNAME=`echo $rcfile | sed 's/\//_/g;s/^_*//;' | awk -F. '{print $NF}'` + SERVERNAME=zoneserver.$SERVERNAME + PIDFILE=/var/run/$SERVERNAME.pid + if [ -f $PIDFILE ]; then + CHILDPROCESSES=`cat $PIDFILE | xargs ps h --ppid | awk '{print $1}' | xargs` + if [ "$CHILDPROCESSES" ]; then + kill $CHILDPROCESSES + fi + fi + start-stop-daemon --oknodo --stop -m --quiet --pidfile $PIDFILE $DAEMON + rm -f $PIDFILE + fi + done + echo "$NAME." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + echo -n "Restarting $DESC: " + #start-stop-daemon --stop --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #sleep 1 + #start-stop-daemon --start --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #echo "$NAME." + $0 stop + sleep 3 + $0 start + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- maradns-1.3.07.09.orig/debian/maradns.install +++ maradns-1.3.07.09/debian/maradns.install @@ -0,0 +1,12 @@ +tools/askmara usr/bin +tcp/getzone usr/bin +server/maradns usr/sbin +tcp/zoneserver usr/sbin +tcp/fetchzone usr/sbin +debian/mararc etc/maradns +doc/en/man/*.5 usr/share/man/man5 +doc/en/man/*.8 usr/share/man/man8 +doc/en/man/*.1 usr/share/man/man1 +doc/fr/man/*.5 usr/share/man/fr/man5 +doc/fr/man/*.8 usr/share/man/fr/man8 +doc/fr/man/*.1 usr/share/man/fr/man1 --- maradns-1.3.07.09.orig/debian/maradns.init +++ maradns-1.3.07.09/debian/maradns.init @@ -0,0 +1,104 @@ +#! /bin/sh +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux +# by Ian Murdock . +# +# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl +# +# This file was automatically customized by dh-make on Tue, 24 Apr 2001 23:09:17 +0300 + +### BEGIN INIT INFO +# Provides: maradns +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Controls the maradns DNS service +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/maradns +DEFAULT=/etc/default/maradns + +NAME="maradns" +DESC="maradns" + +test -f $DAEMON || exit 0 +test -f $DEFAULT && . $DEFAULT + +if ! [ "$SERVERS" ] ; then +echo "No servers configured" +exit 0 +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + for rcfile in $SERVERS ; do + SERVERNAME=`echo $rcfile | sed 's/\//_/g;s/^_*//;' | awk -F. '{print $NF}'` + SERVERNAME=maradns.$SERVERNAME + start-stop-daemon --start -m --pidfile /var/run/$SERVERNAME.pid \ + --exec $DAEMON -- -f $rcfile &1 | logger -p daemon.notice -t $SERVERNAME 2>/dev/null & + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=436214 see if daemon is really running + sleep 3 && kill -0 $(cat /var/run/$SERVERNAME.pid) || { + echo 'WARNING: daemon failed to start (syntax error?), see /var/log/syslog' + exit 1 + } + done + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + for rcfile in $SERVERS ; do + SERVERNAME=`echo $rcfile | sed 's/\//_/g;s/^_*//;' | awk -F. '{print $NF}'` + SERVERNAME=maradns.$SERVERNAME + start-stop-daemon --oknodo --stop -m --quiet --pidfile /var/run/$SERVERNAME.pid \ + $DAEMON + rm -f /var/run/$SERVERNAME.pid + done + echo "$NAME." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + echo -n "Restarting $DESC: " + #start-stop-daemon --stop --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #sleep 1 + #start-stop-daemon --start --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #echo "$NAME." + $0 stop ||true + sleep 3 + $0 start + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- maradns-1.3.07.09.orig/doc/en/examples/wildcard +++ maradns-1.3.07.09/doc/en/examples/wildcard @@ -0,0 +1,15 @@ +# This is what is known as a SOA record. All zone files need to have one +# of these +S%|86400|%|hostmaster@%|19771108|7200|3600|604800|1800 +# These are known as authoritative NS records. All zone files need one or +# more of these +N%|86400|ns1.% + +# An 'IN MX' record +@%|86400|10|mx.% + +# Some IP addresses +Ans1.%|86400|127.0.0.1 +Ans2.%|86400|127.0.0.1 +A%|86400|127.0.0.1 +A*.%|86400|127.0.0.1