people/sha0/mDNSResponder.git
11 years ago<rdar://problem/5709564> mDNSResponder is building with MACOSX_DEPLOYMENT_TARGET...
cheshire@apple.com [Tue, 15 Sep 2009 00:19:53 +0000 (00:19 +0000)]
<rdar://problem/5709564> mDNSResponder is building with MACOSX_DEPLOYMENT_TARGET of 10.4

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

11 years agoFixed missing dependency -- Bonjour.prefPane is supposed to build and embed a copy...
cheshire@apple.com [Tue, 15 Sep 2009 00:12:03 +0000 (00:12 +0000)]
Fixed missing dependency -- Bonjour.prefPane is supposed to build and embed a copy of ddnswriteconfig

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

11 years ago<rdar://problem/7218255> uDNS: CNAME loop issues
mparthasarathy@apple.com [Sat, 12 Sep 2009 01:01:38 +0000 (01:01 +0000)]
<rdar://problem/7218255> uDNS: CNAME loop issues

1) By bumping up CNAMEReferrals before mDNS_StopQuery_internal, a higher value is propagated to the duplicates question on the list and hence eventually the CNAME referrals stops at 10

2) If a CNAME refers to itself, then don't add it to the cache.

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

11 years agoBump to version 2.0.0.13
sherscher@apple.com [Fri, 11 Sep 2009 22:48:50 +0000 (22:48 +0000)]
Bump to version 2.0.0.13

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

11 years ago<rdar://problem/7217108> Bonjour for Windows: After updating registration and/or...
sherscher@apple.com [Fri, 11 Sep 2009 19:45:13 +0000 (19:45 +0000)]
<rdar://problem/7217108> Bonjour for Windows: After updating registration and/or browse domains, the system service is not reflecting those changes

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

11 years agoBump version to 2.0.0.12
sherscher@apple.com [Fri, 11 Sep 2009 17:53:44 +0000 (17:53 +0000)]
Bump version to 2.0.0.12

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

11 years ago<rdar://problem/7213647> Wide-Area for Bonjour does not work
sherscher@apple.com [Thu, 10 Sep 2009 22:08:49 +0000 (22:08 +0000)]
<rdar://problem/7213647> Wide-Area for Bonjour does not work

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

11 years agoInitial revision of readme.txt that describes how to setup Visual Studio to build...
sherscher@apple.com [Thu, 10 Sep 2009 06:03:31 +0000 (06:03 +0000)]
Initial revision of readme.txt that describes how to setup Visual Studio to build the extension

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

11 years agoFix problem with sleep proxy wakeup event
sherscher@apple.com [Thu, 10 Sep 2009 05:38:20 +0000 (05:38 +0000)]
Fix problem with sleep proxy wakeup event

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

11 years agoBoth mDNS.c and mDNSWin32.h define the UDPSocket_struct type, so #define that name...
sherscher@apple.com [Thu, 10 Sep 2009 04:41:22 +0000 (04:41 +0000)]
Both mDNS.c and mDNSWin32.h define the UDPSocket_struct type, so #define that name before including mDNSWin32.h to fix the compiler error.

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

11 years agoExplicity use __stdcall calling convention for APC queue callback functions.
sherscher@apple.com [Thu, 10 Sep 2009 04:38:47 +0000 (04:38 +0000)]
Explicity use __stdcall calling convention for APC queue callback functions.

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

11 years agoBump version to 2.0.0.11
sherscher@apple.com [Thu, 10 Sep 2009 00:13:58 +0000 (00:13 +0000)]
Bump version to 2.0.0.11

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

11 years ago<rdar://problem/7179778> Remove tcp connect thread by integrating tcp connect event...
sherscher@apple.com [Wed, 9 Sep 2009 22:52:03 +0000 (22:52 +0000)]
<rdar://problem/7179778> Remove tcp connect thread by integrating tcp connect event handling into the WaitForMultipleObject event loop. Unify the mDNSPlatformTCP socket handling code with the udsSupport implementations.

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

11 years ago<rdar://problem/7179778> Tidy up the alertable I/O code. Unify the duplicated UDPEndR...
sherscher@apple.com [Wed, 9 Sep 2009 00:23:41 +0000 (00:23 +0000)]
<rdar://problem/7179778> Tidy up the alertable I/O code. Unify the duplicated UDPEndRecv code in previous checkin.

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

11 years agoIncrease readbility of mDNS_NewMessageID
rlpm@apple.com [Tue, 8 Sep 2009 21:33:24 +0000 (21:33 +0000)]
Increase readbility of mDNS_NewMessageID
- use helper functions so we can use conditional short-circuiting
- remove goto & label

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

11 years agom->NextScheduledSPRetry only relevant when m->DelaySleep is not set
cheshire@apple.com [Fri, 4 Sep 2009 18:32:01 +0000 (18:32 +0000)]
m->NextScheduledSPRetry only relevant when m->DelaySleep is not set

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

11 years agoChanged mDNSCoreReceiveRawPacket to use common shared definition of IPSECPort instead...
cheshire@apple.com [Fri, 4 Sep 2009 00:33:28 +0000 (00:33 +0000)]
Changed mDNSCoreReceiveRawPacket to use common shared definition of IPSECPort instead of having its own local definition

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

11 years agoMinor code tidying and comments
cheshire@apple.com [Fri, 4 Sep 2009 00:26:24 +0000 (00:26 +0000)]
Minor code tidying and comments

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

11 years ago<rdar://problem/7196046> Need to wake for IPSec to port 4500 for Back to My Mac
cheshire@apple.com [Fri, 4 Sep 2009 00:23:48 +0000 (00:23 +0000)]
<rdar://problem/7196046> Need to wake for IPSec to port 4500 for Back to My Mac

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

11 years agoAdded comment that local_port & remote_port are expressed as numeric integer values
cheshire@apple.com [Thu, 3 Sep 2009 23:58:09 +0000 (23:58 +0000)]
Added comment that local_port & remote_port are expressed as numeric integer values

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire@apple.com [Thu, 3 Sep 2009 23:24:31 +0000 (23:24 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Code simplification: Instead of adding question to packet and then immediately retracting that question if
we decide that it would no longer leave enough space in the packet for 'answerforecast' additional bytes,
it's smarter to just subtract 'answerforecast' bytes from the buffer limit, and then the 'putQuestion' itself
will fail if there's not enough space to add the question and still leave 'answerforecast' bytes of free space.

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire@apple.com [Wed, 2 Sep 2009 20:38:03 +0000 (20:38 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Additional refinement: Loop that adds questions to the packet needs to take into account
the amount of space that will be needed to add the Owner Option at the end

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

11 years agoBump version to 2.0.0.10
sherscher@apple.com [Wed, 2 Sep 2009 08:47:09 +0000 (08:47 +0000)]
Bump version to 2.0.0.10

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

11 years ago<rdar://problem/7179778> mDNSResponder on Windows should be simplified to avoid creat...
sherscher@apple.com [Wed, 2 Sep 2009 08:36:37 +0000 (08:36 +0000)]
<rdar://problem/7179778> mDNSResponder on Windows should be simplified to avoid creating a thread per client

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire@apple.com [Wed, 2 Sep 2009 01:01:16 +0000 (01:01 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Fixed incorrect calculation of OwnerRecordSpace.
Because of missing parentheses, and '+' binding tighter than '?:', the expression:
 DNSOpt_Header_Space +  mDNSSameEthAddress(&m->PrimaryMAC, &intf->MAC)  ? DNSOpt_OwnerData_ID_Space : DNSOpt_OwnerData_ID_Wake_Space
evaluated as
(DNSOpt_Header_Space +  mDNSSameEthAddress(&m->PrimaryMAC, &intf->MAC)) ? DNSOpt_OwnerData_ID_Space : DNSOpt_OwnerData_ID_Wake_Space
instead of
 DNSOpt_Header_Space + (mDNSSameEthAddress(&m->PrimaryMAC, &intf->MAC)  ? DNSOpt_OwnerData_ID_Space : DNSOpt_OwnerData_ID_Wake_Space)
This made the result *always* DNSOpt_OwnerData_ID_Space, when it should have been one of
(DNSOpt_Header_Space + DNSOpt_OwnerData_ID_Space) or
(DNSOpt_Header_Space + DNSOpt_OwnerData_ID_Wake_Space)

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

11 years agoFixes so the project compiles properly (specifically mDNSResponderHelper) when vproc...
cheshire@apple.com [Tue, 1 Sep 2009 23:58:25 +0000 (23:58 +0000)]
Fixes so the project compiles properly (specifically mDNSResponderHelper) when vproc.h does not exist

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

11 years agoRemoved DOS carriage return characters from the end of lines
cheshire@apple.com [Fri, 28 Aug 2009 19:28:16 +0000 (19:28 +0000)]
Removed DOS carriage return characters from the end of lines

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

11 years agoFixed fat-fingered typing mistake: Revision 6623 was only supposed to check in the...
cheshire@apple.com [Fri, 28 Aug 2009 19:23:34 +0000 (19:23 +0000)]
Fixed fat-fingered typing mistake: Revision 6623 was only supposed to check in the fix for mDNS.c, not all my locally-modified files

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

11 years agoRe-comment out declaration of TEST_NEW_CLIENTSTUB macro
sherscher@apple.com [Fri, 28 Aug 2009 06:17:16 +0000 (06:17 +0000)]
Re-comment out declaration of TEST_NEW_CLIENTSTUB macro

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

11 years ago<rdar://problem/3807636> Add Apache license verbiage to source code
sherscher@apple.com [Fri, 28 Aug 2009 05:55:45 +0000 (05:55 +0000)]
<rdar://problem/3807636> Add Apache license verbiage to source code

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

11 years ago<rdar://problem/3807636> Firefox plugin example code
sherscher@apple.com [Fri, 28 Aug 2009 05:40:45 +0000 (05:40 +0000)]
<rdar://problem/3807636> Firefox plugin example code

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

11 years agoRemoved DOS carriage return characters from the end of lines
cheshire@apple.com [Fri, 28 Aug 2009 01:10:57 +0000 (01:10 +0000)]
Removed DOS carriage return characters from the end of lines

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

11 years agoFixed compile error on OS X: Need to initialize OwnerOptData owner using "zeroOwner...
cheshire@apple.com [Fri, 28 Aug 2009 00:32:41 +0000 (00:32 +0000)]
Fixed compile error on OS X: Need to initialize OwnerOptData owner using "zeroOwner" not "{ 0 }"

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

11 years agoFixed "declaration of 'time' shadows a global declaration" warning
cheshire@apple.com [Fri, 28 Aug 2009 00:29:56 +0000 (00:29 +0000)]
Fixed "declaration of 'time' shadows a global declaration" warning

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

11 years agoHide the back button on the initial wizard screen.
sherscher@apple.com [Thu, 27 Aug 2009 04:59:19 +0000 (04:59 +0000)]
Hide the back button on the initial wizard screen.

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

11 years agoFix warnings when compiling for Windows
sherscher@apple.com [Thu, 27 Aug 2009 04:48:00 +0000 (04:48 +0000)]
Fix warnings when compiling for Windows

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

11 years ago<rdar://problem/7170175> Project file changes for Apple TV
cheshire@apple.com [Wed, 26 Aug 2009 01:00:44 +0000 (01:00 +0000)]
<rdar://problem/7170175> Project file changes for Apple TV

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

11 years ago<rdar://problem/6123911> Use /dynamicbase compiler flag for libraries and executables...
sherscher@apple.com [Tue, 25 Aug 2009 21:23:51 +0000 (21:23 +0000)]
<rdar://problem/6123911> Use /dynamicbase compiler flag for libraries and executables in Bonjour for Windows

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

11 years ago<rdar://problem/6139342> Need higher resolution version of Printer Wizard icon for...
sherscher@apple.com [Tue, 25 Aug 2009 18:34:18 +0000 (18:34 +0000)]
<rdar://problem/6139342> Need higher resolution version of Printer Wizard icon for Vista

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

11 years agoBump to version 2.0.0.9
sherscher@apple.com [Fri, 21 Aug 2009 16:14:09 +0000 (16:14 +0000)]
Bump to version 2.0.0.9

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

11 years agoWorkaround build error on Windows due to lack of sa_len member in sockaddr struct.
sherscher@apple.com [Fri, 21 Aug 2009 06:10:09 +0000 (06:10 +0000)]
Workaround build error on Windows due to lack of sa_len member in sockaddr struct.

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

11 years ago<rdar://problem/5903084> Bundle CUPS PostScript driver with Bonjour for Windows
sherscher@apple.com [Tue, 18 Aug 2009 20:47:23 +0000 (20:47 +0000)]
<rdar://problem/5903084> Bundle CUPS PostScript driver with Bonjour for Windows

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

11 years ago<rdar://problem/4080296> LOC Impact: Explorer Plugin: Unnecessary comma and period...
sherscher@apple.com [Tue, 18 Aug 2009 20:15:59 +0000 (20:15 +0000)]
<rdar://problem/4080296> LOC Impact: Explorer Plugin: Unnecessary comma and period in About dialog

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

11 years agoSimplified the "Frequent transitions" syslog messages
cheshire@apple.com [Thu, 13 Aug 2009 21:37:31 +0000 (21:37 +0000)]
Simplified the "Frequent transitions" syslog messages

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

11 years ago<rdar://problem/7022715> SHARED: Bonjour servers in Finder disappear and never return
cheshire@apple.com [Thu, 13 Aug 2009 21:28:36 +0000 (21:28 +0000)]
<rdar://problem/7022715> SHARED: Bonjour servers in Finder disappear and never return
Fixed case where mDNSResponder could overzealously abort client connections immediately after wake from sleep

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

11 years ago<rdar://problem/6904833> Sleep Proxy: Add longer delay when client wakes from sleep...
cheshire@apple.com [Thu, 13 Aug 2009 20:55:48 +0000 (20:55 +0000)]
<rdar://problem/6904833> Sleep Proxy: Add longer delay when client wakes from sleep, to avoid "IP in use" dialog

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

11 years ago<rdar://problem/6752802> LLVM: Input constraint with a matching output constraint...
rlpm@apple.com [Thu, 13 Aug 2009 19:10:21 +0000 (19:10 +0000)]
<rdar://problem/6752802> LLVM: Input constraint with a matching output constraint of incompatible type
To pass LLVM's input/output constraint checker, explicitly drop the most significant bytes
by casting to an unsigned int. Note that we want ROTATE to be rotations of 32 bits, not 64.

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

11 years agoAllow registration of proxy IPv6 addresses in "dns-sd -P" command
cheshire@apple.com [Thu, 13 Aug 2009 18:28:45 +0000 (18:28 +0000)]
Allow registration of proxy IPv6 addresses in "dns-sd -P" command

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

11 years ago<rdar://problem/7131000> Sleep Proxy: Only send goodbye packets if we fail to transfe...
cheshire@apple.com [Wed, 12 Aug 2009 21:55:09 +0000 (21:55 +0000)]
<rdar://problem/7131000> Sleep Proxy: Only send goodbye packets if we fail to transfer records to a Sleep Proxy

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

11 years agoRemove $ keyword
rlpm@apple.com [Tue, 11 Aug 2009 20:48:24 +0000 (20:48 +0000)]
Remove $ keyword

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

11 years agoRemoved $ stuff, as it's not supported by Subversion
rlpm@apple.com [Tue, 11 Aug 2009 01:13:47 +0000 (01:13 +0000)]
Removed $ stuff, as it's not supported by Subversion

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

11 years agoBump version to 2.0.0.8
sherscher@apple.com [Mon, 10 Aug 2009 18:54:53 +0000 (18:54 +0000)]
Bump version to 2.0.0.8

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

11 years ago<rdar://problem/7062660> B4W: Need to Stop and Start Bonjour service to get Wake...
herscher [Thu, 6 Aug 2009 22:43:09 +0000 (22:43 +0000)]
<rdar://problem/7062660> B4W: Need to Stop and Start Bonjour service to get Wake on LAN to work on Windows machine

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

11 years agoBump version to 213.2
mkrochma [Thu, 30 Jul 2009 20:41:05 +0000 (20:41 +0000)]
Bump version to 213.2

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

11 years ago<rdar://problem/7100784> Sleep Proxy: Structure changes to data passed to userclient
mkrochma [Thu, 30 Jul 2009 20:28:15 +0000 (20:28 +0000)]
<rdar://problem/7100784> Sleep Proxy: Structure changes to data passed to userclient

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

11 years ago<rdar://problem/7086623> Sleep Proxy: Ten-second maintenance wake not long enough...
cheshire [Thu, 23 Jul 2009 23:30:01 +0000 (23:30 +0000)]
<rdar://problem/7086623> Sleep Proxy: Ten-second maintenance wake not long enough to reliably get network connectivity

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire [Thu, 23 Jul 2009 09:15:06 +0000 (09:15 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Fixed silly mistake in checkin 1.974 that broke SendResponses

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

11 years agomDNSResponder-213
cheshire [Wed, 22 Jul 2009 00:38:41 +0000 (00:38 +0000)]
mDNSResponder-213

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

11 years agoImproved "DNS Message too short" syslog debugging message
cheshire [Tue, 21 Jul 2009 23:46:19 +0000 (23:46 +0000)]
Improved "DNS Message too short" syslog debugging message

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire [Tue, 21 Jul 2009 23:41:05 +0000 (23:41 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Another refinement: When building a response packet, if we're going to add an OWNER option at the end,
reserve enough bytes to ensure that we'll be able to do that

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire [Tue, 21 Jul 2009 23:35:01 +0000 (23:35 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Added PutRR_OS macros to put a ResourceRecord while taking into account the space needed to add an OWNER option at the end

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

11 years agoFix logging false-positive locking failures
mcguire [Tue, 21 Jul 2009 22:06:45 +0000 (22:06 +0000)]
Fix logging false-positive locking failures

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

11 years agoBump version to 2.0.0.7
herscher [Tue, 21 Jul 2009 05:10:55 +0000 (05:10 +0000)]
Bump version to 2.0.0.7

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

11 years ago<rdar://problem/6145339> Bonjour does not list IPv6 loopback address when all network...
herscher [Mon, 20 Jul 2009 04:07:41 +0000 (04:07 +0000)]
<rdar://problem/6145339> Bonjour does not list IPv6 loopback address when all network adapters are disabled

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

11 years ago<rdar://problem/7062660> Update the womp settings for each network adapter immediatel...
herscher [Fri, 17 Jul 2009 19:59:46 +0000 (19:59 +0000)]
<rdar://problem/7062660> Update the womp settings for each network adapter immediately preceding the call to mDNSCoreMachineSleep().

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

11 years ago<rdar://problem/5265747> ControlPanel doesn't display key and password in dialog box
herscher [Fri, 17 Jul 2009 19:50:25 +0000 (19:50 +0000)]
<rdar://problem/5265747> ControlPanel doesn't display key and password in dialog box

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire [Thu, 16 Jul 2009 00:34:18 +0000 (00:34 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Additional refinement: If we didn't register with a Sleep Proxy when going to sleep,
we don't need to include our OWNER option in our packets when we re-awaken

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire [Thu, 16 Jul 2009 00:12:23 +0000 (00:12 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts
Additional fixes: Only add and send OWNER option if we were already going to send a non-empty packet anyway

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

11 years agoDisplay any stray Update (Authority) records in query packets
cheshire [Thu, 16 Jul 2009 00:08:57 +0000 (00:08 +0000)]
Display any stray Update (Authority) records in query packets

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

11 years ago<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcement...
cheshire [Wed, 15 Jul 2009 23:35:40 +0000 (23:35 +0000)]
<rdar://problem/6434656> Sleep Proxy: Put owner OPT records in multicast announcements to avoid conflicts

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

11 years ago<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local...
cheshire [Wed, 15 Jul 2009 22:34:25 +0000 (22:34 +0000)]
<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local network interface hardware
Fixes to make the code still compile with old headers and libraries (pre 10.5) that don't include IOConnectCallStructMethod

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

11 years ago<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local...
cheshire [Wed, 15 Jul 2009 22:09:19 +0000 (22:09 +0000)]
<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local network interface hardware
Removed unnecessary sleep(1) and syslog message

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

11 years agoDon't auto-register when building release.
herscher [Mon, 13 Jul 2009 19:43:33 +0000 (19:43 +0000)]
Don't auto-register when building release.

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

11 years agoBump to version 2.0.0.6
herscher [Mon, 13 Jul 2009 18:47:58 +0000 (18:47 +0000)]
Bump to version 2.0.0.6

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

11 years ago<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local...
cheshire [Sat, 11 Jul 2009 01:59:27 +0000 (01:59 +0000)]
<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local network interface hardware
When going to sleep, try calling ActivateLocalProxy before registering with remote sleep proxy

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

11 years ago<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local...
cheshire [Sat, 11 Jul 2009 01:58:17 +0000 (01:58 +0000)]
<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local network interface hardware
Added ActivateLocalProxy routine for transferring mDNS records to local proxy

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

11 years ago<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local...
cheshire [Sat, 11 Jul 2009 01:57:00 +0000 (01:57 +0000)]
<rdar://problem/6613674> Sleep Proxy: Add support for using sleep proxy in local network interface hardware
Added declaration of ActivateLocalProxy

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

11 years agoMade SecondLabel(X) more defensive, to guard against the case where the name doesn...
cheshire [Fri, 10 Jul 2009 23:03:17 +0000 (23:03 +0000)]
Made SecondLabel(X) more defensive, to guard against the case where the name doesn't have a second label

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

11 years agoUpdated syslog messages for debugging unresponsive clients:
cheshire [Fri, 10 Jul 2009 22:25:47 +0000 (22:25 +0000)]
Updated syslog messages for debugging unresponsive clients:
Will now log a warning message about an unresponsive client every ten seconds,
and then after 60 messagess (10 minutes) will terminate connection to that client.

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

11 years ago<rdar://problem/3948252> Fix post-build step so that DLL is copied to staging area.
herscher [Thu, 9 Jul 2009 22:57:50 +0000 (22:57 +0000)]
<rdar://problem/3948252> Fix post-build step so that DLL is copied to staging area.

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

11 years ago<rdar://problem/3775717> Fix post-build event so that DLL is copied to staging folder.
herscher [Thu, 9 Jul 2009 22:57:01 +0000 (22:57 +0000)]
<rdar://problem/3775717> Fix post-build event so that DLL is copied to staging folder.

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

11 years agoFix link error when compiling x64 release
herscher [Thu, 9 Jul 2009 22:44:18 +0000 (22:44 +0000)]
Fix link error when compiling x64 release

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

11 years agoImproved log messages for debugging unresponsive clients
cheshire [Thu, 9 Jul 2009 22:43:31 +0000 (22:43 +0000)]
Improved log messages for debugging unresponsive clients

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

11 years agoRemove unused project from solution file
herscher [Thu, 9 Jul 2009 22:25:22 +0000 (22:25 +0000)]
Remove unused project from solution file

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

11 years ago<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows
herscher [Thu, 9 Jul 2009 22:24:52 +0000 (22:24 +0000)]
<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows

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

11 years ago<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows
herscher [Thu, 9 Jul 2009 21:55:25 +0000 (21:55 +0000)]
<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows

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

11 years ago<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows. Add main.c to project.
herscher [Thu, 9 Jul 2009 21:42:55 +0000 (21:42 +0000)]
<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows. Add main.c to project.

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

11 years ago<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows. Add a small Posix compa...
herscher [Thu, 9 Jul 2009 21:40:32 +0000 (21:40 +0000)]
<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows. Add a small Posix compatibility layer to the mDNSWindows platform layer. This makes it possible to centralize the implementations to functions such as if_indextoname() and inet_pton() that are made in several projects in B4W.

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

11 years ago<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows. Refactor the system...
herscher [Thu, 9 Jul 2009 21:34:15 +0000 (21:34 +0000)]
<rdar://problem/3775717> SDK: Port mDNSNetMonitor to Windows. Refactor the system service slightly by removing the main() function from Service.c so that mDNSNetMonitor can link to functions defined in Service.c

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

11 years ago<rdar://problem/4176343> LOC Impact: Need custom text when selecting the wrong printe...
herscher [Tue, 7 Jul 2009 22:04:56 +0000 (22:04 +0000)]
<rdar://problem/4176343> LOC Impact: Need custom text when selecting the wrong printer driver

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

11 years ago<rdar://problem/6713286> windows platform changes to support use as sleep proxy client
herscher [Tue, 7 Jul 2009 21:35:07 +0000 (21:35 +0000)]
<rdar://problem/6713286> windows platform changes to support use as sleep proxy client

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

11 years agoBump version to 212
mkrochma [Mon, 6 Jul 2009 20:47:51 +0000 (20:47 +0000)]
Bump version to 212

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

11 years ago<rdar://problem/7026146> BTMM: UPnP works in Leopard but doesn't work in SnowLeopard...
jessic2 [Fri, 3 Jul 2009 03:16:07 +0000 (03:16 +0000)]
<rdar://problem/7026146> BTMM: UPnP works in Leopard but doesn't work in SnowLeopard (URLBase is empty) Made changes to support the case where the URLBase tag exists but there isn't a valid URL

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

11 years agoBump version to 211
mkrochma [Wed, 1 Jul 2009 22:16:48 +0000 (22:16 +0000)]
Bump version to 211

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

11 years ago<rdar://problem/6713286> UI changes for configuring sleep proxy settings.
herscher [Wed, 1 Jul 2009 19:20:37 +0000 (19:20 +0000)]
<rdar://problem/6713286> UI changes for configuring sleep proxy settings.

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

11 years ago<rdar://problem/7020041> Plugging and unplugging the power cable shouldn't cause...
cheshire [Tue, 30 Jun 2009 21:18:19 +0000 (21:18 +0000)]
<rdar://problem/7020041> Plugging and unplugging the power cable shouldn't cause a network change event
Additional fixes:
1. Made mDNS_ActivateNetWake_internal and mDNS_DeactivateNetWake_internal more defensive against bad parameters
2. mDNS_DeactivateNetWake_internal also needs to stop any outstanding Sleep Proxy resolve operations

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

11 years ago<rdar://problem/7020041> Plugging and unplugging the power cable shouldn't cause...
cheshire [Tue, 30 Jun 2009 21:16:09 +0000 (21:16 +0000)]
<rdar://problem/7020041> Plugging and unplugging the power cable shouldn't cause a network change event
Additional fix: Only start and stop NetWake browses for active interfaces that are currently registered with mDNSCore

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

11 years agoImproved "Error! Tried to add a NAT traversal that's already in the active list"...
cheshire [Tue, 30 Jun 2009 20:51:02 +0000 (20:51 +0000)]
Improved "Error! Tried to add a NAT traversal that's already in the active list" debugging message

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

11 years agoAdd to 64 bit macro check for 64 bit Windows OSes
herscher [Tue, 30 Jun 2009 18:17:45 +0000 (18:17 +0000)]
Add to 64 bit macro check for 64 bit Windows OSes

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

11 years agoBump to 2.0.0.5
herscher [Tue, 30 Jun 2009 17:37:32 +0000 (17:37 +0000)]
Bump to 2.0.0.5

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