Rozdelenie bandwith pre userof
Pre pridávanie komentárov sa musíte prihlásiť.
Pre pridávanie komentárov sa musíte prihlásiť.
V dňoch 1. – 3. júla 2025 sa na Žilinskej univerzite uskutoční 13. ročník konferencie OSSConf. Na webe je zverejnený program konferencie ako aj zborník.
Zdroj: ossconf.fri.uniza.sk
Spoločnosť Google daruje protokol A2A nadácii Linux Foundation.
V apríli 2025 spoločnosť Google spustila protokol Agent2Agent (A2A), otvorený štandard navrhnutý tak, aby umožňoval bezpečnú a inteligentnú komunikáciu medzi autonómnymi agentmi s umelou inteligenciou.
O niekoľko mesiacov neskôr spoločnosť Google darovala A2A nadácii Linux Foundation, ktorá v spolupráci so spoločnosťami AWS, Cisco, Google, Microsoft, Salesforce, SAP a ServiceNow vytvorila projekt Agent2Agent .
Ďalšie info
Zdroj: IT's FOSS
Čo robiť, ak mi TabGroups nefunguje, aj keď som už aktualizoval na FF 138?
Zdroj: https://www.mozilla.org/en-US/firefox/138.0/releasenotes/
video sa venuje rozdielom v teplovodivých pastách, ako sa teplovodivá pasta vyrába, dobrým a zlým tepelnoizolačným materiálom a ďalším témam, a to všetko o chladení procesorov a grafických kariet.
Zdroj: Gamer Nexus
13. apríla 2025 bola vydaná verzia MX linux 23.6
Zdroj: Mx linux blog
Tretí ročník Bratislava OpenCamp sa uskutoční už túto sobotu na FIIT STU. Registrácia účastníkov prebieha online a účasť je bezplatná.
Zdroj: Bratislava OpenCamp
Tablet PineTab-V od spoločnosti Pine64 sa teraz dodáva s vylepšeným hardvérom a operačným systémom založeným na linuxovej distribúcii Debian.
Zdroj: liliputing.com
Zúčastnite sa open sourcovej konferencie v oblasti správy a riadenia identít (identity governance and administration), kde na vás čakajú zaujímavé workshopy, prednášky a networking s industry expertami v rámci komunity.
Vyšlo „paralelné vydanie“ (nie úplná aktualizácia) verzie AV Linux MX Edition.
Zdroj: AV Linux
Priatelia želám Vám do Nového roku 2025 všetko dobré, nech sa Vám vo svete Linuxu darí a z mojej strany ďakujem všetkým, ktorí akýmkoľvek spôsobom prispievajú na tento web. Či sú to už správy o zaujímavých novinkách, komentáre v diskusiách alebo blogy, ktoré niekedy zaberú aj pol dňa klepania na úkor svojho času. O to väčšia vďaka, PF 2025.
Po | Ut | St | Št | Pi | So | Ne |
---|---|---|---|---|---|---|
30 | 01 | 02 | 03 | 04 | 05 | 06 |
07 | 08 | 09 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 | 01 | 02 | 03 |
Ak sa vám táto stránka páči, môžete nás podporiť tak, že si na vaše stránky umiestnite tento banner.
Náš Twitter tag je #LinuxOSsk
a tu je patch na kernel a iptables http://www.linuximq.net/patches.html
a tu mas funkcny script v ktorom mas implementovane IMQ
#!/bin/bash
ifc_zew="eth0"
max_upload="60kbit"
up_others="5kbit"
up_ssh="15kbit"
up_http="20kbit"
up_ftp="20kbit"
max_download="250kbit"
down_others="10kbit"
down_ssh="40kbit"
down_http="100kbit"
down_ftp="100kbit"
########## Upload ##########
ip link set imq0 up
tc qdisc add dev imq0 root handle 1: htb default 10
tc class add dev imq0 parent 1: classid 1:1 htb rate $max_upload ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:10 htb rate $up_others ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:20 htb rate $up_ssh ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:30 htb rate $up_http ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:40 htb rate $up_ftp ceil $max_upload
tc filter add dev imq0 parent 1: protocol ip prio 10 handle 100 fw classid 1:10
tc filter add dev imq0 parent 1: protocol ip prio 1 handle 200 fw classid 1:20
tc filter add dev imq0 parent 1: protocol ip prio 1 handle 300 fw classid 1:30
tc filter add dev imq0 parent 1: protocol ip prio 1 handle 400 fw classid 1:40
tc qdisc add dev imq0 parent 1:10 handle 10:0 sfq perturb 10
tc qdisc add dev imq0 parent 1:20 handle 20:0 sfq perturb 10
tc qdisc add dev imq0 parent 1:30 handle 30:0 sfq perturb 10
tc qdisc add dev imq0 parent 1:40 handle 40:0 sfq perturb 10
iptables -t mangle -A POSTROUTING -m layer7 --l7proto ssh -j MARK --set-mark 200
iptables -t mangle -A POSTROUTING -m layer7 --l7proto http -j MARK --set-mark 300
iptables -t mangle -A POSTROUTING -m layer7 --l7proto ftp -j MARK --set-mark 400
iptables -t mangle -A POSTROUTING -o $ifc_zew -j IMQ --todev 0
########## Download ##########
ip link set imq1 up
tc qdisc add dev imq1 root handle 1: htb default 10
tc class add dev imq1 parent 1: classid 1:1 htb rate $max_download ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:10 htb rate $down_others ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:20 htb rate $down_ssh ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:30 htb rate $down_http ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:40 htb rate $down_ftp ceil $max_download
tc filter add dev imq1 parent 1: protocol ip prio 10 handle 100 fw classid 1:10 // (1)
tc filter add dev imq1 parent 1: protocol ip prio 1 handle 200 fw classid 1:20
tc filter add dev imq1 parent 1: protocol ip prio 1 handle 300 fw classid 1:30
tc filter add dev imq1 parent 1: protocol ip prio 1 handle 400 fw classid 1:40
tc qdisc add dev imq1 parent 1:10 handle 10:0 sfq perturb 10
tc qdisc add dev imq1 parent 1:20 handle 20:0 sfq perturb 10
tc qdisc add dev imq1 parent 1:30 handle 30:0 sfq perturb 10
tc qdisc add dev imq1 parent 1:40 handle 40:0 sfq perturb 10
iptables -t mangle -A PREROUTING -m layer7 --l7proto ssh -j MARK --set-mark 200 // (2)
iptables -t mangle -A PREROUTING -m layer7 --l7proto http -j MARK --set-mark 300
iptables -t mangle -A PREROUTING -m layer7 --l7proto ftp -j MARK --set-mark 400
iptables -t mangle -A PREROUTING -i $ifc_zew -j IMQ --todev 1
Upravte si to podla potreby :)).
Tak zdar :))
taze script bude vyzerat takto
#!/bin/bash
ifc_zew="eth0"
max_upload="60kbit"
up_others="5kbit"
up_ssh="15kbit"
up_http="20kbit"
up_ftp="20kbit"
max_download="250kbit"
down_others="10kbit"
down_ssh="40kbit"
down_http="100kbit"
down_ftp="100kbit"
########## Upload ##########
ip link set imq0 up
tc qdisc add dev imq0 root handle 1: htb default 10
tc class add dev imq0 parent 1: classid 1:1 htb rate $max_upload ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:10 htb rate $up_others ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:20 htb rate $up_ssh ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:30 htb rate $up_http ceil $max_upload
tc class add dev imq0 parent 1:1 classid 1:40 htb rate $up_ftp ceil $max_upload
tc filter add dev imq0 parent 1: protocol ip prio 10 handle 100 fw classid 1:10
tc filter add dev imq0 parent 1: protocol ip prio 1 handle 200 fw classid 1:20
tc filter add dev imq0 parent 1: protocol ip prio 1 handle 300 fw classid 1:30
tc filter add dev imq0 parent 1: protocol ip prio 1 handle 400 fw classid 1:40
tc qdisc add dev imq0 parent 1:10 handle 10:0 sfq perturb 10
tc qdisc add dev imq0 parent 1:20 handle 20:0 sfq perturb 10
tc qdisc add dev imq0 parent 1:30 handle 30:0 sfq perturb 10
tc qdisc add dev imq0 parent 1:40 handle 40:0 sfq perturb 10
iptables -t mangle -A POSTROUTING -o $ifc_zew -j IMQ --todev 0
########## Download ##########
ip link set imq1 up
tc qdisc add dev imq1 root handle 1: htb default 10
tc class add dev imq1 parent 1: classid 1:1 htb rate $max_download ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:10 htb rate $down_others ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:20 htb rate $down_ssh ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:30 htb rate $down_http ceil $max_download
tc class add dev imq1 parent 1:1 classid 1:40 htb rate $down_ftp ceil $max_download
tc filter add dev imq1 parent 1: protocol ip prio 10 handle 100 fw classid 1:10 // (1)
tc filter add dev imq1 parent 1: protocol ip prio 1 handle 200 fw classid 1:20
tc filter add dev imq1 parent 1: protocol ip prio 1 handle 300 fw classid 1:30
tc filter add dev imq1 parent 1: protocol ip prio 1 handle 400 fw classid 1:40
tc qdisc add dev imq1 parent 1:10 handle 10:0 sfq perturb 10
tc qdisc add dev imq1 parent 1:20 handle 20:0 sfq perturb 10
tc qdisc add dev imq1 parent 1:30 handle 30:0 sfq perturb 10
tc qdisc add dev imq1 parent 1:40 handle 40:0 sfq perturb 10
iptables -t mangle -A PREROUTING -i $ifc_zew -j IMQ --todev 1
########## Upload ##########
/sbin/tc class add dev imq0 parent 1:1 classid 1:10 htb rate 512kbit ceil 512kbit
/sbin/tc filter add dev imq0 parent 1: protocol ip prio 1 u32 match ip src 192.168.1.10 flowid 1:10
/sbin/tc qdisc add dev imq0 parent 1:10 handle 10:0 sfq perturb 10
#Druha IP
/sbin/tc class add dev imq0 parent 1:1 classid 1:12 htb rate 128kbit ceil 128kbit
/sbin/tc filter add dev imq0 parent 1: protocol ip prio 1 u32 match ip src 192.168.1.20 flowid 1:12
/sbin/tc qdisc add dev imq0 parent 1:20 handle 20:0 sfq perturb 10
/sbin/iptables -t mangle -A POSTROUTING -o eth0 -j IMQ --todev 0
########## Download ##########
/sbin/tc class add dev imq1 parent 1:1 classid 1:10 htb rate 256kbit ceil 256kbit burst 5k
/sbin/tc filter add dev imq1 parent 1: protocol ip prio 1 u32 match ip dst 192.168.1.10 flowid 1:10
#Druha IP
/sbin/tc qdisc add dev imq1 parent 1:10 handle 10:0 sfq perturb 10
/sbin/tc class add dev imq1 parent 1:1 classid 1:20 htb rate 56kbit ceil 56kbit burst 5k
/sbin/tc filter add dev imq1 parent 1: protocol ip prio 1 u32 match ip dst 192.168.1.20 flowid 1:20
/sbin/tc qdisc add dev imq1 parent 1:20 handle 20:0 sfq perturb 10
/sbin/iptables -t mangle -A PREROUTING -i eth0 -j IMQ --todev 1
a mate to poriesene :)). Este proxy a jeto
poradim Vam iba ze nesmiete zabudniut na redirect portu
/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport -j REDIRECT --to-port 3128
Squid si uz snad viete naconfigurovat vid. man squid. Mozno som niekde urobil preklep tak necopy to ako hluchy snazte sa to radsej pochopit :))