'프로그램 사용 > squid' 카테고리의 다른 글
haproxy - https proxy (0) | 2019.02.11 |
---|---|
squid cache directory (0) | 2019.02.11 |
squid + 크롬 설정 및 log 확인 (0) | 2019.02.11 |
squid 상태 모니터링 (0) | 2019.02.08 |
https proxy - squid (0) | 2019.02.07 |
haproxy - https proxy (0) | 2019.02.11 |
---|---|
squid cache directory (0) | 2019.02.11 |
squid + 크롬 설정 및 log 확인 (0) | 2019.02.11 |
squid 상태 모니터링 (0) | 2019.02.08 |
https proxy - squid (0) | 2019.02.07 |
centos 에서는 squid 패키지에 포함된 것으로 보이는데
아래 명령어로 무언가 나오는데 멀 보는진 모르겠다 -_ㅠ
# squidclient -h localhost cache_object://localhost/ mgr:utilization |
# squidclient -h localhost cache_object://localhost/counters HTTP/1.1 200 OK Server: squid/3.5.20 Mime-Version: 1.0 Date: Mon, 11 Feb 2019 08:04:04 GMT Content-Type: text/plain;charset=utf-8 Expires: Mon, 11 Feb 2019 08:04:04 GMT Last-Modified: Mon, 11 Feb 2019 08:04:04 GMT X-Cache: MISS from localhost.localdomain X-Cache-Lookup: MISS from localhost.localdomain:3128 Via: 1.1 localhost.localdomain (squid/3.5.20) Connection: close sample_time = 1549872194.638742 (Mon, 11 Feb 2019 08:03:14 GMT) client_http.requests = 1074 client_http.hits = 0 client_http.errors = 5 client_http.kbytes_in = 977 client_http.kbytes_out = 4855 client_http.hit_kbytes_out = 0 server.all.requests = 707 server.all.errors = 0 server.all.kbytes_in = 4728 server.all.kbytes_out = 1001 server.http.requests = 707 server.http.errors = 0 server.http.kbytes_in = 4728 server.http.kbytes_out = 1001 server.ftp.requests = 0 server.ftp.errors = 0 server.ftp.kbytes_in = 0 server.ftp.kbytes_out = 0 server.other.requests = 0 server.other.errors = 0 server.other.kbytes_in = 0 server.other.kbytes_out = 0 icp.pkts_sent = 0 icp.pkts_recv = 0 icp.queries_sent = 0 icp.replies_sent = 0 icp.queries_recv = 0 icp.replies_recv = 0 icp.query_timeouts = 0 icp.replies_queued = 0 icp.kbytes_sent = 0 icp.kbytes_recv = 0 icp.q_kbytes_sent = 0 icp.r_kbytes_sent = 0 icp.q_kbytes_recv = 0 icp.r_kbytes_recv = 0 icp.times_used = 0 cd.times_used = 0 cd.msgs_sent = 0 cd.msgs_recv = 0 cd.memory = 0 cd.local_memory = 7 cd.kbytes_sent = 0 cd.kbytes_recv = 0 unlink.requests = 843 page_faults = 0 select_loops = 25783 cpu_time = 8.574439 wall_time = 49.492095 swap.outs = 216 swap.ins = 0 swap.files_cleaned = 0 aborted_requests = 4 |
# squidclient -h localhost mgr:info HTTP/1.1 200 OK Server: squid/3.5.20 Mime-Version: 1.0 Date: Mon, 11 Feb 2019 08:02:00 GMT Content-Type: text/plain;charset=utf-8 Expires: Mon, 11 Feb 2019 08:02:00 GMT Last-Modified: Mon, 11 Feb 2019 08:02:00 GMT X-Cache: MISS from localhost.localdomain X-Cache-Lookup: MISS from localhost.localdomain:3128 Via: 1.1 localhost.localdomain (squid/3.5.20) Connection: close Squid Object Cache: Version 3.5.20 Build Info: Service Name: squid Start Time: Mon, 11 Feb 2019 07:51:14 GMT Current Time: Mon, 11 Feb 2019 08:02:00 GMT Connection information for squid: Number of clients accessing cache: 2 Number of HTTP requests received: 1018 Number of ICP messages received: 0 Number of ICP messages sent: 0 Number of queued ICP replies: 0 Number of HTCP messages received: 0 Number of HTCP messages sent: 0 Request failure ratio: 0.00 Average HTTP requests per minute since start: 94.5 Average ICP messages per minute since start: 0.0 Select loop called: 23961 times, 26.970 ms avg Cache information for squid: Hits as % of all requests: 5min: 0.0%, 60min: 0.0% Hits as % of bytes sent: 5min: 1.9%, 60min: 2.1% Memory hits as % of hit requests: 5min: 0.0%, 60min: 0.0% Disk hits as % of hit requests: 5min: 0.0%, 60min: 0.0% Storage Swap size: 91804 KB Storage Swap capacity: 89.7% used, 10.3% free Storage Mem size: 3860 KB Storage Mem capacity: 1.5% used, 98.5% free Mean Object Size: 135.20 KB Requests given to unlinkd: 843 Median Service Times (seconds) 5 min 60 min: HTTP Requests (All): 0.04277 0.05633 Cache Misses: 0.03241 0.03829 Cache Hits: 0.00000 0.00000 Near Hits: 0.00000 0.00000 Not-Modified Replies: 0.00000 0.00000 DNS Lookups: 0.11405 0.11926 ICP Queries: 0.00000 0.00000 Resource usage for squid: UP Time: 646.235 seconds CPU Time: 8.031 seconds CPU Usage: 1.24% CPU Usage, 5 minute avg: 1.71% CPU Usage, 60 minute avg: 1.32% Maximum Resident Size: 237808 KB Page faults with physical i/o: 0 Memory accounted for: Total accounted: 7691 KB memPoolAlloc calls: 224798 memPoolFree calls: 231466 File descriptor usage for squid: Maximum number of file descriptors: 16384 Largest file desc currently in use: 69 Number of file desc currently in use: 31 Files queued for open: 0 Available number of file descriptors: 16353 Reserved number of file descriptors: 100 Store Disk files open: 0 Internal Data Structures: 740 StoreEntries 273 StoreEntries with MemObjects 264 Hot Object Cache Items 679 on-disk objects |
[링크 : http://www.monitis.com/blog/how-to-monitor-squid-proxy-server/]
haproxy - https proxy (0) | 2019.02.11 |
---|---|
squid cache directory (0) | 2019.02.11 |
squid + 크롬 설정 및 log 확인 (0) | 2019.02.11 |
squid 설치 및 설정 유틸리티 (0) | 2019.02.08 |
https proxy - squid (0) | 2019.02.07 |
많네... 귀찮은데 걍 openstack 까는게 편하려나?
[링크 : https://www.linux-kvm.org/page/Management_Tools]
+
아래 두개가 라이센스(apache)문제 없이 쓸수 있는 웹 기반으로 보이고
UI가 심플해서(libvirt 만 지원하는 녀석이라) 무난해 보인다.
[링크 : https://ovirt.org/download/]
[링크 : https://github.com/retspen/webvirtmgr/wiki/Screenshots]
qcow2 파일크기의 오류? (0) | 2019.02.12 |
---|---|
kvm 서비스 종료하기 (0) | 2019.02.12 |
kvm virsh 도메인 목록 확인하기 (0) | 2019.02.03 |
kvm qemu qcow2 vs raw with windows guest (0) | 2019.02.01 |
kvm 디스크 용량 늘리기 + 줄이기 (0) | 2019.02.01 |
forward는 -ing 붙여서 보면 좀 더 쉬울거 같은 개념..
forward proxy는 proxy에게 요청해서 받은 데이터를 "전달"해 받는 녀석이라면
(물론 forward proxy에 대개 caching 기능이 있기에 외부 대역폭을 줄이는 역활도 함)
reverse proxy는 사용자가 아닌 서버단에 적용하여 외부로 부터의 공격을 막아내는 용도로 쓰이는 개념
사용자가 proxy를 접근해서 쓰는걸 정방향이라고 보면 서버로는 역방향으로 쓴 듯?
[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=21430345]
FTPS (0) | 2021.02.07 |
---|---|
UDP와 MTU? (0) | 2020.09.07 |
TLS 암호화 (구, SSL) (0) | 2019.02.07 |
오픈스택 openstack (0) | 2018.06.27 |
SDN - Software Defined Networking (0) | 2018.06.27 |
TLS / SSL을 보다 보니 이녀석.. 키 자체는 RSA 로 암호화해서 PKI 를 통해 주고 받고
그 이후의 데이터는 AES등을 사용해서 암호화 하는데
요즘 CPU에는 AES를 하드웨어적으로 암호화 할 수 있는 명령어를 지니고 있다.
요건.. 확인법이라는데 얼마나 빨리 되는지로 검사하는 것 외에는 활성화 되어있는지
지원되는지 단순한 플래그로 보는 법은 없는 듯?
(일단 openSSL 버전과, bios에서 AES-NI 지원 활성화, 그리고 CPU 버전 확인을 해야 하니..)
Intel® Advanced Encryption Standard (AES) New Instructions (AES-NI)
[링크 : https://en.wikipedia.org/wiki/AES_instruction_set]
[링크 : https://software.intel.com/en-us/articles/intel-advanced-encryption-standard-instructions-aes-ni]
[링크 : https://software.intel.com/en-us/articles/improving-openssl-performance]
+
기가 급은 몰라도 100Mbps 급으로는 intel CPU 서버로도 충분히 커버가 가능할 지도?
[링크 : http://grantmcwilliams.com/.../387-hardware-aes-showdown-via-padlock-vs-intel-aes-ni-vs-amd-hexacore]
[링크 : https://kldp.org/node/157448]
QUIC - Quick UDP Internet Connections (0) | 2019.05.25 |
---|---|
SFF (0) | 2019.02.13 |
btrfs qnap (0) | 2019.01.16 |
데이터베이스 join (0) | 2018.09.14 |
uas - USB Attached SCSI (0) | 2018.09.13 |
과거 SSL이라고 불리우던 TLS는
하드웨어 가속을 받으면 더 빨라질 수 있는데 (AES-NI 의 2~3배 와는 비교가 안되는 듯?)
[링크 : https://en.wikipedia.org/wiki/TLS_acceleration]
아래는 해당 제품군들의 솔루션? 이라고 해야하려나?
[링크 : https://manuals.gfi.com/en/exinda/help/content/exos/how-stuff-works/ssl-acceleration.htm]
[링크 : https://www.symantec.com/.../ssl-accelerators-how-ssl-acceleration-can-help-your-business-symantec]
[링크 : https://www.ibm.com/.../en/SSZLC2_8.0.0/com.ibm.commerce.admin.doc/tasks/tsesslaccel.htm]
[링크 : https://docs.kentico.com/.../configuring-ssl/ssl-accelerator-support]
[링크 : https://campus.barracuda.com/product/websecuritygateway/doc/53675822/ssl-accelerator-hardware/]
[링크 : https://knowledge.digicert.com/solution/SO9458.html]
+
실 제품을 좀 찾아보는데 가격이 잘 안보이네.. 아무튼 비싸다!
512-bit, 768-bit, 1024-bit, 1536-bit, and 2048-bit RSA public-key and private-key processing 512-bit, 768-bit, 1024-bit, 1536-bit, and 2048-bit Diffie-Hellman session-key generation 512-bit, 768-bit, and 1024-bit DSA signing and verification SSL-MAC-MD5/SHA-1 and TLS-HMAC-MD5/SHA-1 authentication capability DES bulk encryption capability with HMAC-MD5/SHA-1 |
[링크 : https://cs.uwaterloo.ca/~brecht/servers/docs/PowerEdge-2600/en/Broadcom/Sslug/intro.htm]
Uses QuickAssist technology to provide up to 50 Gbps of hardware acceleration.1 With newly-released OpenSSL* 1.1.0 to deliver nearly 35,000 2K RSA TPS. |
[링크 : https://store.netgate.com/ADI/QuickAssist8955.aspx]
Asymmetric: RSA, DSA, Diffie-Hellman, Elliptic Curve Cryptography (ECDSA, ECDH, Ed25519, ECIES) with named, user-defined and Brainpool curves, KCDSA, and more Symmetric: AES, AES-GCM, Triple DES, ARIA, SEED, RCS, RC4, RC5, CAST, and more Hash/Message Digest/HMAC: SHA-1, SHA-2, SM3, and more |
[링크 : https://safenet.gemalto.com/data-encryption/hardware-security-modules-hsms/pci-hsm/]
win10 시대의 pl2303HX 칩 (UART / TTL) (0) | 2021.01.28 |
---|---|
채널 본딩... (0) | 2019.03.08 |
iptime port trunk / link aggregation (0) | 2019.01.24 |
iptime VPN 관련 펌웨어 버전 (0) | 2018.05.14 |
tftp를 이용한 iptime 벽돌 복구 (0) | 2018.05.14 |
키는 rsa로
데이터는 aes로 하는 듯?
(상식적으로 생각해도 프로세싱 파워가 올랐다고 하여도
RSA로 전체 데이터를 실시간으로 할 수 있을리...가?)
[링크 : https://en.wikipedia.org/wiki/Transport_Layer_Security]
UDP와 MTU? (0) | 2020.09.07 |
---|---|
proxy forward / reverse 차이 (0) | 2019.02.08 |
오픈스택 openstack (0) | 2018.06.27 |
SDN - Software Defined Networking (0) | 2018.06.27 |
rs-422 / rs-485 (0) | 2018.05.23 |
HTTPS로 통신하면 암호화 되어 중간에서 볼 수 없게 되므로
프록시를 쓸수 없게 되는데, 프록시를 통해 외부 접속을 HTTPS로 해주고
내부와도 HTTPS로 해주는 설정을 찾는중
[링크 : https://wiki.squid-cache.org/Features/HTTPS]
[링크 : https://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube]
[링크 : https://wiki.squid-cache.org/ConfigExamples/Streams/Other]
[링크 : http://roberts.bplaced.net/.../proxy-server/squid-transparent-proxy-http-https]
[링크 : https://www.ibm.com/.../t_ritpp_mod_proxy_config_set.html]
[링크 : https://origin-symwisedownload.symantec.com/.../streaming_proxy_co.htm]
[링크 : https://docs.oracle.com/cd/E19438-01/820-0862/adyef/index.html]
[링크 : https://docs.citrix.com/en-us/netscaler-sd-wan-wanop/10/video-caching/configure-video-caching.html]
+
video proxy
[링크 : http://nginx.org/en/docs/stream/ngx_stream_core_module.html]
[링크 : https://cachevideos.com/]
+
2019.02.11
[링크 : https://wiki.squid-cache.org/Features/HTTPS] 2.5
sslbump + dynamic SSL gen.
[링크 : https://wiki.squid-cache.org/Features/DynamicSslCert] 3.2
[링크 : https://wiki.squid-cache.org/Features/BumpSslServerFirst] 3.3
[링크 : https://wiki.squid-cache.org/Features/SslPeekAndSplice] 3.5
haproxy - https proxy (0) | 2019.02.11 |
---|---|
squid cache directory (0) | 2019.02.11 |
squid + 크롬 설정 및 log 확인 (0) | 2019.02.11 |
squid 설치 및 설정 유틸리티 (0) | 2019.02.08 |
squid 상태 모니터링 (0) | 2019.02.08 |
ajax 에 authorization bearer 추가하는 방법
// ajax
$.ajax({
url: 'YourRestEndPoint',
headers: {
'Authorization': `Bearer ${token}`,
},
method: 'POST',
data: YourData,
success: function(data){
console.log('succes: '+data);
}
});
// axios
axios({
method: 'post',
url: yourEndpoint,
data: yourData,
headers: { 'authorization': `Bearer ${token}` } }); |
[링크 : https://www.freecodecamp.org/.../which-ajax-should-i-use-for-post-i-need-to-add-a-bearer-token/.../2]
css position (0) | 2019.03.28 |
---|---|
webpack (0) | 2019.02.20 |
webGL vs SVG (0) | 2019.01.07 |
w3c validator (0) | 2018.12.10 |
미세먼지 크롤러 (다음, 네이버) (0) | 2018.12.07 |
심심(?)해서 패킷 캡쳐를 하는 김에 찍어 봄
예전에 발견했던 익숙한(?) 문구를 발견 "REMOTE1TI"
2018/12/21 - [회사일/Epson L805 rpi] - epson L805 헤드 청소 및 종료 시점 확인하기(실패)
눈으로 보기에는 별반 차이가 없어 보이는데
DIFF 해보니 먼가 차이가 존재는 한다
0060 부터가 데이터 부분이고 앞은 IP 패킷 이니까 일단 무시
REMOTE1TI 부분은 패킷헤더(?) 이런 느낌이고
07 1b 1d 1e + 1b 00 (헤더 클린)
08 0b 22 1c + 10 1b (파워 플러시)
의 차이가 존재한다. 한번 해봐야지..
epson 개발자 사이트 (0) | 2019.03.26 |
---|---|
esc/p 예제 (0) | 2019.03.19 |
epson L805 헤드 청소(성공) 및 종료 시점 확인하기(실패) (0) | 2018.12.21 |
escputil 디버그 모드 (0) | 2018.12.21 |
rpi epson printer (0) | 2018.12.20 |