Commit Graph

88 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 f453a0d451 Fix tc pfifo_fast with options 2005-10-07 16:33:21 +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 8ed63ab1f1 Fix leaks and warnings reported by valgrind. 2005-09-21 19:33:17 +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 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 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 52d5ac3fcb Fix build issues 2005-07-05 22:11:37 +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 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 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 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
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 78615aaa1d Fix build problem on 2.4
(Logical change 1.183)
2005-03-30 18:51:35 +00:00
osdl.net!shemminger 16bd7e0efe Updates from Jamal
(Logical change 1.181)
2005-03-30 18:43:30 +00:00
osdl.net!shemminger 3819eb9569 Fix netlink message alignment when the last routing attribute added
has a data length not aligned to RTA_ALIGNTO.

(Logical change 1.179)
2005-03-30 18:18:12 +00:00
net[shemminger]!shemminger f082b64fb4 Import patch addr-del
(Logical change 1.178)
2005-03-30 18:16:10 +00:00
osdl.net!shemminger 2cea8f2fb2 add comments about last changeset
(Logical change 1.177)
2005-03-30 18:14:55 +00:00
osdl.net!shemminger f8f9de56f2 Switch to stack (rather than calloc) for tables.
(Logical change 1.176)
2005-03-30 18:11:49 +00:00
osdl.net!shemminger 08856f0219 Handle batch mode better.
Add comments midline and -force option.

(Logical change 1.173)
2005-03-18 19:40:55 +00:00
osdl.net!shemminger afa10e2527 add credit where it is due to Jamal for ipt fix.
(Logical change 1.170)
2005-03-14 22:23:38 +00:00
site!shemminger 924d4fd011 Cleanup and extend batch mode.
(Logical change 1.169)
2005-03-14 22:19:16 +00:00
osdl.net!shemminger 25afd1cbb1 document changes.
(Logical change 1.167)
2005-03-14 19:35:32 +00:00
osdl.net!shemminger 900da08b47 Batch mode comments
(Logical change 1.163)
2005-03-14 19:04:15 +00:00
osdl.net!shemminger b6149fd88e print NO-CARRIER flag if there is no carrier and the link is up.
(Logical change 1.161)
2005-03-14 18:47:38 +00:00
osdl.net!shemminger 3d956fac02 Need to handle system and user hz being different.
(Logical change 1.159)
2005-03-14 18:44:54 +00:00
osdl.net!shemminger 9fcda92ea1 Update changelog and snapshot.
(Logical change 1.154)
2005-03-10 19:04:50 +00:00
osdl.net!shemminger e00273c0ac document changes.
(Logical change 1.141)
2005-02-09 22:05:41 +00:00
osdl.net!shemminger 277325d2ea Don't mix address families when flushing.
(Logical change 1.139)
2005-02-07 18:28:31 +00:00
osdl.net!shemminger a8b303cc3f validate classid
(Logical change 1.137)
2005-02-07 18:16:29 +00:00
osdl.net!shemminger fb9b1d0f6a fix potential memory corruption
(Logical change 1.136)
2005-02-07 18:15:04 +00:00
site!shemminger d5b485564b Add experimental distribution.
(Logical change 1.135)
2005-02-07 18:01:21 +00:00
osdl.net!shemminger cb20096dc8 document spelling fix.
(Logical change 1.132)
2005-01-18 22:31:42 +00:00
39!tgraf 5d91c8f7e5 update changelog
(Logical change 1.131)
2005-01-18 22:16:49 +00:00
osdl.net!shemminger 6b58e7f8b7 Add ChangeLog for Thomas cleanups
(Logical change 1.130)
2005-01-18 22:14:29 +00:00
net[shemminger]!shemminger 7e7c737245 Import patch iproute2.121
(Logical change 1.124)
2005-01-17 23:32:51 +00:00