Displaying 20 results from an estimated 1000 matches similar to: "Traffic Control in a bridge"
2005 Jan 03
8
load balancing and DNAT
Does anyone know if load balancing and DNAT work well together? I know
that load balancing and NAT do not, but what about a simple port forward?
I can''t apply Julian Anastasov''s patches, because they don''t work with
PPTP patches. :/
Anyhow, a simple:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport xxx -j DNAT --to
yyy:xxx
iptables -I FORWARD -i eth0 -d yyy -p
2007 Feb 21
10
Split access, load balancing AND forwarding: HOW?
The LARTC howto correctly describes load balancing and split
access for traffic from a machine with multiple ISP connections
(http://www.lartc.org/lartc.html#LARTC.RPDB.MULTIPLE-LINKS) --
*provided* the traffic originates from the machine itself (i.e.
traffic regularly handled by the INPUT and OUTPUT chains of
iptables).
When forwarding traffic from an attached local network, the
following
2007 Sep 05
6
NAT-aware traffic analysis
I have tried using iptraf for my NAT firewall to analyse the IP traffic.
Basically I am faced with this difficulty of related the source IP
to the outgoing interface to the internet, so I am wondering if
anyone has a suggestion for a different ways to do it, or a suggestion
for a better tool.
Details :-
Supposed : eth0 - LAN
eth1 - WAN1
eth2 - WAN2
And then
2007 Aug 16
3
Unable to match/classify non-icmp traffic with TOS bigger than 0x10
This problem is driving nuts, so I am seeking help here.
Your help will be deeply appreciated.
I have made myself a Linux bridge with eth1 and eth0 to
form br0. Then I run a script to configure tc with htb on it.
But I can never match non-icmp traffic ( such as tcp and udp )
with TOS or DSCP values such as 0x68.
The full story as follows :-
1. On the source testing machine, I do this to set
2006 Dec 29
3
Using iptables level7/ipp2p match in a bridge
Subject almost says it all, I wonder if there is a way for me
to use iptables matches like l7 and/or ipp2p match in a
bridge ( one ethernet in and one ethernet out ) ?
Regards.
2007 Feb 05
2
tc filter matches ip fileds inside pppoe frames
I have a requirement which I guess it is not too unusually, however I haven''t
quite figured out how to do it and couldn''t find any examples which handle that.
I have made myself a Linux-based bridge, eth0 bridged with
eth1 to form br0.
In this bridge, I run ''tc'' script to handle QoS.
So far nothing unusual.
However, what''s different is that this
2006 Oct 12
0
help
lartc-request@mail
man.ds9a.nl To: lartc@mailman.ds9a.nl
Sent by: cc:
lartc-bounces@mail Subject: LARTC Digest, Vol 20, Issue 13
2007 Sep 27
5
QoS for VoIP
As you are probably aware, this is a ever green topic.
I have personally tried doing it, testing it and verifying it
and I am myself finding this problem challenging and frustrating.
Most of the scripts will recommend some form of rate limiting
( or policing ) on the download. But the challenge is how to
determine the correct value for the policing ?
Lot of the recommendation says use x %
2003 Mar 14
5
ipsec for linux 2.4 eventually made easy?!
hi there,
I just wanted to share a recent discovery I did on how to setup a secure
VPN implementation for linux 2.4.x (I''m using 2.4.20 but it should be
working, as far as documentation states, for > 2.4.18) without using
FreeS/WAN.
The tool (ipsec_tunnel: http://ringstrom.mine.nu/ipsec_tunnel/, by
Tobias Ringström) is a kernel module based on ipip and ip_gre. It uses
CyptoAPI to
2004 Aug 02
5
Route policy preference value
Assuming if I have rules matching the same packet,
the one chosen is the lower preference value or
the high ?
For example
# ip rule list
....
100 from 192.168.1.0/24 lookup main
200 from all fwmark 5 lookup first
.....
Packet is matching both rules, the one with priority/preference
100 or 200 is selected ?
_______________________________________________
LARTC mailing list /
2005 Mar 23
1
syn flood protection - inside initiated attacks
Perhaps someone will help me on this :-
I have read a lot of examples of syn flood protect on the INPUT chain.
That I have no question at all.
I wonder if it make sense to perform syn flood protection
at the FORWARD chain ? If packets are originated from a
LAN worm, and are not targetted at the firewall itself, but
rather at hosts in the internet, will it cause problem with
the firewall itself,
2007 Oct 18
4
exporting service on multiple wan
Hi all,
I''ve a routing problem. I''m setting up a router based on debian (kernel
2.4).
I need to setup routing to export an ftp service (ftp server is in dmz)
to 2 wan (both).
I setup prerouting ad forward rule with no problem.
The problem is that reply packet use default gateway (default wan) even
though they are enter using the other wan.
I solved it marking packets in input
2007 Oct 11
3
Problem with multiple ADSL lines
Hi all,
I have managed to setup a Fedora 7 box with 3 ethernet cards and two ADSL
modem/routers from different suppliers as LARTC recommends. I am able to
direct traffic for specific internal IPs either to one or the other ADSL
line. However, I am faced with two problems I am struggling for the
solution:
1. I have opened a few ports on the ADSL router/firewalls to talk to
internal hosts; say when
2006 Nov 06
3
Ingress qdisc bypassed on SNAT''ed traffic?
Hello,
I am using the following iptables POSTROUTING rule to NAT some RFC
1918 addresses:
iptables -t nat -A POSTROUTING -s 192.168.19.23 !
192.168.0.0/255.255.0.0 -p tcp --dport 80 -j SNAT --to-source
10.32.4.2
(I am using SNAT instead of MASQUERADE for performance reasons).
I have several addresses on the 192.168.0.0/16 subnet that I am
SNAT''ing similarly.
Problem is, ''tc
2004 Aug 29
4
Load Balancing With Three Connections
Hello Everyone,
Hope everyone is doing well.
First off I would like to say that Lartc has been an invaluable source
of information for me, I was looking for a solution and a bit of
google''ing found this wonderful HOW-TO.
So now down to the Question:
I have three Internet connections, (Soon to be four if I can get this
working)
ETH0 - 2mb/2mb
ETH1 - 7mb/1mb
ETH2 - 7mb/1mb
I wish
2006 Nov 03
5
qos inside ipsec tunnel
Hello everybody.
I would like to do some kind of shaping inside an
ipsec tunnel implemented by Openswan and linux
2.6.18.x with xfrm (no KLIPS): for example, to
limit outbound smtp traffic inside the tunnel.
Question: where should I attach the qdisc to? Eth0?
I''m asking this, because tcpdump only see the ESP
packet on the eth0 and not the ''clear'' packet.
TIA
This is my
2007 Nov 12
18
How to fight with encrypted p2p
Hi
I believe that whole question is in topic.
Is there any way to recognize ( and then shape ) p2p traffic which is encrypted?
Modern p2p clients have this ability moreover some of them have this enabled by default.
Now I''m using ipp2p for iptables but as I know this doesn''t recognize encrypted traffic.
Thanks in advance.
Pozdrawiam
Szymon Turkiewicz
2007 Jun 25
32
Load Balance and SNAT problem.
I am developing load balancing router, But I have a question about fail
over.
The follow diagram is my test environment and scripts.
-------------------------------------------------------------------
Environment Setting
PC1(192.168.10.2)
|
(LAN)
|
PC2-eth2(192.168.10.1)
+
2006 Nov 04
8
Strategy for penalising IPs with too many simultaneous sessions
Hi all,
I have been trying to investigate traffic shaping in an effort to solve
the "unfriendly network apps" problem on a test network.
I have a basis by which I''d like to shape traffic, but studying the
howto doesn''t uncover and existing qdisc that seems to fit what I would
like to do.
The problem I would like to address is to prevent an IP address opening
10
2007 Jul 19
10
gateway failover with linux
Hi.
I''m wondering if there''s a good way to configure a Linux firewall box to
failover to a single backup server, while preserving connection state.
This question has been asked before, but the latest reference I can find
is from 2004, at which time Linux had no equivalent of OpenBSD''s pfsync,
though Harald was said to be working on one.
Did anything come of those