On Wed, Apr 14, 2021 at 08:24:11PM -0700, David Ahern wrote:
> On 4/14/21 12:33 AM, Pavel Balaev wrote:
> >>
> >> This should work the same for IPv6.
> > I wanted to add IPv6 support after IPv4 will be approved,
> > anyway no problem, will add IPv6 in next versio
On Tue, Apr 13, 2021 at 04:15:21PM -0700, David Miller wrote:
> From: Balaev Pavel
> Date: Tue, 13 Apr 2021 14:55:04 +0300
>
> > @@ -222,6 +230,9 @@ struct netns_ipv4 {
> > #ifdef CONFIG_IP_ROUTE_MULTIPATH
> > u8 sysctl_fib_multipath_use_neigh;
> > u8 sysctl_fib_multipath_hash_policy;
>
On Tue, Apr 13, 2021 at 08:28:52PM -0700, David Ahern wrote:
> On 4/13/21 4:55 AM, Balaev Pavel wrote:
> > Ability for a user to assign seed value to multipath route hashes.
> > Now kernel uses random seed value to prevent hash-flooding DoS attacks;
> > however, it disables some use cases, f.e:
> >
| table dscp: |
| 172.16.0.0/24 via 10.200.0.2 |
+-+
+--+
-> | eth0: 10.200.0.2 |
| eth1: 172.16.0.1 |
| host1 |
+--+
Signed-off-by: Pavel Balaev
---
include/net/route.h | 2 +-
include/uapi/linux/ip.h |
On Tue, Nov 20, 2018 at 03:12:18PM +0100, Sabrina Dubroca wrote:
> Hi Pavel,
>
> 2018-11-20, 16:29:36 +0300, Pavel Balaev wrote:
> > This patch adds ability to set DSCP values in ip rules.
>
> You dropped the RFC reference that you had in v1.
>
RFC2474 and RFC2597 valu
| host1 |
+--+
Signed-off-by: Pavel Balaev
---
include/net/route.h | 2 +-
include/uapi/linux/ip.h | 2 ++
net/ipv4/fib_rules.c| 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/net/route.h b/include/net/route.h
index bb53cdba..b984ecff 100644
--- a/incl
On Mon, Nov 19, 2018 at 03:11:29PM -0800, David Miller wrote:
> From: Pavel Balaev
> Date: Mon, 19 Nov 2018 12:00:45 +0300
>
> > After this patch this one can use it:
>
> You can "configure it" but it doesn't work at all.
>
> Did you test this in
ch 8.8.8.9 tos 0x80
default tos CS4 via 192.168.0.6 dev lan table test
Signed-off-by: Pavel Balaev
---
net/ipv4/fib_rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c
index f8eb78d0..7a6c5bfe 100644
--- a/net/ipv4/fib_rules.c
On Wed, Nov 14, 2018 at 05:30:37PM +0300, Pavel Balaev wrote:
> Hello, for now IP rules supports only old TOS values and we cannot use
> DSCP.
>
> This patch adds support for DSCP values in IP rules:
>
> $ ip r add default via 192.168.0.6 table test
> $ ip ru add tos 0x80
On Wed, Nov 14, 2018 at 05:30:37PM +0300, Pavel Balaev wrote:
> Hello, for now IP rules supports only old TOS values and we cannot use
> DSCP.
>
> This patch adds support for DSCP values in IP rules:
>
> $ ip r add default via 192.168.0.6 table test
> $ ip ru add tos 0x80
: from all lookup main
32767: from all lookup default
$ ip r get fibmatch 8.8.8.9 tos 0x80
default tos CS4 via 192.168.0.6 dev lan table test
Signed-off-by: Pavel Balaev
---
net/ipv4/fib_rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/fib_rules.c b/net/ipv4
11 matches
Mail list logo