Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [traffic]

The tag has no usage guidance.

0
votes
1answer
28 views

Seeing dead process in nethogs?

nethogs is a very useful tool to see which process(es) send/receive lots of network traffic. But as soon as the process exits, on the next display refresh nethogs no longer displays the process. Is ...
-1
votes
1answer
42 views

linux network traffic accounting

I have a network with several Hosts N1, N2, N3, ... and they all communicate with each other. I'm in the N2 host CLI with linux. Can you know how much traffic was in bytes between a N2 Host and N3 in ...
0
votes
0answers
32 views

Traffic Generation

I require to generate TCP flows of various sizes and need to generate them after varying intervals. I also need to modify DSCP value of each packet based on it's flow size. What possible tools can I ...
0
votes
0answers
49 views

Linux iptables forwarding

I've 3 machines : 1 server with LAN card without internet direct access 1 Windows host with WiFi connection for Internet and 1 LAN port 1 linux virtual machine on the Windows host [...
0
votes
1answer
40 views

simulate geographic distance between servers

I want to simulate geographic distance, so I need to add delay to each receive/transfer package. I read that squid could work, however, playing with its configuration haven't given me the right ...
2
votes
1answer
155 views

What is the nature of the network traffic I see on bootup?

Linux Mint 19 (cinnamon) On boot up I see connections to the following: golem.canonical.com and pugot.canonical.com all-systems.mcast.net and igmp.mcast.net 224.0.0.251 (multicast, is this local?) ...
0
votes
1answer
107 views

How to log quantities of IP traffic by src/dst (and port for UDP & TCP)?

How can I log quantities of IP traffic by src/dst (and port for UDP & TCP)? For each interval (probably each hour) I would like to see something like: proto, src, dst, packets, octets ICMP, 192....
0
votes
2answers
69 views

How to capture network consumption for a series of IP's + linux +?

I am looking for a method to capture the network consumption ( not bandwidth ) on daily basis for a range of IP's. Lets say { 192.168.122.0/25 }. I want to calculate per day how much traffic/data ...
2
votes
0answers
213 views

htb -> netem -> pfifo_fast qdisc drops all packets under high traffic

I configured a OpenVSwitch-based topology using Mininet on my local machine: h1 (server) -------(eth1) s1 (eth2)--------------- h2 (client) (eth3) | ...
1
vote
1answer
76 views

Using one PC on LAN to monitor traffic usage on other PC's on same LAN

I have a cisco epc3825 cablemodem that provides internet to a number of PC's via Wifi. I'd like to add Linux PC on the LAN to monitor traffic usage on all PC's on the same LAN. Is this possible? Would ...
3
votes
2answers
863 views

Incoming and outgoing traffic when NOTHING is running

In a system with nothing running (at least nothing I know of). Listening of incoming and outgoing traffic prints this output: 192.168.1.1 => all-systems.mcast.net 0b ...
2
votes
5answers
3k views

Ubuntu - UDP Traffic on port 123

I have noticing that, lately, my Odroid's ethernet LED is constantly blinking, even when I'm expecting no traffic. I ran iptraf and, besides the attempts of SSH brute force guess attempts (that are ...
1
vote
0answers
389 views

tshark capture traffic - Channel Hopping

I'm trying to capture the Wifi trafic from every AP. However when using tshark -i wlan0mon -w capture -F pcap and running a channel hopping script on the interface wlan0mon. for (( i = 1 ; i <= ...
1
vote
1answer
398 views

Delay some localhost traffic

How to delay some localhost traffic? (the computer is a VM, but hopefully that won't matter) The following creates a new interface and tries to apply tc to it: ifconfig lo:1 127.0.10.10 netmask 255....
1
vote
1answer
263 views

Route blocking incoming traffic

I have a problem on my Redhat computer. I do have incoming traffic on a network interface, let's call it eth1. I also have outgoing traffic on another network interface, let's call it eth2. When the ...
0
votes
1answer
59 views

Network monitoring across my lan

I would like to monitor the network usage of all my deivces connected to same LAN network from raspberry pi 3. Since Pi3 is not a switch , it is also connected to the same network. Is it possible to ...
1
vote
1answer
82 views

How can I see which processes upload/download how much data? [Debian 9]

So I'd like to gain some insight into which processes (incl. daemons) upload and download how much data on my Debian 9 machine. Sadly the System Monitor does not display such information. I'd prefer ...
1
vote
0answers
184 views

writing a USB sniffing kernel module

Here is my problem : I have a Raspberry pi zero with Raspbian Jessie and I set up the dwc2 module to use USB OTG. I would like to sniff the USB traffic from the Raspberry to implement host ...
0
votes
1answer
168 views

Generate dummy traffic over OpenVPN link

I'm trying to generate some dummy traffic that is sent over an existing OpenVPN link. I can ping some public IP over the OpenVPN link, but that's not enough traffic for my tests. How could I ...
-1
votes
1answer
2k views

How to find all the incoming traffic in the linux server [closed]

How to find all the incoming traffic to the linux server. It should show only incoming traffics.
3
votes
1answer
121 views

How to control the download speed in browser?

With parameter --limit-rate=80k, downloading speed with wget can be limited in 80k/s. url="http://caesar.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-8.7.1-amd64-CD-1.iso"; wget --limit-rate=80k ...
2
votes
1answer
3k views

Generating TCP traffic in Ubuntu [closed]

I want to generate TCP traffic in Ubuntu between two hosts. I also would like to measure the average RTT in Wireshark. What is the command in Ubuntu for generating TCP traffic? First , I used This ...
0
votes
1answer
472 views

Remotely monitor network traffic of servers

Is it possible to remotely monitor network traffic of a server or more and log their result if necessary? The reason why I'm looking for a tool to capture my servers' network traffic, is that I was ...
3
votes
1answer
515 views

How to gather full network usage statistics on a freebsd router?

I have a freebsd box, which serves as a router from LAN to the outside world. It has several Internet providers, OpenVPN servers and clients, NAT and so on. I would like to have complete statistics ...
1
vote
0answers
223 views

iptraf shows traffic on UDP/443, why?

Somehow, iptraf is telling me that I am getting traffic via port 443 in UDP instead of TCP. I checked the firewall several times, and UDP port 443 is definitely not open. I have that TCP port (...
0
votes
1answer
52 views

monitor the network traffic into a specific directory

I'm aware that iftop monitors the network traffic on the current host, but is there a program that monitors the network traffic to a specified directory on the filesystem?
1
vote
0answers
170 views

Giving maximum priority to some traffic

I have all my interfaces configured as follows: tc qdisc add dev eth0 root handle 1: htb default 20 tc class add dev eth0 parent 1: classid 1:1 htb rate 10.0Mbit burst 15k tc class add dev eth0 ...
0
votes
1answer
68 views

Intercept traffic before interface

I am wondering if it is possible to intercept traffic emmited by a process before it goes through an interface on my host? How could I try and do this?
3
votes
2answers
399 views

run tcpdump not to interpert packet contents

What options should I run tcpdump with to have it just do a hex dump of packets without trying to interpret its contents? Running it astcpdump -e -v -x or similar attempts to interpret layers, however ...
1
vote
0answers
182 views

Load sharing across multiple interfaces using tc

I created a simple topology in GENI (http://www.geni.net/) and it looks like the following: A --- Router_1 === Router_2 --- B (Note that there are two links between routers 1 and 2.) I am trying to ...
2
votes
0answers
281 views

Redirect traffic to specific website

I am trying to setup something like a captive Portal but get stuck. I have an embedded device which starts a Wireless Access Point. Now I like to forward all traffic to a website on the device. I do ...
1
vote
0answers
38 views

Per-user total traffic counter

How can I get a per-user traffic counter? (I'm not looking for real-time monitoring such as nethogs) ifconfig displays a traffic counter for all users: UserIPacct isn't maintained anymore.
1
vote
0answers
221 views

problem in mirroring interfaces' traffic using OVS

I'm trying to mirror all incoming/outgoing traffic of an interface "eth0" on VM04, to another interface "eth1" on VM01, using open Vswtich integrated with neutron in openstack. Both VMs are in one ...
4
votes
1answer
744 views

Using tc for traffic quotas?

Is it possible to implement traffic quotas (absolute limits, not rate limits) based on the network classifier cgroup? I see there is the iptables netfilter 'quota' extension, which seems to do ...
0
votes
1answer
148 views

Forward traffic from first to second server

I have 2 Servers, 1 normal Server without ddos protection and 1 ddos protected v-Server, i try to forward traffic through the v server to the main server. So if someone access to my v-server like tcp ...
6
votes
3answers
16k views

Tool to generate TCP traffic

I want to generate a TCP traffic starting from the port 0 to the port 65535. 1 tcp packet for each port with 1ms between 2 packets. The generator should not care if there is a TCP ACK or not. Are ...
0
votes
1answer
509 views

Redirect traffic through the server

My task is to redirect traffic (port range) through the server. Here is the schema: Why NAT is not appropriate here: If NAT is set to "Tunnel Server", then all users will be assigned the same IP. ...
0
votes
2answers
3k views

put tcpdump in promiscuous mode and sniffing from any pc

At my home I use a wireless router to connect to internet, so every device uses wireless card to use it. In this way using sudo tcpdump -i wlan0 from my pc I should be able to see all the packets ...
2
votes
2answers
4k views

iptables: How to allow only SSH and VPN traffic?

I have a dedicated server with Ubuntu 14.10 installed. The server should connect to an OpenVPN server and the traffic should only go through the VPN, except for SSH traffic. My idea is to implement ...
1
vote
1answer
112 views

Measure the network traffic on a long-term basis

I'd like to find out how much network traffic my computer uses, i.e. whether a limit of 30GB of transfer wouldn't be too little. What's the best tool to measure it? Using Linux Mint 17
1
vote
1answer
129 views

How does Linux prevent applications from sending more packets than the link can handle without dropping packets?

I couldn't make the question any clearer so here's an example scenario: Given a Linux machine connected to an IP network through a physical interface of bandwidth 10Mbps (or a higher speed interface ...
1
vote
1answer
48 views

Change internet link when fault

Situation: 2 internet links - A and B - both connected to linux router. 2 routing tables, one with default via A, second default via B. iptables and ip rule select "best" table for specific traffic. ...
1
vote
1answer
995 views

How to measure network traffic (with pfSense/freeBSD)?

Is it possible to measure network traffic (per month, per WAN, per direction) with pfSense/freeBSD? There are following programs listed https://doc.pfsense.org/index.php/...
1
vote
0answers
220 views

Xen and traffic shaping

I want to limit the incoming and outgoing traffic for a guest machine on a Xen Host. There is a total of 1000Mbit/s available on the host. The guest machine has its own interface, let's say vif1.0 ...
1
vote
2answers
144 views

How to know URL being observed directly in a server

I host many websites using cpanel. I want to know URL being accessed at real time. It seems that many old domains still point to my host and they seem to take a chunk of CPU
0
votes
1answer
118 views

Balance outgoing traffic

I'm running on Debian. I have an application that runs on localhost and listens for incoming connections with a port range from 10000 to 11000. I want to use a tool like a traffic balancer that runs ...
2
votes
0answers
134 views

How to limit network bandwidth after some data transferred?

So the question is in the name of topic. How to limit bandwidth I know. Using tc. But how to do so after, for example, traffic had reached 500MB. And after some time reset the limits.
2
votes
0answers
779 views

sctp traffic generator

I'm looking for a free SCTP/TCAP traffic generator (specially for MAP, Camel and INAP protocols). I need to build some message flow scenario and generate load in order to test some application Thanks
2
votes
1answer
555 views

SSH tunnelling outgoing traffic shaping

I am using an OpenSSH server for a client app that uses the traffic forwarding, SSH tunnelling and some users are consuming an extraordinary amount of bandwidth. Is there a way to shape the traffic on ...
6
votes
1answer
6k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...