Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 08:05:17 +0530
From:      Suresh Ramasubramanian <suresh@hserus.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/95541: /usr/ports/net/djbdns WITH_IPV6 queries ip6.int
Message-ID:  <4439C465.1090705@hserus.net>
In-Reply-To: <200604091250.k39CoGMb096492@freefall.freebsd.org>
References:  <200604091250.k39CoGMb096492@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Update

Seems related to this thread -
http://marc.theaimsgroup.com/?l=djbdns&m=112545401005912&w=2

> On Tue, Aug 30, 2005 at 05:50:59PM -0700, Michael Sierchio wrote:
>> I noticed that I was dropping some DNS responses at my firewall,
>> and found that (perhaps not surprisingly) dns_transmit.c thinks
>> all ports between 1025 and 65535 are valid.  On FreeBSD, it
>> would be nice if it consulted the sysctl MIB for valid port ranges.
>> Typically:
>> 
>> net.inet.ip.portrange.first: 1024
>> net.inet.ip.portrange.last: 5000
>> net.inet.ip.portrange.hifirst: 49152
>> net.inet.ip.portrange.hilast: 65535
> 
> (Warning: untested hack follows.)
> 
> First apply
> 
>     http://www.catnook.com/patches/djbdns-1.05-sendports.patch
> 
> and rebuild/reinstall dnscache. Then stick
> 
>     echo "$(sysctl -n net.inet.ip.portrange.hifirst):$(sysctl -n \
> net.inet.ip.portrange.hilast)" > /service/dnscache/env/SENDPORTS
> 
> in /service/dnscache/run. Restart dnscache.
> 
> -- 
> Jos Backus
> jos at catnook.com


FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/95541'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=95541
> 
> 
>>Category:       ports
>>Responsible:    freebsd-ports-bugs
>>Synopsis:       /usr/ports/net/djbdns WITH_IPV6 queries ip6.int
>>Arrival-Date:   Sun Apr 09 12:50:16 GMT 2006




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4439C465.1090705>