Thursday, October 2, 2008

Cấu hình switch cơ bản

Cấu hình switch cơ bản
Lab 1-1: Cấu hình switch cơ bản

Mô tả



Cấu hình các thông số cơ bản cho Catalys Switch với giao diện dòng lệnh CLI. Các tác vụ cần thực hiện bao gồm đặt tên cho switch, cấu hình các interface vlan, cấu hình để telnet vào switch….Dùng máy trạm kết nối với switch qua kết nối console, giao diện tương tác người dùng sử dụng trình HyperTerminal. Đây là một công cụ đuợc MS Windows hỗ trợ.

Thực hiện

1. Khởi động nguồn của switch. Trên giao diện Hyper Terminal hiện ra các thông số khởi tạo trong quá trình khởi động Switch.
% Please answer 'yes' or 'no'.
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
00:04:13: %LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
00:04:14: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
Người dùng sẽ được hỏi nếu muốn vào các hộp thoại để cấu hình tự động, trả lời NO (vì mục đích của người dùng là muốn vào chế độ CLI (command line interface).

2. Vào enable mode xem cấu hình mặc định của switch

Switch>enable
Switch#show running-config
Building configuration...
Current configuration : 1473 bytes
!
version 12.1
!
hostname Switch
!
ip subnet-zero
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
no ip address
!
interface FastEthernet0/2
no ip address
!
interface FastEthernet0/3
no ip address
!
interface FastEthernet0/4
no ip address
!
interface FastEthernet0/5
no ip address
!
interface FastEthernet0/6
no ip address
!
interface FastEthernet0/7
no ip address
!
interface FastEthernet0/8
no ip address
!
interface FastEthernet0/9
no ip address
!
interface FastEthernet0/10
no ip address
!
interface FastEthernet0/11
no ip address
!
interface FastEthernet0/12
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip http server
!
line con 0
line vty 5 15
!
end

3. Thiết lập các thông số cho switch như hostname, enable password, console password và virtual terminal password. Các loại password sử dụng có phân biệt chữ thường và chữ hoa. Do đó người dùng cần phân biết các ký tự sử dụng chữ viết hoa khác với chữ viêt thường. Ví dụ Cisco khác với cisco.

Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Vnpro
Vnpro(config)#enable password cisco
Vnpro(config)#enable secret class
Vnpro(config)#line console 0
Vnpro(config-line)#password console
Vnpro(config-line)#login
Vnpro(config-line)#^Z

Switch hỗ trợ các Virtual Line dùng cho các phiên telnet. Cần cấu hình password cho các line này mới có thể telnet vào Switch (trình tự cấu hình hỗ trợ telnet sẽ trình bày sau). Để xem thông tin về các Virtual Line trên Switch: dùng lệnh “show line”.

Vnpro#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 CTY - - - - - 0 0 0/0 -
1 VTY - - - - - 0 0 0/0 -
2 VTY - - - - - 0 0 0/0 -
3 VTY - - - - - 0 0 0/0 -
4 VTY - - - - - 0 0 0/0 -
5 VTY - - - - - 0 0 0/0 -
6 VTY - - - - - 0 0 0/0 -
7 VTY - - - - - 0 0 0/0 -
8 VTY - - - - - 0 0 0/0 -
9 VTY - - - - - 0 0 0/0 -
10 VTY - - - - - 0 0 0/0 -
11 VTY - - - - - 0 0 0/0 -
12 VTY - - - - - 0 0 0/0 -
13 VTY - - - - - 0 0 0/0 -
14 VTY - - - - - 0 0 0/0 -
15 VTY - - - - - 0 0 0/0 -
16 VTY - - - - - 0 0 0/0 -

Cấu hình password cho các line vty
Vnpro#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Vnpro(config)#line vty 0 4
Vnpro(config-line)#password cisco
Vnpro(config-line)#login

Cấu hình trên thiết bị Cisco, mỗi dòng lệnh do người dùng gõ vào. Sau khi nhấn phím “enter” cấu hình hệ thống sẽ lập tức thay đổi. Vì vậy, đối với các hệ thống mạng thật, trước khi thay đổi một thông số nào đó của thiết bị, cần phải sao lưu lại cấu hình ban đầu để có thể khôi phục lại khi cần thiết.

Bước 4: cấu hình Vlan.
Kiếm tra cấu hình Vlan mặc định trên Switch
Vnpro#show vlan
VLAN Name Status Ports
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
Mặc định trên Switch chỉ có Vlan 1 với tất cả các port đều nằm trong Vlan này, Vlan 1002 dành riêng cho FDDI, Vlan 1003 dành riêng cho TOKEN-RING…Có hai cách tạo thêm Vlan
Cách 1:Thao tác trên Vlan database
Vnpro#vlan database
Vnpro(vlan)#vtp domain Chuyenviet
Changing VTP domain name from NULL to Chuyenviet
Vnpro(vlan)#vtp server
Setting device to VTP SERVER mode.
Vnpro(vlan)#vlan 10 name Admin
VLAN 10 added:
Name: Admin
Vnpro(vlan)#vlan 20 name User
VLAN 20 added:
Name: User
Vnpro(vlan)#apply
APPLY completed.
Vnpro(vlan)#exit
APPLY completed.
Exiting....
Cách 2: Tưong tác trực tiếp đến Vlan cần tạo ra
Vnpro(config)#interface vlan 10
Vnpro(config-if)#exit
Vnpro(config)#
Vnpro(config)#interface vlan 20
Vnpro(config-if)#exit
Vnpro(config)#
Để gán các port vào các Vlan, thực hiện các bước sau:
Ví dụ ta cần gán các port fastethernet 2 vào Vlan 10, port fastetehnet 3 vào Vlan 20
Vnpro(config)#interface fastethernet0/2
Vnpro(config-if-range)#switchport access vlan 10
Vnpro(config-if-range)#exit
Vnpro(config)#interface fastethernet0/3
Vnpro(config-if-range)#switchport access vlan 20
Vnpro(config-if-range)#exit
Kiểm tra lại cấu hình Vlan
Vnpro#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gi0/1, Gi0/2
10 Admin active Fa0/2
20 User active Fa0/3
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Cấu hình IP cho interface Vlan: các interface Vlan được cấu hình IP chỉ mang tính chất luận lý. IP này phục vụ cho việc quản lý, địa chỉ IP luận lý này còn có thể dùng để telnet vào Switch từ xa và chạy các ứng dụng SNMP.
Vnpro#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Vnpro(config)#interface vlan 10
Vnpro(config-if)#ip address 10.0.0.1 255.255.255.0
Vnpro(config-if)#no shutdown
Vnpro(config-if)#^Z
00:14:43: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to down
00:14:43: %SYS-5-CONFIG_I: Configured from console by console
Lưu cấu hình vào NVRAM
Vnpro#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Cần chú ý gán default-gateway cho switch bằng câu lệnh
VnPro#ip default-gateway 10.0.0.100
Địa chỉ 10.0.0.100 có thể dùng là địa chỉ của PC được dùng để telnet vào switch.

url:http://vnpro.org/forum/showthread.php?t=5560

Wednesday, October 1, 2008

Lab 6-1: Cấu hình vlan và trunk

Lab 6-1: Cấu hình vlan và trunk

MultiLayer Sitching & InterVlan Routing

http://vnpro.org/forum/files/labswitching/lab61/lab61-1.JPG

Mô tả đặc tính hoạt động đa lớp (Multilayer) của dòng sản phẩm Catalyst 3550 của Cisco Access Layer Switch (ALSwitch). Chia switch thành các Vlan1, Vlan 10, Vlan 20 phân phối cho từng nhóm người dùng. Thông thường các Vlan hoạt động ở lớp liên kết dữ liệu (Data-link Layer). Các Vlan này xem như thuộc các Broadcast Domain khác nhau, không thể nói chuyện với nhau được (mặc dù cùng kết nối vật lý đến ALSwitch). Các Vlan muốn nói chuyện với nhau phải thông qua một External Router có chức năng định tuyến. Trong phạm vi bài Lab này, sử dụng khả năng Multilayer Switching của Catalyst 3550 để định tuyến giữa các vlan cũng như giữa các Vlan với Remote office kết nối bởi Remote router. Trong trường hợp này Catalyst 3550 có khả năng hoạt động như một External Router.
Yêu cầu thiết bị: Remote router: Cisco 2600 (có cổng FastEthernet). Distribute Layer Switch (DLSwitch): Catalyst 3550. Access Layer Switch (ALSwitch): Catalyst 2900 trở lên (vì cấu hình Trunking đòi hỏi thiết bị hỗ trợ FastEthernet). Các máy trạm kết nối vào các Vlan phục vụ việc kiểm tra cấu hình và các tính năng định tuyến.
Để triển khai tính năng MultiLayer Switching (MLS):
Giai đoạn 1: Thiết lập các cấu hình cơ sở bao gồm: chia Vlan, Trunking giữa các switch.
Giai đoạn 2: Cấu hình cho Catalyst 3550 (DLSwitch) hoạt động ở chế độ MLS, cấu hình các giao thức định tuyến trên Router. Trong phạm vi bài Lab này, dùng giao thức định tuyến OSPF. Trước khi triền khai bài Lab, nên xoá tất cả cấu hình cũ trên Switch và Router để tránh các ảnh hưởng đến hoạt động của hệ thống
Tiến hành giai đoạn:
DLSwitch và ALSwitch kết nối với nhau qua đường Trunk. Hai Switch này cùng một VTP domain, chia thành các Vlan gồm: Vlan 1 (Native), Vlan 10 (Admin), Vlan 20 (User).
Cấu hình trên DLSwitch
Cấu hình các thông số cơ bản: gồm tên, các loại password:
Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname DLSwitch
DLSwitch(config)#enable password cisco
DLSwitch(config)#enable secret vnpro
DLSwitch(config)#line vty 0 15
DLSwitch(config-line)#password cisco
DLSwitch(config-line)#login
DLSwitch(config-line)#^Z
00:15:08: %SYS-5-CONFIG_I: Configured from console by console
Cấu hình Vlan và Trunking:
DLSwitch#vlan database
DLSwitch(vlan)#vtp domain Vnpro
Changing VTP domain name from NULL to Vnpro
DLSwitch(vlan)#vtp server
Device mode already VTP SERVER.
DLSwitch(vlan)#vlan 10 name Admin
VLAN 10 added:
Name: Admin
DLSwitch(vlan)#vlan 20 name User
VLAN 20 added:
Name: User
DLSwitch(vlan)#apply
APPLY completed.
DLSwitch(vlan)#exit
APPLY completed.
Exiting....
DLSwitch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
DLSwitch(config)#interface vlan 1
DLSwitch(config-if)#ip address 192.168.1.1 255.255.255.0
DLSwitch(config-if)#no shutdown
DLSwitch(config-if)#exit
00:17:26: %LINK-3-UPDOWN: Interface Vlan1, changed state to up
DLSwitch(config)#interface vlan 10
DLSwitch(config-if)#ip address 192.168.10.1 255.255.255.0
DLSwitch(config-if)#no shutdown
00:18:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to down
DLSwitch(config-if)#exit
DLSwitch(config)#interface vlan 20
DLSwitch(config-if)#ip address 192.168.20.1 255.255.255.0
DLSwitch(config-if)#no shutdown
00:19:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to down
DLSwitch(config-if)#exit
DLSwitch(config)#interface FastEthernet 0/1
DLSwitch(config-if)#switchport trunk encapsulation dot1q
DLSwitch(config-if)#switchport mode trunk
DLSwitch(config-if)#^Z
00:20:11: %SYS-5-CONFIG_I: Configured from console by console
Kiểm tra thông tin Vlan mới:
DLSwitch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2
10 Admin active
20 User active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
Cấu hình trên ALSwitch
Cấu hình các thông số cơ bản: gồm tên, các loại password:
Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname ALSwitch
ALSwitch(config)#enable password cisco
ALSwitch(config)#enable secret vnpro
ALSwitch(config)#line vty 0 4
ALSwitch(config-line)#password cisco
ALSwitch(config-line)#login
ALSwitch(config-line)#^Z
00:07:40: %SYS-5-CONFIG_I: Configured from console by console
Cấu hình Vlan và Trunking
Chỉ cần cấu hình Trunking, sau đó đưa ALSwitch vào cùng VTP domain Vnpro ở mode client, ALSwitch sẽ tự động học thông tin Vlan từ VTP server (DLSwitch).
ALSwitch#vlan database
ALSwitch(vlan)#vtp domain Vnpro
Changing VTP domain name from NULL to Vnpro
ALSwitch(vlan)#vtp client
Setting device to VTP CLIENT mode.
ALSwitch(vlan)#exit
In CLIENT state, no apply attempted.
Exiting....
ALSwitch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
ALSwitch(config)#interface FastEthernet 0/1
ALSwitch(config-if)#switchport trunk encapsulation dot1q
ALSwitch(config-if)#switchport mode trunk
ALSwitch(config-if)#exit
ALSwitch(config)#interface range FastEthernet0/4 - 8
ALSwitch(config-if)#switchport access vlan 10
ALSwitch(config-if)#exit
ALSwitch(config)#interface FastEthernet0/9 - 12
ALSwitch(config-if)#switchport access vlan 20
ALSwitch(config-if)#exit
ALSwitch(config)#^Z
ALSwitch#
00:13:00: %SYS-5-CONFIG_I: Configured from console by console
Kiểm tra thông tin Vlan trên ALSwitch:
ALSwitch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3
10 Admin active Fa0/4, Fa0/5, Fa0/6, Fa0/7,
Fa0/8
20 User active Fa0/9, Fa0/10, Fa0/11, Fa0/12
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 0 0
1003 tr 101003 1500 - 0 - - srb 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
ALSwitch#
Tiến hành giai đoạn 2:
DLSwitch(config)#interface FastEthernet 0/2
DLSwitch(config-if)#no switchport
DLSwitch(config-if)#ip address 10.200.1.1 255.255.255.0
DLSwitch(config-if)#no shutdown
00:14:35: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to downxit
Lệnh “no switchport” kích hoạt tính năng hoạt động ở lớp 3 cho Catalyst 3550. Lúc này port FastEthernet 0/2 có khả năng hoạt động như một cổng trên Router. Tuy nhiên kết nối giữa DLSwitch và Remote Router qua port này vẫn sử dụng Straight Cable, kết nối giữa DLSwitch và ALSwitch qua port FastEthernet 0/1 dùng Cross Cable. Cấu hình định tuyến:
DLSwitch(config)#ip routing
DLSwitch(config-router)#router ospf 0
DLSwitch(config-router)#network 10.200.0.0 0.0.0.255 area 0
DLSwitch(config-router)#network 192.168.1.0 0.0.0.255 area 0
DLSwitch(config-router)#network 192.168.10.0 0.0.0.255 area 0
DLSwitch(config-router)#network 192.168.20.0 0.0.0.255 area 0
DLSwitch(config-router)#^z
Cấu hình trên Remote Router
Cấu hình các thông số cơ bản:
Router>enable
Router#config terminal
Router(config)#hostname Remote
Remote(config)#enable password cisco
Remote(config)#enable secret vnpro
Remote(config)#line vty 0 4
Remote(config-line)#password cisco
Remote(config-line)#login
Remote(config-line)#exit
Remote(config)#interface interface ethernet0/0
Remote(config-if)#ip address 10.200.1.2 255.255.255.0
Remote(config-if)#no shut
Remote(config-if)#
*Mar 1 00:10:39.175: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
Remote(config-if)#exit
Remote(config)#interface loopback 0
Remote(config-if)#ip address 172.168.0.1 255.255.255.0
Remote(config-if)#no shutdown
Remote(config-if)#exit
*Mar 1 00:11:26.749: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Remote(config)#router ospf 1
Remote(config-router)#network 172.168.0.0 0.0.0.255 area 0
Remote(config-router)#network 10.200.1.0 0.0.0.255 area 0
Remote(config-router)#^Z
Mar 1 00:13:35.347: %SYS-5-CONFIG_I: Configured from console by console
Cấu hình các interface và cấu hình định tuyến
Xem thông tin định tuyến trên DLSwitch
DLSwitch>enable
DLSwitch#show ip route
Gateway of last resort is not set
C 192.168.10.0/24 is directly connected, Vlan10
172.168.0.0/32 is subnetted, 1 subnets
O 172.168.0.1 [110/11] via 10.200.0.2, 00:22:50, FastEthernet0/2
C 192.168.20.0/24 is directly connected, Vlan20
10.0.0.0/24 is subnetted, 1 subnets
C 10.200.0.0 is directly connected, FastEthernet0/2
C 192.168.1.0/24 is directly connected, Vlan1
Xem thông tin bản định tuyến trên Remote router:
DLSwitch#telnet 10.200.0.2
Trying 10.200.0.2 ... Open
User Access Verification
Password: cisco
Remote>enable
Password: vnpro
Remote#show ip route
Gateway of last resort is not set
O 192.168.10.0/24 [110/11] via 10.200.0.1, 00:23:53, Ethernet0/0
172.168.0.0/24 is subnetted, 1 subnets
C 172.168.0.0 is directly connected, Loopback0
O 192.168.20.0/24 [110/11] via 10.200.0.1, 00:23:53, Ethernet0/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.200.0.0 is directly connected, Ethernet0/0
O 192.168.1.0/24 [110/11] via 10.200.0.1, 00:23:53, Ethernet0/0
Kiểm tra tính kết nối bằng cách dùng một máy trạm nối vào một Vlan bất kỳ. Ping thấy

http://vnpro.org/forum/files/labswitching/lab61/lab61-2.JPG

interface Looback 0 trên Remote Router. Work Station có địa chỉ truộc về Vlan 10. Với Default Gateway là Mangement IP của Vlan 10. Dùng WorkStation trên Vlan 10 có địa chỉ như trên ping đến Looback 0 trên Remote Router và ghi nhậm kết quả. Kiểm tra khả năng InterVlan Routing bằng cách dùng một Work Station trên Vlan 20 ping dến Work Station trên Vlan 10 và ghi nhận kết quả

http://vnpro.org/forum/files/labswitching/lab61/lab61-3.JPG


http://vnpro.org/forum/files/labswitching/lab61/lab61-4.JPG


url:http://vnpro.org/forum/archive/index.php?t-5642.html

Cisco Routers - Basic notes

Cisco Routers - Basic notes
I am playing with Cisco routers now, this are be my notes:

Internal Components:

* RAM. Random access memory. This is the working buffer memory.
* ROM. Read only memory. contains bootstrap process and basic (most of times) IOS for basic functionality (as recover password)
* FLASH MEMORY. Stores full image of IOS.--
* NVRAN. non valitle RAM. Does not loose power when turn off.
* - start up configuration file


Boot process:

* a. Power on
* b. Power on Self Test (POST) (check memory, and cards).
* c. bootstrap from ROM
* d. looks in FLASH for IOS
* e. loads the IOS into RAM from FLASH
* f. IOS looks for configuration in NVRAM
* f.1 If found it load the IOS into FLASH Memory
* f.2 If not found executes teh auto setup mode (menu driven system).


Contexts:
router> ----> user mode (show config, telnet, basic)
router# ----> priviliged mode (show commands, pings, save config, backup)
router(config)# ----> global configuraiton mode (configuration interfaces, security, hostname)
Control - Z is to move from global configuration mode to priviliged mode.

Conectivity:
console port password -----> line con 0
auxiliary port password ---> line aux 0
telnet password -----------> line vty 0 4


Set up a passwords:
On the glboal configuration mode run the following commands to set up a password for the enable command:

router(config)# enable password xxxxxxxxxxx (sets the password but it is shown on screen)
router(config)# enable secret xxxxxxxxxxxxx (sets an encrypted enable password, once secret is enabled password by itself don't work anymore)

To set up password for different access:

router#
router(config)#line console 0 | line auxiliary 0 | line vty 0 4
router(config-line)# login (to ask for prompt)
router(config-line)# password xxxxxxxxxxxxx (to set up the passwod)
control-Z

To encrypt all passwords runt the following command:
router(config)service password-encryption

To set up a banner:
router(config)#banner motd $ message message message $
(Note $ is the delimeter and can be anything, just check to have spaces at the end and beginning)

Setting up an IP on an ehternet port:
A show running-config shows that I have one fastethernet port not configured, set as:
interface FastEthernet0
no ip address
shutdown
speed auto

To do this run:

1721-router#config t ---------> to enter global configuraiton mode
Enter configuration commands, one per line. End with CNTL/Z.
1721-router(config)#interface f0 ----> to enter configuration of fastethernet 0
1721-router(config-if)#ip address 192.168.1.3 255.255.255.0
1721-router(config-if)#no shutdown ----> to activate
1721-router(config-if)#
*Mar 1 07:56:30.838: %LINK-3-UPDOWN: Interface FastEthernet0, changed state top ----> that means I have physical connectivity
*Mar 1 07:56:31.838: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEther,change to up ------> shows I have encapsulation. Connections to another host.
1721-router#ping 192.168.1.1 ----> to test that is working I ping a pc on the network
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms
1721-router#

To save the configuration:
router#copy running-config start-config ----> for IOS version 12 and above
router#write memmory ---------> before IOS version 12

Example:
1721-router#copy run star
Destination filename [startup-config]?
Building configuration...
[OK]
1721-router#

To backup config:
router#copy run tftp --> this copy the running configuration TO the tftp server (will ask for details)
router#copy tftp run/start --> this copy the running configuration FROM the tftp server (will ask for details)
(NOT TESTED YET)



my passwords:
enable password/secret
console console
aux aux
telnet1-4 telnet
telnet0 telnet0

Hướng dẫn download Rapidshare bằng Rapidleech

Hướng dẫn download Rapidshare bằng Rapidleech

Rapidleech là gì?

Rapidleech là 1 công cụ (phần mềm web) cho phép bạn download miễn phí các file từ các website chia sẻ nổi tiếng thế giới như Rapidshare.com, Megaupload.com, FileFactory.com...

"leech" dịch qua tiếng Việt nghĩa là "con đỉa", "đeo bám". Mà con đỉa thì hút máu từ chủ thể sang cơ thể nó. Rapidleech cũng tương tự thế, nó hút/download file trên các website chia sẻ về nơi đang lưu trữ công cụ Rapidleech. Từ đó ta có thể dùng các phần mềm download như Flashget, Internet Download Manager download về mà không cần dùng đến tài khoản Premium (trả tiền). Giải thích nôm na như thế, hi vọng các bạn sẽ cảm thấy dễ hiểu.

Làm sao để có công cụ Rapidleech?

Có 2 cách:

1. Cách 1: bạn chọn 1 trong các địa chỉ ở cuối trang này (download rất nhanh)
2. Cách 2: bạn cài đặt Rapidleech lên localhost (download sẽ rất chậm), cài đặt thế nào thì Admin sẽ có bài viết hướng dẫn khác.

Hướng dẫn download

1. Khi truy cập vào website Rapidleech (1 trong các địa chỉ ở cuối trang), bạn sẽ thấy màn hình sau:

2. Bạn dán link của Rapidshare vào ô Link to download, rồi nhấn Download File

3. Sau đó, bạn đợi 1 khoảng thời gian ngắn để đồng hồ đếm ngược về 0 (chừng 1 phút đổ lại)

4. Khách vãng lai sẽ thấy xuất hiện 4 ký tự, hãy nhập 4 ký tự này vào ô bên dưới nó (chữ thường chữ hoa đều được, số 0 hay chữ O cũng như nhau)

5. Đợi 1 khoảng thời gian ngắn, bạn sẽ nhận được link để download trực tiếp bằng Flashget, IDM...


Lỗi thường gặp


Dòng thông báo "Download limit exceeded. You have to wait 12 minute(s) until the next download" xuất hiện vì có người nào đó đã dùng trang này để download trước bạn. Bạn phải chờ sau 12 phút mới có thể download.

Sau khi hết 12 phút, bạn phải thử download lại ngay, nếu không, có ai "nhanh tay" hơn, họ sẽ "giành" quyền download, nghĩa là bạn lại phải đợi tiếp.

Mẹo: Thay vì ngồi đợi thời gian dài thế này, bạn có thể chọn 1 trang Rapidleech khác (1 trong các link bên dưới) để download.

Nói chung, nếu vào thấy lỗi, thì chọn 1 link khác

Xem: Hướng dẫn download Rapidshare bằng tay không (không dùng Rapidleech, không có tài khoản Premium)
Download bằng Premium Generator: http://www.rapid4free.com

Danh sách các địa chỉ có Rapidleech do chính Diễn đàn Tin học Việt Nam sưu tầm:

1. http://rapidleech.1kho.com (Dùng tài khoản Premium, download nhanh, giới hạn 25GB/5 ngày)
2. http://rapidshare.downloader.googlepages.com
3. http://www.hosthot.info/leech/index.php
4. http://208.78.173.8/~vndownlo/
5. http://www1.rapidleech.vn
6. http://www2.rapidleech.vn
7. http://www3.rapidleech.vn
8. http://www.123bongda.net
9. http://rapid.aloxovn.com
10. http://rapid0.aloxovn.com
11. http://free4all.aloxovn.com
12. http://rapid1.aloxovn.com
13. http://rapid2.aloxovn.com
14. http://rapid3.aloxovn.com
15. http://www.tgshare.com/index.php
16. http://van.hostagig.com/Bimat
17. http://load-nhacvn.co.uk/rapids/index.php
18. http://www.4musicfree.com/Leech/index.php
19. http://dropszonepanel.com/rapidleech
20. http://alolove.4vn.in
21. http://gamesrodd.com/gaming
22. http://hendy.li/index.php
23. http://dentistho.com/rapidleech/index.php
24. http://info-tinhyeuhoctro.com/kill/dl/hnam.php
25. http://chanquadimat.com/rpleech/index.php
26. http://grovesexuality.info/rapi/
27. http://freakystreaks.net/backup/
28. http://ala.love.free.fr/rapid/
29. http://www.evilartix.com/leech2/
30. http://haghighatpour.com/
31. http://newjeuxweb.net/rapide/index.php
32. http://haddok.co.uk/rapid/
33. http://www.gamesrodd.com/gaming/
34. http://thanlong.com/quanglh/rapidleech
35. http://filmloaderone.com/a/index.php
36. http://www.jackiechun.yurx.com/
37. http://www.4musicfree.com/Leech/
38. http://arch18.freewebhosting360.com/
39. http://vieclam.org/rapid/
40. http://www.rand0m-stuff.com/rl/index1.php
41. http://info-tinhyeuhoctro.com/kill/dl/hnam.php
42. http://chanquadimat.com/rpleech/index.php
43. http://grovesexuality.info/rapi/
44. http://gamesrodd.com/gaming/index.php
45. http://nhactxq.com/fetch/
46. http://filmloaderone.com/a/index.php
47. http://dropszonepanel.com/rapidleech/index.php
48. http://www.kruubon.com/rapidleech/
49. http://freakystreaks.net/backup/
50. http://biggunseafood.com/leechlinkneo/
51. http://thanlong.com/quanglh/rapidleech/index.php
52. http://scorat.com/up/index.php
53. http://www.rapidhelp.us/RL/

__________________
www.DIENDANTINHOC.vn

Tuesday, September 30, 2008

What is a VLAN? How to Setup a VLAN on a Cisco Switch

url:http://www.petri.co.il/csc_setup_a_vlan_on_a_cisco_switch.htm


What is a VLAN? How to Setup a VLAN on a Cisco Switch

Have you ever wondered what a Virtual LAN (or VLAN) is or been unclear as to why you would want one? If so, I have been in your place at one time too. Since then, I have learned a lot about what a VLAN is and how it can help me. In this article, I will share that knowledge with you.

Preparing for Cisco CCNP Exams? These are the videos you need to get certified...


Whether you are studying for the BCSI, BCMSN, ONT, ISCW or all four, Train Signal's Cisco CCNP Training Series is the best out there. The instructor uses a "hands-on" method for teaching complex technologies. Each video covers all the bases and gives you more than enough test prep to pass any of your CCNP exams!

Daniel Petri

Click Here to Watch the Cisco CCNP Training Videos!
What is a LAN?

Okay, most of you already know what a LAN is but let’s give it a definition to make sure. We have to do this because, if you don’t know what a LAN is, you can’t understand what a VLAN is.

A LAN is a local area network and is defined as all devices in the same broadcast domain. If you remember, routers stop broadcasts, switches just forward them.
What is a VLAN?

As I said, a VLAN is a virtual LAN. In technical terms, a VLAN is a broadcast domain created by switches. Normally, it is a router creating that broadcast domain. With VLAN’s, a switch can create the broadcast domain.

This works by, you, the administrator, putting some switch ports in a VLAN other than 1, the default VLAN. All ports in a single VLAN are in a single broadcast domain.

Because switches can talk to each other, some ports on switch A can be in VLAN 10 and other ports on switch B can be in VLAN 10. Broadcasts between these devices will not be seen on any other port in any other VLAN, other than 10. However, these devices can all communicate because they are on the same VLAN. Without additional configuration, they would not be able to communicate with any other devices, not in their VLAN.
Are VLANs required?

It is important to point out that you don’t have to configure a VLAN until your network gets so large and has so much traffic that you need one. Many times, people are simply using VLAN’s because the network they are working on was already using them.

Another important fact is that, on a Cisco switch, VLAN’s are enabled by default and ALL devices are already in a VLAN. The VLAN that all devices are already in is VLAN 1. So, by default, you can just use all the ports on a switch and all devices will be able to talk to one another.
When do I need a VLAN?

You need to consider using VLAN’s in any of the following situations:

*

You have more than 200 devices on your LAN
*

You have a lot of broadcast traffic on your LAN
*

Groups of users need more security or are being slowed down by too many broadcasts?
*

Groups of users need to be on the same broadcast domain because they are running the same applications. An example would be a company that has VoIP phones. The users using the phone could be on a different VLAN, not with the regular users.
*

Or, just to make a single switch into multiple virtual switches.

Why not just subnet my network?

A common question is why not just subnet the network instead of using VLAN’s? Each VLAN should be in its own subnet. The benefit that a VLAN provides over a subnetted network is that devices in different physical locations, not going back to the same router, can be on the same network. The limitation of subnetting a network with a router is that all devices on that subnet must be connected to the same switch and that switch must be connected to a port on the router.

With a VLAN, one device can be connected to one switch, another device can be connected to another switch, and those devices can still be on the same VLAN (broadcast domain).
How can devices on different VLAN’s communicate?

Devices on different VLAN’s can communicate with a router or a Layer 3 switch. As each VLAN is its own subnet, a router or Layer 3 switch must be used to route between the subnets.
What is a trunk port?

When there is a link between two switches or a router and a switch that carries the traffic of more than one VLAN, that port is a trunk port.

A trunk port must run a special trunking protocol. The protocol used would be Cisco’s proprietary Inter-switch link (ISL) or the IEEE standard 802.1q.
How do I create a VLAN?

Configuring VLAN’s can vary even between different models of Cisco switches. Your goals, no matter what the commands are, is to:

*

Create the new VLAN’s
*

Put each port in the proper VLAN

Let’s say we wanted to create VLAN’s 5 and 10. We want to put ports 2 & 3 in VLAN 5 (Marketing) and ports 4 and 5 in VLAN 10 (Human Resources). On a Cisco 2950 switch, here is how you would do it:

At this point, only ports 2 and 3 should be able to communicate with each other and ports 4 & 5 should be able to communicate. That is because each of these is in its own VLAN. For the device on port 2 to communicate with the device on port 4, you would have to configure a trunk port to a router so that it can strip off the VLAN information, route the packet, and add back the VLAN information.
What do VLAN’s offer?

VLAN’s offer higher performance for medium and large LAN’s because they limit broadcasts. As the amount of traffic and the number of devices grow, so does the number of broadcast packets. By using VLAN’s you are containing broadcasts.

VLAN’s also provide security because you are essentially putting one group of devices, in one VLAN, on their own network.
Article Summary

Here is what we have learned:

*

A VLAN is a broadcast domain formed by switches
*

Administrators must create the VLAN’s then assign what port goes in what VLAN, manually.
*

VLAN’s provide better performance for medium and large LAN’s.
*

All devices, by default, are in VLAN 1.
*

A trunk port is a special port that runs ISL or 802.1q so that it can carry traffic from more than one VLAN.
*

For devices in different VLAN’s to communicate, you must use a router of Layer 3 switch.

Friday, September 26, 2008

Giới thiệu các phương thức Cr@ck Passwords - Cách đề phòng

Giới thiệu các phương thức Cr@ck Passwords - Cách đề phòng
Giới thiệu các phương thức Cr@ck Passwords - Cách đề phòng
Username Password là hai vấn đề nhạy cảm nhất trong một máy tính, một mạng nhỏ cho tới mạng Internet. Trong bài viết này tôi trình bày với các bạn tổng quát về các phương thức xác thực, các cách phá mật khẩu và các Tools sử dụng để phá mật khẩu. Từ đó các bạn sẽ biết cách tự bảo vệ mình trước các cuộc tấn công.
Trong bài viết này tôi sẽ trình bày chi tiết với các bạn những phần sau:
- Authentication – xác thực
- Authentication Mechanisms – Các phương thức xác thực
- Phá Password
- Những tấn công dựa vào phá Password
- Thực hiện một quá trình phá Password
- Phân chia các loại tấn công
- Các công cụ sử dụng để phá Password.
- Các phương thức cụ thể.
Các bước tiến hành trong quá trình tấn công phá mật khẩu
1. Xác thực – Authentication
- Xác thực là một quá trình nhận dạng người dùng
- Trong hệ thống mạng máy tính, xác thực chủ yếu sử dụng LoginID (Username) và Password.
- Biết mật khẩu của một tài khoản là điều cần thiết để xác thực
- Nhưng Password có thể bị mất, bị đánh cắp, bị thay đổi và bị phá, điều này dẫn tới nguy cơ bảo mật cho hệ thống.
2. Các phương thức xác thực
Hầu hết các phương thức xác thực đều dựa trên:
+ Những gì bạn biết (Username Password)
+ Những gì bạn có (Smart Card, Certificate)
+ Những gì là bạn (Sinh trắc học)
- HTTP Authentication – Xác thực trên WEB.
+ Basic Authentication
+ Digest Authentication
- Kết hợp với phương thức xác thực NTLM của Windows
- Negotiate Authentication – Thỏa thuận xác thực
- Xác thực dựa vào Certificate.
- Xác thực dựa vào Forms
- Xác thực dựa vào RSA Secure Token
- Xác thực dựa vào Sinh trắc học (xác thực vân tay, mặt, mắt….)
2.1. HTTP Authentications
a. Basic Authentication
- Là một phương thức xác thực phổ thông có trên nền tảng ứng dụng Web.
- Nó sẽ xuất hiện ra khi Client yêu cầu những thông tin phải được xác thực.
- Giới hạn những giao thức, cho phép những kẻ tấn công khai thác.
- Sử dụng SSL để mã hóa dữ liệu Username Password để truyền giữa Client và Server.
b. Degest Authentication
- Được thiết kế để nâng cao bảo mật hơn phương thức Basic Authentication
- Được dựa trên nền tảng xác thực Challenge-Response
- Nâng cao bảo bảo mật hơn phương thức Basic Authentication, hệ thống sẽ mã hóa Usernaem Password trước khi truyền đi trên mạng.
2.2. Kết hợp với phương thức xác thực NTLM của Windows
- Sử dụng công nghệ xác thực NT LAN Manager (NTLM) cho HTTP
- Chỉ làm việc với IE và trên nền tảng Web server là IIS.
- Kết hợp với xác thực trên Windows sẽ thích hợp cho môi trường mạng cục bộ của doanh nghiệp
- Nó là một phương thức xác thực mà không phải truyền bất kỳ thông tin nào về Username password trên mạng.
2.3. Xác thực Negotiate.
- Đây là một phương thức xác thực mở rộng cho NTLM Authentication
- Cung cấp xác thực dựa trên nền tảng Kerberos
- Sử dụng quá trình thương lượng để quyết định mức độ bảo mật được sử dụng.
- Nó được cấu hình và sử dụng không chỉ cho mạng cục bộ.
2.4. Xác thực dựa vào Certificate.
- Sử dụng Public Key để mã hóa và chứng chỉ số (Digital Certificate) để xác thực người dùng.
- Nó được quan tâm và kết hợp với phương thức xác thực two-factor. Khi một người dùng biết được Username Password người đó còn phải cung cấp Certificate nữa thì mới được xác thực.
- Người dùng có thể bị đánh cắp Certtificate.
- Rất nhiều phần mềm hiện nay hỗ trợ xác thực qua chứng chỉ số.
2.5. Xác thực dựa vào Forms-Based.
- Nó không được hỗ trợ trên nền tảng HTTP và SSL
- Nó là một lựa chọn cao cấp cho phương thức xác thực sử dụng một Form, và thường tích hợp dạng HTML.
- Là một phương thức xác thực rất phổ biết trên Internet.
2.6. Phương thức xác thực RSA SecurID Token
- PHương thức xác thực SecureID sử dụng một "token – Vé, card). Có một thiết bị phần cứng sẽ sinh ra các mã xác thực sau mỗi 60 giây và sử dụng một tấm Card để giải mã key.
- Một người dùng thực hiện quá trình xác thực và tài nguyên mạng sẽ phải điền mã PIN và số hiển thị cho SecureID cho mỗi thời gian đó.
2.7. Biometrics Authentications
This image has been resized. Click this bar to view the full image. The original image is sized 597x303.
- Một hệ thống xác thực dựa vào Sinh trắc học sẽ phải có những thiết bị nhận diện được người dùng dựa vào các yếu tố sinh học như: Vân tay, mắt, mặt, bàn tay….
- Đây là một phương thức xác thực có tính bảo mật rất cao và thuận tiện cho người sử dụng không phải nhớ mật khẩu hay mang theo một tấm Card.
3. Làm thế nào để có một mật khẩu bảo mật.
- Áp đặt chính sách độ dài tối thiểu của mật khẩu là 8 và tốt nhất là 15
- Yêu cầu phải có những ký tự đặc biệt, số, chữ hoa, chữ thường trong một mật khẩu
- Không sử dụng bất kỳ từ khóa nào trong từ điển English hay những nước khác
- Không sử dụng Password giông tên Username, và phải thay đổi thường xuyên
- Chọn Password bạn dễ dàng sử dụng mà người khác khó đoán biết được.
4. Những khuyến cáo đặt password khác
- Đừng bao giờ chỉ đặt một ký tự đặc biệt sau một từ khóa ví dụ: Không đặt password là: vnexperts1
- Đừng bao giờ sử dụng ghép hai từ với nhau để được một Password ví như: vnevne
- Không đặt Password dễ đoán
- Không đặt password quá ngắn
- Không đặt Password mà từ thường xuyên gõ đúng như: asdf;lkj
- Hãy thay đổi mật khẩu thường xuyên ít nhất một tháng một lần – Hãy thay đổi ngay lập tức khi phát hiện ra mật khẩu của mình bị người khác sử dụng.
- Đừng bao giờ chứa Password trên máy tính của bạn – nhiều người có thói quen vào các trang web và lưu lại mật khẩu của mình điều này không bảo mật bởi mã hóa trong máy tính dễ dàng bị giải mã.
- Các mật khẩu trong Windows lưu vào các file .pwl không được bảo mật.
- Không nói cho người khác biết mật khẩu của mình.
- Không gửi mail và tránh đặt trùng Password trên nhiều ứng dụng
- Không ghi Password của mình ra cho dễ nhớ.
- Khi gõ Password hãy cẩn thận với các loại Keyloger và người xem chộm
5. Hacker lấy mật khẩu của bạn qua những phương pháp.
- Xem bạn gõ mật khẩu
- Tìm xem bạn có ghi mật khẩu của mình ra giấy hay không
- Đoán mật khẩu dựa vào các số quen thuộc như: 123456, 654321…
- Sử dụng phương thức tấn công Brute Force
+ Đây là phương thức tổng hợp các ký tự lần lượt để tấn tìm ra mật khẩu.
- Sử dụng phương thức tấn công Dictionary Attack
+ Phương thức tấn công này tìm mật khẩu trong một bộ từ điển được sinh ra trước đó.
- Cách tạo ra một mật khẩu khó:
+ Chẳng hạn mật khẩu của tôi ban đầu định đặt là: yeuemnhieu
+ Giờ tôi viết hoa chữ Y và chữ U thành: YeUemnhieU
+ Chữ E trong bảng chữ cái đứng vị chí 5 mật khẩu tôi thành: Y5U5mnhi5U
+ Chữ i tôi đổi thành ! mật khẩu thành Y5U5mnh!5U
+ Password của tôi đủ 10 ký tự có số, có hoa, có thường, có ký tự đặc biệt.
6. Xóa Password đã được lưu trong vWindows XP
- Vào run gõ: Rundll32.exe Keymgr.dll, KRShowKeyMgr
- Sẽ hiện ra bảng tương tự dưới đây và bạn hãy xóa hết những mật khẩu đã được lưu trong hệ thống.
7. Phá mật khẩu tổng quát
- Về định nghĩa một Password Cr@cker là chương trình có thể giải mã được mật khẩu hay có thể vô hiệu hóa được mật khẩu.
- Password Cr@cker có hai phương pháp chính đó là: Brute Force và Dictionary Attack, ngoài ra hiện nay mới có chương trình phá mật khẩu thông minh hơn hai kiểu cổ điển trên đó là phương thức tìm Password: Smart Table Recovery – đáp ứng tốc độ tìm mật khẩurất nhanh.
- Password Cr@cker cũng có thể là một chương trình dùng để giải mã những mật khẩu đã được mã hóa, ví như các mật khẩu được lưu trong IE, Firefox,…
8. Mục tiêu của các chương trình tìm mật khẩu.
- Trên hệ thống Windows và Linux có hai tài khoản toàn quyền trong hệ thống đó là: root và Administrator, và mục tiêu tấn công là tìm được password của hai tài khoản đó
- Khi tìm được Password của tài khoản có quyền quản trị kẻ tấn công sẽ toàn quyền với máy đích.
- Kẻ tấn công cũng có thể dùng các phần mềm Sniffer để tóm các gói tin Username Password được truyền đi trong hệ thống mạng.
- Và ảnh hưởng của việc bị chiếm mất quyền quản trị tùy thuộc hoàn toàn vào dữ liệu và các ứng dụng trong hệt hống.
9. Chương trình Password Cr@cker hoạt động như thế nào ?

- Để hiểu được một Password Cr@cker làm việc như thế nào chúng ta cần phải hiểu được các chương trình quản lý Password thực hiện ra sao. Hầu hết các chương trình quản lý Password đều mã hóa Password theo một phương thức nào đó.
- Mật khẩu sau khi được tạo ra và lưu vào trong hệ thống sẽ được mã hóa, hệ thống sẽ chứa Key để giải mã mật khẩu.
- Những phần mềm Password Cr@cker sẽ tìm cách lấy được các đoạn mật mã đó.
-Sau khi đã lấy được các đoạn mật mã trên máy của nạn nhân chúng sẽ tiến hành giải mã mật khẩu bằng những phương thức cụ thể cho từng tình huống.
10. Các dạng Password Cr@cker
- Dictionary Attack: Tìm mật khẩu trong một file từ điển tạo sẵn
- Brute Force Attack: Tìm mật khẩu bằng cách tổ hợp các ký tự
- Hybird Attack: Lai giữa hai phương thức trên
- Smart Table Recovery Attack: Phương thức tấn công tìm mật khẩu thông minh nhất dựa trên các bảng dữ liệu – Khoảng 700MB dữ liệu text.
11. Tìm Password bằng phương thức đơn giản
- Đoán mật khẩu
- Thay thế đoạn URL
12. Tìm Password bằng giải mã Cookies
- Với chương trình CT cookie Spy 2.0
- Cookies thương lưu lại rất nhiều thông tin quan trọng của người dùng khi truy cập vào Internet như Username và Password truy cập vào một Website.
- Với phần mềm này bạn có thể tìm kiếm các Cookies được lưu dữ trong hệ thống và giải mã chúng để tìm Username Password.
13. Tấn công Dictionary Attack.
- Tạo từ điển dùng phần mềm: Dictionary Maker
This image has been resized. Click this bar to view the full image. The original image is sized 595x352.
14. Danh sách các Tools Password Cr@ckers
-LophtCr@ck - WebCr@cker
- John The Ripper - Munga Bunga
- Brutus - ReadCookies
- Obiwan - SnadBoy
- Authforce - WinSSLMiM
- Hydra - RAR
- Cain & Abel Gammaprog
Hầu hết các tools này đều miễn phí và nếu có phí thì hoàn toàn Cr@ck được một cách dễ dàng
Hầu hết chúng đều có khả năng sử dụng tất cả các loại tấn công trên, đều có thể Export Username Password từ một hệ thống Local hay Remote.
- Theo kinh nghiệm của tôi hay dùng đó là: Cain & Abel tuy nhiên phần mềm này mạnh về giải mã và Sniffer hơn. LophCr@ck có lẽ Cr@ck khá nhanh bất kỳ password nào dài dưới 10 ký tự máy tính của tôi chỉ cần khoảng hơn 1 giờ là có thể giải mã được.
- John the Ripper đây là phần mềm chuyên phá mật khẩu trong môi trường Unix và sử dụng mã hóa DES, Extend DES, MD5 cũng tích hợp nhiều phương pháp giải mã.
- Brutus là một chương trình Online hay Remote Password Cr@cker. Tấn công tới một hệ thống như máy chủ IIS, Windows, Modem ADSL…. Chúng thử lần lượt Username và Password nhất định để tấn công vào máy chủ
- Obiwan khắc phục nhược điểm của Brutus là có độ trễ khi sử dụng Username Password sai.
- Authforce dựa vào HTTP Basic Authentication hỗ trợ việc thử Username Password tới một site nhất định
- MessenPass có thể giải nén được hầu hết các tài khoản chát như Yahoo, MSN…
Lưu ý từ phiên bản YM 7 password không bao giờ được lưu ở máy Local lên phần mềm này không Cr@ck được.
- Wireless WEP Key Password Spy đây là một tools hỗ trợ giải mã để truy cập vào một hệ thống mạng vWireless đặt mật khẩu.
(Theo Vnexperts Research Department)
__________________
This image has been resized. Click this bar to view the full image. The original image is sized 750x200.


Quy định chung của diễn đàn:

_http://forum.itlab.com.vn/forum/showthread.php?t=478

Pass mặc định của diễn đàn: www.itlab.com.vn

Phần mềm dùng để nối file: FFSJ

_http://www.jaist.ac.jp/~hoangle/filesj/index.html


url:http://forum.itlab.com.vn/forum/showthread.php?t=4299

Thursday, September 25, 2008

How to configure RPC dynamic port allocation to work with firewalls

url:http://support.microsoft.com/kb/154596

How to configure RPC dynamic port allocation to work with firewalls
View products that this article applies to.
Article ID : 154596
Last Review : October 26, 2007
Revision : 14.3
This article was previously published under Q154596
SUMMARY
Remote Procedure Call (RPC) dynamic port allocation is used by remote administration applications such as Dynamic Host Configuration Protocol (DHCP) Manager, Windows Internet Name Service (WINS) Manager, and so on. RPC dynamic port allocation will instruct the RPC program to use a particular random port above 1024.

Customers using firewalls may want to control which ports RPC is using so that their firewall router can be configured to forward only these Transmission Control Protocol (TCP) ports.

Many RPC servers in Windows let you specify the server port. When you can specify a dedicated server port, you know what traffic flows between the hosts across the firewall, and you can define the that is traffic allowed much better. You can find a comprehensive list of Server ports that are used in Windows and major Microsoft products can be found in Microsoft Knowledge Base article 832017. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
832017 (http://support.microsoft.com/kb/832017/) Service overview and network port requirements for the Windows Server system
The article also lists the RPC servers and which RPC servers can be configured to use custom server ports beyond the facilities that RPC offers. Use the method that is described in this article only if the RPC server does not offer a way to define the server port.

The following registry entries apply to Windows NT 4.0 and above. They do not apply to previous versions of Windows NT. Even though you can configure the port used by the client to communicate with the server, the client must be able to reach the server by its actual IP address. You cannot use DCOM through firewalls that do address translation (e.g. where a client connects to virtual address 198.252.145.1, which the firewall maps transparently to the server's actual address of, say, 192.100.81.101). This is because DCOM stores raw IP addresses in the interface marshaling packets and if the client cannot connect to the address specified in the packet, it will not work.

For more information, see the Microsoft white paper Using Distributed COM with Firewalls. To do this, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/ms809327.aspx (http://msdn2.microsoft.com/en-us/library/ms809327.aspx)

Back to the top
MORE INFORMATION
The values (and Internet key) discussed below do not appear in the registry; they must be added manually using the Registry Editor. Also, note that you must use Regedt32.exe instead of Regedit.exe to add the REG_MULTI_SZ value.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows


With Registry Editor, you can modify the following parameters for RPC. The RPC Port key values discussed below are all located in the following key in the registry: HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\Internet\ Key Data Type

Ports REG_MULTI_SZ
Specifies a set of IP port ranges consisting of either all the ports available from the Internet or all the ports not available from the Internet. Each string represents a single port or an inclusive set of ports. For example, a single port may be represented by 5984, and a set of ports may be represented by 5000-5100. If any entries are outside the range of 0 to 65535, or if any string cannot be interpreted, the RPC runtime treats the entire configuration as invalid.
PortsInternetAvailable REG_SZ Y or N (not case-sensitive)
If Y, the ports listed in the Ports key are all the Internet-available ports on that computer. If N, the ports listed in the Ports key are all those ports that are not Internet-available.
UseInternetPorts REG_SZ ) Y or N (not case-sensitive
Specifies the system default policy.
If Y, the processes using the default will be assigned ports from the set of Internet-available ports, as defined previously.
If N, the processes using the default will be assigned ports from the set of intranet-only ports.
Example:
1. Add the Internet key under: HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc
2. Under the Internet key, add the values "Ports" (MULTI_SZ), "PortsInternetAvailable" (REG_SZ), and "UseInternetPorts" (REG_SZ).

In this example ports 5000 through 5100 inclusive have been arbitrarily selected to help illustrate how the new registry key can be configured. For example, the new registry key appears as follows:
Ports: REG_MULTI_SZ: 5000-5100
PortsInternetAvailable: REG_SZ: Y
UseInternetPorts: REG_SZ: Y
3. Restart the server. All applications that use RPC dynamic port allocation use ports 5000 through 5100, inclusive. In most environments, a minimum of 100 ports should be opened, because several system services rely on these RPC ports to communicate with each other.
You should open up a range of ports above port 5000. Port numbers below 5000 may already be in use by other applications and could cause conflicts with your DCOM application(s). Furthermore, previous experience shows that a minimum of 100 ports should be opened, because several system services rely on these RPC ports to communicate with each other.

Note The minimum number of ports may differ from computer to computer and depends on the configuration of the computer.

Back to the top
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
167128 (http://support.microsoft.com/kb/167128/) Network ports used by remote helpdesk functions
179442 (http://support.microsoft.com/kb/179442/) How to configure a firewall for domains and trusts
263293 (http://support.microsoft.com/kb/263293/) Windows 2000 NAT does not translate Netlogon traffic
319553 (http://support.microsoft.com/kb/319553/) How to restrict FRS replication traffic to a specific static port
224196 (http://support.microsoft.com/kb/224196/) Restricting Active Directory replication traffic and client RPC traffic to a specific port
If you use Windows Server 2003, you can use the RPC Configuration Tool (RPCCfg.exe) from the Windows Server 2003 Resource Kit to complete the process that is described in this article. To obtain the RPC Configuration Tool, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0f9cde2f-8632-4da8-ae70-645e1ddaf369&DisplayLang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=0f9cde2f-8632-4da8-ae70-645e1ddaf369&DisplayLang=en)

Back to the top
APPLIES TO
• Microsoft Windows Server 2003, Standard Edition (32-bit x86)
• Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
• Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
• Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
• Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
• Microsoft Windows 2000 Professional Edition
• Microsoft Windows 2000 Server
• Microsoft Windows 2000 Advanced Server
• Microsoft Windows 2000 Datacenter Server
• Microsoft Windows NT Server 4.0 Standard Edition