notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
non port: dns/dnrd/files/patch-main.c

Number of commits found: 2

Wed, 28 Jul 2004
[ 20:53 pav search for other commits by this committer ] Original commit  (Only the first 10 of 17 ports in this commit are shown above. View all ports for this commit)
- Update to 2.14
- Add rc script

PR:             ports/69669 (based on)
Submitted by:   Natanael Copa <>
Sat, 3 Jan 2004
[ 05:42 edwin search for other commits by this committer ] Original commit 
dns/dnrd: recv_addr init wrong and 512 byte udp packets dropped

        There are a few bugs in dnrd that should probably be fixed
        by the author but could be made to work on bsd:

        1.  Initialization in common.h of recv_addr is broken,
        causing at least the '-a' switch not to work.  Instead of
        assuming positions of fields in the struct across platforms
        I thought it safer to do a standard initialization in main().

        2.  The buffer overflow code in udp.c:dnsrecv() is off by
        one, rejecting messages where the size exactly fills the
        available buffer.  I also changed to the calls to dnsrecv
        to pass 512 as the max size instead of the buffers that
        seem to be padded by 4 bytes for a reason I don't understand.
        This causes a calling named to resend packets.  Eventually
        one seems to get through but response times can be painfully

PR:             ports/41128
Submitted by:   Michael C. Adler <>

Number of commits found: 2