Cisco Packet Mayhem 00

From VoidWarranties - Hackerspace Antwerp, Belgium
(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by one user not shown)
Line 19: Line 19:
 
<br>
 
<br>
 
<br>
 
<br>
===Proposed software===
+
=Proposed software=
 +
*Packettracer
 +
*
  
===available hardware===
+
=Available hardware=
3x managed Cisco switch
+
*3x managed Cisco switch <br>
2x Cisco 806
+
*2x Cisco 806 <br>
4x Cisco 87x
+
*4x Cisco 87x <br>
1x Cisco 26xx
+
*1x Cisco 26xx <br>
 +
*
 +
<br><br>
  
 
+
=example code=
===example code===
+
<br>
 
<pre>
 
<pre>
Current configuration : 1819 bytes
+
Current configuration : xxxx bytes
 
!
 
!
version x.x
+
version xx.x
 +
no service pad
 +
service tcp-keepalives-in
 +
service tcp-keepalives-out
 
service timestamps debug datetime msec
 
service timestamps debug datetime msec
 
service timestamps log datetime msec
 
service timestamps log datetime msec
 
no service password-encryption
 
no service password-encryption
 +
service sequence-numbers
 
!
 
!
hostname xxxxxx
+
hostname xxxxx
 
!
 
!
 
boot-start-marker
 
boot-start-marker
Line 43: Line 51:
 
!
 
!
 
logging buffered 51200 warnings
 
logging buffered 51200 warnings
 +
logging console critical
 
!
 
!
 
no aaa new-model
 
no aaa new-model
Line 48: Line 57:
 
resource policy
 
resource policy
 
!
 
!
 +
no ip source-route
 
ip cef
 
ip cef
 
!
 
!
 
!
 
!
 +
ip tcp synwait-time 10
 
no ip dhcp use vrf connected
 
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.x.200 192.168.x.254
+
ip dhcp excluded-address 192.168.xx.200 192.168.xx.254
 
!
 
!
 
ip dhcp pool pool
 
ip dhcp pool pool
   network 192.168.x.0 255.255.255.0
+
   network 192.168.xx.0 255.255.255.0
   default-router 192.168.x.254
+
   default-router 192.168.xx.254
 
   dns-server 208.67.222.222 208.67.220.220
 
   dns-server 208.67.222.222 208.67.220.220
   domain-name xxxx.xxxx.be
+
   domain-name xxx.xx
 
!
 
!
 
!
 
!
 +
no ip bootp server
 
no ip domain lookup
 
no ip domain lookup
ip domain name xxxxx.xxxxx.be
+
ip domain name xxx.xx
 
ip ssh authentication-retries 5
 
ip ssh authentication-retries 5
 
!
 
!
 
!
 
!
 
!
 
!
username xxxx privilege 15 secret 5 xxxxxxxxxxxxxxxxxxxxxxxxxx
+
username xxxx privilege 15 secret 5 $xxxxx$jxxxxHk.MuNhNxxxxxVJ/
 
archive
 
archive
 
  log config
 
  log config
Line 79: Line 91:
 
!
 
!
 
interface FastEthernet0/0
 
interface FastEthernet0/0
  description LAN$ES_LAN$
+
  description LAN
  ip address 192.168.x.x 255.255.255.0
+
  ip address 192.168.x.254 255.255.255.0
 +
no ip redirects
 +
no ip unreachables
 +
no ip proxy-arp
 
  ip nat inside
 
  ip nat inside
 
  ip virtual-reassembly
 
  ip virtual-reassembly
 +
ip route-cache flow
 
  speed 100
 
  speed 100
 
  full-duplex
 
  full-duplex
 +
no mop enabled
 
!
 
!
 
interface FastEthernet0/1
 
interface FastEthernet0/1
 
  description WAN
 
  description WAN
 
  ip address dhcp
 
  ip address dhcp
 +
no ip redirects
 +
no ip unreachables
 +
no ip proxy-arp
 
  ip nat outside
 
  ip nat outside
 
  ip virtual-reassembly
 
  ip virtual-reassembly
 +
ip route-cache flow
 
  speed 100
 
  speed 100
 
  full-duplex
 
  full-duplex
 +
no mop enabled
 
!
 
!
 
interface FastEthernet0/1/0
 
interface FastEthernet0/1/0
Line 104: Line 126:
 
interface Vlan1
 
interface Vlan1
 
  no ip address
 
  no ip address
 +
no ip redirects
 +
no ip unreachables
 +
no ip proxy-arp
 +
ip route-cache flow
 
!
 
!
 
!
 
!
 
!
 
!
ip http server
+
no ip http server
 
ip http access-class 23
 
ip http access-class 23
 
ip http authentication local
 
ip http authentication local
Line 113: Line 139:
 
ip http timeout-policy idle 60 life 86400 requests 10000
 
ip http timeout-policy idle 60 life 86400 requests 10000
 
ip nat inside source list 102 interface FastEthernet0/1 overload
 
ip nat inside source list 102 interface FastEthernet0/1 overload
ip nat inside source static tcp 192.160.x.255 80 interface FastEthernet0/1 80
+
ip nat inside source static tcp 192.168.x.231 80 interface FastEthernet0/1 80
 +
!
 +
ip access-list extended forwards
 +
permit tcp any host 192.168.x.231 eq www
 
!
 
!
 +
logging trap debugging
 
access-list 102 permit ip 192.168.x.0 0.0.0.255 any
 
access-list 102 permit ip 192.168.x.0 0.0.0.255 any
access-list 102 permit tcp any host 192.168.x.x eq www
+
no cdp run
 
!
 
!
 
!
 
!

Latest revision as of 18:13, 14 January 2012

Note: this article is about a passed event.

Cisco Packet Mayhem 00
Cisco workgroupe
Cisco CCNA Logo512.png
From 2012/01/14 08:00:00 PM
to 2012/01/14 11:59:59 PM
Attendees (4):
Jobj, Tom, Kefcom, TomD
Type:
Workgroup
Category:
Coding
Location:
Den Bunker

Herrystraat 22, Deurne, Belgium

Cost:
0


Contents

Agenda points



Proposed software

Available hardware



example code


Current configuration : xxxx bytes
!
version xx.x
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
!
hostname xxxxx
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
logging console critical
!
no aaa new-model
!
resource policy
!
no ip source-route
ip cef
!
!
ip tcp synwait-time 10
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.xx.200 192.168.xx.254
!
ip dhcp pool pool
   network 192.168.xx.0 255.255.255.0
   default-router 192.168.xx.254
   dns-server 208.67.222.222 208.67.220.220
   domain-name xxx.xx
!
!
no ip bootp server
no ip domain lookup
ip domain name xxx.xx
ip ssh authentication-retries 5
!
!
!
username xxxx privilege 15 secret 5 $xxxxx$jxxxxHk.MuNhNxxxxxVJ/
archive
 log config
  hidekeys
!
!
crypto isakmp nat keepalive 30
!
no crypto ipsec nat-transparency udp-encaps
!
!
interface FastEthernet0/0
 description LAN
 ip address 192.168.x.254 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nat inside
 ip virtual-reassembly
 ip route-cache flow
 speed 100
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 description WAN
 ip address dhcp
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nat outside
 ip virtual-reassembly
 ip route-cache flow
 speed 100
 full-duplex
 no mop enabled
!
interface FastEthernet0/1/0
!
interface FastEthernet0/1/1
!
interface FastEthernet0/1/2
!
interface FastEthernet0/1/3
!
interface Vlan1
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip route-cache flow
!
!
!
no ip http server
ip http access-class 23
ip http authentication local
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat inside source list 102 interface FastEthernet0/1 overload
ip nat inside source static tcp 192.168.x.231 80 interface FastEthernet0/1 80
!
ip access-list extended forwards
 permit tcp any host 192.168.x.231 eq www
!
logging trap debugging
access-list 102 permit ip 192.168.x.0 0.0.0.255 any
no cdp run
!
!
!
!
control-plane
!
!
!
line con 0
 login local
line aux 0
line vty 0 4
 access-class 23 in
 privilege level 15
 login local
 transport input ssh
!
scheduler allocate 20000 1000
end

Meeting notes

Join note taking during the meeting: http://piratepad.be/p/VoidWarranties



Facts about Cisco Packet Mayhem 00RDF feed
Has CategoryCoding  +
Has Void orgtrue  +
Has attendeeJobj  +, Tom  +, Kefcom  +, and TomD  +
Has attendee amount4  +
Has cost0  +
Has descriptionCisco workgroupe
Has end date14 January 2012 23:59:59  +
Has event typeWorkgroup  +
Has locationDen Bunker  +
Has start date14 January 2012 20:00:00  +
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Content Creation
Belgian Spaces