[FreeBSD] squid cache,pf

2009-03-07 Başlik salih
Selamlar,
Squid'i pf ile tansparent olarak,default user squid olarak kullanıyorum.
son güncellemelerden sonramı oldu bilemiyorum(logları crontab ile periyodik 
temizliyorum)cache logunda pf ile ilgili hata olduğunu ve squid'in 
cache'leyemediğini farkettim.
/dev/pf ' i squid:squid olarak değiştirince cache'lemeye başlıyor.Ancak bu 
sorun oluştururmu diye sormak istedim yada squid'i root ile çalıştırırsam yine 
sorun olurmu?(effective_user'ı root yapıp restart edince yine squid user'ı ile 
çalışmaya devam etti,sanırım default user root olarak tekrar kurmam gerekiyor)
Bu şekilde (squid transparent ve pf) kullanan arkadaşlar nasıl kullanıyorlar?

teşekkürler





  

Re: [FreeBSD] squid cache

2006-02-03 Başlik Huzeyfe Onal
Merhaba,anladigim kadari ile transparen(seffaf) proxy kurmaya calisiyorsunuz.Squid IP     =10.10.10.2Iptables IP      =10.10.10.1
Ic ag kullanicilari =LANSquid Port : 8080kabul edersek asagidaki kurallar transparan proxy icin isinizi gorecektir.# iptables -t nat -A PREROUTING -i eth0 -s ! 10.10.10.2
 -p tcp --dport 80 -j DNAT --to 10.10.10.2:8080# iptables -t nat -A POSTROUTING -o eth0 -s LAN  -d 10.10.10.2 -j SNAT --to 
10.10.10.1Ag yapiniza gore yukaridaki kurallarda gerekli degisikliklerin yapilmasi gerekiyor. Detay bilgi ve cikabilecek sorunlar icin http://tldp.org/HOWTO/TransparentProxy.html
 adresindeki Howto'yu incelemenizi oneririm.iyi calismalar...03.02.2006 tarihinde Gökhan MOLLAMEHMETOĞLU <
[EMAIL PROTECTED]> yazmış:






Merhabalar,
redhat enterprise linux 3.0 üzerinde çalışan bir 
firewall var.Başka bir makineye squid proxy kursak iptables da yönlendirmeyi 
nasıl yapacağız.

-- Huzeyfe ÖNAL  ---First Turkish Qmail book is out! Go check it.Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti.
http://www.acikakademi.com/catalog/qmail/


[FreeBSD] squid cache

2006-02-03 Başlik Gökhan MOLLAMEHMETOĞLU



Merhabalar,
redhat enterprise linux 3.0 üzerinde çalışan bir 
firewall var.Başka bir makineye squid proxy kursak iptables da yönlendirmeyi 
nasıl yapacağız.


Re: [FreeBSD] Squid cache

2005-08-06 Başlik Engin OZTURK



squid.conf  dosyasinizi 
editleyin..
 
visible_hostname olan kismi
visible_hostname sunucum  
gibi birsey yapin
 
sonra squid'i yeniden baslatin ./sbin/squid -k 
reconfigure  (pathinizi gozonunde bulundurun)
 
 

  - Original Message - 
  From: 
  Ömer Koyun 
  
  To: freebsd@lists.enderunix.org 
  
  Sent: Saturday, August 06, 2005 3:32 
  PM
  Subject: Re: [FreeBSD] Squid cache
  
  merhaba doðukan bey
   
  o hatayý nereden düzeltiyordukDogukan Hadi <[EMAIL PROTECTED]> 
  wrote:
  Ömer 
Koyun <[EMAIL PROTECTED]>Adresinden Yönlendiriliyor :> Merhaba 
arkadaþlar> > Squid'i kurduktan sonra cache oluþtururken 
aþaðýdaki hatayý alýyorum neden> olabilir acaba?> > 
> > > Initializing the Squid cache with the command 
/usr/local/sbin/squid -f> /usr/local/etc/squid/squid.conf -z 
..> > FATAL: Could not determine fully qualified hostname. 
Please set> 'visible_hostname'> Squid Cache (Version 
2.5.STABLE10): Terminated abnormally.> CPU Usage: 0.008 seconds = 
0.008 user + 0.000 sys> Maximum Resident Size: 1632 KB> Page 
faults with physical i/o: 0> > hataya gore 
visible_hostname = parametresini sizin fqdn olarak 
ayarlayýn.duzelelecekmýTurmail.com 
Ucretsiz Eposta Servisi : http://www.turmail.comGelismis Spam ve Virus 
Filtreleme Servisleri100 Megabyte E-posta 
kotasi-Cikmak 
icin, e-mail: [EMAIL PROTECTED]Liste arsivi: 
http://lists.enderunix.orgTurkiye'nin ilk FreeBSD kitabi: 
http://www.acikakademi.com/freebsd.php
  __Do You 
  Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 


Re: [FreeBSD] Squid cache

2005-08-06 Başlik �mer
merhaba doðukan bey
 
o hatayý nereden düzeltiyordukDogukan Hadi <[EMAIL PROTECTED]> wrote:
Ömer Koyun <[EMAIL PROTECTED]>Adresinden Yönlendiriliyor :> Merhaba arkadaþlar> > Squid'i kurduktan sonra cache oluþtururken aþaðýdaki hatayý alýyorum neden> olabilir acaba?> > > > > Initializing the Squid cache with the command /usr/local/sbin/squid -f> /usr/local/etc/squid/squid.conf -z ..> > FATAL: Could not determine fully qualified hostname. Please set> 'visible_hostname'> Squid Cache (Version 2.5.STABLE10): Terminated abnormally.> CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys> Maximum Resident Size: 1632 KB> Page faults with physical i/o: 0> > hataya gore visible_hostname = parametresini sizin fqdn olarak ayarlayýn.duzelelecekmýTurmail.com Ucretsiz
 Eposta Servisi : http://www.turmail.comGelismis Spam ve Virus Filtreleme Servisleri100 Megabyte E-posta kotasi-Cikmak icin, e-mail: [EMAIL PROTECTED]Liste arsivi: http://lists.enderunix.orgTurkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

Re: [FreeBSD] Squid cache

2005-08-06 Başlik Dogukan Hadi
 
 
Ömer Koyun <[EMAIL PROTECTED]>Adresinden Yönlendiriliyor :

> Merhaba arkadaşlar
>  
> Squid'i kurduktan sonra cache oluştururken aşağıdaki hatayı alıyorum neden
> olabilir acaba?
>  
>  
>  
>  
> Initializing the Squid cache with the command /usr/local/sbin/squid -f
> /usr/local/etc/squid/squid.conf -z ..
> 
> FATAL: Could not determine fully qualified hostname.  Please set
> 'visible_hostname'
> Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
> CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
> Maximum Resident Size: 1632 KB
> Page faults with physical i/o: 0
> 
> 
 
 hataya gore visible_hostname = parametresini sizin fqdn olarak 
ayarlayın.duzelelecekmı



Turmail.com Ucretsiz Eposta Servisi : http://www.turmail.com
Gelismis Spam ve Virus Filtreleme Servisleri
100 Megabyte E-posta kotasi

-
Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org
Turkiye'nin ilk FreeBSD kitabi: http://www.acikakademi.com/freebsd.php




[FreeBSD] Squid cache

2005-08-06 Başlik �mer
Merhaba arkadaþlar
 
Squid'i kurduktan sonra cache oluþtururken aþaðýdaki hatayý alýyorum neden olabilir acaba?
 
 
 
 
Initializing the Squid cache with the command /usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf -z ..
FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE10): Terminated abnormally.CPU Usage: 0.008 seconds = 0.008 user + 0.000 sysMaximum Resident Size: 1632 KBPage faults with physical i/o: 0__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 

RE: [freebsd] squid cache - 2

2004-09-29 Başlik Ozdemircili Ozgur NMI Civ TR 425 ABS/SGST



 
 
Ozgur Ozdemircili 425 SG M.A.S Contact: 675-3236 

  -Original Message-From: Mesut GÜLNAZ 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, September 29, 2004 
  11:46 AMTo: freebsdSubject: [freebsd] squid cache - 
  2
  önceki mailim için özürdiliyorum. Ctrl-Enter 
  kazasi oldu. konuya geliyorum!
  squid disk i çok 
  doldurdu.
   
  10Gb verdigimi saniyordum ama sanirim 
  yanilmisim.
  bu 
  sorunun üstesinden nasil gelebilirim?
   
  Fikirleriniz bana isik tutacaktir! 
  :-D
   
  su-2.05b# du -s *9542858 
  cache19642006    logssu-2.05b# 
  pwd/usr/local/squidsu-2.05b# df -hFilesystem    
  Size   Used  Avail Capacity  Mounted 
  on/dev/da0s1a   9.8G    47M   
  9.0G 1%    //dev/da0s1e   
  4.9G    44K   4.5G 
  0%    /tmp/dev/da1s1e    
  33G    29G   1.5G    
  95%    /usr/dev/da0s1f    14G   
  636M    12G 5%    
  /varprocfs    4.0K   
  4.0K 0B   100%    
  /proc
  su-2.05b#cat /usr/local/etc/squid/squid.conf 
  | grep cache_dir ve cache_mem bu sekilde.
   
  cache_mem 128 MBcache_dir ufs 
  /usr/local/squid/cache 1 64 256
   
  tesekkürler!


[freebsd] squid cache - 2

2004-09-29 Başlik =?iso-8859-9?Q?Mesut_G=DCLNAZ?=



önceki mailim için özürdiliyorum. Ctrl-Enter kazası 
oldu. konuya geliyorum!
squid disk i çok 
doldurdu.
 
10Gb 
verdiğimi sanıyordum ama sanırım yanılmışım.
bu 
sorunun üstesinden nasıl gelebilirim?
 
Fikirleriniz bana ışık tutacaktır! 
:-D
 
su-2.05b# du -s *9542858 
cache19642006    logssu-2.05b# 
pwd/usr/local/squidsu-2.05b# df -hFilesystem    
Size   Used  Avail Capacity  Mounted 
on/dev/da0s1a   9.8G    47M   
9.0G 1%    //dev/da0s1e   
4.9G    44K   4.5G 
0%    /tmp/dev/da1s1e    33G    
29G   1.5G    95%    
/usr/dev/da0s1f    14G   636M    
12G 5%    
/varprocfs    4.0K   
4.0K 0B   100%    
/proc
su-2.05b#cat /usr/local/etc/squid/squid.conf | 
grep cache_dir ve cache_mem bu şekilde.
 
cache_mem 128 MBcache_dir ufs 
/usr/local/squid/cache 1 64 256
 
teşekkürler!


[freebsd] squid cache size

2004-09-29 Başlik =?iso-8859-9?Q?Mesut_G=DCLNAZ?=



cache_mem 128 MBcache_dir ufs 
/usr/local/squid/cache 1 64 256