summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2008-07-18 14:44:51 +0000
committerdwmalone <dwmalone@FreeBSD.org>2008-07-18 14:44:51 +0000
commitf7cc3b4928dba59c3eead3afb623459bc1d4c80a (patch)
tree887336a69c3082404b65301ea919425f27456092 /sys/conf
parent4efb6d2a37b496ded581b12ed193e4ebe091076a (diff)
downloadFreeBSD-src-f7cc3b4928dba59c3eead3afb623459bc1d4c80a.zip
FreeBSD-src-f7cc3b4928dba59c3eead3afb623459bc1d4c80a.tar.gz
Add an accept filter for TCP based DNS requests. It waits until the
whole first request is present before returning from accept.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES1
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/options1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 3f61a67..e71fbcc 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -887,6 +887,7 @@ options MBUF_PROFILING
# Statically Link in accept filters
options ACCEPT_FILTER_DATA
+options ACCEPT_FILTER_DNS
options ACCEPT_FILTER_HTTP
# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
diff --git a/sys/conf/files b/sys/conf/files
index a5c7356..4ca36e1 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1902,6 +1902,7 @@ netgraph/ng_tee.c optional netgraph_tee
netgraph/ng_tty.c optional netgraph_tty
netgraph/ng_vjc.c optional netgraph_vjc
netinet/accf_data.c optional accept_filter_data
+netinet/accf_dns.c optional accept_filter_dns
netinet/accf_http.c optional accept_filter_http
netinet/if_atm.c optional atm
netinet/if_ether.c optional ether
diff --git a/sys/conf/options b/sys/conf/options
index 7e5c9c5..b58ba7e 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -342,6 +342,7 @@ ATA_NOPCI opt_ata.h
# Net stuff.
ACCEPT_FILTER_DATA
+ACCEPT_FILTER_DNS
ACCEPT_FILTER_HTTP
ALTQ opt_global.h
ALTQ_CBQ opt_altq.h
OpenPOWER on IntegriCloud