New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16158 (closed update: fixed)

Opened 5 years ago

Last modified 4 years ago

dnsmasq 2.45 Security update, Portfile update

Reported by: davidgilman1+macports@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: security, dns Cc:
Port: dnsmasq

Description

This patch has a number of fixes: 1) Updating to the latest upstream version of dnsmasq comes with bug fixes and a fix for the dns poisoning attack that's been publicized recently. 2) dnsmasq's pidfile is stored properly in the destroot instead of /var/run/. 3) Changed the hardcoded nawk in the Makefile to awk.

Attachments

Portfile.2.45.patch (773 bytes) - added by davidgilman1+macports@… 5 years ago.
patch to update portfile to 2.45
patch-config.h.diff (1.5 KB) - added by davidgilman1+macports@… 5 years ago.
update config.h to store pidfile in destroot
patch-Makefile.diff (820 bytes) - added by davidgilman1+macports@… 5 years ago.
use awk instead of gawk
patch-config.h.noresolv.diff (1.3 KB) - added by davidgilman1+macports@… 5 years ago.
replacement of config.h patch, see comments

Change History

Changed 5 years ago by davidgilman1+macports@…

patch to update portfile to 2.45

Changed 5 years ago by davidgilman1+macports@…

update config.h to store pidfile in destroot

Changed 5 years ago by davidgilman1+macports@…

use awk instead of gawk

comment:1 Changed 5 years ago by davidgilman1+macports@…

Ack, disregard that patch-config.h.diff file. It forced the software to look in ${destroot}/etc/resolv.conf for upstream DNS information. The default config of dnsmasq expects that file to be updated by the system as connections are made and new DNS servers are made available, however macos x doesn't know to update macport's resolv.conf.

I'm attaching a new config.h patch that keeps dnsmasq checking the resolv.conf file that is updated by the system as most users would expect the software to do.

Changed 5 years ago by davidgilman1+macports@…

replacement of config.h patch, see comments

comment:2 Changed 5 years ago by ryandesign@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to ryandesign@…
  • Port set to dnsmasq
  • Milestone set to Port Updates

comment:3 Changed 5 years ago by ryandesign@…

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Type changed from defect to enhancement

Thanks for the update! I committed it in r39895.

comment:4 Changed 4 years ago by jmr@…

  • Type changed from enhancement to update

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Updates deleted

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.