Re: lug-bg: File Upload
- Subject: Re: lug-bg: File Upload
- From: peyo <peyo@xxxxxxxxx>
- Date: Tue, 23 Sep 2003 13:32:48 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 23 September 2003 11:15, Iassen Anadoliev wrote:
> Problemite wsushnost sa dwa, za koito spored men prichinata e edna i
> sushta ta...
>
> 1vo Otwarqm si ftp sesiq nawunka (nqma znachenie s real ili s private IP).
> I probwam da kacha primerno exe file. Kachwa dokym 40KB i spira. Sluchwa
> se i s nqkoi drugi files, no primerno s arhiwi ne se.
> 2riq problem e podoben, samo che e s public mail. Abv, Mail.bg etc. Nqkoi
> files se attachwat, drugi ne. Men neshto ne mi se wruzwa, sled kato nqmam
> nikakuw filter na application level...
>
Мда. Мисля, че имам решвние за твоя проблем.
[кръц от iptables man page]
TCPMSS
This target allows to alter the MSS value of TCP SYN packets, to con-
trol the maximum size for that connection (usually limiting it to your
outgoing interface's MTU minus 40). Of course, it can only be used in
conjunction with -p tcp.
This target is used to overcome criminally braindead ISPs or servers
which block ICMP Fragmentation Needed packets. The symptoms of this
problem are that everything works fine from your Linux firewall/router,
but machines behind it can never exchange large packets:
1) Web browsers connect, then hang with no data received.
2) Small mail works fine, but large emails hang.
3) ssh works fine, but scp hangs after initial handshaking.
Workaround: activate this option and add a rule to your firewall con-
figuration like:
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
-j TCPMSS --clamp-mss-to-pmtu
[/кръц]
Мисля, че това е точно каквото ти трябва.
Поздрави:
Пейо
>
>
> ===========================================================================
>= A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
> Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> ===========================================================================
>=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/cCFeuce0zVwaIYkRAuJXAKDsg5SY9gFCiW46m+vwtoRgNdVEFwCfUUwE
rIEEX5+v0zqaFGwr0oaV1Wo=
=guYU
-----END PGP SIGNATURE-----
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|