konfigurasi squid3

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
Post Reply
User avatar
muz

konfigurasi squid3

Post 19 Jan 2013, 10:52

agan2.. saya udah install squid3. tapi saya g ngerti isi coding di squid.conf nya. terlalu banyak. apakah itu semua saya hapus z dan ganti dengan coding yang saya perlukan saja? mohon pencerahannya apa saja yang di butuhkan dalam konfigurasi squid3 sehingga tidak terlalu panjang.


mohon bantuanya


User avatar
sta

Post 19 Jan 2013, 10:54

cek website ngadimin.com


User avatar
Alvio

Post 23 Feb 2013, 21:01

kalo mo coba lusca,
silahkan cek artikel berikut :
http://ubuntuserverguide.com/2012/12/ho ... 12-04.html


User avatar
mallink
Contact:

Post 27 Feb 2013, 04:24

root@server:/etc/init.d# squid -f /etc/squid/squid.conf -z
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:145 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:146 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:147 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:148 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:149 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:150 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:151 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:154 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:155 unrecognized: '(get_video\?|videoplayback\?id|videoplayback.*id|videodownlo ad\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:156 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:157 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:158 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:159 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:160 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:161 unrecognized: '^.*(utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\. com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|ad vertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractiv e\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:162 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:163 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:164 unrecognized: 'ytimg\.com.*\.jpg'
2013/02/27 04:17:02| parseConfigFile: squid.conf:165 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:166 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:167 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:168 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:169 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:170 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:171 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:172 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:175 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:176 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:177 unrecognized: 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:178 unrecognized: '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:181 unrecognized: '^http:\/\/apps.facebook.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:182 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:183 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:184 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:185 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:186 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:187 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:190 unrecognized: '^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zi p|flv|wmv|3gp|mp(4|3)|exe|msi|zip)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:193 unrecognized: '\.rapidshare.*\/[0-9]*\/.*\/[^\/]*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:194 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:195 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:196 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:197 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:198 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:199 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:200 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:202 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:203 unrecognized: 'ytimg\.com.*\.(jpg|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:204 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:205 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:206 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:207 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:208 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:209 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:210 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:211 unrecognized: '\.macromedia.com.*\.(z|exe|cab)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:214 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:215 unrecognized: '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\. com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia \.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doublecl ick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:218 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:219 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:220 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:221 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:222 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:224 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:225 unrecognized: '^gopher:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:226 unrecognized: '^ftp:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:227 unrecognized: '.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:268 unrecognized: 'n_aiops_threads'
2013/02/27 04:17:02| parseConfigFile: squid.conf:269 unrecognized: 'load_check_stopen'
2013/02/27 04:17:02| parseConfigFile: squid.conf:270 unrecognized: 'load_check_stcreate'
2013/02/27 04:17:02| parseConfigFile: squid.conf:271 unrecognized: 'download_fastest_client_speed'
2013/02/27 04:17:02| ACL name 'all' not defined!
FATAL: Bungled (null) line 180: http_reply_access allow all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.


User avatar
mallink
Contact:

Post 27 Feb 2013, 04:24

root@server:/etc/init.d# squid -f /etc/squid/squid.conf -z
2013/02/27 04:17:02| parseConfigFile: squid.conf:144 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:145 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:146 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:147 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:148 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:149 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:150 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:151 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:154 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:155 unrecognized: '(get_video\?|videoplayback\?id|videoplayback.*id|videodownlo ad\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:156 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:157 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:158 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:159 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:160 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:161 unrecognized: '^.*(utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\. com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|ad vertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractiv e\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:162 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:163 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.uk)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:164 unrecognized: 'ytimg\.com.*\.jpg'
2013/02/27 04:17:02| parseConfigFile: squid.conf:165 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:166 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:167 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:168 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:169 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:170 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:171 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:172 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:175 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:176 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:177 unrecognized: 'static\.ak\.fbcdn\.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:178 unrecognized: '^http:\/\/profile\.ak\.fbcdn.net*\.(jpg|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:181 unrecognized: '^http:\/\/apps.facebook.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:182 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:183 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:184 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:185 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:186 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:187 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:190 unrecognized: '^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zi p|flv|wmv|3gp|mp(4|3)|exe|msi|zip)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:193 unrecognized: '\.rapidshare.*\/[0-9]*\/.*\/[^\/]*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:194 unrecognized: '^http://v\.okezone\.com/get_video\/([a-zA-Z0-9])'
2013/02/27 04:17:02| parseConfigFile: squid.conf:195 unrecognized: '(get_video\?|videoplayback\?|videodownload\?|\.flv?)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:196 unrecognized: '\.(ico|video-stats)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:197 unrecognized: '\.etology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:198 unrecognized: 'galleries\.video(\?|sz)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:199 unrecognized: 'brazzers\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:200 unrecognized: '\.adtology\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:202 unrecognized: '^http://((cbk|mt|khm|mlt)[0-9]?)\.google\.co(m|\.id)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:203 unrecognized: 'ytimg\.com.*\.(jpg|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:204 unrecognized: 'images\.friendster\.com.*\.(png|gif)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:205 unrecognized: 'garena\.com'
2013/02/27 04:17:02| parseConfigFile: squid.conf:206 unrecognized: 'photobucket.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:207 unrecognized: 'vid\.akm\.dailymotion\.com.*\.on2\?'
2013/02/27 04:17:02| parseConfigFile: squid.conf:208 unrecognized: '^http:\/\/images|pics|thumbs[0-9]\.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:209 unrecognized: '^http:\/\/www.onemanga.com.*\/'
2013/02/27 04:17:02| parseConfigFile: squid.conf:210 unrecognized: 'mediafire.com\/images.*\.(jp(e?g|e|2)|tiff?|bmp|gif|png)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:211 unrecognized: '\.macromedia.com.*\.(z|exe|cab)'
2013/02/27 04:17:02| parseConfigFile: squid.conf:214 unrecognized: '^.*safebrowsing.*google'
2013/02/27 04:17:02| parseConfigFile: squid.conf:215 unrecognized: '^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\. com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia \.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doublecl ick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).*'
2013/02/27 04:17:02| parseConfigFile: squid.conf:218 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:219 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:220 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:221 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:222 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:224 unrecognized: '-i'
2013/02/27 04:17:02| parseConfigFile: squid.conf:225 unrecognized: '^gopher:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:226 unrecognized: '^ftp:'
2013/02/27 04:17:02| parseConfigFile: squid.conf:227 unrecognized: '.'
2013/02/27 04:17:02| parseConfigFile: squid.conf:268 unrecognized: 'n_aiops_threads'
2013/02/27 04:17:02| parseConfigFile: squid.conf:269 unrecognized: 'load_check_stopen'
2013/02/27 04:17:02| parseConfigFile: squid.conf:270 unrecognized: 'load_check_stcreate'
2013/02/27 04:17:02| parseConfigFile: squid.conf:271 unrecognized: 'download_fastest_client_speed'
2013/02/27 04:17:02| ACL name 'all' not defined!
FATAL: Bungled (null) line 180: http_reply_access allow all
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.


Post Reply

Who is online

Users browsing this forum: No registered users and 84 guests