Commit Graph

633 Commits

Author SHA1 Message Date
shemminger
669ae748d6 Minor fixes from Masahide for XFRM dynamic keying 2005-11-07 18:39:30 +00:00
shemminger
c595c790a0 Fix XFRM bugs introduced by batching code.
Re-introduces the SA and policy add/del events
2005-11-01 23:03:03 +00:00
shemminger
2034ee9750 Resync headers and do new release. 2005-11-01 17:54:34 +00:00
shemminger
234b613556 Fix ip command shortcuts 2005-10-24 16:26:25 +00:00
shemminger
7849fb5591 Fix memcpy overwrite in iproute.c because of bits vs. bytes confusion 2005-10-12 22:49:50 +00:00
shemminger
8c564a4873 Grab some more CBQ examples from Fedora Core 2005-10-12 22:46:23 +00:00
shemminger
b77caeba0e Fix ip rule flush 2005-10-12 22:32:34 +00:00
shemminger
393c43784c SNAPSHOT 2005-10-07 16:45:17 +00:00
shemminger
84616f8317 Reenable 'ip mroute' 2005-10-07 16:41:34 +00:00
shemminger
f453a0d451 Fix tc pfifo_fast with options 2005-10-07 16:33:21 +00:00
shemminger
e8f6df694a SNAPSHOT 051006 2005-10-06 17:18:06 +00:00
shemminger
7dae1706bb Add CCOPTS for netem stuff 2005-10-05 17:40:12 +00:00
shemminger
fb2297599d When assigning an ip address to an ethernet adapter, the newest
(050929) version of 'ip addr' hangs while older versions worked.
The problem was traced to be a removed initialisation. The patch
below corrects this problem.
2005-10-04 23:15:32 +00:00
shemminger
23459a40a8 Update snapshot for release 2005-09-29 23:08:34 +00:00
shemminger
f35412ab95 Updae snapshot for new release 2005-09-21 19:34:44 +00:00
shemminger
8ed63ab1f1 Fix leaks and warnings reported by valgrind. 2005-09-21 19:33:17 +00:00
shemminger
fc57a9df1b Fix ip monitor since it is special and can't reuse
rtnl_open handle.
2005-09-07 17:43:00 +00:00
shemminger
ce715cd94c Allow parallel make of netem directory.
Use HOSTCC when building local tools
2005-09-01 22:38:19 +00:00
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