Skip to main content

Questions tagged [tc]

Tc is used to configure Traffic Control in the Linux kernel.

1 vote
2 answers
152 views

I want to drop all packets sent to a particular port. I first tried using firewalld/iptables-nft settings but that failed (maybe they're being processed by the kernel only?). I succeeded in blocking ...
MrMas's user avatar
  • 305
1 vote
0 answers
43 views

I am using tc to test the behaviour of a networked app under various network conditions. The setup is like this: if [ -z "$(tc qdisc show dev ${MAIN_LINK} ingress)" ] then sudo tc qdisc ...
AlastairG's user avatar
  • 233
2 votes
1 answer
93 views

I would like the IP header IP Precedence bits to be copied into 802.1Q PCP bits for outgoing traffic sourced from the host in question. Specifically for iperf3 and ping utilities. I have failed to set ...
off-on's user avatar
  • 61
0 votes
0 answers
88 views

I'm working with a tc filter setup and I have the following configuration: sudo tc qdisc add dev eth0 handle ffff: ingress sudo tc filter add dev eth0 parent ffff: protocol ip prio 1 flower ip_proto ...
Andy R's user avatar
  • 1
1 vote
1 answer
91 views

I have a camera that creates RTSP traffic. I connected it to a Linux PC via Ethernet, configured the network and access. But when I tried to apply QoS rules, the tc statistics showed that too few ...
eXulW0lf's user avatar
0 votes
0 answers
92 views

Is the tc tool only useful for TPC traffic, or can it also be used to control other protocols like UDP traffic?
Xiaoyong Guo's user avatar
1 vote
2 answers
611 views

I am developing a tunnel application that will provide a low-latency, variable bandwidth link. This will be operating in a system that requires traffic prioritization. However, while traffic towards ...
sheddenizen's user avatar
0 votes
1 answer
342 views

How can tc be used to match a particular payload of an ingress packet, e.g., if the first 32 bits of payload of an IP/UDP packet are equal to some constant $c, the value $c should be changed to $d? ...
qemvirt's user avatar
  • 13
1 vote
1 answer
557 views

I am using tc to change the MAC address of incoming packets on a TAP interface (tap0) as follows where mac_org is the MAC address of a guest in a QEMU virtual machine and mac_new is a different MAC ...
qemvirt's user avatar
  • 13
1 vote
1 answer
985 views

I'm want to use TC BPF to redirect incoming traffic from port 80 to port 8080. Below is my own code, but I've also tried the example from man 8 tc-bpf (search for 8080) and I get the same result. #...
greenro's user avatar
  • 13
1 vote
0 answers
413 views

In my linux router: interface eth1 total bandwidth is 1gbit I want to divide 1140kbit to GroupA, divide 150kbit to GroupB Set users 10.10.10.158, 10.10.21.5, 10.10.21.6 to GroupB Each user has no ...
ackema's user avatar
  • 11
0 votes
2 answers
494 views

I'm wondering whether instead of using a DHCP relay netfilter (be that tc or nftables) can be used to route DHCP broadcast packets to a Docker container attached to a bridge. The reasoning for this is ...
Synthetic Ascension's user avatar
0 votes
0 answers
73 views

I am trying to use the tc command to manipulate traffic on the docker0 interface. I run the commands tc qdisc del dev docker0 root tc qdisc add dev docker0 root handle 1: tbf rate 100mbps burst 1600 ...
akastack's user avatar
1 vote
0 answers
2k views

I am trying to add a tc flower filter for the geneve protocol and I am getting this error: % sudo tc filter add dev gnv0 protocol ip parent ffff: \ flower geneve_opts 0108:01:020000000000000000/...
Ollie's user avatar
  • 199
1 vote
1 answer
772 views

I am trying to limit the download (ingress) rate for a certain app within a cgroup. I was able to limit the upload (egress) rate successfully by marking app's OUTPUT packets in iptables and then set a ...
user216385's user avatar

15 30 50 per page
1
2 3 4 5
10