koninr
Intern
Intern
  • UID5328
  • Fans1
  • Follows2
  • Posts12
Reads:662Replies:3

Can I capture the information about the IP traffic going to and from network interfaces in my VPC?

Created#
More Posted time:Apr 11, 2018 12:44 PM
As title, can I capture the information about the IP traffic going to and from network interfaces in my VPC?

BrianBae
Assistant Engineer
Assistant Engineer
  • UID5909
  • Fans0
  • Follows0
  • Posts58
1st Reply#
Posted time:Jul 10, 2018 1:38 AM
Try iptraf's
 http://iptraf.seul.org

You can see traffic data command console

GhulamQadir
Engineer
Engineer
  • UID5968
  • Fans2
  • Follows0
  • Posts70
2nd Reply#
Posted time:Jul 30, 2018 4:15 AM
@koninr. You can Capture IP Traffice Going to and From Network Interfaces using Wireshark.



Wireshark would do that for you on Windows and linux (Not sure about Mac). It uses WinPCap library and wraps in a nice UI for you to monitor the packets that you are interested. It allows you to listen to specific or all interfaces , so you can make sure your packets are going via the right interface


JohnHanley
Engineer
Engineer
  • UID5606
  • Fans2
  • Follows1
  • Posts75
3rd Reply#
Posted time:Jul 30, 2018 12:04 PM
Note: I have not verified this within Alibaba Cloud.

Most cloud vendors prohibit traffic monitoring. For example, with AWS, this is a written policy plus AWS disables putting the network adapters into promiscuous mode.

AWS has VPC Flow Logs. I cannot find information yet about an equivalent product for Alibaba Cloud. Does anyone  know anything?
Guest