Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Commit

Permalink
替换dnsmasq为dnsmasq-full
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 27, 2017
1 parent 236ef7f commit 9c25cba
Show file tree
Hide file tree
Showing 18 changed files with 94 additions and 42 deletions.
11 changes: 3 additions & 8 deletions squashfs-root/etc/config/dhcp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ config dnsmasq
option boguspriv 1
option filterwin2k 0 # enable for dial on demand
option localise_queries 1
option rebind_protection 0 # disable if upstream must serve RFC1918 addresses
option rebind_protection 1 # disable if upstream must serve RFC1918 addresses
option rebind_localhost 1 # enable for RBL checking and similar services
#list rebind_domain example.lan # whitelist RFC1918 responses for domains
option local '/lan/'
Expand All @@ -20,16 +20,11 @@ config dnsmasq
#list notinterface lo
#list bogusnxdomain '64.94.110.11'

config dnsmasq 'welcome'
list address '/#/192.168.2.1'
option local_ttl 1

config dhcp lan
option ignore 0
option interface lan
option start 100
option limit 151
option leasetime 24h
option limit 150
option leasetime 12h

config dhcp wan
option interface wan
Expand Down
1 change: 1 addition & 0 deletions squashfs-root/usr/lib/libgmp.so.10
Binary file added squashfs-root/usr/lib/libgmp.so.10.2.0
Binary file not shown.
1 change: 1 addition & 0 deletions squashfs-root/usr/lib/libhogweed.so.2
Binary file added squashfs-root/usr/lib/libhogweed.so.2.5
Binary file not shown.
1 change: 1 addition & 0 deletions squashfs-root/usr/lib/libnettle.so.4
Binary file added squashfs-root/usr/lib/libnettle.so.4.7
Binary file not shown.
12 changes: 12 additions & 0 deletions squashfs-root/usr/lib/opkg/info/dnsmasq-full.control
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Package: dnsmasq-full
Version: 2.71-4
Depends: libc, kmod-ipv6, libnettle
Source: package/network/services/dnsmasq
License: GPLv2
LicenseFiles: COPYING
Section: net
Architecture: ramips_1004kc
Installed-Size: 134707
Description: It is intended to provide coupled DNS and DHCP service to a LAN.

This is a variant with DHCPv6, DNSSEC, Authroitative DNS and IPSET support
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/etc/config/dhcp
/etc/init.d/dnsmasq
/usr/sbin/dnsmasq
/usr/share/dnsmasq/trust-anchors.conf
10 changes: 0 additions & 10 deletions squashfs-root/usr/lib/opkg/info/dnsmasq.control

This file was deleted.

9 changes: 9 additions & 0 deletions squashfs-root/usr/lib/opkg/info/libgmp.control
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Package: libgmp
Version: 6.0.0-1
Depends: libc
Source: package/libs/gmp
Section: libs
Architecture: ramips_1004kc
Installed-Size: 206818
Description: GMP is a free library for arbitrary precision arithmetic, operating on
signed integers, rational numbers, and floating point numbers.
2 changes: 2 additions & 0 deletions squashfs-root/usr/lib/opkg/info/libgmp.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/usr/lib/libgmp.so.10.2.0
/usr/lib/libgmp.so.10
11 changes: 11 additions & 0 deletions squashfs-root/usr/lib/opkg/info/libnettle.control
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Package: libnettle
Version: 2.7.1-1
Depends: libc, libgmp
Source: package/libs/nettle
License: LGPLv2
LicenseFiles: COPYING
Section: libs
Maintainer: Nikos Mavrogiannopoulos <[email protected]>
Architecture: ramips_1004kc
Installed-Size: 221010
Description: GNU crypto library
4 changes: 4 additions & 0 deletions squashfs-root/usr/lib/opkg/info/libnettle.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/usr/lib/libhogweed.so.2.5
/usr/lib/libnettle.so.4
/usr/lib/libnettle.so.4.7
/usr/lib/libhogweed.so.2
64 changes: 40 additions & 24 deletions squashfs-root/usr/lib/opkg/status
Original file line number Diff line number Diff line change
Expand Up @@ -415,24 +415,21 @@ Conffiles:
/etc/config/ddns 5438cd197244324c9400275a93574414
Installed-Time: 1502269015

Package: wpspbc
Version: 1.1-1
Depends: libc, libuci, phicomm_libs
Package: libnettle
Version: 2.7.1-1
Depends: libc, libgmp
Provides:
Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1502269018
Installed-Time: 1503804533

Package: dnsmasq
Version: 2.71-4
Depends: libc
Package: wpspbc
Version: 1.1-1
Depends: libc, libuci, phicomm_libs
Provides:
Status: install user installed
Architecture: ramips_1004kc
Conffiles:
/etc/config/dhcp e501edba1357e23b6a7642b357c597c4
/etc/dnsmasq.conf 7cf378e58d3fe5db31f4116a16c15c61
Installed-Time: 1502269016
Installed-Time: 1502269018

Package: procd
Version: 2014-09-15-c1a558f7d0c1e6c1ffa5a47d557a7b45205eef1d
Expand Down Expand Up @@ -1140,22 +1137,22 @@ Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1502269017

Package: libxtables
Package: ip6tables
Version: 1.4.21-1
Depends: libc
Depends: libc, kmod-ip6tables, iptables
Provides:
Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1502269016
Auto-Installed: yes

Package: ip6tables
Package: libxtables
Version: 1.4.21-1
Depends: libc, kmod-ip6tables, iptables
Depends: libc
Provides:
Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1502269016
Auto-Installed: yes

Package: lighttpd-mod-redirect
Version: 1.4.35-2
Expand Down Expand Up @@ -1223,14 +1220,6 @@ Status: install hold installed
Architecture: ramips_1004kc
Installed-Time: 1502269016

Package: luci-lib-json
Version: 1.0.0-1
Depends: libc
Provides:
Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1502269017

Package: kmod-hw_wdg
Version: 3.10.14-1
Depends: kernel (= 3.10.14-1-b111ad83351afe639183d8564c3857ca)
Expand All @@ -1239,6 +1228,14 @@ Status: install hold installed
Architecture: ramips_1004kc
Installed-Time: 1502269016

Package: luci-lib-json
Version: 1.0.0-1
Depends: libc
Provides:
Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1502269017

Package: kmod-nls-iso8859-1
Version: 3.10.14-1
Depends: kernel (= 3.10.14-1-b111ad83351afe639183d8564c3857ca), kmod-nls-base
Expand All @@ -1263,6 +1260,14 @@ Status: install hold installed
Architecture: ramips_1004kc
Installed-Time: 1502269016

Package: libgmp
Version: 6.0.0-1
Depends: libc
Provides:
Status: install user installed
Architecture: ramips_1004kc
Installed-Time: 1503804519

Package: luci-app-light
Version: 1.0.0-1
Depends: libc
Expand Down Expand Up @@ -1490,3 +1495,14 @@ Architecture: ramips_1004kc
Installed-Time: 1502269016
Auto-Installed: yes

Package: dnsmasq-full
Version: 2.71-4
Depends: libc, kmod-ipv6, libnettle
Provides:
Status: install user installed
Architecture: ramips_1004kc
Conffiles:
/etc/config/dhcp 326e2116bd9bc3ecc5be4f75cd1e7647
/etc/dnsmasq.conf 7cf378e58d3fe5db31f4116a16c15c61
Installed-Time: 1503804636

Binary file modified squashfs-root/usr/sbin/dnsmasq
Binary file not shown.
9 changes: 9 additions & 0 deletions squashfs-root/usr/share/dnsmasq/trust-anchors.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# The root DNSSEC trust anchor, valid as at 30/01/2014

# Note that this is a DS record (ie a hash of the root Zone Signing Key)
# If was downloaded from https://data.iana.org/root-anchors/root-anchors.xml

trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5



0 comments on commit 9c25cba

Please sign in to comment.