Cheat Codeping http://www.google.com -f -l 1472 So we have issue with network connectivity that intermittently experiencing slowness (God, no one love slow network!). After checking around we found that likely it’s due to MTU settings not optimized. First is we need to check what’s the MTU set by our router (usually it’s 1500 btw). SoContinue reading “How to check Network MTU”
Tag Archives: Network
Using CURL to get Microsoft Graph API
Cheat Codecurl -v -X GET -H “Authorization: Bearer ey[removed]” -H “Content-Type: application/json” https://graph.microsoft.com:443/v1.0/users?$filter=startswith(displayName,’someone’) –trace-time -v So I have web API hosted in Azure App Service which returning a result from Microsoft Graph API about some user. This API is somehow bloody slow… it took almost 8 seconds to return result.I’m puzzled! I want to knowContinue reading “Using CURL to get Microsoft Graph API”
Digging the .ETL file – network packets file for TCP connection
Cheat CodeTCP.port==1433 So we have .ETL file from previous netsh session, what can we do with it?I installed Microsoft Network Monitor 3.4 (download here) – Microsoft why Archive such amazing tool!? 😦 –Once it’s installed I launch itThen the usual File -> Open -> Capture… and select the .etl fileSet the “Parser Profile” Once that’sContinue reading “Digging the .ETL file – network packets file for TCP connection”
Capture Network Packet without Wireshark
Cheat Code> netsh trace start persistent=yes capture=yes tracefile=c:\temp\capture.etl > netsh trace stop There are too many time we need to troubleshoot issue all the way to network level.Unable to connect, strange application error, etc.Nothing beats the capturing network packets to know at the lowest level.Use the above cheat code to capture the packet for analysis.NextContinue reading “Capture Network Packet without Wireshark”