首页
免费视频
精美壁纸
网络直播
留言版
站点统计
更多
友联链接
归档
关于
Search
1
黄峥身家超马云!40岁财富3200亿,成中国第二富豪
3,724 阅读
2
1000封情书
3,448 阅读
3
cloudflare无敌盾(需付费)
2,700 阅读
4
分享一个免费的社工库
2,346 阅读
5
饿了么0.01~几块钱鲁顿饭
1,812 阅读
爱情说说
生活点滴
技术分享
精品教程
实用工具
其他杂乱
值得一看
登录
Search
标签搜索
Cloudflare
CC
CDN
Linux
服务器
监控
Pandownload
typecho
VPS
阿里云
网盘
腾讯云
社工库
vpn
Q绑
高考
love
API
攻击
Layer7
小华吖.
累计撰写
90
篇文章
累计收到
3
条评论
首页
栏目
爱情说说
生活点滴
技术分享
精品教程
实用工具
其他杂乱
值得一看
页面
免费视频
精美壁纸
网络直播
留言版
站点统计
友联链接
归档
关于
搜索到
4
篇与
的结果
2023-07-01
宝塔面板在nginx使用CDN环境下获取用户真实IP的方法
此方法针对使用宝塔面板的用户,并且环境是Nginx使用教程如下1.登录宝塔面板2.点击左下方的软件商店3.在已安装的应用的找到Nginx,点后面的设置4.选择配置修改,加入以下代码set_real_ip_from 0.0.0.0/0;real_ip_header X-Forwarded-For;5.点击保存,然后点配置修改上面的服务,会看到重启按钮,点一下重启就好了。
2023年07月01日
126 阅读
0 评论
0 点赞
2021-02-01
CLOUDFLARE指定IP集合-电信联通和移动线路友好的CLOUDFLARE IP
有朋友使用了cloudflare Partner,发现可以自己指定IP,这里有几个相对于电信联通和移动线路友好的cloudflare IP集合: 108.162.236.1/24 联通 走美国 172.64.32.1/24 移动 走香港 104.16.160.1/24 电信 走美国洛杉矶 --------- 172.64.0.0/24 电信 美国旧金山 104.20.157.0/24 联通 走日本 104.28.14.0/24 移动 走新加坡 (联通移动推荐节点) 104.23.240.0-104.23.243.254 (电信推荐百度云合作ip) 162.159.208.4-162.159.208.103 162.159.209.4-162.159.209.103 162.159.210.4-162.159.210.103 162.159.211.4-162.159.211.103 节点速度比较快的有: 104.20.157.2 104.18.62.2 141.101.115.3 104.16.160.3 百度云加速与Cloudflare合作节点还有: 162.159.211.4-103 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 104.16.0.0/12 108.162.192.0/18 131.0.72.0/22 141.101.64.0/18 162.158.0.0/15 172.64.0.0/13 173.245.48.0/20 188.114.96.0/20 190.93.240.0/20 197.234.240.0/22 198.41.128.0/17 其它的节点还有: #适合电信的节点 104.23.240.* #走欧洲各国出口 英国德国荷兰等 延迟比美国高一些 适合源站在欧洲的网站 172.64.32.* #虽然去程走新加坡,但是回程线路的绕路的,实际效果不好,不推荐 104.16.160.* #圣何塞的线路,比洛杉矶要快一点,推荐 108.162.236.* #亚特兰大线路,延迟稳定,但是延迟较高 #适合移动的节点 162.158.133.* #走的丹麦,这一段ip只有部分能用,可以自己试一下。绕美国。 198.41.214.* 198.41.212.* 198.41.208.* 198.41.209.* 172.64.32.* 141.101.115.* #移动走香港的IP段有很多,以上并不是全部。CF移动走香港的分直连和走ntt的效果都挺不错的,不过部分地区晚上还是会丢包。 172.64.0. * #这是走圣何塞的,一般用香港的就行 172.64.16.* #欧洲线路.绕 #1.0.0.1效果较好 电信部分 大多数省直接使用1.0.0.0即可,延迟低,丢包少, #移动部分 #新加坡 104.18.48.0-104.18.63.255 104.24.112.0-104.24.127.255 104.27.128.0-104.27.143.255 104.28.0.0-104.28.15.255 #移动部分 #圣何塞 104.28.16.0-31.255 104.27.144.0-243.254 104.23.240.0-243.254 #香港cloudflare1-100g.hkix.net 1.0.0.0-254 1.1.1.0-254 #香港直连 104.16.0.0-79.255 104.16.96.0-175.254 104.16.192.0-207.255
2021年02月01日
319 阅读
0 评论
0 点赞
2020-06-15
在开启了CloudFlare的页面中显示当前节点信息
效果正如本站底部右下角所显示的那样当前CDN节点: Hong Kong - (HKG),是不是感觉炫酷?请继续往下看原理与实现当一个网站开启了CloudFlare的CDN页面时,会出现一个CF(CloudFlare简称,下同)的CDN测试页面,就在这里/cdn-cgi/trace,我这里访问得到的应答是以下:fl=12f399 h=blog.520.fi ip=用户IP ts=1592196919.147 visit_scheme=http uag=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3314.0 Safari/537.36 SE 2.X MetaSr 1.0 colo=LAX http=http/1.1 loc=CN tls=off sni=off warp=off所以我们需要取出colo字段,当然这里只是简写。我们可以在 https://www.cloudflarestatus.com/ 获取全部节点信息。我们刚才拿到的的SJC就是San Jose, CA, United States - (SJC)。这样的话,实现方法就来了,我就直接贴代码了。<script type="text/javascript" src="https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js"></script> <!--引入JQuery,如果别处引入过滤,可省略--> 当前CDN节点: <span id="cdn">unknown</span> <!--在适当的地方放入需要显示CDN节点的信息--> <script> getCDNinfo = function() { $.ajax({ url: "/cdn-cgi/trace", success: function(data, status) { let areas = "Antananarivo, Madagascar - (TNR);Cape Town, South Africa - (CPT);Casablanca, Morocco - (CMN);Dar Es Salaam, Tanzania - (DAR);Djibouti City, Djibouti - (JIB);Durban, South Africa - (DUR);Johannesburg, South Africa - (JNB);Kigali, Rwanda - (KGL);Lagos, Nigeria - (LOS);Luanda, Angola - (LAD);Maputo, MZ - (MPM);Mombasa, Kenya - (MBA);Port Louis, Mauritius - (MRU);Réunion, France - (RUN);Bangalore, India - (BLR);Bangkok, Thailand - (BKK);Bandar Seri Begawan, Brunei - (BWN);Cebu, Philippines - (CEB);Chengdu, China - (CTU);Chennai, India - (MAA);Chittagong, Bangladesh - (CGP);Chongqing, China - (CKG);Colombo, Sri Lanka - (CMB);Dhaka, Bangladesh - (DAC);Dongguan, China - (SZX);Foshan, China - (FUO);Fuzhou, China - (FOC);Guangzhou, China - (CAN);Hangzhou, China - (HGH);Hanoi, Vietnam - (HAN);Hengyang, China - (HNY);Ho Chi Minh City, Vietnam - (SGN);Hong Kong - (HKG);Hyderabad, India - (HYD);Islamabad, Pakistan - (ISB);Jakarta, Indonesia - (CGK);Jinan, China - (TNA);Karachi, Pakistan - (KHI);Kathmandu, Nepal - (KTM);Kolkata, India - (CCU);Kuala Lumpur, Malaysia - (KUL);Lahore, Pakistan - (LHE);Langfang, China - (NAY);Luoyang, China - (LYA);Macau - (MFM);Malé, Maldives - (MLE);Manila, Philippines - (MNL);Mumbai, India - (BOM);Nagpur, India - (NAG);Nanning, China - (NNG);New Delhi, India - (DEL);Osaka, Japan - (KIX);Phnom Penh, Cambodia - (PNH);Qingdao, China - (TAO);Seoul, South Korea - (ICN);Shanghai, China - (SHA);Shenyang, China - (SHE);Shijiazhuang, China - (SJW);Singapore, Singapore - (SIN);Suzhou, China - (SZV);Taipei - (TPE);Thimphu, Bhutan - (PBH);Tianjin, China - (TSN);Tokyo, Japan - (NRT);Ulaanbaatar, Mongolia - (ULN);Vientiane, Laos - (VTE);Wuhan, China - (WUH);Wuxi, China - (WUX);Xi'an, China - (XIY);Yerevan, Armenia - (EVN);Zhengzhou, China - (CGO);Zuzhou, China - (CSX);Amsterdam, Netherlands - (AMS);Athens, Greece - (ATH);Barcelona, Spain - (BCN);Belgrade, Serbia - (BEG);Berlin, Germany - (TXL);Brussels, Belgium - (BRU);Bucharest, Romania - (OTP);Budapest, Hungary - (BUD);Chișinău, Moldova - (KIV);Copenhagen, Denmark - (CPH);Cork, Ireland - (ORK);Dublin, Ireland - (DUB);Düsseldorf, Germany - (DUS);Edinburgh, United Kingdom - (EDI);Frankfurt, Germany - (FRA);Geneva, Switzerland - (GVA);Gothenburg, Sweden - (GOT);Hamburg, Germany - (HAM);Helsinki, Finland - (HEL);Istanbul, Turkey - (IST);Kyiv, Ukraine - (KBP);Lisbon, Portugal - (LIS);London, United Kingdom - (LHR);Luxembourg City, Luxembourg - (LUX);Madrid, Spain - (MAD);Manchester, United Kingdom - (MAN);Marseille, France - (MRS);Milan, Italy - (MXP);Moscow, Russia - (DME);Munich, Germany - (MUC);Nicosia, Cyprus - (LCA);Oslo, Norway - (OSL);Paris, France - (CDG);Prague, Czech Republic - (PRG);Reykjavík, Iceland - (KEF);Riga, Latvia - (RIX);Rome, Italy - (FCO);Saint Petersburg, Russia - (LED);Sofia, Bulgaria - (SOF);Stockholm, Sweden - (ARN);Tallinn, Estonia - (TLL);Thessaloniki, Greece - (SKG);Vienna, Austria - (VIE);Vilnius, Lithuania - (VNO);Warsaw, Poland - (WAW);Zagreb, Croatia - (ZAG);Zürich, Switzerland - (ZRH);Arica, Chile - (ARI);Asunción, Paraguay - (ASU);Bogotá, Colombia - (BOG);Buenos Aires, Argentina - (EZE);Curitiba, Brazil - (CWB);Fortaleza, Brazil - (FOR);Guatemala City, Guatemala - (GUA);Lima, Peru - (LIM);Medellín, Colombia - (MDE);Panama City, Panama - (PTY);Porto Alegre, Brazil - (POA);Quito, Ecuador - (UIO);Rio de Janeiro, Brazil - (GIG);São Paulo, Brazil - (GRU);Santiago, Chile - (SCL);Willemstad, Curaçao - (CUR);St. George's, Grenada - (GND);Amman, Jordan - (AMM);Baghdad, Iraq - (BGW);Baku, Azerbaijan - (GYD);Beirut, Lebanon - (BEY);Doha, Qatar - (DOH);Dubai, United Arab Emirates - (DXB);Kuwait City, Kuwait - (KWI);Manama, Bahrain - (BAH);Muscat, Oman - (MCT);Ramallah - (ZDM);Riyadh, Saudi Arabia - (RUH);Tel Aviv, Israel - (TLV);Ashburn, VA, United States - (IAD);Atlanta, GA, United States - (ATL);Boston, MA, United States - (BOS);Buffalo, NY, United States - (BUF);Calgary, AB, Canada - (YYC);Charlotte, NC, United States - (CLT);Chicago, IL, United States - (ORD);Columbus, OH, United States - (CMH);Dallas, TX, United States - (DFW);Denver, CO, United States - (DEN);Detroit, MI, United States - (DTW);Honolulu, HI, United States - (HNL);Houston, TX, United States - (IAH);Indianapolis, IN, United States - (IND);Jacksonville, FL, United States - (JAX);Kansas City, MO, United States - (MCI);Las Vegas, NV, United States - (LAS);Los Angeles, CA, United States - (LAX);McAllen, TX, United States - (MFE);Memphis, TN, United States - (MEM);Mexico City, Mexico - (MEX);Miami, FL, United States - (MIA);Minneapolis, MN, United States - (MSP);Montgomery, AL, United States - (MGM);Montréal, QC, Canada - (YUL);Nashville, TN, United States - (BNA);Newark, NJ, United States - (EWR);Norfolk, VA, United States - (ORF);Omaha, NE, United States - (OMA);Philadelphia, United States - (PHL);Phoenix, AZ, United States - (PHX);Pittsburgh, PA, United States - (PIT);Port-Au-Prince, Haiti - (PAP);Portland, OR, United States - (PDX);Queretaro, MX, Mexico - (QRO);Richmond, Virginia - (RIC);Sacramento, CA, United States - (SMF);Salt Lake City, UT, United States - (SLC);San Diego, CA, United States - (SAN);San Jose, CA, United States - (SJC);Saskatoon, SK, Canada - (YXE);Seattle, WA, United States - (SEA);St. Louis, MO, United States - (STL);Tampa, FL, United States - (TPA);Toronto, ON, Canada - (YYZ);Vancouver, BC, Canada - (YVR);Tallahassee, FL, United States - (TLH);Winnipeg, MB, Canada - (YWG);Adelaide, SA, Australia - (ADL);Auckland, New Zealand - (AKL);Brisbane, QLD, Australia - (BNE);Melbourne, VIC, Australia - (MEL);Noumea, New caledonia - (NOU);Perth, WA, Australia - (PER);Sydney, NSW, Australia - (SYD)".split(";"); let area = data.split("colo=")[1].split("\n")[0]; for (var i = 0; i < areas.length; i++) { if (areas[i].indexOf(area) != -1) { document.getElementById("cdn").innerHTML = areas[i]; break; } } } }) } $(document).ready(function() { getCDNinfo(); //页面加载完毕就获取CDN信息 }); </script>好了,下面就可以看到你当前访问所使用的节点了!
2020年06月15日
435 阅读
0 评论
1 点赞
2020-04-17
Cloudflare CDN如何自定义节点
Cloudflare是非常良心的企业了,它的cdn服务的口碑是非常好的,但是随着cloudflare的用户多了,还有一些不为人知的原因,cloudflare的cdn的速度越来越慢,对于中国大陆的用户来说,也是使用的美国的节点。毕竟入口带宽是有限的,所以在用网高峰期,也就是晚上是非常卡顿的。这个cloudflare也是一个非常有趣的公司,他通过cf partner提供的服务比他自己提供的服务要好一些,至少cf partner的服务可以使用cncme的接入方式和ip的接入方式,但是官网的只能使用NS方式。但cloudflare的DNS服务的体验真的不是很爽,没法暂停解析,没法编辑只能删除重建。所以大家如果不想更改NS服务器可以使用cf partner提供的服务。而且cf partner的节点据说还要快一些。这里提供比较稳定的cf partner的服务提供者。笨牛平台:http://cdn.bnxb.comCF的百度云合作IP段162.159.208.4-162.159.208.103162.159.209.4-162.159.209.103162.159.210.4-162.159.210.103162.159.211.4-162.159.211.103第1步:打开笨牛:域名接入——添加域名——选择CNAME接入——进入主要设置(此时解析并未生效)第2步:在笨牛添加你的@ www解析到你的服务器ip 这个时候不要着急直接解析笨牛提供的官方CNAME解析第3步:在你的域名管理平台 A记录解析你自己喜欢的cloudflare节点比如上面CF的百度云合作IP段 又或者1.0.0.1第4步:等待解析生效建议:建议使用DNSPod的分路线解析 将国外解析路线指向笨牛提供的官方CNAME 国内解析路线指向你自定义的节点
2020年04月17日
232 阅读
0 评论
0 点赞
当前CDN节点:
unknown