people/sha0/mDNSResponder.git
10 years agomDNSResponder-219
rlpm@apple.com [Wed, 2 Dec 2009 02:50:18 +0000 (02:50 +0000)]
mDNSResponder-219

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6863 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7431875> Scoped DNS entries should be distinct from non-scoped DNS...
rlpm@apple.com [Wed, 2 Dec 2009 02:40:54 +0000 (02:40 +0000)]
<rdar://problem/7431875> Scoped DNS entries should be distinct from non-scoped DNS entries
Integrate r6861 from branch onto trunk

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6862 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7431875> Scoped DNS entries should be distinct from non-scoped DNS...
rlpm@apple.com [Tue, 1 Dec 2009 22:58:00 +0000 (22:58 +0000)]
<rdar://problem/7431875> Scoped DNS entries should be distinct from non-scoped DNS entries
Integrate branch onto trunk

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6860 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7425361> mDNS: Query restarts after receiving remove event
mparthasarathy@apple.com [Tue, 1 Dec 2009 21:58:10 +0000 (21:58 +0000)]
<rdar://problem/7425361> mDNS: Query restarts after receiving remove event

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6859 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/6888522> Sleep Proxy: Make sure we don't accumulate duplicate proxy...
cheshire@apple.com [Wed, 25 Nov 2009 01:48:51 +0000 (01:48 +0000)]
<rdar://problem/6888522> Sleep Proxy: Make sure we don't accumulate duplicate proxy records

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6855 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7344760> Fix compiler warnings when building mDNSResponder for AirPort
cheshire@apple.com [Wed, 25 Nov 2009 00:31:00 +0000 (00:31 +0000)]
<rdar://problem/7344760> Fix compiler warnings when building mDNSResponder for AirPort

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6854 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7308456> Sleep Proxy: No AirPort/TimeCapsule sleep proxy metric info
cheshire@apple.com [Wed, 25 Nov 2009 00:22:55 +0000 (00:22 +0000)]
<rdar://problem/7308456> Sleep Proxy: No AirPort/TimeCapsule sleep proxy metric info

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6853 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7308344> Misaligned memory access in mDNSCoreReceiveRawPacket causes...
cheshire@apple.com [Wed, 25 Nov 2009 00:10:21 +0000 (00:10 +0000)]
<rdar://problem/7308344> Misaligned memory access in mDNSCoreReceiveRawPacket causes crash on ARM

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6852 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoChanged "NOTE:" to "Note:" so that BBEdit doesn't show it in the navigation bar menu
cheshire@apple.com [Tue, 24 Nov 2009 23:40:07 +0000 (23:40 +0000)]
Changed "NOTE:" to "Note:" so that BBEdit doesn't show it in the navigation bar menu

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6851 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7308107> mDNSResponder doesn't build with strict aliasing
cheshire@apple.com [Tue, 24 Nov 2009 23:37:48 +0000 (23:37 +0000)]
<rdar://problem/7308107> mDNSResponder doesn't build with strict aliasing

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6850 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7308107> mDNSResponder doesn't build with strict aliasing
cheshire@apple.com [Tue, 24 Nov 2009 21:33:10 +0000 (21:33 +0000)]
<rdar://problem/7308107> mDNSResponder doesn't build with strict aliasing

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6849 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/6930335> Sleep Proxy: SPS needs to wake all clients before shutting...
cheshire@apple.com [Tue, 24 Nov 2009 04:03:25 +0000 (04:03 +0000)]
<rdar://problem/6930335> Sleep Proxy: SPS needs to wake all clients before shutting down

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6848 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/6821367> Remove DNSServiceSetDefaultDomainForUser from header file
marc@apple.com [Mon, 23 Nov 2009 21:26:40 +0000 (21:26 +0000)]
<rdar://problem/6821367> Remove DNSServiceSetDefaultDomainForUser from header file

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6847 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/6821367> Remove DNSServiceSetDefaultDomainForUser from header file
marc@apple.com [Mon, 23 Nov 2009 05:01:30 +0000 (05:01 +0000)]
<rdar://problem/6821367> Remove DNSServiceSetDefaultDomainForUser from header file

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6846 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoFixed unused variable error when IP_BOUND_IF is not defined
cheshire@apple.com [Fri, 20 Nov 2009 22:58:08 +0000 (22:58 +0000)]
Fixed unused variable error when IP_BOUND_IF is not defined

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6841 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoWhen building for older versions of Mac OS X, the "dns-sd" tool needs
cheshire@apple.com [Fri, 20 Nov 2009 22:13:54 +0000 (22:13 +0000)]
When building for older versions of Mac OS X, the "dns-sd" tool needs
to embed an up-to-date version of dnssd_clientstub.c

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6828 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agomDNSResponder-218
rlpm@apple.com [Fri, 20 Nov 2009 17:48:40 +0000 (17:48 +0000)]
mDNSResponder-218

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6826 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7361537> Unicast scope changes
rlpm@apple.com [Fri, 20 Nov 2009 17:47:25 +0000 (17:47 +0000)]
<rdar://problem/7361537> Unicast scope changes
merged http://svn.macosforge.org/repository/mDNSResponder/branches/PR-7361537

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6825 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7394045> Cleanup: Lots of spawnSSLHandshake and doSSLHandshake logs...
rlpm@apple.com [Wed, 18 Nov 2009 21:32:59 +0000 (21:32 +0000)]
<rdar://problem/7394045> Cleanup: Lots of spawnSSLHandshake and doSSLHandshake logs when LogInfo enabled

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6807 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7402802> Build Firefox plugin for 2.0
sherscher@apple.com [Wed, 18 Nov 2009 20:05:42 +0000 (20:05 +0000)]
<rdar://problem/7402802> Build Firefox plugin for 2.0

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6805 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7402802> Build Firefox plugin for 2.0
sherscher@apple.com [Wed, 18 Nov 2009 19:53:36 +0000 (19:53 +0000)]
<rdar://problem/7402802> Build Firefox plugin for 2.0

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6804 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7402802> Build Firefox plugin for 2.0
sherscher@apple.com [Wed, 18 Nov 2009 19:53:04 +0000 (19:53 +0000)]
<rdar://problem/7402802> Build Firefox plugin for 2.0

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6803 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoHarden executable by adding linker switches /NXCOMPAT /DYNAMICBASE /SAFESEH
sherscher@apple.com [Wed, 18 Nov 2009 18:22:14 +0000 (18:22 +0000)]
Harden executable by adding linker switches /NXCOMPAT /DYNAMICBASE /SAFESEH

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6802 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoBump version 2.0.0.19
sherscher@apple.com [Tue, 17 Nov 2009 21:55:47 +0000 (21:55 +0000)]
Bump version 2.0.0.19

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6800 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoPull variable declarations to beginning of blocks to fix compile errors when building...
sherscher@apple.com [Tue, 17 Nov 2009 21:36:30 +0000 (21:36 +0000)]
Pull variable declarations to beginning of blocks to fix compile errors when building with VS 2005.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6799 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7397991> mDNSNetMonitor doesn't include version info
sherscher@apple.com [Mon, 16 Nov 2009 21:06:16 +0000 (21:06 +0000)]
<rdar://problem/7397991> mDNSNetMonitor doesn't include version info

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6795 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoRemove obsolete files
sherscher@apple.com [Mon, 16 Nov 2009 20:05:07 +0000 (20:05 +0000)]
Remove obsolete files

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6794 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agomDNSResponder-217
rlpm@apple.com [Thu, 12 Nov 2009 19:33:15 +0000 (19:33 +0000)]
mDNSResponder-217

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6781 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7361282> Separate cache entries per-resolver
rlpm@apple.com [Thu, 12 Nov 2009 19:32:19 +0000 (19:32 +0000)]
<rdar://problem/7361282> Separate cache entries per-resolver
merged r6776 of /branches/PR-7322838-2 into trunk

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6780 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7386007> Crash when getting debug state information
rlpm@apple.com [Wed, 11 Nov 2009 20:23:46 +0000 (20:23 +0000)]
<rdar://problem/7386007> Crash when getting debug state information

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6779 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agomDNSResponder-216.0.1
rlpm@apple.com [Fri, 6 Nov 2009 22:13:05 +0000 (22:13 +0000)]
mDNSResponder-216.0.1

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6773 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7369703> uDNS: Wrong DNS server picked under some configurations
mparthasarathy@apple.com [Fri, 6 Nov 2009 19:40:56 +0000 (19:40 +0000)]
<rdar://problem/7369703> uDNS: Wrong DNS server picked under some configurations

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6772 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoAdded some debugging messages; removed unused variable 'err' in mDNSPlatformGetPrimar...
cheshire@apple.com [Tue, 3 Nov 2009 22:16:11 +0000 (22:16 +0000)]
Added some debugging messages; removed unused variable 'err' in mDNSPlatformGetPrimaryInterface

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6771 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoUpdated some comments; shortened some excessively long lines
cheshire@apple.com [Tue, 3 Nov 2009 21:47:40 +0000 (21:47 +0000)]
Updated some comments; shortened some excessively long lines

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6770 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agomDNSResponder-216
rlpm@apple.com [Tue, 3 Nov 2009 20:49:41 +0000 (20:49 +0000)]
mDNSResponder-216

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6768 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7354303> Potential deadlock between mDNSResponder(Helper) & Directory...
rlpm@apple.com [Sat, 31 Oct 2009 02:27:09 +0000 (02:27 +0000)]
<rdar://problem/7354303> Potential deadlock between mDNSResponder(Helper) & DirectoryService
Don't make unnecessary call when not in debug mode.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6765 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7141006> Buffer overflow in mDNSASLLog
rlpm@apple.com [Fri, 30 Oct 2009 19:43:17 +0000 (19:43 +0000)]
<rdar://problem/7141006> Buffer overflow in mDNSASLLog

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6764 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/6935929> Sleeping server sometimes briefly disappears over Back to...
cheshire@apple.com [Fri, 30 Oct 2009 02:28:54 +0000 (02:28 +0000)]
<rdar://problem/6935929> Sleeping server sometimes briefly disappears over Back to My Mac after it wakes up

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6763 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoAdded "debugf" debugging message in FoundStaticHostname
cheshire@apple.com [Thu, 29 Oct 2009 22:21:35 +0000 (22:21 +0000)]
Added "debugf" debugging message in FoundStaticHostname

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6762 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7274054> Sleep Proxy + BTMM: Sharing services sometimes don't get...
cheshire@apple.com [Thu, 29 Oct 2009 22:12:42 +0000 (22:12 +0000)]
<rdar://problem/7274054> Sleep Proxy + BTMM: Sharing services sometimes don't get re-registered during maintenance wake

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6761 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoBump version to 2.0.0.18
sherscher@apple.com [Wed, 28 Oct 2009 18:48:23 +0000 (18:48 +0000)]
Bump version to 2.0.0.18

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6759 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7324365> Register for shutdown notification
sherscher@apple.com [Wed, 28 Oct 2009 18:41:02 +0000 (18:41 +0000)]
<rdar://problem/7324365> Register for shutdown notification

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6758 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoFix memory leaks in printer manufacturer lists
sherscher@apple.com [Wed, 28 Oct 2009 18:21:01 +0000 (18:21 +0000)]
Fix memory leaks in printer manufacturer lists

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6757 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoDon't advertise smb print/file shares if m->AdvertiseLocalAddresses is false
sherscher@apple.com [Fri, 23 Oct 2009 18:09:18 +0000 (18:09 +0000)]
Don't advertise smb print/file shares if m->AdvertiseLocalAddresses is false

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6756 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoUpdate the implementations of gettimeofday() and localtime_r()
sherscher@apple.com [Fri, 23 Oct 2009 18:05:03 +0000 (18:05 +0000)]
Update the implementations of gettimeofday() and localtime_r()

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6755 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoNo longer need to link in mDNSWindows/SystemService/Service.c due to the single-threa...
sherscher@apple.com [Fri, 23 Oct 2009 18:03:04 +0000 (18:03 +0000)]
No longer need to link in mDNSWindows/SystemService/Service.c due to the single-threading code changes that have been made.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6754 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7323353> BTMM: Need to turn on support for SMB
marc@apple.com [Fri, 23 Oct 2009 02:35:39 +0000 (02:35 +0000)]
<rdar://problem/7323353> BTMM: Need to turn on support for SMB

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6753 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agomDNSResponder-215
rlpm@apple.com [Fri, 23 Oct 2009 01:58:31 +0000 (01:58 +0000)]
mDNSResponder-215

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6751 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7324365> Windows machine name does not disappear from Mac Finder...
sherscher@apple.com [Thu, 22 Oct 2009 18:11:41 +0000 (18:11 +0000)]
<rdar://problem/7324365> Windows machine name does not disappear from Mac Finder window

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6750 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7299177> DNS-SD sometimes delivers duplicate browse add events during...
mparthasarathy@apple.com [Tue, 20 Oct 2009 19:45:37 +0000 (19:45 +0000)]
<rdar://problem/7299177> DNS-SD sometimes delivers duplicate browse add events during network transitions

mDNSInterfaceMark has the special interfaceID value -1 which conflicts with mDNSInterface_LocalOnly. There is also code (for NSEC) that uses 1 as special value for InterfaceID. This fix now keeps all the special InterfaceID values in one place to avoid future conflicts and NSEC related code now starts using mDNSInterfaceMark.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6749 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7274595> Don't downgrade long-lived queries to polling queries if...
rlpm@apple.com [Tue, 20 Oct 2009 16:30:07 +0000 (16:30 +0000)]
<rdar://problem/7274595> Don't downgrade long-lived queries to polling queries if SSLHandshake fails

Fix bug in previous commit that broke renewing LLQ leases: We were setting ThisQInterval to 0 in
the (currently completely expected) case where the server closes the connection¬†after we initially
setup the LLQ. ¬†Setting ThisQInterval to 0 makes the question inactive, never to be resurrected.

This fix is two-fold:
1) don't handle tcp-close as an error if we've received at least one response packet over this tcp connection
2) ensure we never set ThisQInterval to 0

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6748 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7302554> mDNSResponder keeps sending WAB queries when DNS configurati...
mparthasarathy@apple.com [Tue, 20 Oct 2009 01:06:01 +0000 (01:06 +0000)]
<rdar://problem/7302554> mDNSResponder keeps sending WAB queries when DNS configuration changes

Need to set the unansweredQueries to zero when we get a positive response so that we don't end up penalizing servers

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6747 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7302554> mDNSResponder keeps sending WAB queries when DNS configurati...
mparthasarathy@apple.com [Mon, 19 Oct 2009 20:16:47 +0000 (20:16 +0000)]
<rdar://problem/7302554> mDNSResponder keeps sending WAB queries when DNS configuration changes

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6746 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoMinor improvements to syslog messages
cheshire@apple.com [Sat, 17 Oct 2009 00:19:26 +0000 (00:19 +0000)]
Minor improvements to syslog messages

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6745 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoMove the InterfaceNameForID extern definition out of APPLE_OSX_mDNSResponder as the...
mparthasarathy@apple.com [Wed, 14 Oct 2009 16:17:03 +0000 (16:17 +0000)]
Move the InterfaceNameForID extern definition out of APPLE_OSX_mDNSResponder as the Windows build also needs it

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6744 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoDefining StrictUnicastOrdering in Platform code breaks builds for other platforms...
mparthasarathy@apple.com [Tue, 13 Oct 2009 23:28:35 +0000 (23:28 +0000)]
Defining StrictUnicastOrdering in Platform code breaks builds for other platforms. Move the definition to Core.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6743 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoBump version to 2.0.0.17
sherscher@apple.com [Tue, 13 Oct 2009 20:56:53 +0000 (20:56 +0000)]
Bump version to 2.0.0.17

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6741 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoFix compile errors on Windows by moving variable declarations to beginning of block.
sherscher@apple.com [Tue, 13 Oct 2009 20:36:05 +0000 (20:36 +0000)]
Fix compile errors on Windows by moving variable declarations to beginning of block.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6740 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7292153> Control Panel icon is blurry
sherscher@apple.com [Tue, 13 Oct 2009 20:22:14 +0000 (20:22 +0000)]
<rdar://problem/7292153> Control Panel icon is blurry

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6739 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7299177> DNS-SD sometimes delivers duplicate browse add events during...
mparthasarathy@apple.com [Tue, 13 Oct 2009 19:54:00 +0000 (19:54 +0000)]
<rdar://problem/7299177> DNS-SD sometimes delivers duplicate browse add events during network transitions

The Platform layer registers interface indices instead of Interface pointers so that registering multiple times with the Core does not cause duplicate events

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6738 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7274595> Don't downgrade long-lived queries to polling queries if...
rlpm@apple.com [Tue, 13 Oct 2009 19:45:47 +0000 (19:45 +0000)]
<rdar://problem/7274595> Don't downgrade long-lived queries to polling queries if SSLHandshake fails

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6737 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7292155> Control Panel name should just be "Bonjour"
sherscher@apple.com [Tue, 13 Oct 2009 19:42:35 +0000 (19:42 +0000)]
<rdar://problem/7292155> Control Panel name should just be "Bonjour"

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6736 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7296909> Changing the Computer Description should update service...
sherscher@apple.com [Tue, 13 Oct 2009 19:06:55 +0000 (19:06 +0000)]
<rdar://problem/7296909> Changing the Computer Description should update service names without requiring a restart

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6735 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoConditionally compile https browsing code
sherscher@apple.com [Fri, 9 Oct 2009 17:44:58 +0000 (17:44 +0000)]
Conditionally compile https browsing code

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6734 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/4262109> IE Plugin should browse for https
sherscher@apple.com [Thu, 8 Oct 2009 18:59:26 +0000 (18:59 +0000)]
<rdar://problem/4262109> IE Plugin should browse for https

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6733 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7276482> Bonjour Printer Wizard should give user more feedback when...
sherscher@apple.com [Thu, 8 Oct 2009 18:08:40 +0000 (18:08 +0000)]
<rdar://problem/7276482> Bonjour Printer Wizard should give user more feedback when configuring printer

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6732 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7144871> back-merge v6, No IOPOWER, No IPSec, etc. changes
rlpm@apple.com [Fri, 2 Oct 2009 00:06:59 +0000 (00:06 +0000)]
<rdar://problem/7144871> back-merge v6, No IOPOWER, No IPSec, etc. changes

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6731 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoClean up the logic in OnBrowse() and add clarifying comments.
sherscher@apple.com [Wed, 30 Sep 2009 20:58:59 +0000 (20:58 +0000)]
Clean up the logic in OnBrowse() and add clarifying comments.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6729 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7265273> Bonjour for Windows doesn't work on Windows 2000
sherscher@apple.com [Wed, 30 Sep 2009 19:04:03 +0000 (19:04 +0000)]
<rdar://problem/7265273> Bonjour for Windows doesn't work on Windows 2000

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6726 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoFix build dependency problem by making mDNSNetMonitor depend on mDNSResponder
sherscher@apple.com [Wed, 30 Sep 2009 07:28:01 +0000 (07:28 +0000)]
Fix build dependency problem by making mDNSNetMonitor depend on mDNSResponder

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6718 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoBump to version 2.0.0.15
sherscher@apple.com [Wed, 30 Sep 2009 07:11:03 +0000 (07:11 +0000)]
Bump to version 2.0.0.15

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6715 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoDon't truncate the portname if installing IPP printer
sherscher@apple.com [Wed, 30 Sep 2009 07:05:05 +0000 (07:05 +0000)]
Don't truncate the portname if installing IPP printer

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6714 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoEnsure that printer port is created before calling AddPrinter()
sherscher@apple.com [Wed, 30 Sep 2009 06:19:34 +0000 (06:19 +0000)]
Ensure that printer port is created before calling AddPrinter()

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6713 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoAdd StrictUnicastOrdering declaration to fix link error
sherscher@apple.com [Wed, 30 Sep 2009 06:16:58 +0000 (06:16 +0000)]
Add StrictUnicastOrdering declaration to fix link error

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6712 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7222658> Sleep Proxy + BTMM: (proxy side) SS wakes on its own 2-5...
cheshire@apple.com [Wed, 30 Sep 2009 01:31:29 +0000 (01:31 +0000)]
<rdar://problem/7222658> Sleep Proxy + BTMM: (proxy side) SS wakes on its own 2-5 minutes after it's gone to sleep
BPF filter needs to capture 20 more bytes, so we have the complete IKE Header to inspect

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6711 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoChanges to solution file to support ControlPanel localization
sherscher@apple.com [Tue, 29 Sep 2009 23:37:33 +0000 (23:37 +0000)]
Changes to solution file to support ControlPanel localization

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6710 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoConfigure ControlPanel for localization
sherscher@apple.com [Tue, 29 Sep 2009 23:36:47 +0000 (23:36 +0000)]
Configure ControlPanel for localization

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6709 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/6813991> BTMM: sleeping server wakes 2-5 minutes after it's gone...
rlpm@apple.com [Tue, 29 Sep 2009 23:00:30 +0000 (23:00 +0000)]
<rdar://problem/6813991> BTMM: sleeping server wakes 2-5 minutes after it's gone to sleep
- No longer rekey unless necessary by adding an idle disconnect to outbound connection configuration files
- Increase the window in which the rekey will happen before the disconnect by increasing the rekey interval

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6708 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7252936> Add a new Services tab to control panel that lets you enable...
sherscher@apple.com [Mon, 28 Sep 2009 20:13:31 +0000 (20:13 +0000)]
<rdar://problem/7252936> Add a new Services tab to control panel that lets you enable/disable SMB

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6707 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7252936> Add a new Services tab to control panel that lets you enable...
sherscher@apple.com [Mon, 28 Sep 2009 19:09:35 +0000 (19:09 +0000)]
<rdar://problem/7252936> Add a new Services tab to control panel that lets you enable/disable SMB

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6706 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoUpdated comments, about NAT uptime calculation, and about when we return NAT error...
cheshire@apple.com [Sat, 26 Sep 2009 01:40:35 +0000 (01:40 +0000)]
Updated comments, about NAT uptime calculation, and about when we return NAT error results to the caller

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6698 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoAdded comments about UpdateAnonymousRacoonConfig()
cheshire@apple.com [Sat, 26 Sep 2009 00:38:39 +0000 (00:38 +0000)]
Added comments about UpdateAnonymousRacoonConfig()

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6697 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7252523> The solution to the problem consists of many parts.
mparthasarathy@apple.com [Fri, 25 Sep 2009 23:18:47 +0000 (23:18 +0000)]
<rdar://problem/7252523> The solution to the problem consists of many parts.

1) Now we don't move the server to the end. Instead, it penalizes the server for 60 seconds so that new questions pick a different unpenalized server if any.

2) If all servers are penalized, it picks the one that is least penalized. Also, we don't penalize a server if it fails to respond to PTR queries as this was one of the common things seen with WAB queries.

3)To avoid doing any sort of learning, "-StrictUnicastOrdering" can now be added to the plist which will prevent penalizing servers but then move on with the next server on the list.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6696 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years agoChange all references from "workgroup" to "domain"
sherscher@apple.com [Fri, 25 Sep 2009 23:07:24 +0000 (23:07 +0000)]
Change all references from "workgroup" to "domain"

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6694 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7245154> Should advertise netbios name in SMB TXT record
sherscher@apple.com [Fri, 25 Sep 2009 21:05:31 +0000 (21:05 +0000)]
<rdar://problem/7245154> Should advertise netbios name in SMB TXT record

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6693 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

10 years ago<rdar://problem/7245171> Should register file and print subtypes for SMB
sherscher@apple.com [Fri, 25 Sep 2009 18:54:48 +0000 (18:54 +0000)]
<rdar://problem/7245171> Should register file and print subtypes for SMB

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6692 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7249438> Bonjour control panel needs a higher resolution icon
sherscher@apple.com [Thu, 24 Sep 2009 20:07:42 +0000 (20:07 +0000)]
<rdar://problem/7249438> Bonjour control panel needs a higher resolution icon

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6691 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7245119> device-info should have model=Windows
sherscher@apple.com [Thu, 24 Sep 2009 19:41:54 +0000 (19:41 +0000)]
<rdar://problem/7245119> device-info should have model=Windows

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6690 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years agoFix potential crasher if an event source is removed while iterating through the event...
sherscher@apple.com [Thu, 24 Sep 2009 18:04:09 +0000 (18:04 +0000)]
Fix potential crasher if an event source is removed while iterating through the event source list.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6689 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years agoTidy up logic in mDNSPlatformReadTCP
sherscher@apple.com [Thu, 24 Sep 2009 18:00:24 +0000 (18:00 +0000)]
Tidy up logic in mDNSPlatformReadTCP

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6688 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7222658> Sleep Proxy + BTMM: (proxy side) SS wakes on its own 2-5...
cheshire@apple.com [Wed, 23 Sep 2009 03:37:07 +0000 (03:37 +0000)]
<rdar://problem/7222658> Sleep Proxy + BTMM: (proxy side) SS wakes on its own 2-5 minutes after it's gone to sleep
Ignore informational IKE packets

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6687 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years agoBy default project now builds 64-bit on Intel, so if we try to build Bonjour.prefPane...
cheshire@apple.com [Wed, 23 Sep 2009 00:46:36 +0000 (00:46 +0000)]
By default project now builds 64-bit on Intel, so if we try to build Bonjour.prefPane (and ddnswriteconfig) for 10.4 we get:
"Mac OS X version 10.5 or later is needed for use of the new objc abi"
For now I'll just change MACOSX_DEPLOYMENT_TARGET to 10.5 for those targets. We can revisit this later if it's important.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6686 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7239579> WAB/BTMM: Wrong RData length used for TXT record when domain...
rlpm@apple.com [Mon, 21 Sep 2009 17:54:20 +0000 (17:54 +0000)]
<rdar://problem/7239579> WAB/BTMM: Wrong RData length used for TXT record when domain added after TXT record data updated
- Set the servicereg.txtlen when updating a TXT record, so that the correct length will be used if a new domain is added
- Also removed redundant code setting servicereg.txtdata to NULL when it is already known to be NULL

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6684 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years agoBump version to 2.0.0.14
sherscher@apple.com [Mon, 21 Sep 2009 17:51:56 +0000 (17:51 +0000)]
Bump version to 2.0.0.14

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6683 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7193592> Make sure all string compares are case-insensitive
cheshire@apple.com [Sat, 19 Sep 2009 01:36:30 +0000 (01:36 +0000)]
<rdar://problem/7193592> Make sure all string compares are case-insensitive
With YAMAHA RT58i PPPoE router the SSDP response packet says "location:" instead of "Location:"

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6682 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7237146> Allow service types up to 15 characters instead of only 14
cheshire@apple.com [Sat, 19 Sep 2009 01:12:59 +0000 (01:12 +0000)]
<rdar://problem/7237146> Allow service types up to 15 characters instead of only 14

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6681 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/6583331> Configure system service to cleanly log events
sherscher@apple.com [Thu, 17 Sep 2009 22:07:45 +0000 (22:07 +0000)]
<rdar://problem/6583331> Configure system service to cleanly log events

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6680 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years agoUse RRExpireTime(rr) macro instead of "rr->TimeRcvd + TicksTTL(rr)" expression.
cheshire@apple.com [Thu, 17 Sep 2009 21:20:21 +0000 (21:20 +0000)]
Use RRExpireTime(rr) macro instead of "rr->TimeRcvd + TicksTTL(rr)" expression.

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6679 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years ago<rdar://problem/7186576> Incorrect handling of uDNS records with large TTLs (over...
cheshire@apple.com [Thu, 17 Sep 2009 21:19:21 +0000 (21:19 +0000)]
<rdar://problem/7186576> Incorrect handling of uDNS records with large TTLs (over 21 days)

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6678 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

11 years agoImproved packet logging display of records with large TTLs
cheshire@apple.com [Thu, 17 Sep 2009 21:14:25 +0000 (21:14 +0000)]
Improved packet logging display of records with large TTLs

git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6677 214c2c4a-bf3b-4dcf-9390-e4dd3010487d