network-traffic

How to monitor video and https traffic using bro network security monitor

我的梦境 提交于 2019-12-08 09:33:28
问题 I have configured bro on my system successfully. OS is centos 7. I have to monotor multimedia traffic e.g. youtube and some social site like facebook. I started bro for some miniutes while using facebook and youtube but their is no information about youtube in http log file nithir facebook. As for I think that this is a protocol problem as facebook use https rather than http but I do not know why youtube. I have followed following steps after setting correct interface. [BroControl] > install

Why can't Fiddler see my web service traffic?

只愿长相守 提交于 2019-12-04 18:52:52
问题 I had a problem that Fiddler wasn't showing my web service calls made from my application (running locally). I found and solved my problem. So my question is not how, but why does Fiddler not show web service traffic? I have a very limited understanding of how network traffic works so this might be quite simple/obvious. All I'm able to decipher is: I don't think it has anything to do with HTTPS, as I can see HTTPS requests in Fiddler (decoded if I want through Fiddler's settings). I copied a

Why can't Fiddler see my web service traffic?

£可爱£侵袭症+ 提交于 2019-12-04 02:24:07
I had a problem that Fiddler wasn't showing my web service calls made from my application (running locally). I found and solved my problem. So my question is not how, but why does Fiddler not show web service traffic? I have a very limited understanding of how network traffic works so this might be quite simple/obvious. All I'm able to decipher is: I don't think it has anything to do with HTTPS, as I can see HTTPS requests in Fiddler (decoded if I want through Fiddler's settings). I copied a piece of code new WebProxy("127.0.0.1", 8888); in order to get it to work so it must have something to

How to calculate HttpWebRequest spent outbound and inbound internet traffic

别等时光非礼了梦想. 提交于 2019-12-03 08:51:12
问题 I have the below function to fetch a page. My question is i want to calculate how much internet connection is spent Both inbound (download) and outbound traffic (sent) How can i do that ? Thank you My function public static string func_fetch_Page(string srUrl, int irTimeOut = 60, string srRequestUserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0", string srProxy = null) { string srBody = ""; string srResult = ""; try { HttpWebRequest request =

What % of traffic is network overhead on top of HTTP/S requests

蓝咒 提交于 2019-12-03 06:36:55
问题 If we: 1) Count bytes/bits at the network adapter level (raw # of bits through the NIC) and, 2) Count bytes in all HTTP/S request/responses. Assuming only HTTP/S traffic is on the box, and assuming a statistically relevant amount of "typical" web traffic: I want to know about how much more traffic will be counted at the NIC level than at the HTTP/S level (counting http headers and all) because of the extra network overhead. 回答1: You have zero knowledge about the layers below HTTP. You can't

How to calculate HttpWebRequest spent outbound and inbound internet traffic

巧了我就是萌 提交于 2019-12-02 22:41:55
I have the below function to fetch a page. My question is i want to calculate how much internet connection is spent Both inbound (download) and outbound traffic (sent) How can i do that ? Thank you My function public static string func_fetch_Page(string srUrl, int irTimeOut = 60, string srRequestUserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0", string srProxy = null) { string srBody = ""; string srResult = ""; try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(srUrl); request.Timeout = irTimeOut * 1000; request.UserAgent = srRequestUserAgent;

What % of traffic is network overhead on top of HTTP/S requests

帅比萌擦擦* 提交于 2019-12-02 21:08:50
If we: 1) Count bytes/bits at the network adapter level (raw # of bits through the NIC) and, 2) Count bytes in all HTTP/S request/responses. Assuming only HTTP/S traffic is on the box, and assuming a statistically relevant amount of "typical" web traffic: I want to know about how much more traffic will be counted at the NIC level than at the HTTP/S level (counting http headers and all) because of the extra network overhead. Franci Penov You have zero knowledge about the layers below HTTP. You can't even assume the HTTP request will be delivered over TCP/IP. Even if it is, you have zero

Are there any programs that can simulate an unstable network connection? [closed]

吃可爱长大的小学妹 提交于 2019-11-30 18:16:32
We need to simulate an unstable network connection to try to debug some connectivity issues in our server/client application and I was wondering if there are any programs out there that can simulate those conditions such as on a faint wireless network. I'm not just referring to reducing bandwidth, but also reducing reliability, frequent on and off, short bursts of disconnectedness, etc. I used a tool called netem that runs on linux. It allows you to increase packet loss at a given percentage, introduce delays within packets and handle packet re-ordering. Basically it's designed to emulate

Android programmatically get data usage for specific app, for example: Data Usage used on “Facebook”

混江龙づ霸主 提交于 2019-11-30 15:40:58
I would like to categorize the data usage by: OS ------60% (300MB used so far) Music ------ 10% (50MB used so far) Facebook -----5% (25MB used so far) Anyone can help me in solving this Android programming as I am a beginner of Android development and would like to develop a mobile network monitor app currently. I would like to get the data usage by specifying the app name. Thank you. Hope to hear from you all. Use http://developer.android.com/reference/android/net/TrafficStats.html#getUidRxBytes(int) public static long getUidRxBytes (int uid) Added in API level 8 Return number of bytes

How to get the correct number of bytes sent and received in TrafficStats?

北战南征 提交于 2019-11-28 19:43:02
My app is trying to count the number of bytes send and received over WiFi/LAN and mobile data connections. To do that, I get the values of TrafficStats counters at one point in time and subtract that from its values the next time I check. // get current values of counters long currentMobileTxBytes = TrafficStats.getMobileTxBytes(); long currentMobileRxBytes = TrafficStats.getMobileRxBytes(); long totalTxBytes = TrafficStats.getTotalTxBytes(); long totalRxBytes = TrafficStats.getTotalRxBytes(); // to get mobile data count, subtract old from current long currentMobileSent = currentMobileTxBytes