เปิดรับสมัครสมาชิก webboard ตามปกติแล้วครับ

ผู้เขียน หัวข้อ: ถามเรื่อง Squid หน่อยครับ เรื่องการกำหนด File ที่จะ Download  (อ่าน 2540 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

slackman

  • บุคคลทั่วไป
ตอนนี้ผมกำหนด

acl ip_local2 url_regex -i 0.0.0.0/0.0.0.0
acl file_type url_regex -i ftp \.mp3$ \.bin$ \.wav$ \.qc$ \.wmv$ \.mpeg$ \.mpg$ \.avi$ \.tar$ \.rar$ \.zip$
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow ip_local2
delay_class 2 2
delay_parameters 2 100000000/100000000 100000000/150000
delay_access 2 allow file_type
http_access deny ip_local1 maxconn_user file_type
http_reply_access allow all

แบบนี้ไฟล์ในรายการที่กำหนด ก็จะถูกกำหนด bandwidth ใช้งานได้ดี

คำถาม

ถ้าผมจะกำหนดว่า
ถ้า ftp \.mp3$ \.bin$ \.wav$ \.qc$ \.wmv$ \.mpeg$ \.mpg$ \.avi$ \.tar$ \.rar$ \.zip$ ในรายการนี้ให้ปล่อยอิสระ ไม่กำหนด bandwidth
นอกนั้น ไฟล์นามสกุลอื่นๆ ที่ไม่ได้กำหนดให้โดนบีบไว้ทำไงครับ


ขอบคุณล่วงหน้าครับ