![]() |
| Team | Name | CSNET Domain Names | IP Addresses | Assigned DMZ LAN Subnet | Assigned Intranet LAN Subnet | VMWare host |
|---|---|---|---|---|---|---|
| 1 | Almurayh, Abdullah Saeed | aalmuray, aalmuray2, aalmuray3, aalmuray4 | 128.198.62.211-214 | 172.16.11.0/24 | 10.0.11.0/24 | a-212-01 |
| 1 | Alqahtani, Mohammed Saeed | malqahta, malqahta2, malqahta3, malqahta4 | 128.198.62.215-218 | 172.16.15.0/24 | 10.0.15.0/24 | a-212-01 |
| 2 | Cordova, Raymond Lee | rcordova, rcordova2, rcordova3, rcordova4 | 128.198.62.19-22 | 172.16.19.0/24 | 10.0.19.0/24 | a-212-01 |
| 2 | Cormier, Paul Gerard | pcormier, pcormier2, pcormier3, pcormier4 | 128.198.62.23-26 | 172.16.23.0/24 | 10.0.23.0/24 | a-212-01 |
| 3 | Crowther, Brandon Glade | bcrowthe, bcrowthe2, bcrowthe3, bcrowthe4 | 128.198.62.27-30 | 172.16.27.0/24 | 10.0.27.0/24 | a-212-01 |
| 3 | Erickson, Derrick Scott | derickso, derickso2, derickso3, derickso4 | 128.198.62.31-34 | 172.16.31.0/24 | 10.0.31.0/24 | a-212-01 |
| 4 | Gray, Nicole Kayzie | nbrown3, nbrown32, nbrown33, nbrown34 | 128.198.62.35-38 | 172.16.35.0/24 | 10.0.35.0/24 | a-212-02 |
| 4 | Hausman, Michael Aaron | mhausman, mhausman2, mhausman3, mhausman4 | 128.198.62.39-42 | 172.16.39.0/24 | 10.0.39.0/24 | a-212-02 |
| 5 | Hernandez, Joseph Edward | jhernan2, jhernan22, jhernan23, jhernan24 | 128.198.62.43-46 | 172.16.43.0/24 | 10.0.43.0/24 | a-212-02 |
| 5 | Hinson, Jeffrey Scott | jhinson, jhinson2, jhinson3, jhinson4 | 128.198.62.47-50 | 172.16.47.0/24 | 10.0.47.0/24 | a-212-02 |
| 6 | Huynh, Philip Huu | phuynh, phuynh2, phuynh3, phuynh4 | 128.198.62.51-54 | 172.16.51.0/24 | 10.0.51.0/24 | a-212-02 |
| 6 | Jahnke, Shane Rulon | sjahnke, sjahnke2, sjahnke3, sjahnke4 | 128.198.62.55-58 | 172.16.55.0/24 | 10.0.55.0/24 | a-212-02 |
| 7 | Jewell, Jeffrey Howard | jjewell, jjewell2, jjewell3, jjewell4 | 128.198.62.59-62 | 172.16.59.0/24 | 10.0.59.0/24 | a-212-03 |
| 7 | Kopps, Michael John | mkopps, mkopps2, mkopps3, mkopps4 | 128.198.62.63-66 | 172.16.63.0/24 | 10.0.63.0/24 | a-212-03 |
| 8 | Lama, Palden | plama, plama2, plama3, plama4 | 128.198.62.67-70 | 172.16.67.0/24 | 10.0.67.0/24 | a-212-03 |
| 8 | Liptak, Jason Jeffrey | jliptak, jliptak2, jliptak3, jliptak4 | 128.198.62.71-74 | 172.16.71.0/24 | 10.0.71.0/24 | a-212-03 |
| 9 | Logan, James Phillip | jlogan, jlogan2, jlogan3, jlogan4 | 128.198.62.75-78 | 172.16.75.0/24 | 10.0.75.0/24 | a-212-03 |
| 9 | Magby, John Arthur | jmagby, jmagby2, jmagby3, jmagby4 | 128.198.62.79-82 | 172.16.79.0/24 | 10.0.79.0/24 | a-212-03 |
| 10 | Magee, Anthony William | amagee, amagee2, amagee3, amagee4 | 128.198.62.83-86 | 172.16.83.0/24 | 10.0.83.0/24 | a-212-04 |
| 10 | Mccullough, Clifford Allen | cmccullo, cmccullo2, cmccullo3, cmccullo4 | 128.198.62.87-90 | 172.16.87.0/24 | 10.0.87.0/24 | a-212-04 |
| 11 | Meadows, Harold Brett | hmeadows, hmeadows2, hmeadows3, hmeadows4 | 128.198.62.91-94 | 172.16.91.0/24 | 10.0.91.0/24 | a-212-04 |
| 11 | Menozzi, Michael Jason | mmenozzi, mmenozzi2, mmenozzi3, mmenozzi4 | 128.198.62.95-98 | 172.16.95.0/24 | 10.0.95.0/24 | a-212-04 |
| 12 | Namburu, Mounika | mnamburu, mnamburu2, mnamburu3, mnamburu4 | 128.198.62.99-102 | 172.16.99.0/24 | 10.0.99.0/24 | a-212-04 |
| 12 | Nguyen, Lan Le | lnguyen2, lnguyen22, lnguyen23, lnguyen24 | 128.198.62.103-106 | 172.16.103.0/24 | 10.0.103.0/24 | a-212-04 |
| 13 | Nguyen, Minh Thy | mnguyen4, mnguyen42, mnguyen43, mnguyen44 | 128.198.62.107-110 | 172.16.107.0/24 | 10.0.107.0/24 | se-a-210-05 |
| 13 | Parks, Brian Christopher | bparks, bparks2, bparks3, bparks4 | 128.198.62.111-114 | 172.16.111.0/24 | 10.0.111.0/24 | se-a-210-05 |
| 14 | Sanchez-vasquez, Phillip Troy | pgurule, pgurule2, pgurule3, pgurule4 | 128.198.62.115-118 | 172.16.115.0/24 | 10.0.115.0/24 | se-a-210-05 |
| 14 | Sapkota, Archana | asapkota, asapkota2, asapkota3, asapkota4 | 128.198.62.119-122 | 172.16.119.0/24 | 10.0.119.0/24 | se-a-210-05 |
| 15 | Shuster, Christopher Michael | cshuster, cshuster2, cshuster3, cshuster4 | 128.198.62.123-126 | 172.16.123.0/24 | 10.0.123.0/24 | se-a-210-05 |
| 15 | Spence, Terry James | tspence, tspence2, tspence3, tspence4 | 128.198.62.127-130 | 172.16.127.0/24 | 10.0.127.0/24 | se-a-210-05 |
| 16 | Stroud, Benjamin Scott | bstroud, bstroud2, bstroud3, bstroud4 | 128.198.62.131-134 | 172.16.131.0/24 | 10.0.131.0/24 | se-a-210-05 |
| 16 | Ujvarosy, Gareth Richard | gujvaros, gujvaros2, gujvaros3, gujvaros4 | 128.198.62.135-138 | 172.16.135.0/24 | 10.0.135.0/24 | se-a-210-05 |
| 17 | Chow, Edward | chow, chow2, chow3, chow4 | 128.198.62.139-142 | 172.16.139.0/24 | 10.0.139.0/24 | se-a-210-05 |
| 17 | CS591 | cs591, cs5912, cs5913, cs5914 | 128.198.62.143-146 | 172.16.143.0/24 | 10.0.143.0/24 | se-a-210-05 |
a-212-01.csnet.uccs.edu: 128.198.62.11
a-212-02.csnet.uccs.edu: 128.198.62.12
a-212-03.csnet.uccs.edu: 128.198.62.13
a-212-04.csnet.uccs.edu: 128.198.62.14
se-a-210-05.csnet.uccs.edu: 128.198.62.15
Note that I only configure the DNS server on gandalf.uccs.edu for the above DNS entries. Therefore you need to configure your network settings to point their primary DNS server to gandalf or 128.198.60.194, in order the resolve these DNS names. Each team can use their assigned DNS names, IP addresses, and DMZ/intranet subnet addresses for their exercises. Note that you only have the remote desktop connection and vmware server access to those designed vmware hosts. If your team prefers to use a specific vmware host, let me know what additional accesses if you need.
Make sure you suspend the virtual machines each time you finish your experiment.
Configure network interfaces of the virtual machine
# line, and change only the value of the NAME= key.
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:d2:b9:bc", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:42:4e:8d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:42:4e:83", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:42:4e:97", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"
By examining the configuration of network adpator 1 (click Network Aadpator 1 icon on the summary tab of chowU9FWout), # PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:42:4e:83", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
to
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:42:4e:83", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
similar we can map mac address of the network adapter 2
to eth1, and that of network adapter 3 to eth2.
once the /etc/udev/rules.d/70-persistent-net.rules is edited, reboot the machine. You should
eth0, eth1, and eth2 map properly to network adapter 1, 2, and 3.
csnet@beta:~$ sudo bash
[sudo] password for csnet:
root@beta:~# ifconfig -a
eth3 Link encap:Ethernet HWaddr 00:0c:29:1a:45:34
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:117 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15202 (14.8 KB) TX bytes:8988 (8.7 KB)
Interrupt:16 Base address:0x1400
eth4 Link encap:Ethernet HWaddr 00:0c:29:1a:45:34
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18 Base address:0x1800
eth5 Link encap:Ethernet HWaddr 00:0c:29:1a:45:2a
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17 Base address:0x1480
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:90 errors:0 dropped:0 overruns:0 frame:0
TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10260 (10.0 KB) TX bytes:10260 (10.0 KB)
root@beta:~# ifconfig et5 172.16.77.1 netmask 255.255.255.0
root@beta:~# ifconfig eth3 128.198.62.77 netmask 255.255.255.0
root@beta:~# route add default gw 128.198.61.1
root@beta:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
128.198.61.0 0.0.0.0 255.255.255.128 U 0 0 0 eth3
172.16.77.0 0.0.0.0 255.255.255.0 U 0 0 0 eth5
0.0.0.0 128.198.62.1 0.0.0.0 UG 0 0 0 eth3
root@beta:~# ifconfig eth4 172.16.77.1 netmask 255.255.255.0
root@beta:~# ifconfig eth3 128.198.62.77 netmask 255.255.255.0
root@beta:~# route add default gw 128.198.62.1
root@beta:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
128.198.62.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
172.16.77.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4
0.0.0.0 128.198.62.1 0.0.0.0 UG 0 0 0 eth3
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#iface eth0 inet dhcp
auto eth3
iface eth3 inet static
address 128.198.62.77
netmask 255.255.255.0
gateway 128.198.62.1
# eth4
auto eth4
iface eth4 inet static
address 172.16.77.1
netmask 255.255.255.0
root@chow_FWout:~# ifconfig -a
eth3 Link encap:Ethernet HWaddr 00:0c:29:fc:cf:13
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17 Base address:0x1400
eth4 Link encap:Ethernet HWaddr 00:0c:29:fc:cf:1d
inet addr:10.0.77.1 Bcast:10.0.77.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fefc:cf1d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11413 (11.1 KB) TX bytes:5905 (5.7 KB)
Interrupt:18 Base address:0x1480
eth5 Link encap:Ethernet HWaddr 00:0c:29:fc:cf:27
inet addr:172.16.77.3 Bcast:172.16.77.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fefc:cf27/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:375 errors:0 dropped:0 overruns:0 frame:0
TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35225 (34.3 KB) TX bytes:31047 (30.3 KB)
Interrupt:19 Base address:0x1800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2348 (2.2 KB) TX bytes:2348 (2.2 KB)
root@chow_ufw2:~# cat /proc/sys/net/ipv4/ip_forward
1
root@chow_ufw2:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.77.0 0.0.0.0 255.255.255.0 U 0 0 0 eth5
10.0.77.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4
0.0.0.0 172.16.77.1 0.0.0.0 UG 0 0 0 eth5
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth4
#BOOTPROTO=dhcp
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
NETMASK=255.255.255.0
IPADDR=172.16.77.2
GATEWAY=172.16.77.1
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
IPV6INIT=no
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1 fc22.csnet.uccs.edu fc11 localhost.localdomain localhost localhost
172.16.77.2 jlogan.csnet.uccs.edu jlogan localhost.localdomain localhost localhost
::1 localhost6.localdomain6 localhost6
You should satisfy the httpd.
root@rwhite2_fc9 ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
Message: Access denied with code 400 (phase 2). Pattern match "^[\\d\\.]+$" at REQUEST_HEADERS:Host. [id "960017"] [msg "Host header is a numeric IP address"] [severity "CRITICAL"]
Action: Intercepted (phase 2)
Stopwatch: 1227281695740933 1332 (685 1003 -)
Producer: ModSecurity v2.1.6 (Apache 2.x)
Server: Apache/2.2.8 (Fedora)
iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP
$IPTABLES -A bad_tcp_packets -p tcp --tcp-flags SYN,ACK SYN,ACK \
-m state --state NEW -j REJECT --reject-with tcp-reset
$IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j LOG \
--log-prefix "New not syn:"
$IPTABLES -A bad_tcp_packets -p tcp ! --syn -m state --state NEW -j DROP