当我使用 Fiddler 捕获 HTTPS 请求时,
您看到统计选项卡,我有一个问题:Fiddler 如何知道服务器何时收到 Fiddler 请求?以及它如何知道服务器何时开始响应。
我有许多日志文件:
adsfs.demo.com_2022-07-11-0000-0001_cn.tgz
adsfs.demo.com_2022-07-11-0000-0002_cn.tgz
adsfs.demo.com_2022-07-11-0000-0003_cn.tgz
adsfs.demo.com_2022-07-11-0000-0004_cn.tgz
adsfs.demo.com_2022-07-11-0000-0005_cn.tgz
...
它的内容是这样的:
google 16.122.87.76 12.48.167.135 80 adsfs.demo.com [11/Jul/2022:00:45:03 +0800] 1657471503.000 "GET https://adsfs.demo.com/mp/app/feeds/index.js?age=11&name=jock 1.1" 304 - 395 - - 1 "https://dhfs.demo.com/" "Mozilla/5.0 (Linux; U; Android 11; zh-cn; PDVM00 Build/RKQ1.201217.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.61 Mobile Safari/537.36 HeyTapBrowser/40.7.39.5" "16.11.87.76" "-" 1 - 1
我的要求是从第 8 行获取带有参数的 topURL,第 8 字段是这样的:
"GET https://adsfs.demo.com/mp/app/feeds/index.js?age=11&name=jock 1.1"
我想要的结果如下:
https://adsfs.demo.com/mp/app/feeds/index.js?age=11&name=jock 13549
https://adsfs.demo.com/mp/app/feeds/index.js?age=12&name=jock 12541
https://adsfs.demo.com/mp/app/feeds/index.js?age=13&name=rose 1142
https://adsfs.demo.com/mp/app1/index.css?age=11&name=jock 1074
https://adsfs.demo.com/mp/app2/index.html 874
...
我试过这个,但似乎不正确:
zcat * | awk '{print $10, $17}' | awk '{a[$1]+=$10} END{for(i in a){print i, a[i]}}' | sort -rn -k 2 | head
https://adsfs.demo.com/user 0
https://adsfs.demo.com/union/adlogo/o_1512387525231.png 0
https://adsfs.demo.com/union/adlogo/logo_wo_b.png 0
https://adsfs.demo.com/union/adlogo/logo_w_b.png?aaa=aa.png 0
https://adsfs.demo.com/union/adlogo/logo_w_b.png?aa=1.jpg 0
https://adsfs.demo.com/union/adlogo/logo_w_b.png 0
https://adsfs.demo.com/union/adlogo/gdt_logo.png 0
https://adsfs.demo.com/signin 0
https://adsfs.demo.com/res/v2/feeds/mat_pic/202101/05/1000096829_1609822941972.jpg.short.webp?region=cn-north-1&x-ocs-process=image%252fresize%252cm_fix%252cw_640%252ch_320%252ffallback 0
https://adsfs.demo.com/res/v2/feeds/mat_pic/202101/05/1000096829_1609822941972.jpg.short.webp 0
当我使用 curl 测试文件下载流量时:
curl -vo 1 'https://demo.com/apk/202112/008/93cd5df7dbf9385f6a12c720c8c5b360.apk'
我得到:
{ [data not shown]
2 1771M 2 50.5M 0 0 3591k 0 0:08:25 0:00:14 0:08:11 6153k
是6153k
指 6153kbps 还是 6153kbps?
当我阅读此文档时#kube-proxy:
kube-proxy 使用操作系统包过滤层(如果有并且可用)。否则,
kube-proxy
转发流量本身。
那么,里面是什么operating system packet filtering layer
?这是否意味着操作系统内核中的 iptables/netfilter 网络组件?
我使用ifconfig -a
列出 bridge0 的详细信息:
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 index 7
eflags=41000000<ECN_ENABLE,FASTLN_ON>
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether 82:13:08:b0:ec:c0
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x0
member: en1 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 5 priority 0 path cost 0
hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
member: en2 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 6 priority 0 path cost 0
hostfilter 0 hw: 0:0:0:0:0:0 ip: 0.0.0.0
nd6 options=201<PERFORMNUD,DAD>
media: <unknown type>
status: inactive
state availability: 0 (true)
qosmarking enabled: yes mode: none
low power mode: disabled
multi layer packet logging (mpklog): disabled
routermode4: disabled
routermode6: disabled
我有几个关于详细信息的问题。
什么ether 82:13:08:b0:ec:c0
意思?是MAC地址吗?正如我们所知,以太网端口应该有一个。但是为什么bridge0有一个?它是指它的以太网端口,但是哪个?
成员en1
en2
是否附加在 bridge0 上?
或者有没有介绍它的链接?
EDIT-01
如果 en1 和 en2 连接在 bridge0 上,我认为 bridge0 应该有两个以上的 MAC 地址。是hw: 0:0:0:0:0:0
吗?
而且我熟悉Switch,MAC地址在以太网端口上,但ether 82:13:08:b0:ec:c0
不要进入以太网端口。
我正在阅读这篇文档SAN vs NAS
SAN 在块级别存储数据,而 NAS 以文件的形式访问数据。对于客户端操作系统,SAN 通常表现为磁盘并作为其自己独立的存储设备网络存在,而 NAS 表现为文件服务器。
我有几个问题:
1.SAN以块级别存储数据,而NAS以文件的形式访问数据。
这句话怎么理解?请举个例子。
2.SAN通常表现为磁盘,而NAS表现为文件服务器。
怎么理解?
这是否意味着我可以从 SAN 请求一个虚拟磁盘,然后使用分区格式化工具对其进行格式化ext4
?
并且文件服务器是已经格式化的虚拟磁盘?
显示超级用户下linux系统的所有运行进程。
ps -aux
为什么不
ps a
我有一个 ssl 证书和 ssl 密钥,是否可以检查其到期时间?
例如。ssl 密钥:
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAm6fSmGzOj5kZHvqyaeo0vrl910o4spr6FH/Wai+vpCmS8vN+
rk6UlYunY1i52Z/Q2yn/zSRf2gCcu0m0ukYH64ZIw3IE/YP8lvJWjIiFsi8Aa6Lr
p5kKZzUfY4A7ZKwVv8piydTGiNWSsBnJ4mvfVfwu548HuLsQBZGMNeQ4GidmnEy
3tSK/0k4LQB3WdO8To75gxcy0HKicm//rqt+F0uMTTIv50nhCoghicPdtAaP1LS
fEGD9otf2STxAlHsHNRcqTqr4fkIeFU+NjbNRWcSCFzzEE7PqOBnw+aRH5ut4BJV
o7SVNe8dVIiKhEW8mLDZMIDE27hZT2ltPRAjyQIDAQABAo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4zlOFpOXxrf8bOtrUYLpeBBiMGk1YkfY+LxejunlVe3K+TS10FoE
YoWVh/PtuSCYScgdCqylVNUTBq1GRK7K9ZXpFrViefo+Md68pqiWqOCdDMi5GyY8
0LIC6HDwAbxQBV14IUvvUuUq9Dcq6qBLSP//zo7jK5raN3DBPRt6Hr4=
-----END RSA PRIVATE KEY-----
ssl 证书(省略)
因为我有时在 macos 钥匙串中知道站点的证书有到期时间。如果我只知道 ssl key 和 ssl cert 数据,是否可以获得到期时间?
在我的 CentOS 7.2 中,我运行 openjnpr-container-vmx,但出现错误:
[root@centos ~]# docker run juniper/openjnpr-container-vmx
Juniper Networks vMX Docker Light Container
Linux b32d308d36eb 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64
CPU Model ................................ Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
CPU affinity of this container ........... 0-7
KVM hardware virtualization extension .... yes
Total System Memory ...................... 15 GB
Free Hugepages ........................... none! Please provision at least 1G (512x2MB or 1x1GB) hugepage
Check for container privileged mode ...... yes
Check for sudo/root privileges ........... yes
Loop mount filesystem capability ......... no
docker access ............................ no (optional)
lcpu affinity ............................ 0-7
NUMA node(s): 1
NUMA node0 CPU(s): 0-7
1 optional features missing. Ignored
2 failed system dependencies. Terminating
===
我的专用服务器硬件信息:
[root@centos ~]# free -mh
total used free shared buff/cache available
Mem: 15Gi 1.4Gi 395Mi 832Mi 13Gi 13Gi
Swap: 7.8Gi 2.0Mi 7.8Gi
CPU 型号:Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz