Windows clients can use Telnet if they connect to a remote Linux server through a CMD window;The CentOS system default Telnet 23 port is off.Server local use nmap IP address-p to view the Telnet status is off;[[email protected] ~]# Nmap 192.168.20.3-p 23Starting Nmap 5.51 (http://nmap.org) at 2016-03-11 09:04 CSTNmap Scan Report for 192.168.20.3Host is up (0.0001
used to manually set the network rate. Generally, a gigabit Nic supports 10 | 100 | 1000. The unit is Mbps.
Usage:Ethtool-s eth0 speed 1000 duplex full autoneg off
Effect:Set the physical port corresponding to the device number eth0 to 1000 Mbps, full duplex mode, and disable automatic negotiation.
2. miI-Tool
MII-tool (this command specifical
established.From the above explanation, we can see that the main difference between the two modes is the data connection is established differently, for the port mode, is the client C on the local open a port and other server s to connect to establish a data connection, and the PASV mode is the server s open a port waiting for client C to establish a data connec
and is managed by ICANN;(2) The client only needs to make sure that the port number is unique on this machine. The client-side slogan is short-lived and is called a temporary port number because of the existence time;(3) Most TCP/IP implementations give a port number between 1024-5000 for the temporary port number. Th
The so-called Port security refers to the software program that can open port , not the port itself. Services and port corresponding to the document /etc/services, commonly used to observe the port of the program has netstat and the Nmap . Netstat: Monitor your
] view plain copy
Netstat-alt
Find the process of a specific port:
[Html] view plain copy
Netstat-phosphatase | grep 8010
View the user name or user id:
[Html] view plain copy
Netstat-altep
Lists the user IDs of tcp in the current process.
[Html] view plain copy
Netstat-altne
Here, if you use the-n and-e options together, the attribute of the User column is the User ID, not the User name. You can use the-ep option to view both the process name and use
The management tool of Linux network performance Three Musketeers This article is an introduction to managing Linux viewing ports, which displays the outgoing headers from each packet and the address from host hostname to port 80.NETSTAT-TLN command is Linux view
In Linux generally use Netstat to view system port usage steps.
The netstat command is a very useful tool for monitoring the TCP/IP network, which shows the routing table, the actual network connection, and each network interface device's
The function of the netstat command is to display network connections, routing tables, and network interface information, al
then provide the IP address to Nmap. The above commands are used for GNU Nux--other systems have different commands for zone transfers.
Other options:
-P
A single port and a range of ports, such as 1-1023, can be represented by hyphens. When both the TCP port and the UDP port are scanned, you can specify the protocol by adding T: or U: before the
in Machine A or machine B. Task 1: forward port forwarding now starts our first task: assume that the database service is installed on host D, and the listening port is 8888, what if I want to directly access the database in host D through host A in the Office domain? This requires the SSH forward port function. In Linux
Four Methods for querying whether a port is occupied in Linux
One interview question uses three different methods to check which process occupies 8080. The familiar methods are netstat and lsof, but what else can be done.
1. netstat or ss Command
Netstat-anlp | grep 80
2. lsof command
This command is used to view the files occupied by the process.
Lsof-I: 80
3. fuser command
The fuser command is the opposit
the hosts in A or b at all.
Task one: Forward port forwarding
Now, let's start with our first task: Assume that host D has a database service on it, and that the listener port is 8888, what if I want to access the database in D host directly from host A in the office domain? This will use the forward port function of SSH. First of all, in
domain? This requires the SSH forward port function. In Linux, all port forwarding operations can be completed by using the built-in tool ssh. The command to complete Task 1 is simple, as shown below: 1ssh-L 8000: host-d.prod.mycompany.com: 8888 oracle@host-c.prod.mycompany.com-N now explains the above command: Parame
want to directly access the database in host D through host a in the office domain? This requires the SSH forward port function. In Linux, all port forwarding operations can be completed by using the built-in tool ssh.
The command to complete Task 1 is as follows:
1
SSH -L 8000: host-d.prod.mycompan
user.In addition, if you want to access the network, also open the Linux firewall:[Email protected] html]# Vim/etc/sysconfig/iptables[Email protected] html]# service iptables restartRestart Apache.Related information:Starting httpd Permission denied Make_sock could not bind to address2010 year January 19 Tuesday 11:33in Fedora Core 5/6 and RHEL 5. We have made it easier to customize certain common parts of SELinux. In previous releases of the SELinux
changed to the following:
Port 22
Port 999
Save and exit
Run/etc/init. d/sshd restart
In this way, the SSH port will work on both 22 and 999.
Now edit the firewall configuration: vi/etc/sysconfig/iptables
Port 999 is enabled.
Run/etc/init. d/iptables restart
Now, use the ssh tool
[RK_2014_0904] test whether the serial port works normally in Linux. rk_2014_0904linux
I. Test Environment
PC1: Win8, run serial port debugging tool: USR-TCP232-Test.exe;
PC2: Ubuntu14.04;
"USB to serial port" is used between PC1 and PC2;
The USB to serial
installation package.2) Enter/USR/SRC/JOHN.../SRC, execute make clean linux-x86-64 install John.3) Set up test user Zhangsan, password 123;lisi, password 12344) Copy/etc/shadow (user password file) to/root/shadow, perform/usr/src/john.../run/john scan/root/shadow file.5) The following results are obtained2. Port scan1) Locate the disk in the Nmap RPM package, an
In Linux, the default SSH port number is 22, because this is known as the port number, once the intruder to scan the port of 22 port, we immediately know that this is the port number fo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.