Questions tagged [traffic]

298 questions
98
votes
4 answers

How to filter http traffic in Wireshark?

I suspect my server has a huge load of http requests from its clients. I want to measure the volume of http traffic. How can I do it with Wireshark? Or probably there is an alternative solution using another tool? This is how a single http…
par
  • 1,233
  • 2
  • 12
  • 15
47
votes
6 answers

How I can identify which process is making UDP traffic on Linux?

My machine is continously making udp dns traffic request. what i need to know is the PID of the process generating this traffic. The normal way in TCP connection is to use netstat/lsof and get the process associated at the pid. Is UDP the connection…
boos
  • 631
  • 1
  • 6
  • 8
33
votes
3 answers

ISP broadcasting all IP-packets, so I can see traffic of other clients from ISP

Recently I wondered why my router shows a constant downstream of 5 MBit/s, while I am downloading almost no data. I discovered the "packet logging" function of my router, with which I was able to log all the traffic in the wireshark format. And I…
user3297416
  • 443
  • 4
  • 5
22
votes
9 answers

Linux: How to measure daily/montly network traffic?

I need to keep statistics of daily network traffic for a linux machine (CentOS 5). Is there a way to do it using standard/native tools or utilities? Or do I have to dowload special software for that? Thanks.
GetFree
  • 1,460
  • 7
  • 23
  • 37
18
votes
5 answers

Mirroring Traffic with Nginx

I need to duplicate/mirror the traffic comming to my server/resource. I mean, I have server A and B and N (nginx) as webserver. All the traffic comming to N/resource --> redirect to both A and B Is it possible?
Agus
  • 281
  • 1
  • 2
  • 6
18
votes
10 answers

Network Traffic Monitoring

What is the best tool to monitor/analyze network traffic on an entire network (several subnets)? I'm looking for something that will help me toubleshoot bandwidth problems when, for instance, users start complaining that the "network is slow"
Brent
  • 22,219
  • 19
  • 68
  • 102
17
votes
1 answer

How to route only specific openVPN traffic through a openVPN based on IP filtering of the destination?

I noticed a DNS proxy service I saw utilizes openvpn and tunnels supposedly only DNS traffic through the VPN which masks the users of the VPN's geolocation and allows the users system to use their initial connection for all other traffic. I could…
RCG
  • 784
  • 1
  • 6
  • 15
14
votes
6 answers

First days online : how not to kill your site

Suppose you have this fancy new site, with lots of data (like big images), and you're about to put it online. If you do "too much" publicity, during the first days, the site will be overwhelmed with requests. How can I mitigate this risk ? I've…
mathieu
  • 335
  • 3
  • 9
13
votes
4 answers

How do I get the number of (currently) established TCP connections for a specific port?

How do I get the number of (currently) established TCP connections for a specific port? I have managed to get counters for traffic working by doing i.e for outgoing RTMP. iptables -N $CHAIN iptables -I OUTPUT -j $CHAIN iptables -A $CHAIN -p tcp…
James Bennet
  • 153
  • 1
  • 1
  • 6
13
votes
4 answers

How to play traffic against a shadow network?

Sorry if this is a newb question... I've heard stories of Netflix and Twitter being able to duplicate web traffic amongst two separate infrastructures: one is the authoritative/trusted one that goes back to the user; and the other is a 'shadow' or…
Nelz
  • 141
  • 5
13
votes
5 answers

Limit SSH traffic?

I would like to be able to limit SSH bandwidth on my server. I.e. each sshd process should be limited to 200Kb/s or something like that. scp has this functionality, but ssh, being more designed for responsive interactive use, doesn't seem to have…
user10640
  • 231
  • 1
  • 2
  • 5
13
votes
8 answers

What's the best way to monitor Internet traffic for the entire office?

We currently have a T3 line for about 28 people and it gets deadly slow during the day so I need something to help track down why. I'm assuming someone is downloading something that they may not be aware of.
Ryan Detzel
  • 687
  • 3
  • 7
  • 20
11
votes
2 answers

How to route network traffic of a host via another host?

I'm not the System Administrator of our corporate network, but I've got two Linux workstations (hosts A and B) with root access to both. Both hosts can see each other fine (ssh, ping, etc works from one to the other). However, only host A can reach…
Harry
  • 393
  • 1
  • 4
  • 12
11
votes
3 answers

How to cap bandwidth usage on AWS EC2?

I'm planning to use AWS EC2 for my web application and I need control over the bandwidth usage (don't want the instances to be compromised and ramping up bandwidth cost crazily). There are many threads in AWS forums on this matter and no immediate…
10
votes
4 answers

Detecting Slashdot effect in nginx

Is there a way I can make Nginx to notify me if hits from a referrer goes beyond a threshold? e.g If my website is featured at Slashdot and all of sudden I have 2K hits coming in an hour I want to be notified when goes beyond 1K hits an hour. Will…
Quintin Par
  • 4,293
  • 10
  • 46
  • 72
1
2 3
19 20