Merhaba,
squid i root olarak çalıştırmanız gerekir.
root dışındaki kullanıcılar 1024 ten küçük port açamazlar.
Kolay gelsin
Devrim
On Tuesday 18 May 2004 16:42, Mesut GÜLNAZ wrote:
> merhaba.
> squid e 80 portu dinlemesini nasıl söyleyebilirim.
>
> http_port u 80 yaptığım zaman
>
> May 18 16:36:08 araci squid[1515]: Squid Parent: child process 1526 started
> May 18 16:36:09 araci (squid): Cannot open HTTP Port
> May 18 16:36:09 araci /kernel: pid 1526 (squid), uid 100: exited on signal
> 6 (core dumped) May 18 16:36:09 araci squid[1515]: Squid Parent: child
> process 1526 exited due to signal 6
>
> hatası alıyorum.
> bu arada squid.conf dosyası transparant olarak ayarlı
>
> su-2.05b# diff squid.conf squid.conf.default
> 53c53
> <  http_port 80
> ---
>
> > # http_port 3128
>
> 486c486
> <  cache_mem 128 MB
> ---
>
> > # cache_mem 8 MB
>
> 519c519
> <  maximum_object_size 1024 KB
> ---
>
> > # maximum_object_size 4096 KB
>
> 695c695
> <  cache_dir ufs /usr/local/squid/cache 200 64 256
> ---
>
> > # cache_dir ufs /usr/local/squid/cache 100 16 256
>
> 1022c1022
> <  redirect_program /usr/local/bin/squidGuard
> ---
>
> > # none
>
> 1785d1784
> < acl my_network src 10.10.0.0/24
> 1833c1832
> <  http_access deny to_localhost
> ---
>
> > #http_access deny to_localhost
>
> 1841c1840
> < http_access allow my_network
> ---
>
> > #http_access allow our_networks
>
> 2020c2019
> <  cache_mgr [EMAIL PROTECTED]
> ---
>
> > # cache_mgr webmaster
>
> 2040,2041c2039,2040
> <  cache_effective_user squid
> <  cache_effective_group squid
> ---
>
> > # cache_effective_user squid
>
> 2050c2049
> <  visible_hostname araci.mydomain.com
> ---
>
> > # none
>
> 2138,2139c2137
> <  httpd_accel_host virtual
> <  httpd_accel_port 80
> ---
>
> > # httpd_accel_port 80
>
> 2168c2166
> <  httpd_accel_with_proxy on
> ---
>
> > # httpd_accel_with_proxy off
>
> 2188c2186
> <  httpd_accel_uses_host_header on
> ---
>
> > # httpd_accel_uses_host_header off
>
> 2635,2636c2633
> <  header_access Via deny all
> <  header_access X-Forwarded-For deny all
> ---
>
> > # none
>
> su-2.05b# sockstat -l
> USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> root     sshd       121    4 tcp4   *:22                  *:*
>
> USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> root     sshd       121    3 tcp46  *:22                  *:*
>
> USER     COMMAND    PID   FD PROTO  ADDRESS
> mes      sshd      1379    7 stream /tmp/ssh-ss0XzQQp/agent.1379
> root     syslogd    112    3 dgram  /var/run/log
>
> sorun ne olabilir.
> ya da böyle birşey mümkün kü?
>
> teşekkürler!


---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/[EMAIL 
PROTECTED]


Cevap