When I try to put all incoming traffic to IMQ on PREROUTING I can''t discern traffic to LAN and traffic to server. When I try to put only INPUT traffic to IMQ... I can''t discern traffic from LAN and from internet. Help me plizz to put all incoming traffic to one IMQ device and all outcoming to other IMQ device and (it''s very important) discern traffic to clients and server. (Sorry for my English... It is not well.) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Lenthir, please be more specific in your question. We need to know about your environment, kernel, iptables and distro versions. We need to know what you want to do, what you are doing now and what is not working. This way we can try to help you. Your iptables and tc rules will help as well. This is not about your english, it is about describing your scenario and problem in details. Cheers. Andre Correa Lenthir wrote:> When I try to put all incoming traffic to IMQ on PREROUTING I can''t discern > traffic to LAN and traffic to server. > > When I try to put only INPUT traffic to IMQ... I can''t discern traffic from > LAN and from internet. > > Help me plizz to put all incoming traffic to one IMQ device and all > outcoming to other IMQ device and (it''s very important) discern traffic to > clients and server. > > (Sorry for my English... It is not well.) > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Ok.... I attached my script... rc.htb is now working for me. But packet addressed to server don''t match correct class. htb1.2rc3 don''t work because i can''t discern traffic to LAN and traffic to server. in script prs it is address of server lan[0], lan[1] - lists of IP address to each interfaces... (defined in dev_lan) I tried on two types of compiled kernel - 2.4.26 with only IMQ patch and 2.4.26 with IMQ and NAT patch. I don''t see any differences... I have iptables 1.2.11 compiled with the kernel.
Originaly this always was imq problem, because prerouting and postrouting hooks do not alow do what you want. you can only capture all ingress, or all egress which is same as usual tc just unstable. you can change imq source to hook on other places, like input and forward. or you can use my version where I already did that. http://pupa.da.ru/imq/ ----- Original Message ----- From: "Lenthir" <lth@wp.pl> To: "$LARTC" <lartc@mailman.ds9a.nl> Sent: Tuesday, August 10, 2004 11:47 AM Subject: Re: [LARTC] Little problem with IMQ> rc.htb is now working for me. But packet addressed to server don''t match > correct class. > > htb1.2rc3 don''t work because i can''t discern traffic to LAN and traffic to > server. > > in script > prs it is address of server > lan[0], lan[1] - lists of IP address to each interfaces... (defined in > dev_lan) > > I tried on two types of compiled kernel - 2.4.26 with only IMQ patch and > 2.4.26 with IMQ and NAT patch. > I don''t see any differences... > > I have iptables 1.2.11 compiled with the kernel. > > >
Hm... nice patch :) I''ll write if I have some problems. Now I''m testing :) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/