some info
1. What is SSH (Secure Shell)?
SSH is a cryptographic network protocol used to securely access and manage devices over a network, typically in a remote command-line environment. It provides encrypted communication for secure login and data transfer.
-
Key Features:
- Secure login to remote machines.
- Encrypted communication between client and server.
- Often used for system administration.
-
Example:
Connecting to a remote Linux server to manage files and run commands.
2. What is LDAP (Lightweight Directory Access Protocol)?
LDAP is a protocol used to access and manage directory services, which store and organize information such as users, groups, and devices in a network. It is commonly used for authentication and directory queries.
-
Key Features:
- Used for querying and modifying directory services.
- Commonly integrated into user authentication (e.g., in corporate networks).
- Runs over TCP/IP, typically using port 389 (or 636 for secure LDAP).
-
Example:
Using LDAP to query a corporate directory for employee details or to authenticate users.
3. What is Telnet?
Telnet is an old network protocol used to provide command-line interface (CLI) access to remote devices over a TCP/IP network. It is not secure because it transmits data (including passwords) in plain text.
-
Key Features:
- Provides remote access to a device.
- Unencrypted communication, which poses security risks.
- Runs on port 23.
-
Example:
Accessing a router or server to configure it remotely (though SSH is preferred today due to security concerns).
4. What is SNMP (Simple Network Management Protocol)?
SNMP is a protocol used for managing and monitoring devices on a network, such as routers, switches, printers, and servers. It allows administrators to collect data about the health and performance of network devices.
-
Key Features:
- Used for network monitoring and management.
- Devices like routers and servers can be monitored using SNMP agents.
- Operates on port 161 (for queries) and port 162 (for traps).
-
Example:
Using SNMP to monitor the status of network devices in a data center.
5. What is a Port Number?
A port number is a numeric identifier assigned to specific processes or services running on a networked device. Port numbers allow different types of network traffic (e.g., web traffic, email, file transfer) to be directed to the correct service or application on a device.
-
Key Features:
- Ranges from 0 to 65535; well-known ports (0-1023) are assigned to common services.
- Allows multiple applications to run simultaneously on the same device without conflict.
- Example Ports: HTTP (80), HTTPS (443), FTP (21).
-
Example:
When accessing a website, your browser uses port 80 for HTTP or port 443 for HTTPS.
6. What is DHCP (Dynamic Host Configuration Protocol)?
DHCP is a network protocol used by network devices (like routers) to assign IP addresses and other network configuration parameters (such as default gateway and DNS server) to devices on a network automatically.
-
Key Features:
- Automatically assigns IP addresses to devices on a network.
- Reduces the need for manual IP address configuration.
- Uses UDP port 67 for requests and UDP port 68 for responses.
-
Example:
When you connect a device to a Wi-Fi network, DHCP assigns it an IP address.
7. What is NTP (Network Time Protocol)?
NTP is a protocol used to synchronize the clocks of computers and devices over a network. It ensures that all devices in a network have the correct time, which is crucial for logging, security, and scheduling tasks.
-
Key Features:
- Synchronizes system clocks across devices in a network.
- Uses UDP port 123.
- Can synchronize time over local and wide-area networks (LAN/WAN).
-
Example:
A server synchronizing its clock with an NTP server to ensure accurate timestamps on logs.
8. What is a Socket Address?
A socket address is a combination of an IP address and a port number, used to uniquely identify a network service on a device. It defines where data should be sent or received on a specific machine.
-
Key Features:
- Composed of an IP address and a port number.
- Used by networking protocols to direct data to the correct service or process.
- For IPv4, it looks like IP:Port (e.g., 192.168.1.1:80).
-
Example:
Accessing a web service using the socket address 192.168.1.100:443 (for HTTPS).
Summary Table:
| Term | Definition | Example |
|---|---|---|
| SSH | Secure protocol for remotely accessing and managing devices. | Logging into a remote Linux server for administration. |
| LDAP | Protocol for accessing and managing directory services. | Querying a company’s directory for user information. |
| Telnet | Unsecured protocol for remote access to devices. | Accessing a router's CLI remotely (less common now due to security issues). |
| SNMP | Protocol for monitoring and managing network devices. | Monitoring network devices using an SNMP tool. |
| Port Number | A unique identifier for a specific service or process on a device. | HTTP (port 80), HTTPS (port 443), FTP (port 21). |
| DHCP | Protocol for automatically assigning IP addresses to devices. | Your device receiving an IP address when you connect to Wi-Fi. |
| NTP | Protocol for synchronizing device clocks over a network. | Synchronizing a server's clock with an NTP server. |
| Socket Address | Combination of an IP address and port number used to identify a network service. | Accessing a web service via 192.168.1.100:80. |
Comments
Post a Comment