Questions tagged [traffic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Method to diagnose what my network Rx bytes are?

I'm working on an embedded Linux product (Debian 10.8 running on Atmel based SBC). When in its "normal rest state", it should be doing very little network traffic, NTP and one minute MQTT ...
user avatar
0 votes
0 answers
18 views

Why are packets being dropped (kfree_skb)?

I am currently sending ~9mpps, each packet is 72bytes large, and is a UDP DNS request. The packets are being sent to a Dell server I have using an intel i40e interface. The server is using all of its ...
user avatar
  • 294
0 votes
0 answers
17 views

How to log Source IPs of Incoming File Transfers above a Specific Size?

I am trying to create a filter with tcpdump that logs the source IPs of only incoming file transfers above a specific size irrespective of the protocol that is being used for the transfer. For ...
user avatar
1 vote
1 answer
129 views

ebtable rules to block traffic at bridge interface

I have a setup, one bridge is connected together with 3 ethernet ports eth1,eth2, eth3. How can I block the traffic from a client which is connected to eth1, based on client's MAC at bridge, br0 using ...
user avatar
  • 137
0 votes
0 answers
66 views

Forward traffic through tun0 interface

I just set up an openvpn linux server. This server is in the same network as the others servers (172.16.5.0/24). This openvpn server creates an interface called tun0 with an ip range 10.8.0.0/24 to ...
user avatar
0 votes
0 answers
39 views

Snort not detecting 3306 traffic, but tcpdump on port 3306 DOES show traffic

My scenario is: Server with Snort, mariadb, etc Attacker (client) I'm connected to the DB from the attacker, and whenever I execute regular SQL commands while in the server this tcpdump command is ...
user avatar
1 vote
1 answer
176 views

How to use a network interface as read-only?

I have a switch in my home lab that I want to run some experiments with, especially with regards to VLANs and some other protocols that I want to better understand. Now, this switch (a TP-Link 5-port ...
user avatar
  • 111
2 votes
2 answers
790 views

Get current network utilization via /sys/class/net

Playing around with some low level functions to monitor my system stats. I would like to get the current network utilization the same way like I can get cpu temp cat /sys/class/thermal/thermal_zone0/...
user avatar
2 votes
1 answer
696 views

Route traffic between interfaces on same device ( wlan0 to usb0 )

I have a usb0 interface with 10.0.0.1 ip with a router on 10.0.0.2 and unaccessible to internet. I also have a wifi adapter on wlan0 with 192.168.0.3 connected to my router at 192.168.0.1 (this is ...
user avatar
  • 21
0 votes
1 answer
101 views

Is it possible to find amount of data that come and go through HBA ports?

I have a ProLiant server with a HBA card (2 ports). $ ls /sys/class/fc_host host2 host3 and also I have a 20T SAN storage that is connected to San switch via those ports. Is it possible to ...
user avatar
1 vote
0 answers
381 views

Extreme slow connection to Client | CentOS 7

I have a CentOS 7 Server running on centos-release-7-6.1810.2.el7.centos.x86_64 The problem is not the Client connection, neither the Server connection is. But the connection between both is sadly ...
user avatar
0 votes
1 answer
73 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 ...
user avatar
-2 votes
1 answer
246 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 ...
user avatar
  • 17
0 votes
0 answers
81 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 [...
user avatar
  • 1
0 votes
1 answer
79 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 ...
user avatar
  • 85
2 votes
1 answer
882 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?) ...
user avatar
1 vote
1 answer
1k 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....
user avatar
  • 581
0 votes
2 answers
870 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 ...
user avatar
4 votes
0 answers
486 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) | ...
user avatar
  • 153
1 vote
1 answer
804 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 ...
user avatar
2 votes
2 answers
6k 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 ...
user avatar
  • 313
2 votes
5 answers
7k 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 ...
user avatar
1 vote
0 answers
639 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 <= ...
user avatar
3 votes
1 answer
1k 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....
user avatar
  • 151
1 vote
1 answer
392 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 ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
  • 21
1 vote
1 answer
296 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 ...
user avatar
  • 3,500
1 vote
0 answers
227 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 ...
user avatar
0 votes
1 answer
213 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 ...
user avatar
-1 votes
1 answer
6k 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.
user avatar
3 votes
1 answer
282 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 ...
user avatar
  • 85
2 votes
1 answer
6k 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 ...
user avatar
  • 21
0 votes
1 answer
623 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 ...
user avatar
3 votes
1 answer
981 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 ...
user avatar
  • 2,617
1 vote
0 answers
288 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 (...
user avatar
  • 2,305
0 votes
1 answer
129 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?
user avatar
  • 255
1 vote
0 answers
227 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 ...
user avatar
0 votes
1 answer
82 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?
user avatar
  • 13
3 votes
2 answers
1k 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 ...
user avatar
  • 1,451
1 vote
0 answers
327 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 ...
user avatar
  • 11
2 votes
0 answers
325 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 ...
user avatar
  • 133
1 vote
0 answers
40 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.
user avatar
1 vote
0 answers
235 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 ...
user avatar
4 votes
1 answer
953 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 ...
user avatar
  • 121
0 votes
1 answer
177 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 ...
user avatar
8 votes
3 answers
20k 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 ...
user avatar
  • 301
0 votes
1 answer
726 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. ...
user avatar
0 votes
2 answers
5k 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 ...
user avatar
  • 1,113
2 votes
4 answers
7k 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 ...
user avatar
  • 21
1 vote
1 answer
141 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
user avatar
  • 2,662