[ubuntu-ar] extraño problema con la navegación en internet
Mariano Reingart
reingart en gmail.com
Mie Sep 29 19:57:33 UTC 2010
Ahi te lo mande por privado.
La unica diferencia si no me equivoco es el TTL del IP (64 de ubuntu
contra 128 en linux).
Le subi el TTL en ubuntu y parece que andaría un poco mejor:
sudo iptables -t mangle -A POSTROUTING -o eth0 -j TTL --ttl-set 255
Sds
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
2010/9/29 Marcelo Fernandez <marcelo.fidel.fernandez en gmail.com>:
> El día 29 de septiembre de 2010 14:41, Mariano Reingart
> <reingart en gmail.com> escribió:
>> Lo más extraño es que en windos funciona mejor, casi nunca rechaza...
>
> Ok, eso estuve hablando con amigos que sufren el mismo problema en el almuerzo.
>
>> Al proxy no le debe estar gustando algún parametro del stack TCP/IP de
>> Linux (me paso también con un gentoo medio viejo).
>
> Esa es la idea en que estuvimos pensando. No tengo Windows instalado
> aparte, pero corriendo de VirtualBox en modo NAT (ni siquiera en Modo
> Bridge, donde se emula toda la interfaz de red) pude ver que el
> problema pasaba, pero muchísimo menos (casi ni molestaba).
>
> En la captura que hice pude ver que Linux hacía uso de SACK (Selective
> Acknowledges) por ejemplo, quizás al stack TCP del proxy de Speedy no
> le gusta, ésta o alguna otra opción similar; dudo que sea un tema de
> IP, más que nada por el comportamiento SYN-RST tiendo a pensar que
> está en TCP.
>
> Mariano, ¿Podés hacer una captura entrando a una página web con
> Wireshark de Windows donde funcione y otra con Wireshark de Ubuntu
> donde se vea el SYN-RST? (esta última la puedo hacer yo, sin embargo,
> ya que pedimos, pedimos bien). :-)
>
> Así intentamos darle una vuelta más de rosca al tema.
>
> Update: Acabo de probar desactivar el SACK en Ubuntu y sigo con
> errores. De todas maneras hay unas cuantas opciones de TCP que pueden
> variar entre Linux o Mac y Windows...
>
>> Acerca del MTU, no tiene mucho que ver, pero:
>>
>> Pinging [72.14.253.104] with 1500 bytes -> ..fragmented
>> Pinging [72.14.253.104] with 750 bytes ->bytes=64 time=156ms TTL=53
>> Pinging [72.14.253.104] with 1125 bytes ->bytes=64 time=213ms TTL=51
>> Pinging [72.14.253.104] with 1312 bytes ->bytes=64 time=166ms TTL=53
>> Pinging [72.14.253.104] with 1406 bytes ->bytes=64 time=167ms TTL=53
>> Pinging [72.14.253.104] with 1453 bytes ->bytes=64 time=194ms TTL=52
>> Pinging [72.14.253.104] with 1476 bytes -> ..fragmented
>> Pinging [72.14.253.104] with 1464 bytes ->bytes=64 time=185ms TTL=52
>> Pinging [72.14.253.104] with 1470 bytes ->Unknown error: 0
>> Pinging [72.14.253.104] with 1469 bytes -> ..fragmented
>> Pinging [72.14.253.104] with 1466 bytes -> ..fragmented
>> Pinging [72.14.253.104] with 1465 bytes -> ..fragmented
>> The largest possible non-fragmented packet is 1464 (1492 - 28 ICMP &
>> IP headers).
>> You can set your MTU to 1492
>
> Ok, lo cual es el máximo estándar para PPoE [2].
>
> [2] http://tools.ietf.org/html/rfc2516
>
> Saludos
> --
> Marcelo F. Fernández
> Buenos Aires, Argentina
> Licenciado en Sistemas - CCNA
>
> E-Mail: marcelo.fidel.fernandez en gmail.com
> Blog: http://blog.marcelofernandez.info
> Twitter: http://twitter.com/fidelfernandez
>
> --
> Ubuntu-ar lista de correo
> Ubuntu-ar en lists.ubuntu.com
> Modifica tus opciones o desuscribite en: https://lists.ubuntu.com/mailman/listinfo/ubuntu-ar
> Siempre leer, comprender y aplicar nuestra etiqueta: https://wiki.ubuntu.com/ArgentinaTeam/EtiquetaML
>
>
Más información sobre la lista de distribución Ubuntu-ar