Before go1.9, time. Time is defined as
type Time struct {// sec gives the number of seconds elapsed since// January 1, year 1 00:00:00 UTC.sec int64// nsec specifies a non-negative nanosecond// offset within the second named by Seconds.// It must be in the range [0, 999999999].nsec int32// loc specifies the Location that should be used to// determine the minute, hour, month, day, and year// that correspond to this Time.// The nil location means UTC.// All UTC times are represented with loc==nil
more dangerous than those that you have recognized.
We started a detailed investigation and saw the result:
Connecting these with other results makes everything clear. Cucumbertown is a food channel in Nigeria and a quality blog in Thailand, making it popular in different regions. But as you can see, page loading times in these countries are not normal.
Cucumbertown is an asset-heavy website. although we have postponed all operations on requieJS and actively loaded JavaScript as needed, we hav
/index-with-redis.php[[email protected] src]# chown PHP-FPM:PHP-FPM index-with-redis.php [[email protected] src]# MV predis.php Index-with-redis.php/data/www/blogModify the index-with-redis.php to suit your needs, as follows:$CF = 0;Set to 1 if you is using Cloudflare$debug = 1;Set to 1 if you wish to see execution time and cache Actions$display_powered_by_redis = 0; Set to 1 if your want to display a powered by Redis message with execution time, see
used in SSL handshake. ECDHE-ECDSA-CHACHA20-POLY1305 is its name, after several parts are expressed: For TLSv1.2, using ECDH for key exchange, using ECDSA for authentication, using ChaCha20-Poly1305 for symmetric encryption, because ChaCha20-Poly1305 is a AEAD mode, MAC algorithms are not required, so the MAC column is displayed as AEAD.
To learn more about CipherSuite, read the long article "TLS protocol analysis and modern encrypted communication protocol design". In short, when configuring C
CloudFlare the oldest and most common attack against non-DDoS attacks by protecting millions of websites. In traditional DDoS attacks, attackers control a large number of puppet machines and then send a large number of requests to the target server to prevent legitimate users from accessing the site.However, DDoS attacks have been evolving in recent years: attackers tricked users into attacking activities in a new and interesting way. Last year
1.1. Introducengx_lua– embeds the Lua language into Nginx, enabling it to support LUA to quickly develop business logic based on NginxThe module is not in the Nginx source package, it needs to download and compile the installation itself. Use LUA 5.1 (currently does not support LUA 5.2) or Luajit 2.0.After adding LUA support, the development of complex modules, the cycle is fast, still 100% asynchronous non-blocking.
Ngx_lua which people are using:Taobao, Tencent Finance, NetEase Finance, 360,
different regions. But as you can see, the pages in these countries are a little bit abnormally low.
Cucumbertown is an asset-heavy web site, and although we postponed all the action on Requiejs and then actively loaded JavaScript on demand, we made a lot of effort to load the underlying script.
We have confirmed that Cucumbertown's loading time in the United States is 2.5 seconds, compared to other countries this is simply the speed of light, DSL equipment around the world a week delay is 43
:
[Root @ localhost src] # wget https://gist.githubusercontent.com/JimWestergren/3053250/raw/d9e279e31cbee4a1520f59108a4418ae396b2dde/index-with-redis.php[Root @ localhost src] # chown php-fpm: php-fpm index-with-redis.php[Root @ localhost src] # mv predis. php index-with-redis.php/data/www/blog
Modify the index-with-redis.php as needed as follows:$ Cf = 0; // set to 1 if you are using cloudflare$ Debug = 1; // set to 1 if you want to see execution ti
. '; fixed. '; Case self: NOT_VULN: return'; the patch status cannot be identified ';. $ host.';. IIS is not used and the vulnerability may not exist. '; Case self: NOT_VULN_MS: return'; the patch status cannot be identified ';. $ host.';. The vulnerability may not exist. '; Case self: NOT_VULN_CF: return';. $ host. '; CloudFlare CDN acceleration may be used, leading to vulnerability detection or non-existent. ';} Return'; seems to be broken '; ;}$ ho
://ajax.cloudflare.com; img-src 'self' https://ssl.google-analytics.com ; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com; object-src 'none'";
After I restart my nginx server, securityheaders is displayed. i/O's current security rating for the website: Get A + (enable HPKP) HPKP working mechanism: it will allow the browser to automatically query the HPKP header, check whether these pin codes match the SPKI
symmetric encryption, because the ChaCha20-Poly1305 is a AEAD mode, MAC algorithms are not required, so the MAC column is displayed as AEAD.
To learn more about CipherSuite, read the long article "TLS protocol analysis and modern encrypted communication protocol design". In short, when configuring CipherSuite, you must refer to the authoritative documentation, such as the recommended configuration of Mozilla and the configuration used by CloudFlare.
Today, I found that the host could not be accessed. I thought there was something wrong with burst. I wrote an email asking why. I accidentally saw an email written by burst in my inbox, the title is that the traffic usage exceeds the standard. I can only use surprise to describe this email, because the traffic of the purchased VPs is 1000 GB/month. How can this problem be solved? What surprised me more, I used veportal to check that the traffic usage was 23424.44 GB. I relied on it for more tha
Talking about JavaScript-based DDOS attacks and javascriptddos
CloudFlare protects millions of websites and summarizes the oldest and most common non-DDoS attacks. In traditional DDoS attacks, attackers can control a large number of bots and then send a large number of requests to the target server to prevent legal users from accessing the website.
However, in recent years, DDoS attack technologies have been constantly updated: attackers use a new an
significance of the problem.
Cloudflare had a significant outage as a result of the leap second. Cloudflare is exactly the kind of company, that should is able to use Go successfully.
This meant, the problem is too important to being left unresolved. So fixed the underlying problem, and did so without adding a new API.
Explaining gradual code repair
Another problem that comes up in large codebases was the
This is an article by Cloudflare Filippo Valsorda, published in Gopher Academy in 2016, although it has been in the past two years, but it still has meaning.
Previously crypto/tls too slow and net/http very young, so for Go Web server, it is usually wise of us to put it behind the reverse proxy, such as Nginx, and now do not need.
In CloudFlare we recently experimented with direct burst of pure go service a
1, use Web/dir_scanner2, set TARGET http://www.****.com3, runsource:https://sourceforge.net/projects/websploit/Websploit advanced MITM framework[+]autopwn–used from Metasploit for Scan and Exploit Target service[+]wmap–scan,crawl Er Target used from Metasploit wmap plugin[+]format infector–inject Reverse bind payload to file Format[+]phpmya DMin scanner[+]cloudflare Resolver[+]lfi bypasser[+]apache Users scanner[+]dir bruter[+]admin Finder[+]MLITM at
SPDY indicator This extension, if the site support HTTP/2 then automatically display as blue, if Gray is not supported, in addition to Chrome51 later need to support ALPN, Otherwise demote to http/1.1OpenSSL versionALPN needs OpenSSL 1.0.2 support, the current Oneinstack version has been supported OpenSSL 1.0.2, you can enter nginx-v for viewing.
Nginx HTTPS optimization
On the V2 to see a user sharing the configuration rules, measured running points have significantly improved, you can dir
information can be processed in storage.
(2) Support batch URI query
(3) Support for specifying a custom JSON format fingerprint rule file
(The default fingerprint file is placed in/usr/lib/perl5/www/apps.json, the path will vary depending on the installation path of the CPAN module.)
You can use Perl-v to see the @inc variable to determine the path, or more violent find.
Installation:
Cpan-i Www::wappalyzerClone Https://github.com/tanjiti/FingerPrint.git
Run:
(1) Obtaining a fingerprin
Thanks to CharlesLiu for posting news source: AndiGutmans, one of the major language developers after CSDNPHP3, and one of the founders of Zend, recently bluntly criticized the Java language in the blog. He pointed out that the current Java vendor's attempt to provide dynamic language implementation on the JVM is not at all correct and should fully embrace the Standard Dynamic Language. By
Thanks to Charles Liu for posting news source: one of the majo
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.