RE: [squid-users] Webmail POST

From: Jose Costa <joselpcosta@dont-contact.us>
Date: Fri, 29 Oct 2004 10:45:18 -0300 (ART)

Below my squid.conf, the access.log after I click
attach(on yahoo mail) and the Squid version(rpm)
output:

I saw a TCP_MISS/503...

[root@srvproxy root]# tail -f
/var/log/squid/access.log | grep "XXX.XXX.XXX.XXX"
1099053084.373 142 XXX.XXX.XXX.XXX TCP_MISS/200 771
GET http://br.adserver.yahoo.com/a? -
DIRECT/200.185.15.66 application/x-javascript
1099053085.184 5238 XXX.XXX.XXX.XXX TCP_MISS/200
32671 POST http://br.f414.mail.yahoo.com/ym/Compose? -
DIRECT/66.218.95.195 text/html
1099053087.999 3099 XXX.XXX.XXX.XXX TCP_MISS/200 656
GET http://br.adserver.yahoo.com/a? -
DIRECT/200.185.15.66 text/html
1099053089.348 4728 XXX.XXX.XXX.XXX TCP_MISS/404 307
POST http://activex.microsoft.com/objects/ocget.dll -
DIRECT/207.46.196.108 -
1099053092.945 3559 XXX.XXX.XXX.XXX TCP_MISS/404 296
POST http://codecs.microsoft.com/isapi/ocget.dll -
DIRECT/207.46.248.96 -
1099053093.394 191 XXX.XXX.XXX.XXX TCP_MISS/200 656
GET http://br.adserver.yahoo.com/a? -
DIRECT/200.185.15.66 text/html
1099053377.010 123542 XXX.XXX.XXX.XXX TCP_MISS/503
1271 POST
http://br.f414.mail.yahoo.com/ym/Attachments? -
DIRECT/66.218.95.195 text/html

[root@srvproxy root]# squid -v
Squid Cache: Version 2.5.STABLE5
configure options: --host=i386-redhat-linux
--build=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix=
--prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man
--infodir=/usr/share/info --exec_prefix=/usr
--bindir=/usr/sbin --libexecdir=/usr/lib/squid
--localstatedir=/var --sysconfdir=/etc/squid
--enable-poll --enable-snmp
--enable-removal-policies=heap,lru
--enable-storeio=aufs,coss,diskd,null,ufs
--enable-ssl --with-openssl=/usr/kerberos
--enable-delay-pools
--enable-linux-netfilter --with-pthreads
--enable-ntlm-auth-helpers=SMB,winbind
--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,winbind_group

--enable-auth=basic,ntlm --with-winbind-auth-challenge
--enable-useragent-log
--enable-referer-log --disable-dependency-tracking
--enable-cachemgr-hostname=localhost
--disable-ident-lookups --enable-truncate
--enable-underscores --datadir=/usr/share
--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SMB,YP,getpwnam,multi-domain-NTLM,SASL,winbind

[root@srvproxy root]# cat /etc/squid/squid.conf
http_port 3128
cache_mem 16 MB
cache_dir ufs /var/spool/squid 15000 64 64
maximum_object_size 8096 KB

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

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 to_localhost dst 127.0.0.0/8
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 CONNECT method CONNECT

acl mimeblock1 req_mime_type -i
"/etc/squid/bloqueados/illegal.txt"
acl mimeblock2 rep_mime_type -i
"/etc/squid/bloqueados/illegal2.txt"
acl bextencoes urlpath_regex -i
"/etc/squid/bloqueados/extencoes.txt"
acl blocked1 url_regex -i
"/etc/squid/bloqueados/block.txt"
acl liberados url_regex -i
"/etc/squid/bloqueados/unblock.txt"
acl rede_interna src "/etc/squid/redeint.txt"

http_access deny manager !localhost
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny mimeblock1
http_reply_access deny mimeblock2
http_access deny bextencoes
http_access deny blocked1 !liberados
http_access allow rede_interna

http_access deny all
http_reply_access allow all
visible_hostname srvproxy
error_directory /usr/share/squid/errors/Portuguese
coredump_dir /var/spool/squid

Thanks in advance.

 --- Elsen Marc <elsen@imec.be> escreveu:
>
> >
> > Hi,
> >
> > I still can not upload big files to yahoo mail.
> >
> > The strange behavior is that if I try with a 10-20
> K
> > file it works.
> > When I try with a "big" 100K file IE starts
> sending
> > data then suddenly stops sending
> > and yahoo page keeps on "Attaching Files".. no
> yahoo
> > error, no IE error and data
> > stops to send (I know that because the little
> computer
> > in my taskbar stops flashing and IE booton bar
> > desapear)
> > I got Complete in browser botton bar and yahoo
> > continnues to show Attaching Files...
> > I let it about 1 hour and it "continues attaching"
> ..
> >
> > I´ve tried the settings below in my squid.conf but
> it
> > did not work.
> >
> > When I remove squid/proxy from my IE proxy
> settings it
> > works with any size of files.
> >
> > *Settings*
> > server_persistent_connections off
> > client_persistent_connections off
> > half_closed_clients off
> >
> > *ACL*
> > acl Post method POST
> > always_direct allow Post
> >
> > acl maily dstdomain .yahoo.com
> > always_direct maily
> >
> > *time-out*
> > connect_timeout 30 minute
> > persistent_request_timeout 30 minute
> > pconn_timeout 1800 seconds
> >
> > I have a Firewall in front of squid if it is
> important
> > and I can access all kind
> > of sites using squid.. no problems.
> >
> > This happen with hotmail too and Exchange OWA when
> > trying to upload files.
> >
> > My squid.conf is a default conf with some acls,
> > everything is default but cache_mem 16MB.
> >
> > That´s the yahoo url where I upload files:
> >
> > http://br.f602.mail.yahoo.com/ym/Compose?YY=27310
> >
> > Please let me know if you guys need any more debug
> > info or settings.
> >
> > Any idea will be great!!
>
>
> - Which version of squid are you using ?
> - What's in access.log for the failed uploads ?
>
> M.
>

        
        
                
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/
Received on Fri Oct 29 2004 - 07:45:18 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST