lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAP8bwDW0guARPQZi4CGk7ZeuqWoeUBHN=NoO5Zu=5o0mqMN4vA@mail.gmail.com>
Date:	Fri, 30 Oct 2015 10:39:08 +0800
From:	神楽坂玲奈 <zh99998@...il.com>
To:	netdev@...r.kernel.org
Subject: ip rule tos not works on many tos value

```
# ip rule add tos 0x10 lookup 1    # run successfully
# ip rule add tos 0x20 lookup 2
RTNETLINK answers: Invalid argument
```

i tried all 1-255 tos values, and find just these values can be used:

2
4
6
8
10
12
14
16
18

what should i do if i want to use more tos value?

```
$ cat /etc/iproute2/rt_dsfield
# Differentiated field values
# These include the DSCP and unused bits
0x0     default
# Newer RFC2597 values
0x28    AF11
0x30    AF12
0x38    AF13
0x48    AF21
0x50    AF22
0x58    AF23
0x68    AF31
0x70    AF32
0x78    AF33
0x88    AF41
0x90    AF42
0x98    AF43
# Older values RFC2474
0x20    CS1
0x40    CS2
0x60    CS3
0x80    CS4
0xA0    CS5
0xC0    CS6
0xE0    CS7
# RFC 2598
0xB8    EF
```
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ