Difference between revisions of "Esxi Packet Capture"

From UVOO Tech Wiki
Jump to navigation Jump to search
(Created page with "- Vsphere - Networking - dvSwitch01 - Configure -> Settings -> Port Mirror - ``` Session Type: Encapsulated Remote Mirroring (L3) Source Encapsolation Type: GRE Sources <vm h...")
 
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
Enable
 
Enable
 +
 +
 +
```
 +
sudo tshark -lnnpi ens160 -f "proto 47" -d ip.proto==47,gre -Y 'tcp.port==443 and tls.handshake.extension.type=="server_name" || http.host' -T fields -e ip.src -e ip.dst -e tcp.dstport -e http.host -e tls.handshake.extensions_server_name | grep my.domain.com
 +
```

Latest revision as of 00:38, 8 February 2022

  • Vsphere
  • Networking
  • dvSwitch01
  • Configure -> Settings -> Port Mirror
Session Type: Encapsulated Remote Mirroring (L3) Source
Encapsolation Type: GRE
Sources <vm hosts>
destination: ip address you want to send gre packets containing pcap packets

Enable

sudo tshark -lnnpi ens160 -f "proto 47" -d ip.proto==47,gre -Y 'tcp.port==443 and tls.handshake.extension.type=="server_name" || http.host' -T fields -e ip.src -e ip.dst -e tcp.dstport -e http.host -e tls.handshake.extensions_server_name | grep my.domain.com