All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Correa <andre.correa@pobox.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] IMQ on 2.6.x + iptraf = problem
Date: Mon, 30 Aug 2004 22:48:43 +0000	[thread overview]
Message-ID: <4133AECB.5090901@pobox.com> (raw)


Hi Bety, a problem like this was reported on IMQ mailling list a couple 
of weeks ago. It is still pending review but it must be somehow related 
   to iptraf. :-|

I'm sorry for not being able to give you some "positive" advice on it 
for now.

Tks for reporting this issue. If you need assistance feel free to write 
me privately or to join our list at www.linuximq.net

Cheers

Andre



bety1@poczta.onet.pl wrote:
> Does anybody have the following problem?
> 
> 
> Affected:
> IMQ interfaces with --todev target on PREROUTING chain
> appear only on 2.6.x kernels (2.4.x working good)
> 
> Counters on PREROUTING chain working good (with iptraf sniffing on any
> interface), but imq interfaces lost TCP packets which are forwarded from the
> internet to the network behind router (only TCP; the rest of traffic like
> icmp, udp is ok).
> 
> Try to make two imq interfaces on your internet interface and download file
> (via ftp, www or somtging else),  NOT from your internet router but from
> computer behind NAT (behind router) and then enable iptraf. Because for
> router traffic everything working fine.
> 
> your computer --- router (with nat, imq and iptraf) --- imq0, and imq1 ---
> internet interface --- Internet
> 
> configuration:
>       iptables -F
>       iptables -X
>       iptables -Z
>       iptables -F -t nat
>       iptables -X -t nat
>       iptables -F -t mangle
>       iptables -X -t mangle
> 
>       iptables -P FORWARD ACCEPT
>       iptables -P INPUT ACCEPT
>       iptables -P OUTPUT ACCEPT
> 
> iptables -t nat -A POSTROUTING -s $i -o $INTERNET_ETH -d 0/0 -j SNAT --to
> $INTERNET_IP
> 
>       # Download
>         iptables -t mangle -A PREROUTING -i $INTERNET_ETH -j IMQ --todev 0
> 
>       # Upload
>         iptables -t mangle -A POSTROUTING -o $INTERNET_ETH -j IMQ --todev 1
> 
> ip link set imq0 up
> ip link set imq1 up
> 

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

             reply	other threads:[~2004-08-30 22:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 22:48 Andre Correa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-24 14:19 [LARTC] IMQ on 2.6.x + iptraf = problem bety1

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=4133AECB.5090901@pobox.com \
    --to=andre.correa@pobox.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.