Merhaba

FreeBSD uzerinde pf de ALTQ yu etkinlestirip kullanan vardir mutlaka..

Ben de web server uzerinde etkinlestirdim. kural yazmaya geldi sira ve toplam 4 
mbit bant genisliginin 2 mbit ini http daemonu icin atamak istiyorum. 

altq on em0 cbq bandwidth 2Mbps queue {http}
queue std bandwidth 50% cbq(default)



https yi de eklemem gerekiyor degil mi?  bu kurallari aktif edip pf yi de 
active ettigimde

root@:/etc#  pfctl -f /etc/pf.conf

/etc/pf.conf:18: Rules must be in order: options, normalization, queueing, 
translation, filtering
/etc/pf.conf:19: Rules must be in order: options, normalization, queueing, 
translation, filtering
/etc/pf.conf:20: Rules must be in order: options, normalization, queueing, 
translation, filtering
/etc/pf.conf:21: Rules must be in
 order: options, normalization, queueing, translation, filtering
pfctl: Syntax error in config file: pf rules not loaded


hepsini commentleyip  sadece 

altq on em0 cbq bandwidth 2Mb queue {http}


yi biraktigimda da 

/etc/pf.conf:17: Rules must be in order: options, normalization, queueing, 
translation, filtering
pfctl: Syntax error in config file: pf rules not loaded


diyor 


En son olarak da

altq on em0 cbq bandwidth 4Mb queue { http, https, ssh }
 18 queue http bandwidth 50% cbq(default)

seklinde degistirdim sanki toplam bantgenisligi 4 mb yapmaliyim da sonra child 
queue leri yaratmaliyim gibime geldi

Ne yapmaliyim?

Kisaca web serverin kullandigi bant genisligi toplam 4 Mbit ile sinirli  ve ben 
de http ve https prosesinin sadece 2 Mbit kullanmasini nasil ayarlarim?







-- "Her development, her freedom, her independence,
 must come from and through herself. First, by asserting herself as a 
personality, and not as a sex commodity. Second, by refusing the right of 
anyone over her body; by refusing to bear children, unless she wants them, by 
refusing to be a servant to God, the State, society, the husband, the family, 
etc., by making her life simpler, but deeper and richer. That is, by trying to 
learn the meaning and substance of life in all its complexities; by freeing 
herself from the fear of public opinion and public condemnation." [Emma 
Goldman, Anarchism and Other Essays, p. 211] Hoscakalin,


      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

Cevap