вторник, 15 сентября 2009 г.

EAP

WEP
■ A lack of mutual authentication makes WEP vulnerable to rogue access points.
■ Usage of static keys makes WEP vulnerable to dictionary attacks.
■ Even with use of initialization vector (IV), attackers can deduct WEP keys by capturing
enough data.
■ Configuring clients with the static WEP keys is nonscalable.

LEAP
■ Following are the benefits of LEAP over the basic 802.11 (WEP):
■ Server-based authentication (leveraging 802.1x) using passwords, one-time tokens,
public key infrastructure (PKI) certificates, or machine IDs
■ Usage of dynamic WEP keys (also called session keys) through reauthenticating the user
periodically and negotiating a new WEP key each time (Cisco Key Integrity Protocol or
CKIP)
■ Mutual authentication between the wireless client and the RADIUS server
■ Usage of Cisco Message Integrity Check (CMIC) to protect against inductive WEP
attacks and replays

WPA
■ Authenticated key management—WPA performs authentication using either IEEE 802.1x
or preshared key (PSK) prior to the key management phase.
■ Unicast and broadcast key management—After successful user authentication, message
integrity and encryption keys are derived, distributed, validated, and stored on the client and
the AP
■ Utilization of TKIP and MIC—Temporal Key Integrity Protocol (TKIP) and Message
Integrity Check (MIC) are both elements of the WPA standard and they secure a system
against WEP vulnerabilities such as intrusive attacks.
■ Initialization vector space expansion—WPA provides per-packet keying (PPK) via
initialization vector (IV) hashing and broadcast key rotation. The IV is expanded from 24 bits
(as in 802.11 WEP) to 48 bits.

WPA2
■ AES
■ more CPU-intensive than WPA mostly because of the usage of AES

EAP-FAST
■ Supports Windows single sign-on for Cisco Aironet clients and Cisco-compatible clients
■ Does not use certificates or require Public Key Infrastructure (PKI) support on client
devices
■ Provides for a seamless migration from Cisco LEAP
■ Provides full support for 802.11i, 802.1x, TKIP, and AES
■ Supports password expiration or change (Microsoft password change)

■ EAP-TLS uses the Transport Layer Security (TLS) protocol.
■ EAP-TLS uses Public Key Infrastructure (PKI).
■ EAP-TLS is one of the original EAP authentication methods, and it is used in many
environments.
■ The supported clients for EAP-TLS include Microsoft Windows 2000, XP, and CE, plus
non-Windows platforms with third-party supplicants, such as Meetinghouse.
■ One of the advantages of Cisco and Microsoft implementation of EAP-TLS is that it is
possible to tie the Microsoft credentials of the user to the certificate of that user in a
Microsoft database, which permits a single logon to a Microsoft domain.

PEAP
■ PEAP was developed by Cisco Systems, Microsoft, and RSA Security to the IETF.
■ With PEAP, only the server authentication is performed using PKI certificate.
■ PEAP works in two phases. In Phase 1, server-side authentication is performed and an
encrypted tunnel (TLS) is created. In Phase 2, the client is authenticated using either EAP-
GTC or EAP-MSCHAPv2 within the TLS tunnel.
■ PEAP-MSCHAPv2 supports single sign-on, but Cisco PEAP-GTC supplicant does not
support single logon


понедельник, 14 сентября 2009 г.

Wireless

Autonomous APs— WLSE + WDS

WLSE - centralized configuration, monitoring, and management
WDS -radio monitoring and management communication between the autonomous APs and
CiscoWorks WLSE

LWAP - WLC (controllers) + WCS


WLSE
Configuration—One CiscoWorks WLSE console supports up to 2500 APs. Configuration
changes can be performed in mass, individually, or in defined groups as desired or on a
schedule time. All Cisco Aironet APs are supported.
Fault and policy monitoring—WLSE monitors device faults and performance threshold
conditions
Reporting—WLSE provides the capability to e-mail, print, and export reports. Client,
device, and security information can all be tracked and reported.
Firmware—WLSE performs centralized firmware upgrades. Upgrades can be done in mass,
individually, or in defined groups as desired or on a scheduled time.
Radio management—WLSE assists in management of the WLAN radio environment. Radio
management features include parameter generation, network status, and reports.
Deployment wizard—WLSE provides a deployment wizard that discovers, uploads
configurations, and manages all deployed AP


WCS has three versions:
■ WCS Base
■ WCS Location
■ WCS Location + 2700 Series Wireless Location Appliance

Configuration for controllers and managed APs using customer-defined templates
Status and alarm monitoring of all managed devices with automated and manual client
monitoring and control functions
Automated monitoring of rogue APs, coverage holes, security violations, controllers, and APs
Event log information for data clients, rogue APs, coverage holes, security violations,
controllers, and APs
■ Automatic channel and power level assignment using radio resource management (RRM)
User-defined audit status, missed trap polling, configuration backups, and policy cleanups

понедельник, 20 июля 2009 г.

IPT basics

Signaling protocols
1) H.323 - ITU standart
2) MGCP - IETF st
3) SIP - IETF st

Regardless of the signaling
protocol used, a phone call has three main stages:
  • call setup
  • call maintenance
  • call teardown.
1) Call setup
During call setup, the destination telephone number must be resolved to an IP address, where the
call request message must be sent; this is called call routing. Call admission control (CAC) is an
optional step that determines whether the network has sufficient bandwidth for the call. If bandwidth
is inadequate, CAC sends a message to the initiator indicating that the call cannot get through
because of insufficient resources. (The caller usually hears a fast busy tone.)

If call routing and CAC succeed, a call request message is sent toward the destination. If the
destination is not busy and it accepts the call, some parameters for the call must be negotiated
before voice communication begins. Following are a few of the important parameters that must be
negotiated:

■ The IP addresses to be used as the destination and source of the VoIP packets between the call
end points
■ The destination and source User Datagram Protocol (UDP) port numbers that the RTP uses at
each call end point
■ The compression algorithm (codec) to be used for the call; for example, whether G.729,
G.711, or another standard will be used

2) Call maintenance
Call maintenance collects statistics such as packets exchanged, packets lost, end-to-end delay, and
jitter during the VoIP call. The end points (devices such as IP phones) that collect this information
can locally analyze this data and display the call quality information upon request, or they can
submit the results to another device for centralized data analysis.
3)Call teardown
is simply "hanging up" and sending appropriate notification to the other end point and any control devices so that the resources can be made free.

Analog-to-digital conversion involves four major steps:
1. Sampling
2. Quantization
3. Encoding
4. Compression (optional)

понедельник, 25 мая 2009 г.

Cisco IPS/IDS

ISR Built-in NIPS config

Step 1 Specify the location of the SDF—Various SDFs can exist in the Cisco IOS
device, but only one can be referenced.

! step 1 – define the location of the SDF
Router(config)#ip ips sdf ?
builtin Use the built in signature definition file
location Location of the signature definition file

Step 2 Configure the failure parameter—This tells the Cisco IOS device what
to do if the signature microengine (SME) is not available to scan the traffic.

! step 2 – define the behavior if an SME fails
Router(config)#ip ips fail ?
closed Do not forward traffic of the failed module.
Router(config)#ip ips fail closed

Step 3 Create an IPS rule—This creates a name that is later applied to an interface.
The rule uses the SDF previously defined. Optionally, an access control list
(ACL) can be applied to restrict which traffic is scanned.

! step 3 – create an IPS rule, and optionally apply an ACL
Router(config)#ip ips name ?
WORD Name of IPS rule
Router(config)#ip ips name testips ?
list Specify an access list to match
Router(config)#ip ips name testips list 123

Step 4 Apply the IPS rule to an interface—Once the rule has been created, it must
be applied to an interface to become operational.

! step 4 – apply the IPS rule to
Router(config)#interface fastethernet 0/0
Router(config-if)#ip ips testips ?
in Inbound IPS
out Outbound IPS
Router(config-if)#ip ips testips in
Router(config-if)#

Additional config

среда, 20 мая 2009 г.

VPN Statefull

IPsec stateful failover uses two protocols for proper and continual operation: 
■ HSRP—Monitors both the inside and outside interfaces. If either goes down, the entire router 
is deemed unworthy and ownership of the IKE and IPsec SA processes is passed to the 
standby router. When this transition occurs, the standby router becomes the active HSRP 
router.
■ Stateful Switchover (SSO)—Shares the IKE and IPsec SA information between the active 
and backup routers. At any time, either router knows enough to be the active IPsec VPN 
router.

There are some limitations/restrictions: 
■ Both the active and standby devices must run an identical Cisco IOS release.
■ The active and standby devices must be connected via LAN ports, either directly or through 
a switch. WAN interfaces are not supported.
■ Both the inside and outside interfaces must be connected via LAN ports.
■ Only “box-to-box” failover is supported. Intrachassis (card-to-card) failover is not currently 
supported.
■ Load balancing is not supported. Only one device in a redundancy group can be active at any 
time.
■ IKE keepalive messages are not supported. DPD and periodic DPD are supported.
■ Stateful failover of Layer 2 Tunneling Protocol (L2TP) is not supported.
■ IPsec idle timers are not supported.



Router C:
crypto dynamic-map from-remote 10
 set transform-set trans1
 reverse-route
!
crypto map central-office 10 ipsec-isakmp dynamic from-remote
!
interface fastethernet 1/0
 ip address 172.20.1.1 255.255.255.0
 standby 1 ip 172.20.1.5
 standby 1 priority 150
 standby 1 preempt
 standby 1 name vpn-remote
 crypto map central-office redundancy vpn-remote stateful
!
redundancy inter-device
 scheme standby vpn-remote
!
ipc zone default
 association 1
 protocol sctp
  local-port 12321
 local-ip 10.20.1.1
 retransmit-timeout 300 10000
 path-retransmit 10
 assoc-retransmit 20
  remote-port 12321
 remote-ip 10.20.1.2

вторник, 12 мая 2009 г.

MPLS VPN Overview





RD - Route Distiguisher - определяет принадлежность роутов к vrf instatnce. 64-bit value

RT - Route Target - позволяет нескольким клиентам с разными RD взаимодействовать. Можно определить какие роуты будут импортироваться или экспортироваться в зону с другим RD





понедельник, 20 апреля 2009 г.

PPPoE config

int dialer 1
(config-if)#ip mtu 1492 --- PPPoE adds 8 bytes header
(config-if)#ip address negotiate
(config-if)#encapsulation ppp
(config-if)#ppp authentication pap (chap) callin -- callin - one-way auth. ISP wants us to sent our credentials
but don't want to auth itself
Теперь надо привязать виртуальный dialer 1 к физическому интерфейсу через dialer-pool
(config-if)#dialer-pool 1

int fa 4
(config-if)#pppoe enable
(config-if)#pppoe-client dial-pool-number 1