netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* REDIRECT in nat OUTPUT
@ 2008-07-12  1:24 Denys Fedoryshchenko
  2008-07-12  6:28 ` Evgeniy Polyakov
  0 siblings, 1 reply; 8+ messages in thread
From: Denys Fedoryshchenko @ 2008-07-12  1:24 UTC (permalink / raw)
  To: netdev; +Cc: netfilter-devel

I notice TX performance issues while using REDIRECT rule in -t nat -I OUTPUT chain.

To reproduce:
First let's test network and HDD speed 
homecore ~ # scp PSA_schematique_07H.iso root@127.0.0.1:/tmp
PSA_schematique_07H.iso                                                                                                      7%  335MB  25.7MB/s   02:39 ETA
^C
Killed by signal 2. (i kill it)


Second let's do the trick
iptables -t nat -I OUTPUT -p tcp --dport 23 -j REDIRECT --to-ports 22
scp -P 23 PSA_schematique_07H.iso root@anyhost:/tmp
PSA_schematique_07H.iso                                                                                                      0% 8728KB 121.3KB/s 10:22:05 ETA
^C
Killed by signal 2.

Always all rules with REDIRECT to local port is dropping speed around 100Kbyte/s. What can be the problem?

-- 
------
Technical Manager
Virtual ISP S.A.L.
Lebanon

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-07-13 15:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12  1:24 REDIRECT in nat OUTPUT Denys Fedoryshchenko
2008-07-12  6:28 ` Evgeniy Polyakov
2008-07-12 13:55   ` Denys Fedoryshchenko
2008-07-12 14:40     ` Denys Fedoryshchenko
2008-07-13 14:09       ` Evgeniy Polyakov
2008-07-13 14:19         ` Denys Fedoryshchenko
2008-07-13 14:59           ` Krzysztof Oledzki
2008-07-13 15:12             ` Denys Fedoryshchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).