History log of /external/iproute2/ip/iprule.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b7a3df0f3c56c10587e926307daaa87fc3b854bf 09-Jul-2013 Lorenzo Colitti <lorenzo@google.com> Support experimental UID range routing.

This uses the FRA_UID_START and FRA_UID_END rule attribute types
with values 18 and 19, and the RTA_UID route attribute type
with value 18.

Syntax uses the uidrange keyword for rules and the uid keyword
for routes. Example:

root@hammerhead:/ # ip -6 rule add prio 123 uidrange 100-200 lookup 100
root@hammerhead:/ # ip -6 rule | grep uidrange
123: from all uidrange 100-200 lookup 100
ooot@hammerhead:/ #
t@hammerhead:/ # ip -4 route get uid 10045 8.8.4.4
8.8.4.4 via 192.168.159.254 dev wlan0 src 192.168.158.102 uid 10045
cache

(cherry picked from commit 628e7252f75b2621d4b8c5f9314f55f3ec24b92b)

Change-Id: I52d544f27ffef895ad5513a516e37cfba7da9b75
/external/iproute2/ip/iprule.c
ff24746cca1ef0c92d46614158e6672acd6b63d3 10-Apr-2012 Stephen Hemminger <shemminger@vyatta.com> Convert to use rta_getattr_ functions

User new functions (inspired by libmnl) to do type safe access
of routeing attributes
/external/iproute2/ip/iprule.c
cd70f3f522e04b4d2fa80ae10292379bf223a53b 28-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> libnetlink: remove unused junk callback

Both rtnl_talk and rtnl_dump had a callback for handling portions
of netlink message that do not match the correct pid or seq.
But this callback was never used by any part of iproute2 so remove
it.
/external/iproute2/ip/iprule.c
dec01609dc62d2137ed83c8ebccd2eef49d7aa97 21-May-2010 Arnd Hannemann <arnd@rhea.(none)> iproute2: Add dsfield as alias for tos for ip rules

Get ip rule parsing of "dsfield" in sync with ip route parsing and manual page.

Signed-off-by: Arnd Hannemann <hannemann@nets.rwth-aachen.de>
/external/iproute2/ip/iprule.c
0d1c9b570a40e3eef8c053a229713ac9344a4f83 16-Jul-2010 Ben Greear <greearb@candelatech.com> iproute2: Fix batch-mode for mrules.

The do_multirule logic was broken in batch mode because
it expected the preferred_family to be AF_INET or AF_INET6,
but it then assigned it to RTNL_FAMILY_IPMR or RTNL_FAMILY_IP6MR.
So, the next iteration of the batch processing, it failed
the check for AF_INET or AF_INET6.

Signed-off-by: Ben Greear <greearb@candelatech.com>
/external/iproute2/ip/iprule.c
b6c8e808fcea80da8bb97078ff942a0b9001e1c1 09-Jun-2010 Patrick McHardy <kaber@trash.net> ip: add support for multicast rules

commit 44a5293c1c47b8c32d9bb0756660ea5d4802acf2
Author: Patrick McHardy <kaber@trash.net>
Date: Tue Apr 13 17:03:47 2010 +0200

ip: add support for multicast rules

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iprule.c
85eae222d252546435bb5638b15d46ccfc9df32a 03-Dec-2009 Patrick McHardy <kaber@trash.net> iprule: add oif classification support

David Miller wrote:
> From: Patrick McHardy <kaber@trash.net>
> Date: Mon, 30 Nov 2009 19:00:14 +0100
>
>> This patch contains iproute support for iprule oif classification
>> for the send-to-self RFC I just sent out.
>
> Patrick, you need to submit a new version of this patch with
> the FIB_RULE_* macro fixed, just like the kernel version got
> fixed.

Thanks for reminind me of this. New patch attached.

commit 0fe5164cbaa1d65dda341075710be71bf1f32d10
Author: Patrick McHardy <kaber@trash.net>
Date: Fri Dec 4 07:06:18 2009 +0100

iprule: add oif classification support

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iprule.c
232642c28c5320e6cf1e32f667f866c5f7372bfe 02-Dec-2009 Stephen Hemminger <stephen.hemminger@vyatta.com> Remove Changes: comments

Discourage developers from putting change log in comments
now that software has been under change control for 5 years.
/external/iproute2/ip/iprule.c
ed6a021a925def87fefb08e859861835328f4def 03-Jan-2008 Andreas Henriksson <andreas@fatal.se> iproute2: revert syntax help text mistake.

Sorry. The pref and prio options are actually synonyms.
This reverts part of commit 576c63ee59de3f18bec4ebd8181a5a395f268d03.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/ip/iprule.c
576c63ee59de3f18bec4ebd8181a5a395f268d03 12-Oct-2007 Alexander Wirt <formorer@debian.org> Add parameters to usage help text.

Add src option to route help text (http://bugs.debian.org/226142).
Add prio option to rule prio help text (http://bugs.debian.org/213673).

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iprule.c
59cc4f73f20f802eda02baa0180a5fb92c14c25c 13-Oct-2007 Stephen Hemminger <shemminger@linux-foundation.org> Revert "Remove bogus reference to tc-filters(8) from tc(8) manpage."

This reverts commit 1bacc7ce752f795df3b1b3710245c4cd8c1bc396.
/external/iproute2/ip/iprule.c
1bacc7ce752f795df3b1b3710245c4cd8c1bc396 12-Oct-2007 Andreas Barth <aba@not.so.argh.org> Remove bogus reference to tc-filters(8) from tc(8) manpage.

Spotted by Aleš Kozumplík <al_es@seznam.cz>
(http://bugs.debian.org/289225)

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iprule.c
ad1a12dbd023946695caade199707aaafa6cc560 22-Aug-2007 Patrick McHardy <kaber@trash.net> Use FRA_* attributes for routing rules

Use the FRA attributes for routing rules, with exception of RTA_GATEWAY
(used for route-NAT) which isn't supported by current kernels anymore
and thus doesn't exist as FRA attribute.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iprule.c
6b469caefd0fd8ff52a43308d7a47a75fb05a3de 27-Mar-2007 Thomas Graf <tgraf@suug.ch> iproute2: support for goto/nop action and detached flag

Stephen,

Patch to support the new fib rules features I just posted
on netdev.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/ip/iprule.c
81c61790d5927dc6ca168b2183000a3efc7bc493 14-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Eliminate trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/iprule.c
be7f286e8353cc947c6d2a74b21989af23988812 14-Dec-2006 Patrick McHardy <kaber@trash.net> [IPROUTE]: Add support for routing rule fwmark masks

Needs kernel >= 2.6.19.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/ip/iprule.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/iprule.c
98bde989db679153ee7a5f6425037b5a002eb95d 10-Nov-2006 Thomas Graf <tgraf@suug.ch> Add rule notification support to ip monitor

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/iprule.c
3123a0ccdd6b2f0b30c9e7d87c4a698577b3e5a5 09-Nov-2006 Thomas Graf <tgraf@suug.ch> Add support for inverted selectors

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/iprule.c
34e9564753075c756f96597e7aa57f969a403aaf 11-Aug-2006 Patrick McHardy <kaber@trash.net> Add support for larger number of routing tables

[IPROUTE]: Add support for larger number of routing tables

Support support for 2^32 routing tables by using the new RTA_TABLE
attribute for specifying tables > 255 and intepreting it if it is
sent by the kernel.

When tables > 255 are used on a kernel not supporting it an error will
occur because of the unknown netlink attribute.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/ip/iprule.c
b77caeba0e8809c8e3d22d0cbea42e41f5522fdf 13-Oct-2005 shemminger <shemminger> Fix ip rule flush
/external/iproute2/ip/iprule.c
351efcde4e62967362a10b29f3b701cfecd7cdfc 01-Sep-2005 shemminger <shemminger> Update header files to 2.6.14
Integrate support for DCCP and tcp_diag into ss
Add -batch to ip command
/external/iproute2/ip/iprule.c
660818498d0f5a3f52c05355a3e82c23f670fcc1 16-Aug-2005 shemminger <shemminger> Update include files and fix a couple of minor bugs
/external/iproute2/ip/iprule.c
f332d169246447bd5e258ac03d5ee840a70adb1e 06-Jul-2005 shemminger <shemminger> Cleanup GCC4 warnings about signedness.
/external/iproute2/ip/iprule.c
2af5c3d34463b2a96cebe9de35e86b19b8003011 18-Jan-2005 7!tgraf <7!tgraf> tb buffer initialization is now done in the parser

(Logical change 1.129)
/external/iproute2/ip/iprule.c
526afe400887be9b3168ef3c92c6b6ec3e184f5f 18-Jan-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2.113

(Logical change 1.115)
/external/iproute2/ip/iprule.c
50772dc51ac02239958e1ebcdb21277fcdf133a7 07-Dec-2004 osdl.net!shemminger <osdl.net!shemminger> Add ip rule flush capabilty and fix all the prototype changes
because of that code rewrites the nlmsghdr.

(Logical change 1.106)
/external/iproute2/ip/iprule.c
0284dcde32ccb3181c04f449ea41a0502fb91f07 07-Oct-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2-typo-fixes-1.diff

(Logical change 1.94)
/external/iproute2/ip/iprule.c
6dc9f016347441fbf94cf851c054b0f45ba32c1c 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> make all filtering handles take const args.

(Logical change 1.77)
/external/iproute2/ip/iprule.c
4fb466f9446d42fe3591520bf1b1e9ab7ee54f71 08-Jun-2004 org[shemminger]!shemminger <org[shemminger]!shemminger> Import patch iproute2-2.4.7-hex.patch

(Logical change 1.8)
/external/iproute2/ip/iprule.c
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/ip/iprule.c
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/ip/iprule.c