transparent proxy having function to turn (redirect) all request web in port 80 to port that used as web proxy (default port 3128 in squid), use transparent proxy attributed so that unnecessary again done configuration towards browser client. to do the mentioned is wanted addition application likes ipchains or iptables as according to firewalls kind that used in proxy server. if ipchains that used so command to make transparent proxy.
ipchains -a input -p tcp -d any/0 www -j redirect 3128
or can also by order of next.
ipchains -a input -p tcp -d any/0 --dport 80 -j redirect 3128
but if firewalls kind that used iptables so command that given.
iptables -a prerouting -t nat -p tcp --dport 80 -j redirect --to-port 3128
But otherwise want done redirecting so can be used command next
iptables - t nat -a prerouting -i eth0 -s! 192.168.1.10 -p tcp --dport 80 -j dnat --to 192.168.1.10: 3128
From command at assumption kan that is ip address yag used as proxy server 192.168.1.10. firewalls configuration having taken ste to transparent proxy ha next that must be done edit configuration file from squid itself, that is with add trivial lines next.
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Readmore »»
Access speed is a web will determine interest from the visitors to do visit back into the web site, of course, next to the content offered in the web site. A website will be more interesting if the web site is content-there is additional content such as pictures, animation or other animation as shown in the decoration.
But it's good for the developers to further restrict the web, content, additional content, and constitutes the more to the main content of the web site at accesories compare. so that the visitors from the web will be easier to find content that dicarinya and does not remove the teralu a lot of time to wait for additional content-content that may not be too important tersebuat termuat site on the web page.
To perform the optimization of content-content on the web, one of the tools that can be used is to use the ping service content property pingdom. This Tools will measure the speed of each load component is loaded in the website such as Image, Animation, Flash Object, Document CSS, Javascript or script that is used in detail. That way we can perform optimization of the page, for example, remove the component-component that is not so important but it takes a long load.
The use of this tool is very easy, simply by entering the URL address of the web page you want to check in, then press the test, and tools will soon make page rendering kalamat URL and then give the report is easy to understand.
It is no less important to be considered here is that the access speed is the speed of access to the Pingdom server hosting server, so that any given report will be influenced by factors that have the distance, in other words the report given is not absolute, but akan enough help.
Readmore »»
Search Engines is usually required by a web site developers to publish web pages to its general audience, this is because almost every person using the assistance of a search engine such as Google, Yahoo, etc. to find web pages that search-related keywords.
Still a lot of people ask why the web site page is not terindex entirely in-engine search engine such as google, yahoo etc, but they have been through mendaftarkanya fittings web master is provided by the machine searches.
There are many things that allows this happens, one of which is a web page actually has content that may be less well terindex by machine-search engine, so although botnet-botnet machines pencareian have to crawl the page, but they do not get many information to be published. Here are some tips that can be applied to make a web page can be ter-index well in search machines such as google, etc.
1. Add Text in Picture, Object and Flash Video.
This is the most basic things, need to remember that search engines take the information that is on a web page based on the text on the web page, not from the picture, or have a flash object. If a web page are required to have a composition with a content object or image flash more than the text, the text should give the object descripsi flash, video, or image, or would be better if used to call the Straight link images, video, or flash object that you want to show it.
Another benefit that can be obtained from the addition of a description on the image, video or flash object is when the visitor's web page using a web browser such as minimalist links or lynx web browser that can not be merender pictures, video, or flash object, the visitor is can still know the information is presented on the web is a description of the text.
2. Perform Validation of HTML code that is
We suggest a web page, use the HTML code valid. HTML code is valid here is valid based on the standardization of writing HTML, so hopefully the page can be ter-render correctly on all web browsers.
Then what with a search engine.?.
A search engine using the botnet to mengabil content of a web page, where the working principle of the botnet is not much different with a web browser. Spyder Bot will do to surf web pages that have, and save content from web pages and their address information on the web is used as reference to search for the search engine. Writing valid HTML code here is meant to avoid the risk of errors when the web page is crawled by the spyder bot, so the information you want to display can be optimized.
3. Create a title page that are relevant.
The headline is taken by a botnet is a document of title, the title is a title that is in the writing of the tag in an HTML document. Use words that fit content with that, and try to be the title document by using the words of familiar, so that if someone searches for a web page on search engines, the words used with the title in the document web.
4. Use internal links.
Internal link here is the link that connects an HTML document with other documents that have a web site on the same. Should not use the link normal link with the digenerate javascript or that there is a link to a flash object, because the fear botnet-botnet's search engine can not understand the link.
5. Avoid Duplicate Content on a web page.
Duplicate content occurs when the URL is different but dituju page that contains the same content. This very rarely happens on a web site where static web built manually each halamanya because the manufacturer will be easier to manage the contents and addresses of the web site. However, when using a CMS it is necessary to get special attention from the owner or creator of the web site, because most of the existing halama, automatically generate the machine by the CMS.
6. Eliminate the use of text-text that is hidden.
Text-first use of hidden text can help rank menaikan in search-engine search engine, but it seems this is not relevant to apply, the botnet is the smart analyze a HTML document on a web page. Hidden text is here text is actually printed on the source document but does not appear because your browser Is manipulated by CSS or the other.
These things may not be enough to menaikan rank a web page in the search machines, but can be a first step to getting a high rank-dimesin search engine.
Readmore »»
SEO, a word that is not foreign, and is becoming a trend in the segregated world Internet, especially the web site and blogging. Generally, SEO can be said as a technique, or more precisely the tricks used to further optimize the process of crawling, which is done by a serach engine to a page Web, in order to make a web page or a blog can be positioned at the top of search engines display the index based on the search web site with a certain criteria.
Could not be denied, that the role of a search engine took affect traffic from a web site, the higher the rating the web site in a search engine, it will be easier web site was found by visitors. Perhaps because this is the web master of creativity to be able to compete more to optimize the web site they are on a search engine, of course with the purpose and goals are different, such as commercial purposes, popularity, or even that there is also a goal does not have that for high rating web site is on a search engine. His course, his name was to be trend.
Basically, no rules about the standard SEO, all things related to SEO that at this time there is a triks which is based on a theory-a theory, because the technique is done by a search engine to crawl a page, the web is does not have a standard or a standard algorithm, all depending on the company policy to manage the search engine, so it can be changed at any time.
Apart from these things, fever SEO bring many positive changes for the development of a web site that is. For example, one of the most common tricks used in SEO writing is to use hypertext markup language (HTML), which according to the W3C standardization, so that makes the web master manjadi more carefully in the use of HTML tags, and make them more creative place in the point-point support document or page from the web is. This makes the documents page or web can be termuat well on almost any type of web browser, making it easier for visitors to find information that is presented on the page web is.
However, the negative impact of fever SEO no less from the positive impact. Which have a negative impact, such as the rapid spaming activities with the aim of improving the rating of a web site the instant, and result in many pages a web site that does not implement filtering to prevent spam, become paralyzed due to damage to the reputation of web site visitors to the eyes. The most fenomenal which is a result of fever SEO is a decrease in the quality of the content or information presented on a page web, may in that case the web master is on the side kreatifitasnya optimize SEO, so that at the time of pouring creativity on the content of the web is , just living the rest of the creativity.
Readmore »»
Windows 2000 and XP are built on NT technology and both are generally better optimized for networking than Windows 9x and even NT4. Regardless, both XP and 2000 are still configured with respect to Ethernet rather than high-speed Internet connections, where latency plays a major role in throughput. Here, you will find specific information on how to optimize the Windows 2000/XP Registry for Cable Modems, DSL, or any similar type of broadband Internet connection.
Customizing the Windows Registry assumes some proficiency in tuning Windows configuration files. If you don't feel comfortable editing it, please use our TCP Optimizer program, or the Windows 2000/XP registry patches from the Downloads section of the site. both those options will add all the parameters and set all the optimal values in the Registry automatically for you.
If you'd rather make the changes yourself, or prefer to experiment with different values to fine-tune your connection, follow the directions for editing the Registry below.
Editing the Windows 2000/XP Registry
To edit the Registry, you need to use an editor, such as Regedit. As with previous Windows versions, it can be accessed from the Start Menu ( START > Run > type "Regedit" ). Note that most of the values recommended on these pages are not present in the Registry by default and you might have to add them manually. Also, for most of the tweaks to take effect you must Reboot.
It is strongly recommended that you backup your Registry before editing. The easiest way to backup your Registry is from within the Registry Editor, just choose "Export Registry File" from the pull-down menu.
Recommended settings for Windows 2000 / XP
Windows 2000 & XP, unlike NT supports large windows as described in RFC1323 ( the 'RcvWindow' has a maximum value of 2**30 rather than 64K), and includes some other improvements over its predecessors you can use to speed up any TCP/IP transfers. The best settings are listed in red, the descriptions and other options are added to provide you with better understanding and enable you to customize your settings.
All the following entries, unless otherwise noted should be placed in the Windows 2000/XP Registry under the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TCPWindowSize
The value of the TCP Window in the Windows 2k/XP Registry is probably the single most importan setting that will offer the most benefit to improving your internet connection. The recommended value (in red) will optimize TCP for any high speed broadband internet connection. It will work well for most cases, however, if you'd like to use a custom value make sure to follow these guidelines: For best results, the TCPWindow should be a multiple of MSS (Maximum Segment Size). MSS is generally MTU - 40 (20 byte TCP and 20 byte IP headers), where MTU (Maximum Transmission Unit) is the largest packet size that can be transmitted. MTU is usually 1500 bytes (1492 for PPPoE connections). To determine the exact MTU value of your ISP, check out the Advanced Registry Editing section of our site or use the TCP Optimizer.
There are three places in the Windows Registry where you can add the TCP Window parameter.
HKLM/SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
GlobalMaxTcpWindowSize="256960" (DWORD, number of bytes) Valid range is from MSS to 2^30. Add the value as a decimal. Note: For best results RWIN has to be a multiple of MSS lower than 65535 times a scale factor that's a power of 2, i.e. 44 x 1460 = 64240 x 2^2 = 256960. If you choose to use a RWIN lower than 65535, you can simply make it multiple of MSS and turn scaling off (Tcp1323Opts=0)
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TcpWindowSize="256960" (DWORD, number of bytes) Valid range is from MSS to 2^30. Add the value as a decimal.
Note (10/20/00): Seems MS has found another bug in Windows 2000, the TCPWindowSize should be configured with the global setting (GlobalMaxTcpWindowsSize) rather than this one - Q263088
TcpWindowSize can also exist under TcpipParametersInterface - if added at this location, it overrides the global setting for this particular NIC.
Note: For best results RWIN has to be a multiple of MSS lower than 65535 times a scale factor that's a power of 2, i.e. 44 x 1460 = 64240 x 2^2 = 256960. If you choose to use a RWIN lower than 65535, you can simply make it multiple of MSS and turn scaling off (Tcp1323Opts=0).
Tcp1323Opts
Tcp1323Opts is a necessary setting in order to enable Large TCP Window support as described in RFC 1323. Without this parameter, the TCP Window is limited to 64K.
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Tcp1323Opts="1" (DWORD, recommended setting is 1. The possible settings are 0 - Disable RFC 1323 options, 1 - Window scaling but no Timestamp options, 3 - Window scaling and Time stamp options.)
Note: Tcp1323Opts="3" might help in some cases where there is increased packet loss, however generally you'll achieve better throughput with Tcp1323Opts="1", since Timestamps add 12 bytes to the header of each packet.
DefaultTTL
DefaultTTL determines the time in seconds and the number of hops a packet lives (every hop reduces it by at least 1). While it does not directly affect speed, a larger value increases the amount of time it takes for a packet to be considered lost, discarded and retransmitted. A value that's too small can cause packets to be unable to reach distant servers at all.
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
DefaultTTL="64" (DWORD, recommended setting is 64. Other settings that are widely used are 128 and 32)
EnablePMTUDiscovery
When set to 1 (True), TCP attempts to discover MTU automatically over the path to a remote host. Setting this parameter to 0 causes MTU to default to 576 which reduces overall performance over high speed connections. Note: setting is different than our Windows 9x recommendation
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
EnablePMTUDiscovery="1" (DWORD - boolean, valid settings are 0-->False and 1-->True. Many connections perform better with this entry at 1, however, if you prefer to set your upstream to send fixed 1500 packets, you might want to use 0 instead). When set at 1, establishing connections and initial transfer speed might slow down a bit, however you will get better throughput if somewhere in the path large packets need to be fragmented.
EnablePMTUBHDetect
Setting this parameter to 1 (True) enables "black hole" routers to be detected, however it also increases the maximum number of retransmissions for a given segment. In most cases you'd want to keep BHDetect at 0 (False).
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
EnablePMTUBHDetect="0" (DWORD - boolean, valid settings are 0 = False and 1 = True. Recommended setting is 0)
SackOpts
This parameter controls whether or not SACK (Selective Acknowledgement) support is enabled, as specified in RFC 2018. SACK is especially important for connections using large TCP Window sizes.
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
SackOpts="1" (DWORD - boolean, recommended setting is 1. Possible settings are 0 = No Sack options, or 1 = Sack Option enabled).
TcpMaxDupAcks
This parameter determines the number of duplicate ACKs that must be received for the same sequence number of sent data before "fast retransmit" is triggered to resend the segment that has been dropped in transit.
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
TcpMaxDupAcks="2" (DWORD - range 1-3, recommended setting is 2).
Additional TCP/IP Related Parameters
The additional TCP related parameters are not necessary in most cases, and you shouldn't expect any drastic improvements, however we added them for those of you who like experimenting. You might be able to gain that last bit of performance, or customize your TCP/IP behavior even more with those. Keep in mind you should familiarize yourself with what the parameters mean and how they affect your connection before changing their values
MTU
Setting MTU overrides the default MTU for the network interface it is added to. Note that if EnablePMTUDiscovery is set to 1, TCP will use the smaller value of this local MTU and the "Discovered" MTU of the underlying network connection. If you'd rather use only the MTU value specified here, you'd have to disable PMTUDiscovery, which would prevent your system from detecting the network MTU.
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
MTU="1500" (DWORD, valid range is from 68 to MTU of network).
Note: For Windows XP PPPoE, there is an additional location for MTU that might need to be adjusted (to 1480, or up to 1492 as per the PPPoE specs), depending on the PPPoE software you use. Check the following location in the Registry:
HKLM\SYSTEM\CurrentControlSet\Services\NdisWan\Parameters\Protocols\0
ProtocolMTU="1480"
AFD Parameters
Afd.sys is the kernel-mode driver used to support Windows Sockets applications.
DefaultReceiveWindow
The number of receive bytes that AFD buffers on a connection before imposing flow control. For some applications, a larger value here may give a sligtly better performance at the expense of increased resource utilization. Applications can modify this value on a per-socket basis.
Registry Location:
HKLM\SYSTEM\CurrentControlSet\Services\Afd\Parameters
DefaultReceiveWindow (DWORD, not present by default. Recommended: leave blank as is, since this value limits the TCP/IP TcpWindowSize RWIN value)
DefaultSendWindow
Same as the above setting for the send side of connections.
Registry Location:
HKLM\SYSTEM\CurrentControlSet\Services\Afd\Parameters
DefaultSendWindow (DWORD, not present by default. Recommended: leave blank as is. Alternatively, you can enter a value up to the TCP/IP TcpWindowSize RWIN setting)
Datagram Size
MS Windows supports a fast I/O path which is utilized when sending "small" datagrams (packets). The default setting for what is considered "small" datagram is 1024 bytes; increasing this value to match your network MTU (normally 1500) can significantly improve network performance.
To adjust this parameter:
HKLM\SYSTEM\CurrentControlSet\Services\AFD\Parameters
FastSendDatagramThreshold=1500 (DWORD value, 1024 by default when not present, recommended: 1500 decimal)
Note: setting not in the current version of the TCP Optimizer.
FastCopyReceiveThreshold
When an application posts a receive with a buffer that is smaller than the current packet being buffered by Winsock, AFD can either make an additional copy of the packet and then copy data to the application buffers directly (two-stage copy because application buffers cannot be accessed directly under the lock), or it can lock and map application buffers and copy data once. This value represents a compromise between extra code execution for data copying, and extra code execution in the I/O subsystem and memory manager.
To adjust this parameter:
HKLM\SYSTEM\CurrentControlSet\Services\AFD\Parameters
FastCopyReceiveThreshold=1500 (DWORD, 1024 by default when not present, recommended: 1500 decimal)
IgnorePushBitOnReceive
Setting this parameter to 1 causes Afd.sys to treat all incoming packets as though the push bit was set. We recommend leaving this at the default of 0 (disabled).
Registry Location:
HKLM\SYSTEM\CurrentControlSet\Services\AFD\Parameters
FastCopyReceiveThreshold (DWORD boolean, 0 by default when not present, recommended: don't set)
References: Technet
Web Patch
According to the HTTP specs, only limited number of simultaneous connections are allowed, while loading pages. To increase that number in Internet Explorer, you can add the following entries to the Registry (they are not present by default). For Firefox, refer to our browser tweaks article.
HKEY_USERS.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings
"MaxConnectionsPerServer"=dword:00000010
"MaxConnectionsPer1_0Server"=dword:00000010
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
"MaxConnectionsPerServer"=dword:00000010
"MaxConnectionsPer1_0Server"=dword:00000010
Notes: Keep in mind that increasing those values exceeds the HTTP specs. Increasing them much over 10 may cause problems with some websites. While these entries might improve web page loading considerably, they tend to strain webservers more and have no effect on throughput.
Alternatively, you can download a patch (sguide_webtweak_2k) that will add these entries for you automatically from the Downloads section of our site.
Readmore »»