ubaTaeCJ
How do you find the IP address of a computer on Linux?
How do you find the IP address of a computer on Linux?
ip address (ip a)
ifconfig (deprecated)
What is a way that you can test to see if you are able to access a computer on a network?
What is a way that you can test to see if you are able to access a computer on a network?
ping -v4 <IP Address>
nmap <IP Address>
In the string, "192.168.2.1/24", What does "/24" represent?
In the string, "192.168.2.1/24", What does "/24" represent?
CIDR Notation (Classless Inter-Domain Routing)
192.168.2.1/24 represents the IPv4 address 192.168.2.1 and its associated routing prefix 192.168.2.0, or equivalently, its subnet mask 255.255.255.0, which has 24 leading 1-bits.
DHCP assigns IP address... but what else can it define?
DHCP assigns IP address... but what else can it define?
- Hostnames
- Custom Routing
- Default Gateways
- Subnet
- DNS
- Default Domain
What command would you use to figure out MAC to IP/hostname correlations?
What command would you use to figure out MAC to IP/hostname correlations?
arp (being deprecated)
ip neighbor
What is IPTables?
A user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall and the chains and rules it stores.
What are basic chains that IPTables is usually setup with?
What are basic chains that IPTables is usually setup with?
PREROUTING: Packets will enter this chain before a routing decision is made.
INPUT: Packet is going to be locally delivered. It does not have anything to do with processes having an opened socket; local delivery is controlled by the "local-delivery" routing table: ip route show table local.
FORWARD: All packets that have been routed and were not for local delivery will traverse this chain.
OUTPUT: Packets sent from the machine itself will be visiting this chain.
POSTROUTING: Routing decision has been made. Packets enter this chain just before handing them off to the hardware.
What command would you use to save the current ruleset in IPTables?
What command would you use to save the current ruleset in IPTables?
iptables-save > /etc/iptables/iptables.rules
What command would you use to open port 80 on the current machine?
What command would you use to open port 80 on the current machine?
iptables -A INPUT -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
What command would you use to redirect incoming traffic from port 80 to another machine?
What command would you use to redirect incoming traffic from port 80 to another machine?
iptables -A PREROUTING -d <incoming ip interface>/32 -p tcp -m multiport --dports 22,80,443,6667,3000 -j DNAT --to-destination <to ip address>
iptables -A POSTROUTING -s <to ip address>/32 -o <Interface name> -j SNAT --to-source <incoming ip interface>
What does BASH mean?
This famous string ":(){ :|: & };:", is also known as...
This famous string ":(){ :|: & };:", is also known as...
Fork Bomb
:() means you are defining a function called :
{:|: &} means run the function : and send its output to the : function again and run that in the background.
The ; is a command separator, like && .
: runs the function the first time.
What is the linux equivalent to making a shortcut to a file in another location?
What is the linux equivalent to making a shortcut to a file in another location?
ln -s TARGET LINK_NAME
ln - make links between files
-s - Specifies to make a soft link
What does this command do?
`chmod 123 filename`
What does this command do?
`chmod 123 filename`
Change the permission on the "filename":
Owner: Execute Only
Group: Write Only
Others: Write and Execute
(This is a weird permission set... don't actually use this.)
The common tool "touch" can be used to create a file, however what is the original intent for this tool?
The common tool "touch" can be used to create a file, however what is the original intent for this tool?
Modify date modified of a file.
What is the process of connecting RJ-45 to CAT cables called?
What is the process of connecting RJ-45 to CAT cables called?
Why are most CAT cables come as twisted pairs?
Why are most CAT cables come as twisted pairs?
Twisting pairs of wires helps mitigate noise and interference from outside sources.
What is the common wiring standard for ordering the twisted pairs in a RJ-47 connector called?
What is the common wiring standard for ordering the twisted pairs in a RJ-47 connector called?
What is the difference between registered and unregistered memory?
What is the difference between registered and unregistered memory?
Registered (also called buffered) memory modules have a register between the DRAM modules and the system's memory controller. They place less electrical load on the memory controller and allow single systems to remain stable with more memory modules than they would have otherwise.
Conventional memory is usually referred to as unbuffered memory or unregistered memory.
What modules to server need to provide out-of-band remote managment?
What modules to server need to provide out-of-band remote managment?
IPMI (Intelligent Platform Management Interface)
HP: LightsOut
Dell: DRAC (Dell Remote Access Controller)
What tool would you use to figure out processes running on a machine?
What tool would you use to figure out processes running on a machine?
What common linux command would you use to find out how long this computer has been on?
What common linux command would you use to find out how long this computer has been on?
What common server daemon would you use to administrate a linux computer remotely with?
What common server daemon would you use to administrate a linux computer remotely with?
What command would you use to figure out pci devices connected to your linux computer?
What command would you use to figure out pci devices connected to your linux computer?
Freebie: Name your favorite command to use.
Freebie: Name your favorite command to use.
Freebie! Any answer is okay!
How many physical servers does ACM have and are in use right now!?
How many physical servers does ACM have and are in use right now!?
43 active physical servers right now.
Team 1 |
|
|
|
|
Team 2 |
|
|
|
|
Team 3 |
|
|
|
|
Team 4 |
|
|
|
|
Team 5 |
|
|
|
|
Team 6 |
|
|
|
|
Team 7 |
|
|
|
|
Team 8 |
|
|
|
|
Team 9 |
|
|
|
|
Team 10 |
|
|
|
|
What Would You Like To Risk?
Team 1 |
|
|
|
|
Team 2 |
|
|
|
|
Team 3 |
|
|
|
|
Team 4 |
|
|
|
|
Team 5 |
|
|
|
|
Team 6 |
|
|
|
|
Team 7 |
|
|
|
|
Team 8 |
|
|
|
|
Team 9 |
|
|
|
|
Team 10 |
|
|
|
|
Go To The Final Question
Final Score:
Team 1 |
|
|
|
|
Team 2 |
|
|
|
|
Team 3 |
|
|
|
|
Team 4 |
|
|
|
|
Team 5 |
|
|
|
|
Team 6 |
|
|
|
|
Team 7 |
|
|
|
|
Team 8 |
|
|
|
|
Team 9 |
|
|
|
|
Team 10 |
|
|
|
|
Edit This Game:
|
|