update some content

This commit is contained in:
2021-10-28 14:13:06 +08:00
parent 97eb780aa4
commit 4f99455d8f
242 changed files with 1826 additions and 2616 deletions

View File

@@ -11,9 +11,9 @@
"@id": "https:\/\/h.cowbay.org"
},
"articleSection" : "post",
"name" : "[筆記] 詭異的client\x26server間連線的問題或許跟KVM有關係",
"headline" : "[筆記] 詭異的client\x26server間連線的問題或許跟KVM有關係",
"description" : "\x3cp\x3e這是發生在一個夜黑風高的寂寥深夜\x26hellip;.. ( What The FXXX \x26hellip; )\x3c\/p\x3e\n\x3cp\x3e來到這個環境之後有一個很詭異的狀況一直困擾著我\x3c\/p\x3e\n\x3cp\x3e在每個分公司都會有一台伺服器作為KVM Host\x3c\/p\x3e\n\x3cp\x3e上面跑兩台VM一台作為ansible controller (目前沒作用)\x3c\/p\x3e\n\x3cp\x3e另一台作為這邊所謂的 \x26ldquo;Build Server\x26rdquo;\x3c\/p\x3e\n\x3cp\x3e用途包含了DHCP Server \/ Proxy Server (squid3) \/ APT Proxy (squid-deb-proxy)\x3c\/p\x3e\n\x3cp\x3e問題就發生在這台 Build Server 上\x26hellip;\x3c\/p\x3e",
"name" : "[筆記] 詭異的client\u0026server間連線的問題或許跟KVM有關係",
"headline" : "[筆記] 詭異的client\u0026server間連線的問題或許跟KVM有關係",
"description" : "\u003cp\u003e這是發生在一個夜黑風高的寂寥深夜\u0026hellip;.. ( What The FXXX \u0026hellip; )\u003c\/p\u003e\n\u003cp\u003e來到這個環境之後有一個很詭異的狀況一直困擾著我\u003c\/p\u003e\n\u003cp\u003e在每個分公司都會有一台伺服器作為KVM Host\u003c\/p\u003e\n\u003cp\u003e上面跑兩台VM一台作為ansible controller (目前沒作用)\u003c\/p\u003e\n\u003cp\u003e另一台作為這邊所謂的 \u0026ldquo;Build Server\u0026rdquo;\u003c\/p\u003e\n\u003cp\u003e用途包含了DHCP Server \/ Proxy Server (squid3) \/ APT Proxy (squid-deb-proxy)\u003c\/p\u003e\n\u003cp\u003e問題就發生在這台 Build Server 上\u0026hellip;\u003c\/p\u003e",
"inLanguage" : "en",
"author" : "Eric Chang",
"creator" : "Eric Chang",
@@ -21,8 +21,8 @@
"accountablePerson" : "Eric Chang",
"copyrightHolder" : "Eric Chang",
"copyrightYear" : "2018",
"datePublished": "2018-11-08 18:01:23 \x2b0800 CST",
"dateModified" : "2018-11-08 18:01:23 \x2b0800 CST",
"datePublished": "2018-11-08 18:01:23 \u002b0800 CST",
"dateModified" : "2018-11-08 18:01:23 \u002b0800 CST",
"url" : "https:\/\/h.cowbay.org\/post\/weird-client-server-connection\/",
"wordCount" : "192",
"image" : "https://h.cowbay.orghttps://h.cowbay.org/images/post-default-4.jpg"",
@@ -45,9 +45,9 @@
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="https://h.cowbay.org/css/style.css?v=1632901489" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/style.css?v=1634607506" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1632901489" rel="stylesheet" type='text/css' media='all'>
<link href="https://h.cowbay.org/css/custom.css?v=1634607506" rel="stylesheet" type='text/css' media='all'>
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
@@ -314,7 +314,7 @@ if (!doNotTrack) {
<p>有陣子花了點時間去檢查各個分公司的網路環境確保每一台Build Server都能夠連接Internet</p>
<p>然後找了一個離總部最近的據點把這些電腦連接Internet 的方式改為用 proxy 來控制</p>
<p>在proxy內加入了 allowhost 的設定然後把user電腦上的瀏覽器都代入 proxy server (firefox/chrome 的設定方式不同)</p>
<pre><code>acl localnet src 192.168.28.0/24
<pre tabindex="0"><code>acl localnet src 192.168.28.0/24
acl allowhost src &quot;/etc/squid3/allowhost.txt&quot;
acl localdomain dstdomain &quot;/etc/squid3/localdomain.txt&quot;
acl SSL_ports port 443
@@ -650,7 +650,7 @@ title="pinterest icon"></i>
</div>
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1632901489"></script>
<script src="https://h.cowbay.org/js/production.min.js?v=1634607506"></script>
</body>
</html>