<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Network &#38; Security Blog</title>
	<atom:link href="http://www.ipspace.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ipspace.eu</link>
	<description>It&#039;s all about Security</description>
	<lastBuildDate>Tue, 01 May 2012 07:51:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Linux File System</title>
		<link>http://www.ipspace.eu/linux/linux-file-system/</link>
		<comments>http://www.ipspace.eu/linux/linux-file-system/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 08:52:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux adduser]]></category>
		<category><![CDATA[linux beggineer tutorial]]></category>
		<category><![CDATA[linux debian]]></category>
		<category><![CDATA[linux file sytem]]></category>
		<category><![CDATA[linux tutorial]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=249</guid>
		<description><![CDATA[&#160; Linux core offers support for a large number of file systems. User interface provided is the same no matter the type of file system back. Generally different file names and directories are simple to be used efficiently in command line such as  bin/, var/, usr/, lib. Mac Os uses more clear names such as [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Linux core offers support for a large number of file systems. User interface provided is the same no matter the type of file system back. Generally different file names and directories are simple to be used efficiently in command line such as  bin/, var/, usr/, lib. Mac Os uses more clear names<br />
such as /library/, /Applications/, /Users/. Most of Linux distributions offers compatible interface with <em>Filesystem Hierarchy Standard 3. </em>FHS defines the main directories names and the content of it in a Linux distribution such as :</p>
<p>___________________________________________________________________________</p>
<p><strong>Directory                                                     Description</strong></p>
<p>___________________________________________________________________________</p>
<p>/ bin /                           binary commands associated with significant executable</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>/ dev /                          dev / null , dev / hda , dev / random  devices</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/ etc /                           configurations files</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/home/                         home users directories</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/ lib /                            libraries</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>/ mnt /                          temporary system files</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>/ proc /                         file system <em>procfs</em></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>/ root /                          users home ( root )</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>/ sbin /                         executable commands that requires privileged user rights</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/ usr /                           secondary hierarchy : contains binaries and libraries</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>/ var /                           variable files (logs, queues, temporary)</p>
<p><span id="more-249"></span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>/ var / log /                    log files for various applications</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&nbsp;</p>
<p>Basic commands for interaction with file system are :<strong> pwd , is , cd , touch , rm, mkdir , rmdir, cp , mv, link , unlink.</strong></p>
<p>&nbsp;</p>
<p><strong>User management</strong><strong></strong></p>
<p>Refers to deleting  or adding new users , displays some general information respectively changing informations about the user. In Unix system user information are retained in the /etc/passwd file.</p>
<p>Each line in this file contains user name , his ID , home , the shell and other information. For safety reasons the <em>hash </em>associated with password file is not found in <strong>/etc/passwd/</strong> but in <strong>/etc/shadow</strong> that may not be accessed by most users. To find information about a user of the system can use the commands <em>ID</em> or <em>finger</em> . Privileged user in a Unix system is the user <em>root</em> with the <em>uid</em> 0 and the <em>home</em> in <strong>/root</strong>.<em></em></p>
<p><strong><em>Root</em></strong> user (<em>uid </em>0 user) has rights in the system and may run any command. Changing a user is performed with the command <em>su </em>followed by the password for that user. If user is root then the initial password is not required. Ubuntu system disables <strong><em>root</em></strong> user and recommends using <strong><em>sudo </em></strong>command. This command along with /etc/sudoers/  allows running privileged commands by an unprivileged user.</p>
<p>Changing a user password is performed with the command <strong><em>passwd </em></strong>. Privileged user can change any user password while an unprivileged user can change only his password.</p>
<p>In <strong>Debian</strong> &#8211; based system , adding or deleting a user is done through scripts <strong><em>adduser </em></strong>and <em><strong>deluser</strong>. </em></p>
<p>Advantage and disadvantage of using <strong><em>adduser</em></strong> command is the interactivity. Automation of tasks involves non-interactive commands. You can use the commands <em><strong>useradd</strong> , <strong>userdel </strong></em>and<em><strong> usermod</strong>. </em></p>
<p><em> </em></p>
<p><strong> </strong></p>
<p><strong>Rights on file systems</strong></p>
<p><strong> </strong></p>
<p>Unix systems use a simplified model of association rights on an entry in the filesystem. Every file is owned by a user and a group. There are three categories of users :</p>
<p>- user who owns the file ( <em>user </em>)</p>
<p>- group that owns the file ( <em>group</em> )</p>
<p>- other users  ( <em>others</em> )<em> </em></p>
<p>Abbreviated three categories are called <em>ugo </em>. Each of the three categories has three possible rights:</p>
<p>- read</p>
<p>- write</p>
<p>- execute</p>
<p>Abbreviated three categories are called <em>rwx </em>. The three rights of each of the above functions have different meanings when they are used over files or directories. Changing rights on a file is accomplished with the command <em>chmod . </em>Command takes effect only if it is run by the user that owns the file. Changing owner and group that owns file is accomplished with the command <em>chown</em> .</p>
<p>This command (<em> chown </em>) can be run only by privileged user.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/linux/linux-file-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>INE CCNA Voice &#8211; Free</title>
		<link>http://www.ipspace.eu/cisco/callmanager/ine-ccna-voice-free/</link>
		<comments>http://www.ipspace.eu/cisco/callmanager/ine-ccna-voice-free/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 06:53:38 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Call Manager]]></category>
		<category><![CDATA[ccna voice free]]></category>
		<category><![CDATA[free ccna voice]]></category>
		<category><![CDATA[ine ccna voice]]></category>
		<category><![CDATA[ine free ccna voice.]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=247</guid>
		<description><![CDATA[Hi, It seems that ine.com is offering the CCNA:Voice track videos free of charge! Thas is great new for everybody, and i always wanted to take a look at their videos, as they are pretty good. Here is the link to the free CCNA videos: link &#160; Have fun!]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>It seems that<strong> ine.com</strong> is offering the CCNA:Voice track videos free of charge!</p>
<p>Thas is great new for everybody, and i always wanted to take a look at their videos, as they are pretty good.</p>
<p>Here is the link to the free CCNA videos: <a target="_blank" href="http://www.ine.com/all-access-pass/training/playlist/ccna-voice-v8/qos-primer-12012022.html" target="_blank">link</a></p>
<p>&nbsp;</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/cisco/callmanager/ine-ccna-voice-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics for managing a Linux system</title>
		<link>http://www.ipspace.eu/linux/basics-for-managing-a-linux-system/</link>
		<comments>http://www.ipspace.eu/linux/basics-for-managing-a-linux-system/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 17:50:43 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian basics]]></category>
		<category><![CDATA[ifconfig]]></category>
		<category><![CDATA[iproute]]></category>
		<category><![CDATA[iproute2]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux basics]]></category>
		<category><![CDATA[linux debian]]></category>
		<category><![CDATA[linux distributions]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=237</guid>
		<description><![CDATA[&#160; Linux administration activities are similar to any Unix system. The important components are hardware device administration, files system, users administration, programs packs administration, services administration, system security ensuring and automation tasks. Most of system administrator interactions with Linux operating system will be done through the command line interface (shell) and text configuration files. The [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Linux administration activities are similar to any Unix system.<br />
The important components are hardware device administration, files system, users administration, programs packs administration, services administration, system security ensuring and automation tasks.</p>
<p>Most of system administrator interactions with Linux operating system will be done through the command line interface (shell) and text configuration files.</p>
<p><strong>The components of a GNU / Linux / Distributions</strong></p>
<p>An GNU/Linux operating system consists of core (kernel), Linux and applications running over it.<br />
One of the most significant application is the command interpreter (the <strong>shell</strong>). On most of Linux distributions the shell is Bash.<br />
The shell acts as an intermediary between user and core. The shell transforms users command in to process which is using the core to complete a task.</p>
<p><span id="more-237"></span></p>
<p>Other basic applications are the editor(vim, emacs), compilers, libraries. Generally graphic applications are missing from a server system realizing interaction almost exclusively via command line.</p>
<p>Unlike other operating systems kernel and application development is performed differently.<br />
The aggregation of these components is made by a GNU/Linux distribution. There are hundreds of Linux distributions, among the most popular we mention Ubuntu Fedora/RedHat, SuSE, Debian, Gento, Slackware etc.</p>
<p>Some of the distributions are similar such as Debian-based :<br />
Debian, Ubuntu, MEPIS, Damn Small Linux, Xandros, Linspire. These distributions use software packages provided by Debian and APT system.</p>
<p><strong>Temporary  Network configuration</strong></p>
<p>Linux provides two utilities to configure network interfaces. This configuration is lost after reboot.</p>
<p><strong>The first of these is called ifconfig</strong>. Present on all Unix platforms, this tool enables the IP address, a network mask and broadcast address.<br />
The ifconfig command can be used both to inspect the current network configuration, the operating parameters: MTU, number of packs sent, number of packs received.</p>
<p>For each physical network interface can be defined more logical interfaces known as subinterface.<br />
Logically, each subinterface of a router is a distinct interface. For this reason, two subinterfaces can not have the same IP subnetwork.</p>
<p>All network parameters restarts when the interface stops, interface that can be made for a specific interface or network service restart. This results leads to resetting all network interfaces.<br />
Temporary network configurations will be lost if the interface deactivated. In a subinterface case, deactivation is equivalent to removing.Starting from kernel version 2.2, came a package of utilities for handling network configuration known as iproute.</p>
<p>Examples:</p>
<pre># ifconfig eth0

eth0 Link encap:Ethernet HWaddr 00:2D:32:5E:3B:3C
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:977839669 errors:0 dropped:1990 overruns:0 frame:0
TX packets:1116825094 errors:8 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1594112309 (1.5 GiB) TX bytes:1535889321 (1.8 GiB)
Interrupt:185 Base address:0xdc00</pre>
<p>&nbsp;</p>
<p><strong>Display Details of All interfaces Including Disabled Interfaces</strong></p>
<pre># ifconfig -a</pre>
<p><strong>Shutdown an Interface</strong></p>
<pre># ifconfig eth0 down</pre>
<p><strong>Enable an Interface</strong></p>
<pre># ifconfig eth0 up</pre>
<p><strong>Assign 192.168.1.1 as the IP address for the interface eth0.</strong></p>
<pre># ifconfig eth0 192.168.1.1</pre>
<p><strong>Change Subnet mask of the interface eth0.</strong></p>
<pre># ifconfig eth0 netmask 255.255.255.0</pre>
<p><strong>Change Broadcast address of the interface eth0.</strong></p>
<pre># ifconfig eth0 broadcast 192.168.1.255</pre>
<p><strong>Assign ip-address, netmask and broadcast at the same time to interface eht0.</strong></p>
<pre># ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255</pre>
<p><strong>Now the second version (iproute2)</strong> is a strong alternative allowing very sophisticated settings. To configure the network parameters is used ip addr utility which is part of the package iproute .</p>
<p>To configure an interface is necessary to specify the IP address, the network area code and the broadcast address.</p>
<p>To define configurations for subinterfaces label option is used. For compatibility reasons, it is recommended that names to start with the interface name labels. So, for eth0 label shall be valid: eth00, eth0.0, eth 0: 0, eth 0.</p>
<p>Since <strong>ifconfig</strong> sees the labels as a virtual interface, it can run only with the interface: number type. To enable or disable an interface or deleting logical configurations associated with a subinterface is used other utility of the iproute2 : ip link package .</p>
<p>Ip link tool can be useful to change the data link level parameters (MAC, MTU, etc) and to display these parameters.<br />
Besides handling functions defining routing table and tunnels, iproute2 provides support for traffic policy.</p>
<p><strong>Permanent configuration</strong></p>
<p>To set up a permanent network parameters is used <strong>/etc/ network/interfaces</strong><br />
This file is specific to Debian (its location in other distributions may be different) and contains information necessary to configure network interfaces.</p>
<p>Programs using this file shall be <strong>ifup</strong> and <strong>ifdown</strong> and shall be run from <strong>/etc/init.d/networking</strong>, script responsible for the network configuration in the boot of the operating system. To define static parameters of network administrator can specify IP address, subnet mask, default gateway address, name server addresses, or some of these parameters. Can also be specified other actions to be performed when the interface is started, that stopped.</p>
<p>Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/linux/basics-for-managing-a-linux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fortigate Directory Services Authentication</title>
		<link>http://www.ipspace.eu/fortinet/fortigate/fortigate-directory-services-authentication/</link>
		<comments>http://www.ipspace.eu/fortinet/fortigate/fortigate-directory-services-authentication/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 19:17:18 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[fortigate active directory integration]]></category>
		<category><![CDATA[fortigate fsae]]></category>
		<category><![CDATA[fortigate fsso]]></category>
		<category><![CDATA[fortigate ntml]]></category>
		<category><![CDATA[fortinet active directory]]></category>
		<category><![CDATA[fortinet firewall fsae]]></category>
		<category><![CDATA[fortinet firewall fsso]]></category>
		<category><![CDATA[fortinet fsae]]></category>
		<category><![CDATA[fortinet fsso]]></category>
		<category><![CDATA[fortinet ntml]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=227</guid>
		<description><![CDATA[The Fortinet Firewall is capable of integrating with the Microsoft Active directory. It can use the following Methods: I. Fortigate FSAE/FSSO This feature provides a transparent authentication for the users. &#160; In the older version you can fin it named as FortinetFSAE, but in the new versions it appears are Fortinet FSSO. The Fortigate FSAE/FSSO [...]]]></description>
			<content:encoded><![CDATA[<p>The Fortinet Firewall is capable of integrating with the Microsoft Active directory.</p>
<p>It can use the following Methods:</p>
<h2>I. Fortigate FSAE/FSSO</h2>
<p>This feature provides a transparent authentication for the users.</p>
<p>&nbsp;</p>
<p>In the older version you can fin it named as FortinetFSAE, but in the new versions it appears are Fortinet FSSO.</p>
<p>The Fortigate FSAE/FSSO is composed of the following 2 softwares:</p>
<h3>1. Domain Controller Agent</h3>
<p>This software monitors the user login. This software is deployed on the Domain Controllers of the users domain. You can find it in <strong>C:\Windows\System32\dcagent.dll</strong></p>
<h3><span id="more-227"></span></h3>
<h3>2. Collector Agent</h3>
<p>This is the &#8216;master&#8217;of the application. This software sends the info gather from the Domain Controller Agent to the Fortigate Firewall.<br />
It performs the following tasks:<br />
<strong> a. Looksup the group in the domain/user information</strong><br />
Uses DNS lookup then if that is not present it check the users local cache then the WINS server, user Hosts file etc.<br />
To monitor when a users logg off, the FSAE/FSSO needs read only access on TCP port 139 or 445 on the clients registry.</p>
<p><strong>b. Resolves the Workstation name to an IP address</strong><br />
This detects when a users logs off of one PC. It controls if the users is logged on every 5 minutes.<br />
It uses the Dead Entry Removal for workstations that cannot be looked up. It is controlled by the &#8220;dead entry timeout&#8221;", with a default of 8 hours. So if a PC cannot be be checked if an user logged of it uses this default, to log it off automatically.</p>
<p><strong>c. Sends the IP address/group to the Fortigate</strong><br />
&nbsp;<br />
&nbsp;<br />
&nbsp;</p>
<h2>II. Fortigate NTLM-based Authentication</h2>
<p>This method basically removes the need to install FSAE collector agent on every DC. It prompts the user for credentials and then it checks with the Domain Controller if everything is working fine.</p>
<p>&nbsp;</p>
<h3>FSAE/FSSO General Hints</h3>
<p><strong>1. Must be configured on each Domain Controller that has a collector agent installed:</strong><br />
<strong> a.</strong> Windows Active Directory user groups<br />
<strong> b.</strong> Collector agent settings, including the Domain Controller to be monitored<br />
<strong>c.</strong> Collector agent ignore user list<br />
<strong>d.</strong> Collector Agent Fortigate Group filter for each Fortigate unit</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>2. Configuring FSAE/FSSO on the Fortinet Firewall:</strong><br />
<strong> a.</strong> Specify a domain admin user(with the credentials that do not expire) to the Windows Active Directory Server<br />
<strong>b.</strong> Specify the Active Directory Servers that contain the FSAE/FSSO collector agent<br />
<strong>c.</strong> Add the Active Directory user groups to new or existing Fortigate user groups<br />
<strong>d.</strong> Create Firewall policy for Active Directory server groups</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>3. IP Address Lookup</strong><br />
The Collector agent will perform IP address lookup to detect any IP address hanges of a workstation while the user is still logged into the domain.<br />
The IP address change verify interval value has a default value of 60 seconds.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>4.Configure Alternate User IP address Tracking</strong></p>
<p>In environment where user IP address change frequently, FSAE can be modified to respond more quicklye by modifing the registry.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>5. Workstation Lookup</strong><br />
This allows the Fortigate to detect a user logoff from a workstation.<br />
Default &#8211; 5 minutes<br />
Disabled &#8211; 8 Hours</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>If you have any comments or questions please do not hesitate to ask.</p>
<p>Have a great day,<br />
Daniel</p>
<div class="SPOSTARBUST-Related-Posts"><H3>Related Posts</H3><ul class="entry-meta"><li class="SPOSTARBUST-Related-Post"><a title="Fortigate | Fortinet Antivirus" href="http://www.ipspace.eu/fortinet/fortigatefortinet-antivirus/" rel="bookmark">Fortigate | Fortinet Antivirus</a></li>
<li class="SPOSTARBUST-Related-Post"><a title="Fortigate Tutorial &#8211; Authentication" href="http://www.ipspace.eu/fortinet/fortigate-tutorial-authentication/" rel="bookmark">Fortigate Tutorial &#8211; Authentication</a></li>
<li class="SPOSTARBUST-Related-Post"><a title="Fortigate Tutorial &#8211; Fortiguard" href="http://www.ipspace.eu/fortinet/fortigate-tutorial-fortiguard/" rel="bookmark">Fortigate Tutorial &#8211; Fortiguard</a></li>
<li class="SPOSTARBUST-Related-Post"><a title="Fortigate Troubleshooting &#8211; DHCP" href="http://www.ipspace.eu/fortinet/fortigate-troubleshooting-dhcp/" rel="bookmark">Fortigate Troubleshooting &#8211; DHCP</a></li>
<li class="SPOSTARBUST-Related-Post"><a title="Fortigate Tutorial &#8211; Logging and Alerts" href="http://www.ipspace.eu/fortinet/fortigate-tutorial-logging-and-alerts/" rel="bookmark">Fortigate Tutorial &#8211; Logging and Alerts</a></li>
</ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/fortinet/fortigate/fortigate-directory-services-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fortigate IPS</title>
		<link>http://www.ipspace.eu/fortinet/fortigate/fortigate-ips/</link>
		<comments>http://www.ipspace.eu/fortinet/fortigate/fortigate-ips/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 18:49:50 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[fortigate intrusion prevention system]]></category>
		<category><![CDATA[fortigate ips]]></category>
		<category><![CDATA[fortinet firewall ips]]></category>
		<category><![CDATA[fortinet ips]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=221</guid>
		<description><![CDATA[Fortigate IPS &#8211; Intrusion Prevention System IPS is a way to stop malicious users to attack your Server/PCs by using exploits or any other kind of attacks. The IPS from the Fortigate uses the following 2 to help you prevent attacks: 1. Protocol Decoders &#8211; are used to define abnormal traffic 2. Signatures &#8211; it [...]]]></description>
			<content:encoded><![CDATA[<h2>Fortigate IPS &#8211; Intrusion Prevention System</h2>
<p>IPS is a way to stop malicious users to attack your Server/PCs by using exploits or any other kind of attacks.</p>
<p>The IPS from the Fortigate uses the following 2 to help you prevent attacks:</p>
<p>1. Protocol Decoders &#8211; are used to define abnormal traffic</p>
<p>2. Signatures &#8211; it uses already defined signatures to catch malicious traffic.</p>
<p>&nbsp;</p>
<h2>IPS Sensor</h2>
<p><span id="more-221"></span></p>
<p>This is used to group signatures into sensor for ease of use and it is also made of 2 parts: filters and overrides.</p>
<h2>DOS Sensor</h2>
<p>This DOS Sensor examines the internet traffic from top to bottom. It uses 4 anomalies for the protocols TCP, UDP and ICMP:<br />
1. Flooding<br />
2. Scanning<br />
3. Source Session Limit<br />
4. Destination Session Limit</p>
<p>The Fortigate is also capable of SYN Proxy. This is used to block <a target="_blank" title="SYN Flood" href="http://en.wikipedia.org/wiki/SYN_flood" target="_blank">SYN attacks</a>.</p>
<p>&nbsp;</p>
<p>If IPS fails (gets corrupted) it will go to the fail-open by default. This can be change in the CLI only.  For more info about the fail-open mode you can check the article about <a title="Fortigate Conserve mode" href="http://www.ipspace.eu/fortinet/fortigate/fortigate-conserve-mode-how-to-stop-it-and-what-it-means/" target="_blank">Fortigate conserve mode.</a></p>
<h2>General Hints about Fortinet Firewall IPS</h2>
<p>1. The IPS predefined signatures and the IPS engine are upgraded through the FortiGuard Distribuition Network</p>
<p>2. The pre-defined signatures are periodically updated by the Fortiguard Service, with signatures added to counter new thread. This also works if the filters are already defined, for example if a filter includes all the signatures for the Windows operating system, the filter will automatically incorporate new Windows signatures as they are added.</p>
<p>3. Overrides are checked before the filters and also the overrides can add a custom signatures.</p>
<p>4. IPS can be configured to ignore sessions after a set of traffic has passed through the firewall; by default is 204800bytes (this can be modified through the CLI).</p>
<p>&nbsp;</p>
<p>Hope this has been informative for you, and if you have any questions please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/fortinet/fortigate/fortigate-ips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fortigate and WCCP</title>
		<link>http://www.ipspace.eu/fortinet/fortigate/fortigate-and-wccp/</link>
		<comments>http://www.ipspace.eu/fortinet/fortigate/fortigate-and-wccp/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 10:17:03 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[fortigate wccp]]></category>
		<category><![CDATA[fortinet firewall wccp]]></category>
		<category><![CDATA[fortinet wccp]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=209</guid>
		<description><![CDATA[Web Cache Communication Protocol &#8211; WCCP Fortigate is compatible with WCCP protocol version 2 and can be configured on the Fortinet Firewall to optimize web traffic. &#160; WCCP architecture 1. Routers (responsible for redirecting to the WCCP Server) 2. Web Cache &#8211; cluster of server 3. Service Groups &#8211; this is used to identify sensitive [...]]]></description>
			<content:encoded><![CDATA[<p>Web Cache Communication Protocol &#8211; WCCP<br />
Fortigate is compatible with WCCP protocol version 2 and can be configured on the Fortinet Firewall to optimize web traffic.</p>
<p>&nbsp;</p>
<h2>WCCP architecture</h2>
<p><strong>1. Routers (responsible for redirecting to the WCCP Server)</strong></p>
<p><strong>2. Web Cache &#8211; cluster of server</strong></p>
<p><strong>3. Service Groups &#8211; this is used to identify sensitive traffic and encapsulates methods between endpoints in the config.</strong></p>
<p>&nbsp;</p>
<p><span id="more-209"></span>WCCP  can be configured from CLI only. The following steps needs to be performed:</p>
<p><strong>1. Configure the service group</strong></p>
<p><strong>2. Enable WCCP on the Fortigate interface</strong></p>
<p><strong>3. Enable WCCP on the firewall policy</strong></p>
<p>&nbsp;</p>
<p>You can configure a FortiGate unit to operate as a WCCP router or client.<br />
• A FortiGate unit operating as a WCCP router can intercept HTTP and HTTPS sessions and forward them to a web<br />
caching engine that caches web pages and returns cached content to the web browser.</p>
<p>• A FortiGate unit operating as a WCCP client can accept and forward WCCP sessions and use firewall policies to<br />
apply NAT, UTM, and other FortiGate security features to them. A FortiGate unit operates as a WCCP client only in<br />
NAT/Route mode (and not in Transparent mode)</p>
<p>&nbsp;</p>
<h3>Configuring WCCP on Fortinet:</h3>
<p>Enter the following command to configure a FortiGate unit to operate as a WCCP client:<br />
config system settings<br />
set wccp-cache-engine enable<br />
end</p>
<p>To configure WCCP in client mode use the following commands:</p>
<pre>config system wccp
edit &lt;service-id&gt;
set cache-id &lt;cache_engine_ip4&gt;
set group-address &lt;multicast_ipv4&gt;
set router-list &lt;server_ipv4mask&gt;
set authentication {disable | enable}
set service-type {auto | dynamic | standard}
set assignment-weight &lt;weight_int&gt;
set assignment-bucket-format {cisco-implementation | wccp-v2}
set password &lt;password_str&gt;
next
end</pre>
<p>&nbsp;</p>
<p>Configure WCCP in server mode:</p>
<pre>config system wccp
edit &lt;service-id&gt;
set router-id &lt;interface_ipv4&gt;
set group-address &lt;multicast_ipv4&gt;
set server-list &lt;router1_ipv4&gt; [&lt;router2_ipv4&gt; ... &lt;router4_ipv4&gt;]
set authentication {disable | enable}
set forward-method {GRE | L2 | any}
set return-method {GRE | L2 | any}
set assignment-method {HASH | MASK | any}
set password &lt;password_str&gt;
next
end</pre>
<p><br/><br />
<br/><br />
<br/></p>
<h3>Below is a description of all of the Variables</h3>
<pre><strong>&lt;service-id&gt;</strong></pre>
<p>Valid ID range is from 0 to 255. 0 for HTTP.</p>
<p><strong>Default is 1</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre><strong> &lt;pre&gt; router-id &lt;interface_ipv4&gt; &lt;/pre&gt; </strong></pre>
<p>An IP address known to all cache engines. This IP address identifies a<br />
FortiGate interface IP address to the cache engines. If all cache<br />
engines connect to the same FortiGate interface, then<br />
&lt;interface_ipv4&gt; can be 0.0.0.0, and the FortiGate unit uses the<br />
IP address of that interface as the router-id.<br />
If the cache engines can connect to different FortiGate interfaces, you<br />
must set router-id to a single IP address, and this IP address must<br />
be added to the configuration of the cache engines that connect to that<br />
interface.</p>
<p><strong>Default is 0.0.0.0</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre><strong>cache-id &lt;cache_engine_ip4&gt;</strong></pre>
<p>The IP address of the cache engine if its IP address is not the same as<br />
the IP address of a FortiGate interface. If the IP address of the cache<br />
engine is the same as the IP address of the FortiGate interface on<br />
which you have enabled WCCP, the cache-id should be 0.0.0.0.<br />
<strong>Default: 0.0.0.0</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>group-address &lt;multicast_ipv4&gt;</pre>
<p>The IP multicast address used by the cache routers. 0.0.0.0 means<br />
the FortiGate unit ignores multicast WCCP traffic. Otherwise, groupaddress<br />
must be from 224.0.0.0 to 239.255.255.255.<br />
Default: 0.0.0.0</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre><strong>server-list</strong> &lt;router1_ipv4&gt;[&lt;router2_ipv4&gt; ...&lt;router4_ipv4&gt;]</pre>
<p>The IP address and net mask of up to four WCCP routers.<br />
<strong>Default is: 0.0.0.0  0.0.0.0</strong></p>
<p>&nbsp;</p>
<pre>router-list &lt;server_ipv4mask&gt;</pre>
<p>IP addresses of one or more WCCP routers that can communicate with<br />
a FortiGate unit operating as a WCCP cache engine. Separate multiple<br />
addresses with a space.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>service-type {auto | dynamic | standard}</pre>
<p>Set the WCCP service type used by the cache server.</p>
<p><strong>Default: auto</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>forward-method {GRE| L2 | any}</pre>
<p>Specifies how the FortiGate unit forwards traffic to cache servers. If<br />
forward-method is any the cache server determines the forward<br />
method.<br />
Default: GRE</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>return-method {GRE| L2 | any}</pre>
<p>Specifies how a cache server declines a redirected packet and returns<br />
it to the FortiGate unit. If return-method is any the cache server<br />
determines the return method.<br />
Default: GRE</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>assignment-method {HASH | MASK | any}</pre>
<p>Specifies which assignment method the FortiGate unit prefers. If<br />
assignment-method is any the cache server determines the<br />
assignment method.<br />
<strong>Default: HASH</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>assignment-weight &lt;weight_int&gt;</pre>
<p>Set the assignment weight for the WCCP cache engine. The range is 0<br />
to 255.<br />
Default: 0</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>assignment-bucketformat {ciscoimplementation | wccp-v2}</pre>
<p>Set the assignment bucket format for the WCCP cache engine.</p>
<p><strong>Default: ciscoimplementation</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>password &lt;password_str&gt;</pre>
<p>The authentication password. Maximum length is 8 characters. No default.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/fortinet/fortigate/fortigate-and-wccp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fortigate Traffic Optimization</title>
		<link>http://www.ipspace.eu/fortinet/fortigate-traffic-optimization/</link>
		<comments>http://www.ipspace.eu/fortinet/fortigate-traffic-optimization/#comments</comments>
		<pubDate>Sat, 24 Mar 2012 18:36:22 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[Fortinet]]></category>
		<category><![CDATA[fortigate optimization]]></category>
		<category><![CDATA[fortigate wan optimization]]></category>
		<category><![CDATA[fortinet firewall optimization]]></category>
		<category><![CDATA[fortinet wan optimization]]></category>
		<category><![CDATA[wan optimization fortigate]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=194</guid>
		<description><![CDATA[Fortigate is capable of Traffic Optimization, isn&#8217;t that cool ? The following are the things that can affect the Network and Application Performance 1. Bandwidth 2. Latency 3. Throughput 4. Congestion 5. Packet Loss &#160; The Fortinet Firewall is capable of dealing with all of them by using WAN Optimization Technique: 1. Protocol Optimization 2. [...]]]></description>
			<content:encoded><![CDATA[<p>Fortigate is capable of Traffic Optimization, isn&#8217;t that cool ?</p>
<p>The following are the things that can affect the Network and Application Performance</p>
<p>1. Bandwidth</p>
<p>2. Latency</p>
<p>3. Throughput</p>
<p>4. Congestion</p>
<p>5. Packet Loss</p>
<p>&nbsp;</p>
<p>The <strong>Fortinet Firewal</strong>l is capable of dealing with all of them by using WAN Optimization Technique:</p>
<p>1. Protocol Optimization</p>
<p>2. Byte Caching</p>
<p>3. Web Caching</p>
<p>4. Transparent proxy</p>
<p>&nbsp;</p>
<h3><strong>1. Protocol Optimization</strong></h3>
<p>It&#8217;s an application technique to improve performance of HTTP, CIFS, FTP, MAPI and TCP protocol traffic.</p>
<p>I guess you know all of them except CIFS. This is a common internet file system protocol &#8211; provides file access, recoring, change notification etc</p>
<p><span id="more-194"></span></p>
<h3><strong>2. Byte Caching</strong></h3>
<p>The Fortigate Firewall can break large unts of application data into small chunks of data, labeling each with a hash, and  stores the chunks and has in a dictionary file. It assigns token to it and the it sends the dictionary to the other Fortigates.</p>
<p>If  chunks and hash are recognized it sends the token (the dictionary must be the same on both of the sides).</p>
<p>&nbsp;</p>
<h3><strong>3. Web Caching</strong></h3>
<p>This technique is also known as HTTP proxying. It stores the HTLM pages, images and more on the local HDD.</p>
<p>There are 3 modes of Web caching:</p>
<p>a. Non-transparent forward proxy caching</p>
<p>b. Transparent forward proxy caching &#8211; if you use this, please keep in mind that the Fortigate must be placed near the network gateways</p>
<p>c. Transparent reverse proxy caching &#8211; this is a method to reduce the load on a busy web server by using a web cache server between the server and the Internet.</p>
<p>&nbsp;</p>
<h3><strong>4. Transparent proxy</strong></h3>
<p>The users are not ware of the Fortigate. The clients communicate to the server the same way as without the WAN optimization;  the WAN optimization is compatible with Identify-Based firewall policies also</p>
<p>Keep in mind that all the firewall policies are applied before the WAN optimization policies/rules are applied. So if you block the traffic, it will not get optimized of course <img src='http://www.ipspace.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p><strong>There 2 types of WAN optimization rules:</strong></p>
<p>1. Active-Passive Mode</p>
<p>2. Peer-to-peer Mode</p>
<p>&nbsp;</p>
<p><strong>1. Active Passive Mode</strong></p>
<p>The Fortigat Firewall on both ends of the WAN optimization tunnel operate in a kind of client server configuration. The sessions are originated on the client Fortigate and are terminated on the passive Fortigate firewall.</p>
<p>The remote peer uses auto-detection through TCP option as a discovery mechanism to locate any peers on the path to the server.</p>
<p><strong>2. Peer-to-Peer Mode</strong></p>
<p>In this mode, both peers have peer lists that includes names and IP addresses of the Fortigate devices. Both Fortinet firewalls should have matching rules.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3><strong>General HINTS about Fortigate Firewall WAN Optimization </strong></h3>
<p>1. Keep in mind that Peer-to-Peer WAN optimization tunnels use port 7810. So if you have another firewall in front, do not forget to OPEN that port.</p>
<p>2. Only one protocol can be selected in a WAN optimization rule. So you have one rule for each protocol. Example: Rule 1 for HTTP traffic.</p>
<p>3. Firewall traffic shaping (Quality of Service)  is compatible only with client/server(active-passive) transparent mode. For rest of the modes, the optimization techniques are ignored.</p>
<p>4. Of the firewall policy includes a thread management profile, the packet is processed by the profile and not by WAN optimization. To apply WAN optimization to traffic that is accepted by a firewall policy containing a thread management profile, multiple firewall units or multiple <a title="Fortigate VDOM" href="http://www.ipspace.eu/fortinet/fortigate/fortigate-vdoms/" target="_blank">Fortigate VDOM</a> must be used; to do this you must apply the the thread management profile in the first FG unit or VDOM and apply WAN optimization in the second Fortigate unit or <a title="VDOM" href="http://www.ipspace.eu/fortinet/fortigate/fortigate-vdoms/" target="_blank">VDOM</a>.</p>
<p>5. SSL is also capable of being optimized by using the Web Caching optimization techniques. The Fortinet firewall caches HTTPs web pages.</p>
<p>6. Fortigate is also capable of WCCP &#8211; Web Cache Communication Protocol. You can check this article about Fortigate WCCP.</p>
<p>&nbsp;</p>
<p>If you have any questions please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/fortinet/fortigate-traffic-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a Firewall</title>
		<link>http://www.ipspace.eu/general-security/what-is-a-firewall/</link>
		<comments>http://www.ipspace.eu/general-security/what-is-a-firewall/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 06:53:01 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[General Security]]></category>
		<category><![CDATA[firewall appliance]]></category>
		<category><![CDATA[fortigate firewall]]></category>
		<category><![CDATA[what is a firewall]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=181</guid>
		<description><![CDATA[The firewall is probably the best known security appliance. By definition firewall is a system or a group of systems which implements access policy between two or more networks. Firewalls can be classified into four main classes: 1. Dedicated firewalls  2. Routers integrated firewalls 3. Servers integrated firewalls  4. Personal firewalls  &#160; 1. Dedicated firewalls [...]]]></description>
			<content:encoded><![CDATA[<h2><strong><br />
</strong></h2>
<p>The firewall is probably the best known security appliance. By definition firewall is a system or a group of systems which implements access policy between two or more networks.</p>
<p>Firewalls can be classified into four main classes:</p>
<p><strong>1. Dedicated firewalls </strong></p>
<p><strong>2. Routers integrated firewalls</strong></p>
<p><strong>3. Servers integrated firewalls </strong></p>
<p><strong>4. Personal firewalls </strong></p>
<p>&nbsp;</p>
<p><strong>1. Dedicated firewall</strong>s are hosts that runs an operating system designed for packet filtering and addresses translation. We can exemplify PIX systems or Checkpoint. These systems are capable of sustaining a large number of connections but routing facilities are extremely limited. For a simple network , firewall can be used as a router. For more complex networks is necessary a router.</p>
<p><strong>2. Firewalls integrated into routers</strong> are used to remove the previous insufficiency. This class can not sustain the same number of connections, but it does better in more complex topologies, where you need the facilities of a router. Many products provide routers integrated firewall facilities, from firewall modules for high-end routers, to extremely compact dedicated for use in SOHO networks.</p>
<p><span id="more-181"></span></p>
<p><strong>3. Server firewalls</strong> are implemented as additional software over an operating system (Linux , UNIX , NT , Win2k ). As an example we mention Netfilter , Microsoft ISA Server, Novel Border Manager. These examples are comparable as features and performance with firewalls built into medium routers.</p>
<p><strong>4. Personal firewall</strong>s are installed on personal computers. They are designed to prevent attacks on the computer that runs only. It is important to remember that these types of firewalls are not optimized for the entire networks of computers. The main mechanisms that ensure the protection of network firewalls are packet filtering and address translation.</p>
<p>&nbsp;</p>
<h3><strong>Packet filtering</strong></h3>
<p><strong>Packet Filtering</strong> is the process by which only particular packs are routed from one network to another based on some rules. Packet filtering operates in a traditional way with information from levels OSI 3 and 4.</p>
<p>Filtering rules are formed from a part which identifies the package and a part which specifies how to treat that specific package. On the identification part, can be specified source address , destination address , network source address and destination network adress , protocol (TCP, UDP , ICMP) , source or destination port (only for TCP or UDP), type of message (for ICMP), input or output interface and even level 2 addresses.</p>
<p>Identification of package can be done with any written information in the packet header, at level OSI 3 or 4 or even 2 , depends on implementation. The handling part of the package specifies what can be done with a package selected by a rule.</p>
<p>For filtration there is usually three handling options : <strong>ignore accept or reject</strong>. Accept means that the package is allowed to pass. On ignore option the package is not allowed and no notice is sent to source. Finaly,on reject option the package is not allowed but sends a notification to the source.</p>
<h3><strong>IPtables utility</strong></h3>
<p><strong>Iptables</strong> is the tool with which you can set policies and rules for packet filtering and address translation for Linux . This is part of Netfilter which implements in Linux package filtering and addresses translation.</p>
<p>On IPTables a rule has two parts :</p>
<p>- a part which identifies the packages</p>
<p>- a part that shows how to treat the packages (the target)</p>
<p>Processing of rules is done sequential starting with the first one. If for a package that traverses the system the rule is valid the action is executed associated to the target otherwise proceed to the next rule. If have exhausted all the rules from the user-defined chain or if the target is return continue analyzing the rules of the previous chain. If have exhausted all the rules from a predefined chain , execute the implicitly associated action of the chain. The package can be identified from source address , destination address , package type , port (TCP , UDP ) or the type message (ICMP), if there&#8217;s a fragment from the package, if there is a package that initiates an action(TCP).</p>
<p>Chains are rules sets which can determinate what action must be taken on a package.For each of the tables set there default chains (<strong>input , output , forward , prerounting, postrouting</strong>) provides a distributed structure of rules. Predefined chains does not only features a table. Tables share one or many chains. For example , chain &#8220;output&#8221; belongs to &#8220;filter&#8221; and also &#8221; nat&#8221; , same as &#8220;input&#8221; belongs to &#8220;filter&#8221; and also &#8220;mangle&#8221;. When a package arrives to a station which implements this kind of policy decisions must be taken on it being performed each chain analysis mentioned above.</p>
<p>Hope this helped you understand better the concept of the firewall.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/general-security/what-is-a-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fortigate Routing</title>
		<link>http://www.ipspace.eu/fortinet/fortigate-routing/</link>
		<comments>http://www.ipspace.eu/fortinet/fortigate-routing/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 17:25:43 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[Fortinet]]></category>
		<category><![CDATA[fortigate bgp ospf]]></category>
		<category><![CDATA[fortigate routing]]></category>
		<category><![CDATA[fortinet firewall routing]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=179</guid>
		<description><![CDATA[In this article i will describe some routing capabilities that Fortigate has. Routing Protocols &#160; Fortigate is capable of many routing Protocols: 1. Static Routes (not really a routing protocol ) 2. BGP 3. RIP 4. OSPF &#160; The Fortigate Firewall has also a Routing table 1that displays all the learned routes and also a [...]]]></description>
			<content:encoded><![CDATA[<p>In this article i will describe some routing capabilities that Fortigate has.</p>
<p><strong>Routing Protocols</strong></p>
<p>&nbsp;</p>
<p><strong>Fortigate is capable of many routing Protocols:</strong></p>
<p>1. Static Routes (not really a routing protocol <img src='http://www.ipspace.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p>2. <a target="_blank" title="BGP" href="http://ro.wikipedia.org/wiki/Border_Gateway_Protocol">BGP</a></p>
<p>3. <a target="_blank" title="RIP" href="http://en.wikipedia.org/wiki/Routing_Information_Protocol">RIP</a></p>
<p>4. <a target="_blank" title="OSPF" href="http://en.wikipedia.org/wiki/Open_Shortest_Path_First">OSPF</a></p>
<p>&nbsp;</p>
<p>The Fortigate Firewall has also a Routing table 1that displays all the learned routes and also a FIB table. You might know about FIB from the Cisco CEF.</p>
<p><strong>Routing Features: </strong></p>
<p><strong>FIB </strong></p>
<p>The FIB contains all local and non-local routes that are known to the Device. It is populated by the routing table and in the High-Availability mode FIB is replicated among the clusters, but only the Master builds up the FIB, based on the routing table.</p>
<p><strong>Reverse Path Forwarding (RPF)</strong></p>
<p>This is used for anti-spoofing protection. You can find more about Reverse Path Forwarding <a target="_blank" title="RPF" href="http://en.wikipedia.org/wiki/Reverse_path_forwarding">here</a>.</p>
<p><strong>Bidirectional Forwarding Detection (BFD)</strong></p>
<p>This is used to deal with dynamic routing protocols problems, of not having a fine granularity for detecting device failures on the network and re-routing around those failures. This works like the &#8220;hellos&#8221; of the OSPF routing protocol, but it actually connects to the router.</p>
<p><strong>Default Administrative Distances for Fortigate:</strong></p>
<p>1. The Fortigate Firewall assigns an AD of <strong>&#8220;20&#8243;</strong> to EBGP routes.</p>
<p>2. Static Routes have an AD of  <strong>&#8220;10&#8243;</strong></p>
<p>3. Connected Routes have an AD of <strong>&#8220;0&#8243;</strong></p>
<p>4. When you configure the BGP protocol a default route-map is created to make the AS non-tranzit (cool feature)</p>
<p>&nbsp;</p>
<p>If you have any questions please ask.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/fortinet/fortigate-routing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fortigate Conserve Mode &#8211; How to stop it and what it means</title>
		<link>http://www.ipspace.eu/fortinet/fortigate/fortigate-conserve-mode-how-to-stop-it-and-what-it-means/</link>
		<comments>http://www.ipspace.eu/fortinet/fortigate/fortigate-conserve-mode-how-to-stop-it-and-what-it-means/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 17:29:25 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Fortigate]]></category>
		<category><![CDATA[cmdb error]]></category>
		<category><![CDATA[fortigate cmdb fail]]></category>
		<category><![CDATA[fortigate conserve mode]]></category>
		<category><![CDATA[fortigate cpu 100%]]></category>

		<guid isPermaLink="false">http://www.ipspace.eu/?p=176</guid>
		<description><![CDATA[The Fortigate Firewall has more diagnostic tools, but you will mostly be faced with the following problems: 1. Conserve Mode This problem happens when the memory shared mode goes over 80%. To exit this conserve mode you have to wait (or kill some  of the processes) until the memory goes under 70%. 2. Antivirus FailOpen [...]]]></description>
			<content:encoded><![CDATA[<p>The Fortigate Firewall has more diagnostic tools, but you will mostly be faced with the following problems:</p>
<p><strong>1. Conserve Mode</strong></p>
<p>This problem happens when the memory shared mode goes over 80%.<br />
To exit this conserve mode you have to wait (or kill some  of the processes) until the memory goes under 70%.</p>
<p><strong>2. Antivirus FailOpen</strong></p>
<p>This is a safeguard feature that determines the behavior of the Fortigate AntiVirus System, when it becomes overloaded with high traffic.</p>
<p>To mitigate this you have more type of options:</p>
<pre>#set av-failopen { off | on-shot | pass | idledrop}</pre>
<p>Below we will describe what all of them do:</p>
<p><strong>a. Off</strong> &#8211; if the FG enters conserve mode, the Fortigate will stop accepting new AV sessions, but will continue to process currently active sessions</p>
<p><span id="more-176"></span></p>
<p><strong>b. One-shot</strong> &#8211; if the FG enters conserve mode, all new connections will bypass the AV system, but currently sessions will continue to be processed. This is the same as the &#8220;pass&#8221; option, but it will NOT turn off once the condition causing the av-failopen has stopped</p>
<p><strong>c. Idle-drop</strong> &#8211; will drop connection based on the clients that has the most opened connection</p>
<p><strong>d. pass</strong> &#8211; this is the default option</p>
<p>Please keep in mind that with one-shot and pass option, <strong>NO</strong> content filtering of the traffic is done. The data stream could contain malicious content.</p>
<p>Below are some commands to troubleshoot when the system enters conserve mode:</p>
<p><strong>Check if the system is in Conserve Mode:</strong></p>
<pre>Fortigate # diag hardware sysinfo shm
SHM counter: 67
SHM allocated: 1556480
SHM total: 101220352
conservemode: 0 &lt;--This should be one, if the system is in conserve mode
shm last entered: n/a
system last entered: n/a
SHM FS total: 106827776
SHM FS free: 105205760
SHM FS avail: 105205760
SHM FS alloc: 1622016</pre>
<p><strong>Check if there are errors on the interfaces:</strong></p>
<pre>#diag hardware deviceinfo nic &lt;interface&gt;</pre>
<p><strong>Show if you have any errors on the Internal interface:</strong></p>
<pre>Fortigate# diag hardware deviceinfo nic internal
Description ip175c-vdev
Part_Number N/A
Driver_Name ip175c
Driver_Version 1.01
System_Device_Name internal
Current_HWaddr 00:09:0f:54:b7:2e
Permanent_HWaddr 00:09:0f:54:b7:2e
Link up
Speed 100
Duplex full
State up (0x00001303)
MTU_Size 1500
Rx_Packets 63254215
Tx_Packets 58173946
Rx_Bytes 3057592732
Tx_Bytes 481440010
Rx_Errors 0
Tx_Errors 0
Rx_Dropped 0
Tx_Dropped 0
Multicast 0
Collisions 0
Rx_Length_Errors 0
Rx_Over_Errors 0
Rx_CRC_Errors 0
Rx_Frame_Errors 0
Rx_FIFO_Errors 0
Rx_Missed_Errors 0
Tx_Aborted_Errors 0
Tx_Carrier_Errors 0
Tx_FIFO_Errors 0
Tx_Heartbeat_Errors 0
Tx_Window_Errors 0</pre>
<p><strong>Restart any application:</strong></p>
<pre>#diag test application &lt;application&gt; &lt;options&gt;</pre>
<p><strong> To restart the IPS engine us the following commands:</strong></p>
<pre>#diag test application ipsengine 99</pre>
<p>The 99 at the end, tells the Fortigate to restart the process.</p>
<p>Waiting for comments if you have any other suggestions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipspace.eu/fortinet/fortigate/fortigate-conserve-mode-how-to-stop-it-and-what-it-means/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

