Commit Graph

765 Commits

Author SHA1 Message Date
shemminger
3d418dc38a Add usage for ip -batch 2005-09-01 22:29:33 +00:00
shemminger
4073448cc8 add usage for batch to tc. 2005-09-01 22:29:05 +00:00
shemminger
351efcde4e Update header files to 2.6.14
Integrate support for DCCP and tcp_diag into ss
Add -batch to ip command
2005-09-01 19:21:50 +00:00
shemminger
c98e49ecca ChangeLog entry 2005-09-01 18:12:33 +00:00
shemminger
7339c0bb74 Could you please apply this patch.
* Fix lnstat : First column should not be summed

Thank you

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
2005-09-01 18:11:03 +00:00
shemminger
08008c652d SNAPSHOT update for build 2005-08-16 21:13:19 +00:00
shemminger
660818498d Update include files and fix a couple of minor bugs 2005-08-16 21:10:51 +00:00
shemminger
6864c1e789 Update to latest kernel headers.
Fix out of range on paretonormal
2005-08-08 20:24:41 +00:00
shemminger
3fcdebb6d0 Fix ematch warnings with GCC4.0 2005-07-14 16:49:27 +00:00
shemminger
737f15f6da Thomas's ematch fixes for lex.
Fix more GCC signedness warnings.
2005-07-08 22:08:47 +00:00
shemminger
f332d16924 Cleanup GCC4 warnings about signedness. 2005-07-05 22:37:15 +00:00
shemminger
52d5ac3fcb Fix build issues 2005-07-05 22:11:37 +00:00
shemminger
c515871c8a More missing files. 2005-06-23 20:37:43 +00:00
shemminger
8a5b1a8c04 New files in testsuite update (damn CVS) 2005-06-23 20:31:37 +00:00
shemminger
c428e91b5e More missing cvs adds.. 2005-06-23 20:29:43 +00:00
shemminger
6a805a65c0 and the .h file.. 2005-06-23 20:27:02 +00:00
shemminger
7a473c77e6 Overlooked one more file. 2005-06-23 20:26:01 +00:00
shemminger
311b41454d Add new extended match files. 2005-06-23 20:25:16 +00:00
shemminger
7314173cf9 Add kernel stripped version of file to repo. 2005-06-23 20:24:15 +00:00
shemminger
150a5bc3a9 Test suite update from Thomas Graf 2005-06-23 20:18:38 +00:00
shemminger
c0fc3ab4d5 Build of ematch requires bison extensions to yacc. 2005-06-23 20:16:43 +00:00
shemminger
c4c9765e0b The symlink commands create absolute symlinks instead of relative.
This causes dangling links in case the package is installed using
DESTDIR. Some package managers will report this as an error.
2005-06-23 17:39:57 +00:00
shemminger
6d4662d4f7 From: Pablo Neira
Hi jamal,

I found some spare time to play around a bit more with you ipt action stuff.

I've tested the patch attached with the testcase here below. It works
fine here. It fixes broken target option checkings (final_check) and a
leak in the merge_options function. I've killed copy_options since I
didn't find any reason why we need it.

--- test.sh ---
tc qdisc del dev wlan0 ingress
tc qdisc add dev wlan0 ingress
tc filter add dev wlan0 parent ffff: protocol ip prio 6 u32 \
match ip src 192.168.0.2/32 flowid 1:16 \
action ipt -j TOS --set-tos Maximize-Reliability
sleep 3
tc -s filter ls dev wlan0 parent ffff:
--- end of test.sh ---

Results:

tablename: mangle hook: NF_IP_PRE_ROUTING
         target: TOS set Maximize-Reliability  index 0
filter protocol ip pref 6 u32
filter protocol ip pref 6 u32 fh 800: ht divisor 1
filter protocol ip pref 6 u32 fh 800::800 order 2048 key ht 800 bkt 0
flowid 1:16
   match c0a80002/ffffffff at 12
         action order 1: tablename: mangle  hook: NF_IP_PRE_ROUTING
         target TOS set Maximize-Reliability
         index 18 ref 1 bind 1 installed 3 sec used 0 sec
         Action statistics:
         Sent 725 bytes 7 pkt (dropped 0, overlimits 0 requeues 0)
         rate 0bit 0pps backlog 0b 0p requeues 0

Now, check if options passed to the target are correct.

# tc filter add dev wlan0 parent ffff: protocol ip prio 6 u32 \
match ip dst 192.168.0.2/32 flowid 1:16 \
action ipt -j TOS --set-tos
                             ^^^
                         missing parameter

ipt: option `--set-tos' requires an argument
tc-ipt v0.1: TOS target: Parameter --set-tos is required
Try `tc-ipt -h' or 'tc-ipt --help' for more information.

btw, how's your schedule ? did you finally get spare time to come to the
netfilter workshop in seville ?

bye,
Pablo
2005-06-23 17:36:38 +00:00
shemminger
08837cb2f5 ChangeLog update for Thomas's patches 2005-06-23 17:33:56 +00:00
shemminger
dd3e90853d Fix off-by-one while generating argument vector 2005-06-23 17:32:22 +00:00
shemminger
f6aa8e00ac Add cscope target to Makefile 2005-06-23 17:31:49 +00:00
shemminger
02d2ae55c6 IPv4 multipath algorithm selection support 2005-06-23 17:31:27 +00:00
shemminger
87773db551 Add ematch cleanup 2005-06-23 17:23:53 +00:00
shemminger
615a979b8c Add etc/iproute2/ematch_map 2005-06-23 17:22:43 +00:00
shemminger
9ddbb02e50 Add extended matches (nbyte, cmp, u32, meta) 2005-06-23 17:21:46 +00:00
shemminger
ea8fc1047d Netem support for reorder
Update include files and add support for TCP_CONG
2005-06-22 18:27:49 +00:00
shemminger
2b4fad69ff Decnet documentation update 2005-06-13 18:47:56 +00:00
shemminger
8996a7fa4e Update snapshot 2005-06-07 22:17:21 +00:00
shemminger
99f830de2f Device indices are unsigned and use if_nametoindex as fallback 2005-06-07 22:15:48 +00:00
shemminger
9bec1a4363 Masahide NAKAMURA <nakam@linux-ipv6.org>
It fixes flush feature for IPsec(ip xfrm).
Jamal gave me comment about it. I've tested it on 2.6.11.7.
Please find the log below, check code and pull it:

bk://bk.skbuff.net:38000/iproute2-xfrm-flush


ChangeSet@1.182, 2005-04-13 21:19:44+09:00, nakam@linux-ipv6.org
  [ip] add "deleteall" command for xfrm;
  "flush" uses kernel's flush interface and
  "deleteall" uses legacy iproute2's flush feature like
  getting-and-deleting-for-each.
2005-06-07 21:58:25 +00:00
shemminger
90f93024a0 Monitor time patch from Masahide NAKAMURA 2005-06-07 21:55:55 +00:00
shemminger
e445765dcb These two ChangeSets are for iproute2;
One adds timestamp option (-t) to ip's monitoring
like `ip -t monitor` or `ip -t xfrm monitor`. This is commented by Jamal.
The other is a minor fix for xfrm monitor.
2005-06-07 21:55:03 +00:00
shemminger
f35e928982 CVS forgets permissions on files, so use sh to run configure 2005-06-07 21:48:09 +00:00
osdl.net!shemminger
ec596427c1 add more changelog entries about what in to last release
(Logical change 1.184)
2005-04-01 19:56:29 +00:00
osdl.net!shemminger
0c5a3c7b9c ChangeLog:
add more changelog entries about what in to last release

BKrev: 424da76d4z6qfhZ7QZX861nvo__l7w
2005-04-01 19:56:29 +00:00
osdl.net!shemminger
24b5fdbfbf Fix build problem on 2.4
BKrev: 424af537WSbjQwKNDk8rE7lj52TmkA
2005-03-30 18:51:35 +00:00
osdl.net!shemminger
78615aaa1d Fix build problem on 2.4
(Logical change 1.183)
2005-03-30 18:51:35 +00:00
osdl.net!shemminger
ca67c115af iproute2-ss050330
(Logical change 1.182)
2005-03-30 18:44:41 +00:00
osdl.net!shemminger
62f33f3691 SNAPSHOT.h:
iproute2-ss050330

BKrev: 424af399JQYu_2ttnS6tz5JSjXwvWQ
2005-03-30 18:44:41 +00:00
osdl.net!shemminger
206a04411c update to latest from 2.6.12-rc2
(Logical change 1.181)
2005-03-30 18:43:30 +00:00
osdl.net!shemminger
451d3b81e6 add action stats
(Logical change 1.181)
2005-03-30 18:43:30 +00:00
osdl.net!shemminger
3bb18bdc3e Updates from Jamal
BKrev: 424af35291CI65EqxI1ospOYj74TPw
2005-03-30 18:43:30 +00:00
osdl.net!shemminger
16bd7e0efe Updates from Jamal
(Logical change 1.181)
2005-03-30 18:43:30 +00:00
osdl.net!shemminger
6ce88ca61d Fix from jamal
2005/03/25 04:34:05-08:00 net[shemminger]!shemminger
Import patch p2_mirred

(Logical change 1.181)
2005-03-30 18:43:30 +00:00
osdl.net!shemminger
b6d5f02e45 (Logical change 1.181) 2005-03-30 18:43:30 +00:00