Skip to main content

networks nd networking 2

Network Topologies
•There are three main local area network (LAN) topologies:
Bus
Star
Ring
•Other network topologies include:
Mesh
Wireless


What is a server?
•Server is a machine which provides services to the nodes or computers in a network and those computers using services are known as client machines.
•For each any every service client have to request to the server.


Client Server Model


  Servers
•Computers or processes that manage network resources
Disk drives (file servers)
Printers (print servers)
Network traffic (network servers)
•Example: Database Server
A computer system that processes database queries


Clients
•Application that run on a computer
•Rely on a server for
Files
Devices
Processing power
•Example: E-mail client
An application that enables you to send and receive e-mail


Types of Servers
•Application Servers
•Audio/Video Servers
•Chat Servers
•Fax Servers
•FTP Servers
•Groupware Servers
•IRC Servers
•List Servers
•Mail Servers
•News Servers
•Proxy Servers
•Telnet Servers
•Web Servers
•Etc.


Server or Services
•DNS is Domain name system/server/service but most of the people say that DNS is a Domain name server, it is a service and when anyone use the service from a machine then the machine or system is known as DNS server, because at that time that system is providing service to the client machine.
•Same as DHCP, FTP, Telnet, etc they all are services and whenever we use the services from the particular machine they’re known as the servers



 Types of address in a computer
•Logical address.
IP address
•Physical address.
MAC address


 What is an IP address?
•Numerical label assigned to devices participating in network that uses IP for communicating amongst themselves.
•Example: 192.168.1.3


 Types Of IP address
•IP V4
32 bit IP address.
•IP V6
128 bit IP address.


Main Classes of IP addresses:
•A class: 1 – 126 (describe here in very short)
•B class: 128 – 191
•C class: 192 – 223
•D Class:
•E Class:


Other range of IP addresses:
•D Class: 224 – 239
Used for multicasting.
•E Class: 240-255
Used for Research and Development (R&D).


Special IP Addresses

 •127.0.0.0 Universal loop back address.
•169.254.0.0 APIPA (Automated private IP Addressing)
•Private IP Address Range
▫192.168.*.*
▫172.16*.*.*
▫10.*.*.*
•0.*.*.*


Subnet mask
•It shows the number of Network and hosts.
 Say for
C class: IP Address: 192.168.10.23
Default Subnet mask: 255.255.255.0
•Why we use it? (Answer it)


Default gateway
•Default gateway is the IP address of the machine or system, through which you’re able to use the Internet network.
•To access the default gateway, type the IP address of the system in URL bar.
•Example: http://192.168.1.23


To know your IP address
•Step 1: Open cmd
•Step 2: C:/ipconfig
or
ipconfig \all


 IP v4 IPv6
•32 – bit address
•Dotted decimal notation: 192.168.1.2
•Number of addresses:
4.2 billion
•128 – bit address
•Hexadecimal notation 3FEE:FAAA:0093:BDBD:AAC3:345C:03AB:003E
•Number of addresses:
3.4×1038


Port
•A logical number allow software applications to share hardware resources without interfering each other.
•Example:
Port# 22 – SSH
Port# 80 – HTTP
Port# 443 – HTTPS
Port# 21 – FTP


Programming Language
•Artificial language designed to express computations that can be performed by a machine, particularly a computer
•Programming loopholes
•The flaws in the programming which can be exploited.
•Most of the attacks are nothing but loopholes of some kind


Types of programming languages:
•C
•C++
•Java
•ASP
•PHP
•Perl
•Python
•Shell scripting




Comments

Popular posts from this blog

MITM using Ettercap

Man In The Middle Attack The man-in-the-middle attack (also known as a bucket-brigade attack and abbreviated MITM) is a form of active eavesdropping in which the attacker makes independent connections with the victims and relays messages between them, making them believe that they are talking directly to each other over a private connection when in fact the entire conversation is controlled by the attacker. Ettercap Ettercap is a suite for man in the middle attacks on LAN (local area network). It features sniffing of live connections, content filtering on the fly and many other interesting tricks. It supports active and passive dissection of many protocols (even ciphered ones) and includes many feature for network and host analysis. In this tutorial i will explain how to sniff (user names,passwords) in LAN using Ettercap Configuring Ettercap for the Attack We will be using Ettercap to perform the MiTM attack, but to do so, we will have to set up Ettercap to use IPTables to forwa...

METASPLOIT

Tʜᴇ Mᴇᴛᴀsᴘʟᴏɪᴛ Pʀᴏᴊᴇᴄᴛ ɪs ᴀ ᴄᴏᴍᴘᴜᴛᴇʀ sᴇᴄᴜʀɪᴛʏ ᴘʀᴏᴊᴇᴄᴛ ᴛʜᴀᴛ ᴘʀᴏᴠɪᴅᴇs ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ ᴀʙᴏᴜᴛ sᴇᴄᴜʀɪᴛʏ ᴠᴜʟɴᴇʀᴀʙɪʟɪᴛɪᴇs ᴀɴᴅ ᴀɪᴅs ɪɴ ᴘᴇɴᴇᴛʀᴀᴛɪᴏɴ ᴛᴇsᴛɪɴɢ ᴀɴᴅ IDS sɪɢɴᴀᴛᴜʀᴇ ᴅᴇᴠᴇʟᴏᴘᴍᴇɴᴛ. Iᴛ ɪs ᴏᴡɴᴇᴅ ʙʏ Bᴏsᴛᴏɴ, Mᴀssᴀᴄʜᴜsᴇᴛᴛs-ʙᴀsᴇᴅ sᴇᴄᴜʀɪᴛʏ ᴄᴏᴍᴘᴀɴʏ Rᴀᴘɪᴅ7. Iᴛs ʙᴇsᴛ-ᴋɴᴏᴡɴ sᴜʙ-ᴘʀᴏᴊᴇᴄᴛ ɪs ᴛʜᴇ ᴏᴘᴇɴ-sᴏᴜʀᴄᴇ Mᴇᴛᴀsᴘʟᴏɪᴛ Fʀᴀᴍᴇᴡᴏʀᴋ, ᴀ ᴛᴏᴏʟ ꜰᴏʀ ᴅᴇᴠᴇʟᴏᴘɪɴɢ ᴀɴᴅ ᴇxᴇᴄᴜᴛɪɴɢ ᴇxᴘʟᴏɪᴛ ᴄᴏᴅᴇ ᴀɢᴀɪɴsᴛ ᴀ ʀᴇᴍᴏᴛᴇ ᴛᴀʀɢᴇᴛ ᴍᴀᴄʜɪɴᴇ. Oᴛʜᴇʀ ɪᴍᴘᴏʀᴛᴀɴᴛ sᴜʙ-ᴘʀᴏᴊᴇᴄᴛs ɪɴᴄʟᴜᴅᴇ ᴛʜᴇ Oᴘᴄᴏᴅᴇ Dᴀᴛᴀʙᴀsᴇ, sʜᴇʟʟᴄᴏᴅᴇ ᴀʀᴄʜɪᴠᴇ ᴀɴᴅ ʀᴇʟᴀᴛᴇᴅ ʀᴇsᴇᴀʀᴄʜ. Tʜᴇ Mᴇᴛᴀsᴘʟᴏɪᴛ Pʀᴏᴊᴇᴄᴛ ɪɴᴄʟᴜᴅᴇs ᴀɴᴛɪ-ꜰᴏʀᴇɴsɪᴄ ᴀɴᴅ ᴇᴠᴀsɪᴏɴ ᴛᴏᴏʟs, sᴏᴍᴇ ᴏꜰ ᴡʜɪᴄʜ ᴀʀᴇ ʙᴜɪʟᴛ ɪɴᴛᴏ ᴛʜᴇ Mᴇᴛᴀsᴘʟᴏɪᴛ Fʀᴀᴍᴇᴡᴏʀᴋ. Mᴇᴛᴀsᴘʟᴏɪᴛ ɪs ᴘʀᴇ-ɪɴsᴛᴀʟʟᴇᴅ ɪɴ ᴛʜᴇ Kᴀʟɪ Lɪɴᴜx ᴏᴘᴇʀᴀᴛɪɴɢ sʏsᴛᴇᴍ.  Tʜᴇ ʙᴀsɪᴄ sᴛᴇᴘs ꜰᴏʀ ᴇxᴘʟᴏɪᴛɪɴɢ ᴀ sʏsᴛᴇᴍ ᴜsɪɴɢ ᴛʜᴇ Fʀᴀᴍᴇᴡᴏʀᴋ ɪɴᴄʟᴜᴅᴇ:     Cʜᴏᴏsɪɴɢ ᴀɴᴅ ᴄᴏɴꜰɪɢᴜʀɪɴɢ ᴀɴ ᴇxᴘʟᴏɪᴛ (ᴄᴏᴅᴇ ᴛʜᴀᴛ ᴇɴᴛᴇʀs ᴀ ᴛᴀʀɢᴇᴛ sʏsᴛᴇᴍ ʙʏ ᴛᴀᴋɪɴɢ ᴀᴅᴠᴀɴᴛᴀɢᴇ ᴏꜰ ᴏɴᴇ ᴏꜰ ɪᴛs ʙᴜɢs; ᴀʙᴏᴜᴛ 900 ᴅɪꜰꜰᴇʀᴇɴᴛ ᴇxᴘʟᴏɪᴛs ꜰᴏʀ Wɪɴᴅᴏᴡs, Uɴɪx/Lɪɴᴜx ᴀɴᴅ Mᴀᴄ OS X sʏsᴛᴇᴍs ᴀʀᴇ ɪɴᴄʟᴜᴅᴇᴅ);     Oᴘᴛɪᴏɴᴀʟʟʏ ᴄʜᴇᴄᴋɪɴɢ ᴡʜᴇᴛʜ...

Windows Hacking

Here we’ll learn how to break an Administrators password or to create an account without knowing the Administrator password. We need a backtrack CD What we’ll do here is, we will change the sticky key file “sethc.exe” file name to “cmd.exe” file so that if we will press the shift button 5 times on the login screen the command prompt will come up. Once the command prompt displayed we can make a user through command and can give the Administrators rights to him. Steps: 1. Insert the CD in CD-ROM Live boot the system through the backtrack O/S, Select the boot priority by pressing F12 CD/DVD After the machine will boot if it will ask you for the login, then the Username = Root Password = toor Type “startx” to change CLI to GUI Once you come to the GUI 2. Open a Terminal Type:#fdisk –l (To check the free disk) 3. #mkdir /mnt/cdrive (To make a directory to mount the cdrive, you can use any name here it is just a folder name) 4. #mount –t ntfs /dev/sda2 /mnt/cdrive (Mount the C...