+ Responder ao Tópico



  1. #1
    Visitante

    Padrão squid no mandrake 9.2 - teste

    tenho um micro atualmente com winMe porta 6588 fazendo proxy

    o mandrake tem duas placas
    como faço para que
    eth0 receba a conexão pela porta 6588
    eth1 faça o proxy e firewall

  2. #2
    Visitante

    Padrão squid no mandrake 9.2 - teste

    http_port 192.168.0.251:3128
    visible_hostname athlon2000

    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    cache_mem 32 MB # memoria usada

    #esvazia o cache
    cache_swap_low 10
    cache_swap_high 15

    maximum_object_size 6144 KB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 100 KB

    ipcache_size 1024
    ipcache_low 90
    ipcache_high 93



    acl all src 0.0.0.0/0.0.0.0
    acl localhost src 127.0.0.1
    acl rede src 192.168.0.1 192.168.0.2 192.168.0.3 192.168.2.254 # ips da rede

    #libera acesso
    http_access allow rede
    http_access allow localhost

    httpd_accel_host 127.0.0.1
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

    # ACL'S QUE LIBERA PORTAS
    acl SSL_ports port 443 563 # https, snews
    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 6588
    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



    [[email protected] Documents]# squid start
    [[email protected] Documents]# squid -k reconfigure
    squid: ERROR: No running copy


    o que tem de errado??



  3. #3
    max_mori
    Visitante

    Padrão squid no mandrake 9.2 - teste

    2005/03/04 21:33:13| squid.conf line 37: http_reply_access allow all
    2005/03/04 21:33:13| aclParseAccessLine: ACL name 'all' not found.
    2005/03/04 21:33:13| squid.conf line 37: http_reply_access allow all
    2005/03/04 21:33:13| aclParseAccessLine: Access line contains no ACL's, skipping
    2005/03/04 21:33:13| squid.conf line 38: icp_access deny all
    2005/03/04 21:33:13| aclParseAccessLine: ACL name 'all' not found.
    2005/03/04 21:33:13| squid.conf line 38: icp_access deny all
    2005/03/04 21:33:13| aclParseAccessLine: Access line contains no ACL's, skipping
    2005/03/04 21:33:13| squid.conf line 39: ident_lookup_access deny all
    2005/03/04 21:33:13| aclParseAccessLine: ACL name 'all' not found.
    2005/03/04 21:33:13| squid.conf line 39: ident_lookup_access deny all
    2005/03/04 21:33:13| aclParseAccessLine: Access line contains no ACL's, skipping
    2005/03/04 21:33:13| squid.conf line 40: reply_body_max_size 0 allow all
    2005/03/04 21:33:13| aclParseAccessLine: ACL name 'all' not found.
    2005/03/04 21:33:13| squid.conf line 40: reply_body_max_size 0 allow all
    2005/03/04 21:33:13| aclParseAccessLine: Access line contains no ACL's, skipping
    2005/03/04 21:33:13| squid.conf line 42: snmp_access deny all
    2005/03/04 21:33:13| aclParseAccessLine: ACL name 'all' not found.
    2005/03/04 21:33:13| squid.conf line 42: snmp_access deny all
    2005/03/04 21:33:13| aclParseAccessLine: Access line contains no ACL's, skipping
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

    Squid Cache (Version 2.5.STABLE3): Terminated abnormally.
    CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 337
    Aborted
    [[email protected] cache]# squid -z restart
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

    Squid Cache (Version 2.5.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: 335
    Aborted
    [[email protected] cache]# squid -z
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

    Squid Cache (Version 2.5.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: 335
    Aborted