Latest Posts

Most Popular Posts

TCP/IP Filtering is a “cheap” way to close off or open up certain ports to the outside world. Filtering was never meant to be an all-encompasing security approach, and should never be treated as such. It is an often overlooked but extremely easy security measure to implement. A couple notes of caution when using TCP/IP Filtering:

1. It applies to ALL network adapters on the computer, so adjust accordingly. If you have two adapters and they both need certain ports open/closed, the filtering policy will be applied to both.

2. You will need to restart your computer when changes are applied. In a server environment, sometimes this is an issue.

Steps:

Start Menu –> Control Panel –> Network and Internet Connections –> Right-Click (on the Adapter you want) and select Properties


The Following Properties box comes up: Select Internet Protocol (TCP/IP) and select Properties.


LAN Properties

Select Advanced under the General Tab in TCP/IP Properties.


TCP / IP Properties

Under the Advanced Settings, select the Options tab, select TCP/IP filtering and select Properties.


Advanced TCP / IP Settings

In the TCP/IP Filtering dialog box, check Enable TCP/IP Filtering (All Adapters) and select Permit Only under TCP Ports or UDP Ports depending on your particular needs. Click here for a list of common ports and their uses.


TCP / IP Filtering


(No Ratings Yet)

Here are a few TCP / UDP Ports you might come across. It is useful when applying TCP/IP Filtering to make sure all your services continue working :)

Port Protocol Description
20 TCP FTP (File Transfer Protocol) – data port
21 TCP FTP – control (command) port
22 TCP SSH (Secure Shell) – used for secure logins, file transfers (scp,sftp) and for forwarding
23 TCP Telnet protocol – Unencrypted text communications
25 TCP SMTP (Simple Mail Transfer Protocol) – used for sending emails
53 TCP DNS (Domain Name Server)
70 TCP Gopher protocol
79 TCP Finger protocol
80 TCP HTTP (Hyper Text Transfer Protocol)
88 TCP Kerberos – Authenticating agent
110 TCP POP3 (Post Office Protocol version 3) Email retrieval
119 TCP NNTP (Network News Transfer Protocol) – Used to retrieve newsgroup messages
123 UDP NTP (Network Time Protocol) – Used for time synchronization
139 TCP NetBIOS
143 TCP IMAP4 (Internet Message Access Protocol) Used to retrieve email
161 UDP SNMP (Simple Network Management Protocol)
179 TCP BGP (Border Gateway Protocol)
194 TCP IRC (Internet Relay Chat)
389 TCP LDAP (Lightweight Directory Access Protocol)
443 TCP HTTPS – HTTP over SSL (encrypted transmission)
445 TCP Microsoft-DS (Active Directory, Windows shares, Sasser Worm, Agobot, Zobot Worm)
445 UDP Microsoft-DS SMB file sharing
514 UDP Syslog Protocol – Used for system logging
540 TCP UUCP (Unix-to-Unix Copy Protocol)
554 TCP RTSP (Real Time Streaming Protocol)
636 TCP LDAP over SSL (encrypted transmission)
993 TCP IMAP4 over SSL (encrypted transmission)
995 TCP POP3 over SSL (encrypted transmission)
1080 TCP SOCKS proxy
1194 UDP OpenVPN
1433 TCP Microsoft SQL database system
1434 TCP Microsoft SQL Monitor
1434 UDP Microsoft SQL Monitor
1521 TCP Oracle database default listener
1723 TCP Microsoft PPTP VPN
1723 UDP Microsoft PPTP VPN
1863 TCP MSN Messenger
2082 TCP CPanel’s default port
2083 TCP CPanel’s default port for SSL connection
2086 TCP WebHost Manager’s default port
2087 TCP WebHost Manager’s default port for SSL connections
2095 TCP CPanel’s default port for webmail connections
2096 TCP CPanel’s default port for webmail connections via SSL
3306 TCP MySQL Database System
3389 TCP Microsoft Terminal Server (Remote Desktop, RDP), Windows Based Terminal (WBT)
5190 TCP AOL and AOL Instant Messenger
5222 TCP XMPP/Jabber – client connection
5223 TCP XMPP/Jabber – default port for SSL Client Connection
5269 TCP XMPP/Jabber – server connection
5432 TCP Postgre SQL database system
5517 TCP Setiqueue Proxy server client for SETI@Home project
5800 TCP VNC remote desktop protocol – for use over HTTP
6667 TCP IRC
6668 TCP IRC
6669 TCP IRC
6891-6900 TCP/UDP MSN Messenger (File Transfer)
6901 TCP/UDP MSN Messenger (Voice)
8000 TCP iRDMI (used for internet radio streams)
8080 TCP HTTP Alternate
31337 TCP Back Orifice – remote administration tool (often a trojan)
49152-65535 TCP/UDP Dynamic Port Range.

(No Ratings Yet)

‘Microsoft Exchange Server’ reported error (0x8004010F) is received when trying to send and receive email on Outlook 2000/2003 with Exchange Server 2003. It occurs when Outlook hasn’t synchronized the offline address book properly, or it has been corrupted or missing.

If the OAB is missing, the server might be pointed to the wrong location of the address book.

  1. Open Exchange Manager
  2. Double-click Servers
  3. Double-click on Server Name
  4. Double-click on Storage Group (Ex. First Storage)
  5. Right-click on it and select “Properties”
  6. Make sure there is a server listed in the box. If not, browse to it.

If the Offline Address Book (OAB) is corrupted, you must rebuild it.

  1. Open Exchange Manager
  2. Double-click Recipients Folder
  3. Double-click Offline Address List
  4. Right-click on it and select “Rebuild”

(No Ratings Yet)

‘Microsoft Exchange Server’ reported error (0x8004011D): ‘The server is not available. Contact your administrator if this condition persists.’

This is a familiar error for many people. In my experience of diagnosing and fixing exchange issues, 9 / 10 times there has been an information store being dismounted due to an underlying service crashing.

Let’s go through a few basic steps to narrow it down:

  1. Check to see that all MSExchange Services are started. (MSExchangeES, MSExchangeIS, MSExchangeMTA, MSExchangeSA)
  2. If any of these are not started, start them!
    net start MSExchangeES /yes
    net start MSExchangeIS /yes
    net start MSExchangeMTA /yes
    net start MSExchangeSA /yes
  3. Check to see if the Information Stores are mounted. Exchange Manager -> Servers -> Server Name -> First Storage Group -> Right-click on Mailbox Store and select “Mount Store” if dismounted.
  4. Perform a database check.
    C:\Program Files\Exchsrvr>bin\eseutil /mh mdbdata\priv1.edb
  5. Sometimes the error code will be thrown when a database is “dirty.” Doing the above check reveals what state the database is in, if you see State: Dirty Shutdown, then you must make sure all transaction logs from the checkpoint and later are present, then mount the store. If the logs are gone, you have to repair the database using Eseutil /p to make the database consistent to start. This can result in data loss, so back up everything beforehand just in case. After running Eseutil /p, run Eseutil /d to defrag the database. Then run the Information Store integrity checker Isinteg.exe -fix. Running these commands should fix any problems associated with a dirty database, and allow the stores to be mounted again. Please do make sure you have 1.5 – 2 times the database file size in free space on the drive for the system to work.

(average: 1.00 out of 5)

Exchange server runs atop Active Directory on Windows. If underlying services are performing poorly, exchange server performance will suffer also.

Assigning a Specific Global Catalog Server to Exchange

Every time Active Directory needs to access the Global Address List (GAL) it queries the Global Catalog Server through LDAP. The default Global Catalog Server is the first domain controller deployed in the AD forest. The GCS holds all forest operations. If the GCS has other roles or services on it, it can get overloaded easily.

You can designate one or more domain controllers to act as Global Catalog Servers. Once you have done this, you can have Exchange use a specific GCS. If that server ever fails or is unreachable, it will use one of the other GCS’ available.

  1. Go to Active Directory Sites and Services Console -> Sites -> Default First Site Name -> Servers -> Server of choice -> NTDS Settings -> Right-Click and select Properties.

  2. Go to the General Tab and Select the Global Catalog checkbox. Click OK.

  3. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
    MSExchangeDSAccess\Profiles\Default\UserDC1
    on the Exchange Server. If it is not there, create it.

  4. Create a REG_SZ value named HostName. Type in the fully qualified domain name (FQDN) of the global catalog server you wish to use.

  5. Create a REG_DWORD value named IsGC. Assign a value of 0x1.

  6. Create a REG_DWORD key named PortNumber. Assign a value of 0xCC4 or 0xCC5 for SSL. This is the LDAP port for accessing the GCS.

  7. Relax and watch your Exchange Server run faster and more efficiently.


(No Ratings Yet)

Page 3 of 3123

What do you use Virtualization for?

View Results

Loading ... Loading ...