General Musing

blaze your trail

Posts Tagged ‘windows

6 Months of Security Links #2011

leave a comment »

I’m a regular curator of daily links, and like to give overviews of my collection of curated links and posts. This is partly as there are some good sources and articles in here and as I am working on a research project which I started based on a number of books I read.

I’m sure you’ll find something interesting in the items below – there are some gems in the list – and I dare to hazard the guess you might learn something you wanted to know. :)

Read the rest of this entry »

About these ads

Written by Daniël W. Crompton (webhat)

July 15, 2011 at 4:10 pm

Posted in tagging

Tagged with , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Free Memory with RUNDLL32

leave a comment »

I’m not sure I ever mentioned this in other blogs, but there is some fun stuff you can do with the program RUNDLL32.EXE, you can find it in other places too. It’s a tool for making function calls from windows libraries. You can basically call any command fitting the requirement:
RUNDLL32.EXE <dllname>,<entrypoint> <optional arguments>
Obviously it is sometimes used incorrectly.
Read the rest of this entry »

Written by Daniël W. Crompton (webhat)

July 3, 2008 at 4:55 pm

Network Time Protocol

leave a comment »

I was setting up a NTP server in my home network and tried to sync my Windows XP machine with it and received this message.

An error occurred while Windows was synchronizing with time.windows.com. The time sample was rejected because: The peer's stratum is less than the host's stratum.

Naturally I didn’t find the solution without looking through a stack of NTP documentation. So I though I should post the actually problem here in layman’s terms.

Your timeserver isn’t updating or it’s updating from a unreliable server. The stratum is the authority meter for NTP. It’s numbered from 1 (attached to an atomic clock) to 15 (some guy I met in a bar).

If your stratum is more than 3 then a Windows machine won’t trust your machine is reliable enough. And if it’s 16 it probably means it’s not updating at all, in my experience it might take as much as an hour for it to change from 16 to another number. (Although it shouldn’t if it’s configured correctly.)

You can find out your stratum by running the command:

/usr/bin/ntpq -c rv | grep stratum

  1. Gentoo’s HOWTO NTP
  2. The Network Time Protocol (NTP) Distribution
  3. W32tm A tool used to diagnose problems occurring with Windows Time

technorati tags: , , , ,

Written by Daniël W. Crompton (webhat)

June 10, 2006 at 5:31 am

Posted in gentoo, network

Tagged with , , , ,

Follow

Get every new post delivered to your Inbox.

Join 3,125 other followers

%d bloggers like this: