Archive for November, 2008

Windows DNS Server uses 2500 ports in the ephemeral port range…

Friday, November 14th, 2008

Recently I received a report from some security software (GFI’s LANguard NSS) that said my domain controller had a backdoor installed on it.  This seemed unlikely but I dutifully went in to have a closer look.  

Upon examination there appeared to be a number of ports (say 2500 or so) open in the ephemeral port range.  After some wrestling with netstat and some help from jahboite on Expert Exchange I was able to figure out that they related to my dns service on that box.

My next question was why dns had so many ports open? Was there a backdoor on the box after all and am I a bad admin? Well, a quick search with the help my dev, co-worker Jonathan found the answer:

http://support.microsoft.com/kb/956188

http://support.microsoft.com/kb/953230

Based on this article, it appears this is a new design decision as of July 2008 which resolved the “Vulnerabilities in DNS could allow spoofing” problem with Windows DNS…

I’ll be e-mailing my GFI now with this information. Hopefully then can make their tool smarter so it can figure this out rather than making me do it…

word out to the people on the …

Monday, November 3rd, 2008

word out to the people on the net: send love to Tammy this week–she needs it…

Post from Blog!

Monday, November 3rd, 2008

Post from Blog!

Like chocolate and peanut butt…

Monday, November 3rd, 2008

Like chocolate and peanut butter my twitter and blog and now together. Now if I could just figure out how to taste them, oh so yummy.

New blog post: arg, i just did…

Monday, November 3rd, 2008

New blog post: arg, i just did it again http://tinyurl.com/563k4t

New blog post: ah, that’s bett…

Monday, November 3rd, 2008

New blog post: ah, that’s better http://tinyurl.com/5hjuj9

Sql Server 2005 Delete Maintenance Plan Error

Monday, November 3rd, 2008

From time to time I run into this problem on a server and look around for the script.  I’m dropping this on my blog so I don’t have to hunt around or think about it again…

USE [msdb]
declare @job_name varchar(100)
set @job_name = N’insert job name here’

delete sysmaintplan_log
FROM sysmaintplan_subplans AS subplans INNER JOIN
sysjobs_view AS syjobs ON subplans.job_id = syjobs.job_id INNER JOIN
sysmaintplan_log ON subplans.subplan_id = sysmaintplan_log.subplan_id
WHERE (syjobs.name = @job_name)

 
delete sysmaintplan_subplans
FROM sysmaintplan_subplans AS subplans INNER JOIN
sysjobs_view AS syjobs ON subplans.job_id = syjobs.job_id
WHERE (syjobs.name = @job_name)