DLL Tutorial for beginers
by on 22.Nov, 2005 under Uncategorized
Using DLL files in Windows is a really big thing and I’ve found it hard
to find simple tutorials on this topic. Well uptil now at least. Notsosuperhero at Codeguru.com has published a short yet good tutorial on the topic.
More information: http://www.codeguru.com/Cpp/Cpp/cpp_mfc/tutorials/article.php/c9855/
Branch Office VPN using Watchguard products
by on 22.Nov, 2005 under Uncategorized
Setting up a VPN network between offices can be a hassle. But
with Watchguard products this task can be very easy.
For our test I’ve chosen to use a Watchguard Firebox III at
the main office and a Watchguard SOHO TC6 at the branch office. This is a
fictive network and is just set up to show how easy a task like this can be.
VPN tunnels are becoming more usual between offices due to
the low cost in setting them up; this is mainly because of the relatively cheap
internet connections you can acquire today. Getting a normal DSL line is cheap
if you compare them with dedicated lines between offices. VPN tunnels are also
secure since they use a high level encryption and provide an easy way for
administrators and users to access all the needed networks anytime and from
anywhere. Administrators can access the local and the branch office servers for
maintenance anytime and the help desk has a way to get to the users desktop
even if the user is on the other side of the globe.
In this article we will set up a VPN tunnel between the main
office and one of the branch offices. We will use Watchguard hardware for this
task and show you just how easy this can be when you use the right tools.

After you have set up the basic rules in your main office firewall
you are ready to set up the tunnel between the main and the branch office. This
article does not go into setting up the Watchguard Firebox firewall; it may
come up in a future article.
1. Setting up the main office firewall.
First of all fire up the administration the Firebox system
manager, after that just open the Policy editor. If you have a Firebox with branch
office VPN (we’ll call it BOVPN from now on) you just need to point your mouse
to the Network, BOVPN menu.

From the BOVPN menu choose Basic DVCP server. This is what
we will make the main office firewall. The DVCP server is the firewall handling
all the incoming requests from the branch offices.
Clicking the basic DVCP server brings up the DVCP client
wizard. With this wizard we will configure the client, meaning the branch
office. The wizard will walk you trough the setup and you will be done in ten
minutes.

First of all we are required to enter a client
name. This
name should describe the branch office in some way. If you have 70
branch
offices you’ll want to find the right one easily. In this example we
will call
the branch office HelsinkiBranchOffice, for those who don’t know it,
Helsinki is the capital of Finland. Then enter the shared key.
The shared key is like a password that the main office and branch
office
firewalls use when they communicate to recognize each other. Use
something you’ll
remember in the future. I’ll use HelsinkiSK112005, short of Helsinki
Shared Key
November 2005.

Clicking next brings us to the allowed resource and the DVCP
addressing. We now need to choose how much of our main network we will expose
to the branch office. We can ad routes later if we see the need to.
In this example let’s assume we only want the branch office
to be able to access our servers and they are located in the 10.10.10.0/25
subnet. For clarity, this means a network with IP:s from 10.10.10.1 to 10.10.10.126
and a subnet mask of 255.255.255.128.
After this we will enter the private network. The private
network is the network the clients in the branch office will be located in. We
use 192.168.0.0/26 which is able to keep a maximum of 62 hosts.

Next is the tunnel protection configuration. For this
example we will use the highest levels this Firewall can supply and the default
key expiration kilobytes/times.

Believe it or not, that’s it. We are now done on the main
firewall. Click Finnish and save the new policy.

2. Setting up the branch office firewall.
Next we need to tell the client firewall where to find it’s
settings from. You can do this on site or by remote administration.
On the client firewall log in to the web front-end and
choose Managed VPN. In the managed VPN mark Enable Managed VPN, set the
configuration mode to SOHO.
The DVCP server address is the external address of you main
office firewall, client name is the name you entered in the wizard earlier and
the shared key also.
For this example the following is what we use.
Client name: HelsinkiBranchOffice
Shared key: HelsinkiSK112005

After that just hit submit and let the SOHO
reboot. You’re done and the tunnel should be open.
Secret Windows Project?
by on 22.Nov, 2005 under Uncategorized
For the past two years, Microsoft has been developing a second operating system!
Written from the ground up, Microsoft’s "Singularity" operating system
is written in C# and has stability as it’s main focus. There are no
imediate plans to market the still in development operating system as
of yet, but that could change down the road.
More Information: Microsoft-Watch.com
Understanding Groups on the Windows Server Platform
by on 21.Nov, 2005 under Uncategorized
This article deals with the concept of groups in Active Directory. Active Directory was first introduced by Microsoft in its server operating systems on Windows Server 2000 as a method of providing better organization for the users, groups, computers and other objects in the domain.
In This Article:
- Why Are Groups Needed?
- Group Types
- Domain Functional Level (DFL)
- Group Scopes
- Local Groups
- Global Groups
- Domain Local Groups
- Universal Groups
- Group Nesting & Conversion
- Further Reading
Why Are Groups Needed?
Group Types
Domain Functional Level (DFL)
|
DFL
|
NT4 Compatible
|
Windows 2000
|
Windows Server 2003
|
|
Windows 2000 Mixed (Default)
|
Yes
|
Yes
|
Yes
|
|
Windows 2000 Native
|
-
|
Yes
|
Yes
|
|
Windows 2003 Interim
|
Yes
|
-
|
Yes
|
|
Windows Server 2003
|
-
|
-
|
Yes
|
|
Domain Feature
|
Windows 2000 Mixed
|
Windows 2000 Native
|
Windows Server 2003
|
|
Universal Groups
|
Enabled for Distribution
Disabled for Security |
Enabled for both Group Types
|
Enabled for Both Group Types
|
|
Group Nesting
|
Enabled for Distribution
Disabled for Security1 |
Enabled
|
Enabled
|
|
Group Conversion
|
Disabled
|
Enabled2
|
Enabled2
|
2 Groups can be converted between Distribution and Security types freely
Group Scopes
Local Groups
Global Groups
Domain Local Groups
Figure 1: Nesting Global Groups inside Domain Local Groups
Universal Groups
Group Nesting & Conversion
- Domain Local groups can only be nested within other Domain Local Groups within the same Domain.
- Global groups can only be nested within a Domain Local group in its own Domain. All other nesting is possible.
- Universal groups cannot be nested within Global groups but can be nested within all other types.
- Domain Local groups can be converted to Global Groups, but not to Universal
- Global groups can be converted to universal only if the Global group is not nested within another Global group. This is because Universal groups cannot be nested within Global groups. Global groups cannot be converted to Domain Local
- Universal groups can be converted to Domain Local groups. They can also be converted to a Global group, but only if there are no nested Universal groups. This is because Universal groups, as we found out earlier, cannot be nested within Global groups.
|
Domain Local
|
Global
|
Universal
|
Conversion
|
|
|
Domain Local
|
Same domain
|
No
|
No
|
No to Global
Yes to Universal |
|
Global
|
Same domain
|
Yes
|
Yes
|
Yes to Universal1
No to Domain Local |
|
Universal
|
Yes
|
No
|
Yes
|
Yes to Domain Local
No to Global2 |
Table 3: A quick snapshot of Group Nesting and Conversion
2 This is not possible only when there are nested Universal Groups because Universal Groups cannot be nested inside Global Groups
Further Reading
- Dan Home, Orin Thomas (2004) "Chapter 4: Group Accounts." Managing and Maintaining a Microsoft Windows Server 2003 Environment. Microsoft Press, pgs 4-1 to 4-23.
- Microsoft TechNet (2005). Security Groups, User Rights and Permissions.
- Microsoft TechNet (2005). What Are Active Directory Functional Levels?.
- Mitch Tulloch, Ingrid Tulloch (2002) "Groups." Encyclopedia of Networking. Microsoft Press, pg 532.
- Mitch Tulloch, Ingrid Tulloch (2002) "Security Groups." Encyclopedia of Networking. Microsoft Press, pg 1024.
20 years with Windows
by on 21.Nov, 2005 under Uncategorized
Our all time favorite OS / GUI celebrated its 20th birthday
yesterday. Microsoft published Windows 1.0 November 20th 1985. Some might say
the world has only gone downhill since that day, but whether you hate it or
like it you have to admit one thing, Windows has made the computer world what
it is today. I’ll let others argue if the influences have been good or bad.

