Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

debian squid log fatal error

[es] :: Linux/UNIX serveri i servisi :: debian squid log fatal error

[ Pregleda: 4222 | Odgovora: 8 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

jedan83
elektromehanicar-

Član broj: 189228
Poruke: 20
*.dsl.optinet.hr.



Profil

icon debian squid log fatal error09.08.2010. u 00:36 - pre 167 meseci
error------------------------------------------------------------------------------------------------------------------------------
2010/08/09 01:34:13| Starting Squid Cache version 3.0.STABLE8 for i486-pc-linux-gnu...
2010/08/09 01:34:13| Process ID 5704
2010/08/09 01:34:13| With 1024 file descriptors available
2010/08/09 01:34:13| DNS Socket created at 0.0.0.0, port 57601, FD 7
2010/08/09 01:34:13| Adding nameserver 85.114.32.7 from /etc/resolv.conf
2010/08/09 01:34:13| helperOpenServers: Starting 20 'loader.php' processes
2010/08/09 01:34:13| Unlinkd pipe opened on FD 32
2010/08/09 01:34:13| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/08/09 01:34:13| Swap maxSize 2048000 KB, estimated 157538 objects
2010/08/09 01:34:13| Target number of buckets: 7876
2010/08/09 01:34:13| Using 8192 Store buckets
2010/08/09 01:34:13| Max Mem size: 262144 KB
2010/08/09 01:34:13| Max Swap size: 2048000 KB
2010/08/09 01:34:13| Rebuilding storage in /var/spool/squid3/cache1 (DIRTY)
2010/08/09 01:34:13| Using Least Load store dir selection
2010/08/09 01:34:13| Set Current Directory to /var/spool/squid3
2010/08/09 01:34:13| Loaded Icons.
2010/08/09 01:34:13| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 33.
2010/08/09 01:34:13| HTCP Disabled.
2010/08/09 01:34:13| Ready to serve requests.
2010/08/09 01:34:13| WARNING: redirector #1 (FD 8) exited
2010/08/09 01:34:13| WARNING: redirector #2 (FD 9) exited
2010/08/09 01:34:13| WARNING: redirector #3 (FD 10) exited
2010/08/09 01:34:13| WARNING: redirector #4 (FD 11) exited
2010/08/09 01:34:13| WARNING: redirector #5 (FD 12) exited
2010/08/09 01:34:13| WARNING: redirector #6 (FD 13) exited
2010/08/09 01:34:13| WARNING: redirector #7 (FD 14) exited
2010/08/09 01:34:13| WARNING: redirector #8 (FD 15) exited
2010/08/09 01:34:13| WARNING: redirector #9 (FD 16) exited
2010/08/09 01:34:13| WARNING: redirector #11 (FD 18) exited
2010/08/09 01:34:13| WARNING: redirector #10 (FD 17) exited
2010/08/09 01:34:13| Too few redirector processes are running
FATAL: The redirector helpers are crashing too rapidly, need help!




----------------------------------------------------------------------------------------------------



modem----dinamic ip------mikrotik router--------------------debian squid
ip-192.168.10.1/24 debian ip 192.168.20.10/30
wlan 192.168.100.1/24
squid ip 192.168.20.1/30

mikrotik- ip route dst 192.168.20.1 gateway 192.168.20.10
ip firewall add chain src action src address 192.168.20.0/30 dst nat action nat to address 192.168.20.10
ip firewall dst action nat to address 192.168.20.10 to ports 3128 in interface tcp dst port 80 commenct proxy
ip web proxy src address 192.168.20.1
ports-3128
parent proxy 192.168.20.10
parent proxy port 3126
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: debian squid log fatal error10.08.2010. u 12:40 - pre 166 meseci
Bilo bi lepo da okacis ovde squid.conf.
 
Odgovor na temu

jedan83
elektromehanicar-

Član broj: 189228
Poruke: 20
*.dsl.optinet.hr.



Profil

icon Re: debian squid log fatal error10.08.2010. u 22:25 - pre 166 meseci
http_port 3128 transparen

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

acl apache rep_header Server ^Apache

cache_mem 256 MB

cache_swap_low 90
cache_swap_high 95

maximum_object_size 20096 KB

minimum_object_size 0 KB

maximum_object_size_in_memory 10000 KB

cache_dir ufs /var/spool/squid3/cache1 2000 16 256

access_log /var/log/squid3/access.log squid
cache_log /var/log/squid3/cache.log
cache_store_log /var/log/squid3/store.log

hosts_file /etc/hosts

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

http_access deny !Safe_ports
http_access deny purge
http_access allow purge localhost
http_access deny manager
http_access allow manager localhost

acl our_networks src 192.168.12.0/24

url_rewrite_children 20
acl store_rewrite_list dstdomain .avast.com .avg.com .windowsupdate.com .grisoft.com avgate.net .googlevideo.com .globo.com .mais.uol.com.br .terra.com .redtube.com .ytimg.com .pornhub.com .tube8.com .eset.com .4shared.com .xvideos.com .kaspersky-labs.com .geo.kaspersky.com .microsoft.com .youtube.com .orkut.com
url_rewrite_access allow store_rewrite_list
url_rewrite_access deny all
url_rewrite_program /etc/squid3/loader.php

acl localcache dstdomain 192.168.12.50
acl localcache2 dstdomain .orkut.com .avast.com .avg.com .windowsupdate.com .grisoft.com .avgate.net .googlevideo.com .globo.com .mais.uol.com.br .redtube.com .ytimg.com .pornhub.com .tube8.com .eset.com .4shared.com .xvideos.com .kaspersky-labs.com .geo.kaspersky.com .microsoft.com
cache deny localcache localcache2

http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all

cache_mgr [email protected]

cache_effective_user proxy
cache_effective_group proxy

visible_hostname myhost
error_directory /usr/share/squid3/errors/Portuguese
coredump_dir /var/spool/squid3
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
jel treba ip tables conf?

hvala!
 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: debian squid log fatal error11.08.2010. u 08:25 - pre 166 meseci
Okaci i /etc/squid3/loader.php ako mozes.
ls -l /etc/squid3/loader.php
ps -ef |grep squid
squid -k parse

Meni ovo sve mirise na url_rewrite_* problem.
 
Odgovor na temu

jedan83
elektromehanicar-

Član broj: 189228
Poruke: 20
*.dsl.optinet.hr.



Profil

icon Re: debian squid log fatal error13.08.2010. u 13:42 - pre 166 meseci
igor:/home/igor# access_log /var/log/squid/access.log squid
bash: access_log: command not found
igor:/home/igor# access_log /var/log/squid/access.log squid
bash: access_log: command not found
igor:/home/igor# gedit /etc/squid/squid.conf

(gedit:6570): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
igor:/home/igor# squid -z
2010/08/13 13:57:23| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00/00: (13) Permission denied
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
igor:/home/igor# chmod 777 /var/cache/squid/00/00/
igor:/home/igor# chmod 777 /var/cache/squid/
igor:/home/igor# squid -z
2010/08/13 13:59:09| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00/00: (13) Permission denied
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
igor:/home/igor# cd /etc/squid/
igor:/etc/squid# chmod 777 /var/cache/squid/
igor:/etc/squid# chown -Rf squid.squid /usr/local/squid
igor:/etc/squid# sudo chown squid.squid /var/spool/squid -Rf
igor:/etc/squid# squiz -z
bash: squiz: command not found
igor:/etc/squid# squid -z
2010/08/13 14:07:21| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00/00: (13) Permission denied
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
igor:/etc/squid# chmod 777 /var/cache/squid/
igor:/etc/squid# chmod 777 /var/cache/squid/
igor:/etc/squid# chmod 777 /var/cache/squid/
igor:/etc/squid# squid -z
2010/08/13 14:08:26| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00/00: (13) Permission denied
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
igor:/etc/squid# chmod 777 /var/cache/squid/
igor:/etc/squid# chmod -R +rw /var/cache/squid/
igor:/etc/squid# squid -z
2010/08/13 14:11:20| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00/00: (13) Permission denied
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
igor:/etc/squid# squid -d 1 -D
igor:/etc/squid# WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2010/08/13 14:11:41| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/13 14:11:41| Process ID 6653
2010/08/13 14:11:41| With 1024 file descriptors available
2010/08/13 14:11:41| Using epoll for the IO loop
2010/08/13 14:11:41| DNS Socket created at 0.0.0.0, port 59923, FD 5
2010/08/13 14:11:41| Adding nameserver 192.168.12.1 from /etc/resolv.conf
2010/08/13 14:11:41| User-Agent logging is disabled.
2010/08/13 14:11:41| Referer logging is disabled.
2010/08/13 14:11:41| logfileOpen: opening log /var/log/squid/access.log
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the
user 'igor', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.000 user + 0.008 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2010/08/13 14:11:44| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/13 14:11:44| Process ID 6656
2010/08/13 14:11:44| With 1024 file descriptors available
2010/08/13 14:11:44| Using epoll for the IO loop
2010/08/13 14:11:44| DNS Socket created at 0.0.0.0, port 34502, FD 5
2010/08/13 14:11:44| Adding nameserver 192.168.12.1 from /etc/resolv.conf
2010/08/13 14:11:44| User-Agent logging is disabled.
2010/08/13 14:11:44| Referer logging is disabled.
2010/08/13 14:11:44| logfileOpen: opening log /var/log/squid/access.log
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the
user 'igor', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2010/08/13 14:11:47| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/13 14:11:47| Process ID 6659
2010/08/13 14:11:47| With 1024 file descriptors available
2010/08/13 14:11:47| Using epoll for the IO loop
2010/08/13 14:11:47| DNS Socket created at 0.0.0.0, port 38388, FD 5
2010/08/13 14:11:47| Adding nameserver 192.168.12.1 from /etc/resolv.conf
2010/08/13 14:11:47| User-Agent logging is disabled.
2010/08/13 14:11:47| Referer logging is disabled.
2010/08/13 14:11:47| logfileOpen: opening log /var/log/squid/access.log
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the
user 'igor', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2010/08/13 14:11:50| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/13 14:11:50| Process ID 6662
2010/08/13 14:11:50| With 1024 file descriptors available
2010/08/13 14:11:50| Using epoll for the IO loop
2010/08/13 14:11:50| DNS Socket created at 0.0.0.0, port 38883, FD 5
2010/08/13 14:11:50| Adding nameserver 192.168.12.1 from /etc/resolv.conf
2010/08/13 14:11:50| User-Agent logging is disabled.
2010/08/13 14:11:50| Referer logging is disabled.
2010/08/13 14:11:50| logfileOpen: opening log /var/log/squid/access.log
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the
user 'igor', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2010/08/13 14:11:53| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/13 14:11:53| Process ID 6665
2010/08/13 14:11:53| With 1024 file descriptors available
2010/08/13 14:11:53| Using epoll for the IO loop
2010/08/13 14:11:53| DNS Socket created at 0.0.0.0, port 41902, FD 5
2010/08/13 14:11:53| Adding nameserver 192.168.12.1 from /etc/resolv.conf
2010/08/13 14:11:53| User-Agent logging is disabled.
2010/08/13 14:11:53| Referer logging is disabled.
2010/08/13 14:11:53| logfileOpen: opening log /var/log/squid/access.log
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the
user 'igor', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
--------------------------------------------------------------------
--------------------------------------------------------------------
igor:/etc/squid# /etc/squid3/loader.php
bash: /etc/squid3/loader.php: is a directory
igor:/etc/squid# /etc/squid/loader.php
bash: /etc/squid/loader.php: No such file or directory
igor:/etc/squid# /etc/squid/loader.php/loader.php
bash: /etc/squid/loader.php/loader.php: No such file or directory
igor:/etc/squid# ps -ef |grep squid
igor 4405 1 0 03:02 ? 00:00:24 evince file:///media/IGOR/squid%20%20tik%204.6/squid%20proxy%20ubuntu%20server.pdf
root 6727 6565 0 14:37 pts/3 00:00:00 grep squid
igor:/etc/squid# squid -k parse
igor:/etc/squid# ls -l /etc/squid3/loader.php
total 0
igor:/etc/squid#

Kako dodati prava za foldere! sve sam probao i sa ch modom chmod 777 i ne radi!


squid.conf
-------------------------------
http_port 192.168.12.50:3128 transparent
visible_hostname www.seusite.com.br
cache_mgr [email protected]
error_directory /usr/share/squid/errors/Portuguese
cache_mem 8 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 50 MB
minimum_object_size 0 KB
cache_swap_low 80
cache_swap_high 85
cache_dir ufs /var/cache/squid 256 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log none
pid_filename /var/run/squid.pid
cache_effective_user igor
cache_effective_group squid
coredump_dir /var/cache/squid

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# SEM CACHE
acl NOCACHE url_regex localhost 192.0.0.0/8
no_cache deny NOCACHE
# MARCAR PACOTES MIKROTIK IDENDIFICA
zph_mode tos
zph_local 0×30
zph_parent 0
zph_option 136
#http_access allow all
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#AQUI VAMOS COLOCAR A CLASSE DOS CLIENTES NO CASO VC QUEIRA PEGAR OS IPS DOS CLIENTES
# OU ENTAO COLOCAMOS O IP DO MK
# CASO PASSE OS IP DOS CLIENTES:
acl mikrotik src 192.168.10.0/24/255.255.255.0 # USE ESSA!
# CASO PASSE APENAS O IP DO MKIROTIK
acl mikrotik src 192.168.12.0/24/255.255.255.0 # OU ESSA!
http_access allow mikrotik
http_access allow localhost
# BLOQUEIA O RESTO
http_access deny all

-------------------------------------------
hvala!


 
Odgovor na temu

Miroslav Strugarevic

Član broj: 5038
Poruke: 2689



+68 Profil

icon Re: debian squid log fatal error13.08.2010. u 18:58 - pre 166 meseci
KOLIKO JA VIDIM TI SI OVU KONFIGURACIJU NEGDE NASAO I SAMO SI JE ISKPIRAO. A TO NE MOZE BAS TAKO :)

Prvo u squid.conf-u cache_effective_user i grup treba da bude squid !

Korisnik squid treba da postoji na sistemu. Proveri ovako: grep squid /etc/passwd

Dozvole probaj ovako:

chown squid.squid -R /var/log/squid/
chown squid.squid -R /var/cache/squid/

i onda probaj squid -z


Ali kao ROOT korisnik!!!
 
Odgovor na temu

jedan83
elektromehanicar-

Član broj: 189228
Poruke: 20
*.dsl.optinet.hr.



Profil

icon Re: debian squid log fatal error13.08.2010. u 23:26 - pre 166 meseci
igor:/home/igor# gedit /etc/squid/squid.conf

(gedit:4267): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
igor:/home/igor# chown squid.squid -R /var/log/squid/
igor:/home/igor# chown squid.squid -R /var/cache/squid/
igor:/home/igor# squid -z
2010/08/14 00:19:17| Creating Swap Directories
igor:/home/igor# squid start
igor:/home/igor# squid -d 1 -D
igor:/home/igor# 2010/08/14 00:20:53| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2010/08/14 00:20:53| Process ID 4303
2010/08/14 00:20:53| With 1024 file descriptors available
2010/08/14 00:20:53| Using epoll for the IO loop
2010/08/14 00:20:53| DNS Socket created at 0.0.0.0, port 40688, FD 6
2010/08/14 00:20:53| Adding nameserver 192.168.12.1 from /etc/resolv.conf
2010/08/14 00:20:53| User-Agent logging is disabled.
2010/08/14 00:20:53| Referer logging is disabled.
2010/08/14 00:20:53| logfileOpen: opening log /var/log/squid/access.log
2010/08/14 00:20:53| Unlinkd pipe opened on FD 11
2010/08/14 00:20:53| Swap maxSize 262144 KB, estimated 20164 objects
2010/08/14 00:20:53| Target number of buckets: 1008
2010/08/14 00:20:53| Using 8192 Store buckets
2010/08/14 00:20:53| Max Mem size: 8192 KB
2010/08/14 00:20:53| Max Swap size: 262144 KB
2010/08/14 00:20:53| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2010/08/14 00:20:53| logfileOpen: opening log /var/log/squid/store.log
2010/08/14 00:20:53| none.00: (13) Permission denied
FATAL: storeUfsDirOpenSwapLog: Failed to open swap log.


------------------------------------------------------------------------------
http_port 192.168.12.50:3128 transparent
visible_hostname www.seusite.com.br
cache_mgr [email protected]
error_directory /usr/share/squid/errors/Portuguese
cache_mem 8 MB
maximum_object_size_in_memory 64 KB
maximum_object_size 50 MB
minimum_object_size 0 KB
cache_swap_low 80
cache_swap_high 85
cache_dir ufs /var/cache/squid 256 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
cache_swap_log none
pid_filename /var/run/squid.pid
cache_effective_user squid
cache_effective_group squid
coredump_dir /var/cache/squid

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# SEM CACHE
acl NOCACHE url_regex localhost 192.0.0.0/8
no_cache deny NOCACHE
# MARCAR PACOTES MIKROTIK IDENDIFICA
zph_mode tos
zph_local 0×30
zph_parent 0
zph_option 136
#http_access allow all
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#AQUI VAMOS COLOCAR A CLASSE DOS CLIENTES NO CASO VC QUEIRA PEGAR OS IPS DOS CLIENTES
# OU ENTAO COLOCAMOS O IP DO MK
# CASO PASSE OS IP DOS CLIENTES:
acl mikrotik src 192.168.10.0/24/255.255.255.0 # USE ESSA!
# CASO PASSE APENAS O IP DO MKIROTIK
acl mikrotik src 192.168.12.0/24/255.255.255.0 # OU ESSA!
http_access allow mikrotik
http_access allow localhost
# BLOQUEIA O RESTO
http_access deny all

.---------------------------------------------------------
sve napravio i opet javlja premossions folder!?
vec sam sve komande probo i nece! sta bi valjalo promjenit!? hvala
 
Odgovor na temu

jedan83
elektromehanicar-

Član broj: 189228
Poruke: 20
*.dsl.optinet.hr.



Profil

icon Re: debian squid log fatal error14.08.2010. u 00:10 - pre 166 meseci
evo proradilo hvala puno!
ostaju mi sad preurouting ip tables na mikrotik! sta treba dodati u ip tables ?
hvala!
modem IP dinamicka ---- ------ --------------------MikroTik router--------------debian
ip-192.168.12.50/30 debian----------- 192.168.12.10/30 ip-mikrotik
WLAN 192.168.100.1/24


MikroTik ip gateway 192.168.12.1
------------------------------
debian- ip tables?


hvala



 
Odgovor na temu

jedan83
elektromehanicar-

Član broj: 189228
Poruke: 20
*.dsl.optinet.hr.



Profil

icon Re: debian squid log fatal error19.08.2010. u 10:42 - pre 166 meseci
Evo sve je konacno proradilo! puno hvala
 
Odgovor na temu

[es] :: Linux/UNIX serveri i servisi :: debian squid log fatal error

[ Pregleda: 4222 | Odgovora: 8 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.