Byla vydána nová verze 6.4 programovacího jazyka Swift (Wikipedie). Zdrojové kódy jsou k dispozici na GitHubu.
Německý kancléř Friedrich Merz (CDU) se během debaty s finalisty studentské vědecké soutěže Jugend forscht vyjádřil pro konec anonymity na internetu a vyslovil názor, že pro uživatele Internetu by měla platit podobná právní odpovědnost jako pro novináře tradičních médií. Na dotaz studenta, jak by se tedy povinnost uvádět pravé jméno slučovala s prací investigativních novinářů nebo ochranou jejich zdrojů, Merz neodpověděl, ve své
… více »Společnost Fujitsu představila FUJITSU-MONAKA CPU a Fujitsu MONAKA Server. Navrženo, vyvinuto a vyrobeno v Japonsku. Pro suverénní AI infrastrukturu.
Předprodej v květnu představených notebooků Googlebook, nástupců notebooků Chromebook, bude spuštěn v pondělí 21. září.
Byla vydána betaverze Fedora Linuxu 45 (ChangeSet), tj. poslední zastávka před vydáním finální verze, která je naplánována na úterý 20. října. S konzolí kmscon místo fbcon. Současně byla vydána betaverze Fedora Linux Asahi Remixu 45. S podporou čipů M3.
Po půl roce vývoje od vydání verze 50 bylo vydáno GNOME 51 s kódovým názvem "A Coruña" (Mastodon). Podrobný přehled novinek i s náhledy v poznámkách k vydání a v novinkách pro vývojáře. Videopředstavení na PeerTube a YouTube.
OpenAI spolupracuje s konkurenty Anthropic a Google DeepMind ze skupiny Alphabet na bezpečnosti umělé inteligence (AI). Globální obavy ohledně existenčních rizik umělé inteligence vzrostly poté, co se o víkendu sešli vedoucí předních amerických firem z odvětví AI a vyzvali k pozastavení vývoje technologie.
Evropská unie navrhne zákaz sociálních sítí, online her a chatbotů pro děti mladší 13 let a možnost účtu pro děti do 15 let jen se souhlasem rodičů, oznámila šéfka Evropské komise Ursula von der Leyenová v dnešním projevu ve Štrasburku. Návrh předpisu nazvaného EU Kids Act představí Evropská komise ve čtvrtek. Von der Leyenová zdůraznila, že chce, aby se rovněž změnilo základní pravidlo: platformy budou muset dokázat, že jsou bezpečné.
… více »Byla vydána Java 27 / JDK 27. Nových vlastností (JEP - JDK Enhancement Proposal) je 9.
Byl vydán Mozilla Firefox 156.0. Přehled novinek v poznámkách k vydání a poznámkách k vydání pro vývojáře. Vestavěný prohlížeč PDF se nyní spouští o 45 % rychleji. Řešeny jsou rovněž bezpečnostní chyby. Nový Firefox 156 bude brzy k dispozici také na Flathubu a Snapcraftu.
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 512kbituzivatel:
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 32kbit ceil 512kbitco se stane nebo spise uz se stalo, ze dojdu k tomu ze mam vice nez deset uzivatelu???
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 32kbit ceil 512kbitkdyz tam je 1:20 tak my to nejak nefunguje jak to mam pocitat dal???
Kazdopadne jsem pro nekoho delal modifikaci pro max. 255 uzivatelu. Ta se ale nekam ztratila. Mozna bych to vymyslel znova, pokud vam staci tech 255...
Kdyztak se prosim ozvete...
Handle se skládá ze dvou šestnáctibitových čísel, která se zapisují v šestnáctkové soustavě. Ale jak už zde někdo podotkl, i 1:20 musí bez problémů fungovat. Pokud ne, problém je někde jinde.
tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1:0 htb tc class add dev eth0 parent 1:0 classid 1:1 htb rate 600kbit tc class add dev eth0 parent 1:1 classid 1:12 htb rate 32kbit ceil 128kbit tc class add dev eth0 parent 1:1 classid 1:13 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:14 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:15 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:16 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:17 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:18 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:19 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:20 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:21 htb rate 32kbit ceil 600kbit tc class add dev eth0 parent 1:1 classid 1:22 htb rate 32kbit ceil 600kbit tc qdisc add dev eth0 parent 1:12 handle 12:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:13 handle 13:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:14 handle 14:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:15 handle 15:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:16 handle 16:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:17 handle 17:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:18 handle 18:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:19 handle 19:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:20 handle 20:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:21 handle 21:0 sfq perturb 10 tc qdisc add dev eth0 parent 1:21 handle 22:0 sfq perturb 10 iptables -t mangle -F FORWARD iptables -t mangle -A FORWARD -j MARK --set-mark 11 iptables -t mangle -A FORWARD -d 192.168.1.2 -j MARK --set-mark 1 iptables -t mangle -A FORWARD -d 192.168.1.3 -j MARK --set-mark 2 iptables -t mangle -A FORWARD -d 192.168.1.4 -j MARK --set-mark 3 iptables -t mangle -A FORWARD -d 192.168.1.5 -j MARK --set-mark 4 iptables -t mangle -A FORWARD -d 192.168.1.6 -j MARK --set-mark 5 iptables -t mangle -A FORWARD -d 192.168.1.7 -j MARK --set-mark 6 iptables -t mangle -A FORWARD -d 192.168.1.8 -j MARK --set-mark 7 iptables -t mangle -A FORWARD -d 192.168.1.9 -j MARK --set-mark 8 iptables -t mangle -A FORWARD -d 192.168.1.10 -j MARK --set-mark 9 iptables -t mangle -A FORWARD -d 192.168.1.11 -j MARK --set-mark 10 iptables -t mangle -A FORWARD -d 192.168.1.12 -j MARK --set-mark 11 tc filter add dev eth0 parent 1:0 protocol ip handle 1 fw flowid 1:12 tc filter add dev eth0 parent 1:0 protocol ip handle 2 fw flowid 1:13 tc filter add dev eth0 parent 1:0 protocol ip handle 3 fw flowid 1:14 tc filter add dev eth0 parent 1:0 protocol ip handle 4 fw flowid 1:15 tc filter add dev eth0 parent 1:0 protocol ip handle 5 fw flowid 1:16 tc filter add dev eth0 parent 1:0 protocol ip handle 6 fw flowid 1:17 tc filter add dev eth0 parent 1:0 protocol ip handle 7 fw flowid 1:18 tc filter add dev eth0 parent 1:0 protocol ip handle 8 fw flowid 1:19 tc filter add dev eth0 parent 1:0 protocol ip handle 9 fw flowid 1:20 tc filter add dev eth0 parent 1:0 protocol ip handle 10 fw flowid 1:21 tc filter add dev eth0 parent 1:0 protocol ip handle 11 fw flowid 1:22
illegal ceil illegal classid illegal perturb bad mark value 1 az 11vypisuje to nekolika nasobne tyto chyby ja uz nevim Jeste mne napadlo fungovalo by to i tak nejak?? tc class add dev eth0 parent 1:0 classid 1:1 htb rate 600kbit tc class add dev eth0 parent 1:0 classid 1:2 htb rate 600kbit a tak nejak udelat skupiny? jinak uz vazne nevim jak resit
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
Illegal "ceil"
Usage: ... qdisc add ... htb [default N] [r2q N]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
... class add ... htb rate R1 burst B1 [prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
TC HTB version 3.3
: command not found
: command not found
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
Illegal "perturb"
: command not found
: command not found
iptables: No chain/target/match by that name
'ptables v1.2.9: Bad MARK value `11
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `1
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `2
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `3
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `4
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `5
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `6
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `7
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `8
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `9
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `10
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.9: Bad MARK value `11
Try `iptables -h' or 'iptables --help' for more information.
: command not found
: command not found
: command not found
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
Illegal "classid"
: command not found
: command not found
: command not found
: command not found
hmmm a co sa tim??
#!/bin/bash -x?? nevim jsem dost LAma . jinak ten script sppoustim timto zpusobem : mam script htb , ale pred tim jsi zneho delam spustitelny script : chmod +x htb a pak ho proste spustim timto prikazem ./htb do ted vse fungoalo takze jak dale??
#!/bin/sh #set -v /qos_ukazka/R/bin/tc qdisc del dev eth0 root /qos_ukazka/R/bin/tc qdisc add dev eth0 root handle 1: htb default 9999 # vsechno /qos_ukazka/R/bin/tc class add dev eth0 parent 1: classid 1:1 htb rate 5000kbps ceil 5000kbps ................atd.......... .nemam snad tučnáci pravdu?
zcela jiste je to jina verze tc nez mas ty...
je to prevzate z docum.org a ten manik si to urcite kompiloval sam, takze kdovi jestli ten skript bez meho binarniho tc funguje, stahni a uvidis-virus by tam byt nemel
co konkretne se ti nezda? spatna syntaxe? neco chybi? prebiva?
treba kdyz das po rebootu:
tc qdisc del dev eth0 root
tak ti tc vypise:
RTNETLINK answers: No such file or directory
coz neznamena chybu, ale upozorneni, ze neni co mazat
Tiskni
Sdílej: