All of lore.kernel.org
 help / color / mirror / Atom feed
From: RoMaN SoFt / LLFB!! <roman@madrid.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Balancing ip traffic over two or more internet (adsl) connections
Date: Fri, 16 Mar 2001 11:52:01 +0000	[thread overview]
Message-ID: <marc-lartc-98474346424824@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98465591406063@msgid-missing>

On Fri, 16 Mar 2001 11:41:10 +0100 (MET), you wrote:

>On Fri, 16 Mar 2001, RoMaN SoFt / LLFB!! wrote:
>
>> On Thu, 15 Mar 2001 17:56:37 +0100 (MET), you wrote:
>>
>> >> 1) Could you exemplify this TOS field "hacking"?
>> >
>> >ipchains <yourmatchfields> -t 0x01 0x00
>>
>>  Ummm. I don't get it to work... I've created the following test
>> ipchains rule (see log):
>>
>> goliat:~ # ipchains -F
>> goliat:~ # ipchains -A output -p tcp --source-port 20:21 -b -t 0x01
>> 0x00 -j ACCEPT -l
>
>Looks okay. Note that passive ftp return data is *not* necessarily on
>port 20 or 21...
>
>For testing I would try clearing the TOS field on *all* outgoing packets.

 Another test:
- backup: another local machine routed via goliat (the multipath
gateway)
- goliat (the multipath gateway) configured as follows:

goliat:~ # ipchains -F
goliat:~ # ipchains -A output -t 0x01 0x00 -j ACCEPT -l
goliat:~ # ipchains -A forward -t 0x01 0x00 -j ACCEPT -l
goliat:~ # ipchains -A input -t 0x01 0x00 -j ACCEPT -l

(not all rules are really necessary but...)

 Now:

backup:/usr/local/scripts # ftp 62.22.78.68
Connected to sniff.batmap.com.
220 Sniff FTP-Server ready
Name (62.22.78.68:roman): 
421 Service not available, remote server has closed connection.
ftp: Login failed.
ftp: No control connection for command.
ftp> bye
backup:/usr/local/scripts #

 Same error.

>>  I only could imagine that TOS translation is being doing AFTER
>> multipath has acted. Is it possible? In this case, how to avoid it?
>
>Yes, that is theoretically possible, if you are ftp'ing directly from the
>machine that does the multipath routing.

 I've demostrated the error persists although I use another machine.

>I've already paraphrased most of the complete config. What you may still
>need is rules and corresponding routing tables to do static non-multipath
>routing if you already have a source address for your packets. This would

 I don't understand. What do you mean with "you have the source
address"? An normal IP packet always have a src address.

 I think I'm going to write a new post detailing the problem with more
accurate logs and I'll post it to linux-kernel mailing list.

 Ummm, I have another idea: as I did the TOS hacking upon launching
the previous ftp probes, perhaps "evil" routes keep on cached and
that's the reason TOS hack activation doesn't care. Could it be? I'll
have to re-look the adv.routing-howto, I don't remember how to clear
cached routes.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    ** RoMaN SoFt / LLFB **  
       roman@madrid.com
   http://pagina.de/romansoft
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

  parent reply	other threads:[~2001-03-16 11:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-15 11:33 [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-15 11:48 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen
2001-03-15 15:44 ` [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-15 16:56 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen
2001-03-16 10:16 ` [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-16 10:41 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen
2001-03-16 11:52 ` RoMaN SoFt / LLFB!! [this message]
2001-03-16 12:41 ` Arthur van Leeuwen
2001-03-16 18:25 ` [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-16 18:32 ` Mike Fedyk
2001-03-16 19:10 ` RoMaN SoFt / LLFB!!
2001-03-16 19:52 ` Mike Fedyk
2001-03-17 12:56 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-98474346424824@msgid-missing \
    --to=roman@madrid.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.