Deny an IP access to a port:1. Creating ACL access control listsACL number XXX2. Establish ACL access control List rules:Rule XX Permit Source 10.70.3.XX 0Allow an IP accessRule XX denyReject Other traffic3. Apply the ACL access control list below the port:Packet-filter XXX OutboundInbound and outbound differences:PC A wants to access PC B, from the A to the E0/1
The controls you needFirst of all to have Tdsservermodule, Tdsserver, Tdstcpservertransport;Tdsserverclass, Tdatamodule; The main controls to implement the above functions are as shown inThe included units include SysUtils, Classes, DSTCPServerTransport, DSHTTPCommon, DSHTTP, DSServer, DSCommonServer, Provider, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient;Where the idtcpconnection unit must have.The code is as follows,//the symbol contains the main implementation part; Pr
#!/bin/bash #显示菜单 (radio) Display_menu () {localsoft=$1localprompt= "which${soft} You ' dselect: ' evallocalarr= (\${${soft}_arr[@]}) whiletruedo echo-e "####################${soft}setting####################\n\n" for ((i=1;iThis article is from the "Smurf Linux ops" blog, so be sure to keep this source http://jin771998569.blog.51cto.com/2147853/1587726Check the network port traffic with the top 10 traffic large
/octet-stream;Sendfile on;Keepalive_timeout 65;upstream Web1 {Server 192.168.1.101:80 weight=1 max_fails=2 fail_timeout=30s;Server 192.168.1.102: weight=1 max_fails=2 fail_timeout=30s;}#web1 Load Module name (custom).# Weight weights, the higher the value the greater the priority.#max_fails the maximum number of failures, the list of loads is excluded if the host fails to connect two consecutive times.#fail_timeout the wait time for the request to fail.server {Listen 80;server_name localhost;Loc
Locate Apache-tomcat-6.0.14\conf\server.xml, and then add this snippet to the following services:XML codeThe above d:/pro/webroot is my project WebRoot path, everyone can modify themselves, another pro is also customized.The detailed text reads as follows:XML codeType= "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= "
First of all, we say Apache add Multiport method, the concrete steps are as follows:
The apache\conf directory
Add Port Monitor
Vhost.conf simple to write and write
Here are the contents of Apache implementation of single IP multiport mappings
I use an Apache server. There are a few sites in my Apache root directory, such as test, child, and two sites. I want to do this, when I visit http://local
network segment) {string mac = ""; try {Int32 ldest = inet_addr (HostIP);//Convert IP address from point format to unsigned long integer Int64 macinfo = new Int64 (); Int32 len = 6; The SENDARP function sends an Address Resolution protocol (ARP) request to obtain the physical address corresponding to the specified destination IPv4 address sendarp (ldest, 0, ref macinfo, ref Len); String Tmpmac = Convert.T
How to bind the ip address and port of the local computer to the custom domain name in the hosts file of the windows system is the php integrated environment PhpStudy, and a site is set up:
The system file is written as follows:
#102.54.94.97 rhino.acme.com # source server
#38.25.63.10 x.acme.com # x client host
# Localhost name resolution is handled within DNS itself.
#127.0.0.1 localhost
1
1, tidy up the target IP and corresponding port number to be tested, save as local text file183.61.160.67 10024183.61.160.74 10009119.147.128.173 10006183.61.160.84 10011119.147.107.203 10013183.61.160.67 10015183.61.160.58 10016183.61.160.56 10010183.61.160.74 10018183.61.160.121 10015Youxi12. Installation of tcping ToolsTcping Related parametersTcping, (C) 2003 [email protected]-h hostname hostname (e.g.
Configure the server. xml file in the tomcat/conf directory.
Tomcat directory
C:/program files/Apache Software Foundation/tomcat 6.0/Conf
1. First find port 8080 and change the port to 80.
Note: Set Port = "80" for the connector node ".
2. Configure project directory access.
Note: Set the name of the host node to "localhost". The name is the access m
The error is as follows:
Org. PostgreSQL. util. psqlexception: the connection is rejected. Check the host name and port number and make sure that the postmaster can accept the TCP/IP connection. At Org. postgreSQL. core. v3.connectionfactoryimpl. openconnectionimpl (connectionfactoryimpl. java: 136) at Org. postgreSQL. core. connectionfactory. openconnection (connectionfactory. java: 64) at Org. postgreSQL.
Technical department in the eyes of the business unit is the logistics department, the business unit to move to the new buildingThe leader asked to help debug the business personnel's computer, to ensure that these big men to work in Monday, drink tea to open Sina, and then open OA to see.On the hands of a few desktop support brothers, to get 100 more computers, and then look at the desktop support uneven technical ability, so they wrote a small tool, so they can quickly achieveIP address acquis
}) {5}$/ Port authentication :/^ ([0-9]|[ 1-9]\d{1,3}| [1-5]\d{4}|6[0-5]{2}[0-3][0-5]) $/Format is0-65535Divided into several parts to construct:60000-65535;10000-59999;1000-9999;100-999;10-99;0-9;The regular of each part is:6[0-5]{2}[0-3][0-5];[1-5]\d{4}; [1-9]\d{3}; [1-9]\d{2}; [1-9]\d; [0-9]After finishing is:([0-9]|[ 1-9]\d{1,3}| [1-5]\d{4}|6[0-5]{2}[0-3][0-5])Longitude Check:/^[\-\+]? (0?\d{1,2}|0?\d{1,2}\.\d{1,15}|1[0-7]?\d{1}|1[0-7]?\d{1}\.\d{1
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.