We use the Cisco Catalyst 5500 switch. The 168 ports of the switch are allocated to a virtual LAN. I configure the SPAN port as the monitoring VLAN and then connect a monitor to the SPAN port. I was surprised that the throughput was very large at that time, and the utilization rate reached 100%. In addition to very high throughput, I have received over-many broadcast storms and repeated transfers. Intranet users did not report any network problems. Th
This article provides a detailed analysis of how to configure a virtual host using multiple ports in apache in linux. For more information about how to use apache in linux by default
The default document directory is/var/www.
Default Port: 80
To publish a System Resource Directory, run the following command:
(1) add a listening port# Cd/etc/apache2
# Vim ports. conf
File addition:
Namevirtualhost*: 8000Li
Iptable-AINPUT-ptcp-dIP -- dport25-jACCEPTiptable-AINPUT-ptcp-dIP -- dport110-jACCEPT1, how do I close all ports? IPTABLES-AINPUT-DPROT1-65535-JDROP2 in the specified port that needs to be opened? (For example: 22) IPTABLES-AINPUT
Iptable-a input-p TCP/IP -- dport 25-j ACCEPTIptable-a input-p TCP/IP -- dport 110-j ACCEPT
1. how do I close all ports?IPTABLES-a input-d prot 1-65535-J DROP
2. when specifyin
"style=" float: none; "title=" Image 22.png "alt=" Wkiol1rtqfbhaavyaarohaiz8ha277.jpg "/>Conclusion: Although the automatic monitoring port is convenient, but a lot of listening ports do not understand, I do not know what the program is enabled, can be used with the previous port template, first create a port template to listen to the important service port, and then use automatic monitoring port to monitor other listening ports.Modifying the script
Tested how Tomcat configures different ports for different applications, making a record of the Conf/server.xml configuration results belowType= "Org.apache.catalina.UserDatabase"description= "User database that can be updated and saved"factory= "Org.apache.catalina.users.MemoryUserDatabaseFactory"Pathname= "Conf/tomcat-users.xml"/>connectiontimeout= "20000"redirectport= "8443"/>Resourcename= "Userdatabase"/>Unpackwars= "true" autodeploy= "true" >pref
=" Wkiom1d7qlbhtxb5aaaf2uk4ktq282.png "/>New Vlan2 and VLAN3 (must correspond to VLAN numbers set on the switch)650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/B7/wKioL1d7QLfBOE0MAAA1KBsDPVw409.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 498.png "style=" Float:none; "alt=" Wkiol1d7qlfboe0maaa1kbsdpvw409.png "/>650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/B8/wKiom1d7QLeBHr2TAAA0FhKgB8Q838.png "title=" RouterOS do WAN port switch expansio
Iptables using multiport to add multiple discontinuous ports for disc dancing, 01:26, Linux technology, reviews (0), references (0), reading (12214), Via site original Big | c3> Use multiport to add multiple ports that are not connected and can add up to 15 groups. As follows-A input-p tcp-m multiport–dport 21:25,135:139-j DROPIf you do not use the multiport parameter, you can only add contiguous ports.su
: Firewall-cmd--state View all open ports: Firewall-cmd--zone=public-- List-ports Update firewall rules: Firewall-cmd--reload View area information: Firewall-cmd--get-active-zones View specified interface zone: Firewall-cmd-- Get-zone-of-interface=eth0 reject All packages: Firewall-cmd--panic-on de-deny status: Firewall-cmd--panic-off View reject: Firewall-cmd-- Query-panic How do I open a port? Add Firewal
this iopm table will be parsed in detail; and 0x20acThe iopm content is actually used.
Based on this principle, Dale Roberts proposed several methods to allow the user mode to access the port. In the final analysis, it is all about the iopm offset and content of the TSS.
In addition, some articles also use the same principle, such as the article "I/O of any ring 3 process under NT. It is worth noting that the original text here chooses to increase the TSS length limit.0xf00 actually limits the
View Network Ports in Linux
Briefly summarize the results of learning Linux in the past.
Check whether TCP 22 is enabled. 1. List all ports: [root @ Demon proc] # netstat-ntlpActive Internet connections (only servers) Proto...
1. Check whether port TCP 22 is enabled.1. List all ports:[Root @ Demon proc] # netstat-ntlpActive Internet connections (only servers)Pro
Completely solve the problem of insufficient TCP client ports [problem] When making large concurrent performance calls at www.2cto.com, we often encounter a problem: the client port is exhausted. [Cause] After analysis, the main cause is that there will be a timewait time after the connection is disconnected, and the socket will be retained and occupied. [Solution] solution 1 is always written on timewait at first, and wants to minimize the influence
Common Operations on Linux and Windows ports: linuxwindows PortCommon Operations on Linux and Windows ports
I. Introduction
During the development process, you will often encounter problems where the port is occupied, and occasionally encounter problems where tomcat runs normally on the server, starts normally, runs normally, but cannot be accessed externally! Sometimes we clearly know what program occupie
used when the session is saved to the cookie. You can set your favorite name...This is because the session names used by all programs are in php. PHPSESSID is the default name set in ini. Therefore, if a session is used between websites in the same domain (with different IP addresses), a shared conflict may occur. Now the two sets of programs use different session. name to save the sessionid, so there will be no session conflicts.Solve the problem!PS: Male. My keyboard has two broken keys .. Q:
A description of the application scenarioThere are times when we go to determine which service is taking up ports, such as when some Java programs occupy multiple ports, then we need to locate the port occupancy based on the process ID of the Java process.Two-way solutionFind PIDPs-ef|grep task|grep Java|awk ' {print $} 'Filter PIDNetstat-tulpn|grep Java|grep 21869This article is from the Linux SA John blog
Tags: solution recommended range Ice SQL PHP sys stop two kindsOnly 22 ports are opened when the system is loaded. The site cannot be accessed after the Nginx+php+mysql is loaded.Iptables-l-NView firewall settings Discovery does not turn on port 80Because the Linux firewall is turned off by default. There are two ways, one is to turn off the firewall, and the other is to let the firewall open the port.To turn off firewall naming:Service iptables Stop
Shutting down the firewall from the configuration menu is not working, simply do not install the firewall at the time of installationTo view the firewall status:/etc/init.d/iptables statusTo temporarily turn off the firewall:/etc/init.d/iptables stopRestart Iptables:/etc/init.d/iptables restartImmediate effect, fail after rebootService modeOpen: Service iptables startClose: Service iptables stopEffective after rebootOpen: Chkconfig iptables onOFF: chkconfig iptables off or/sbin/chkconfig--level
CommandPsView the process of the system[Email protected] ~]# Ps-aux[Email protected] ~]# ps-elfCommandNetstatView ports and connection status[[email protected] ~]# NETSTAT–LNP # View the ports on which the machine is open[[email protected] ~]# Netstat–an # View the status of native and other host connections[Email protected] ~]# netstat-an|grep119.29.186.209:80|grep-ic estab # See the number of concurrent,
Netstat/lsof
The netstat command is used to display statistics related to IP, TCP, UDP, and ICMP protocols, and is typically used to verify network connectivity across ports on the local computer.
-a displays a list of all valid connection information (including established connections, including those that listen for connection requests)
-N Shows all valid connections established
-T TCP protocol
-U UDP protocol
-L Query the program being
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.