<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/net/netns/ipv4.h, branch linux-2.6.29.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.29.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.29.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-28T00:06:14Z</updated>
<entry>
<title>net: implement emergency route cache rebulds when gc_elasticity is exceeded</title>
<updated>2008-10-28T00:06:14Z</updated>
<author>
<name>Neil Horman</name>
</author>
<published>2008-10-27T19:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1080d709fb9d8cd4392f93476ee46a9d6ea05a5b'/>
<id>urn:sha1:1080d709fb9d8cd4392f93476ee46a9d6ea05a5b</id>
<content type='text'>
This is a patch to provide on demand route cache rebuilding.  Currently, our
route cache is rebulid periodically regardless of need.  This introduced
unneeded periodic latency.  This patch offers a better approach.  Using code
provided by Eric Dumazet, we compute the standard deviation of the average hash
bucket chain length while running rt_check_expire.  Should any given chain
length grow to larger that average plus 4 standard deviations, we trigger an
emergency hash table rebuild for that net namespace.  This allows for the common
case in which chains are well behaved and do not grow unevenly to not incur any
latency at all, while those systems (which may be being maliciously attacked),
only rebuild when the attack is detected.  This patch take 2 other factors into
account:
1) chains with multiple entries that differ by attributes that do not affect the
hash value are only counted once, so as not to unduly bias system to rebuilding
if features like QOS are heavily used
2) if rebuilding crosses a certain threshold (which is adjustable via the added
sysctl in this patch), route caching is disabled entirely for that net
namespace, since constant rebuilding is less efficient that no caching at all

Tested successfully by me.

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Signed-off-by: Eric Dumazet &lt;dada1@cosmosbay.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netfilter: netns nat: per-netns bysource hash</title>
<updated>2008-10-08T09:35:11Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2008-10-08T09:35:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c4c9288ada0e6642d511ef872f10a4781a896ff'/>
<id>urn:sha1:0c4c9288ada0e6642d511ef872f10a4781a896ff</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
</entry>
<entry>
<title>netfilter: netns nat: per-netns NAT table</title>
<updated>2008-10-08T09:35:10Z</updated>
<author>
<name>Alexey Dobriyan</name>
</author>
<published>2008-10-08T09:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e099a173573ce1ba171092aee7bb3c72ea686e59'/>
<id>urn:sha1:e099a173573ce1ba171092aee7bb3c72ea686e59</id>
<content type='text'>
Same story as with iptable_filter, iptables_raw tables.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
</content>
</entry>
<entry>
<title>netns: place rt_genid into struct net</title>
<updated>2008-07-06T02:04:32Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-07-06T02:04:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e84f84f276473dcc673f360e8ff3203148bdf0e2'/>
<id>urn:sha1:e84f84f276473dcc673f360e8ff3203148bdf0e2</id>
<content type='text'>
Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netns: make rt_secret_rebuild timer per namespace</title>
<updated>2008-07-06T02:02:59Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-07-06T02:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f5e97e53675caeda48e9988122a30470f4d309d'/>
<id>urn:sha1:9f5e97e53675caeda48e9988122a30470f4d309d</id>
<content type='text'>
Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netns: register net.ipv4.route.flush in each namespace</title>
<updated>2008-07-06T02:02:33Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-07-06T02:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39a23e75087ce815abbddbd565b9a2e567ac47da'/>
<id>urn:sha1:39a23e75087ce815abbddbd565b9a2e567ac47da</id>
<content type='text'>
Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>netfilter: ip_tables: add iptables security table for mandatory access control rules</title>
<updated>2008-06-09T22:57:24Z</updated>
<author>
<name>James Morris</name>
</author>
<published>2008-06-09T22:57:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=560ee653b67074b805f1b661988a72a0e58811a5'/>
<id>urn:sha1:560ee653b67074b805f1b661988a72a0e58811a5</id>
<content type='text'>
The following patch implements a new "security" table for iptables, so
that MAC (SELinux etc.) networking rules can be managed separately to
standard DAC rules.

This is to help with distro integration of the new secmark-based
network controls, per various previous discussions.

The need for a separate table arises from the fact that existing tools
and usage of iptables will likely clash with centralized MAC policy
management.

The SECMARK and CONNSECMARK targets will still be valid in the mangle
table to prevent breakage of existing users.

Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS]: Create tcp control socket in the each namespace.</title>
<updated>2008-04-03T21:31:33Z</updated>
<author>
<name>Denis V. Lunev</name>
</author>
<published>2008-04-03T21:31:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=046ee902357adc046d041441956ec7eeb30c77c4'/>
<id>urn:sha1:046ee902357adc046d041441956ec7eeb30c77c4</id>
<content type='text'>
Signed-off-by: Denis V. Lunev &lt;den@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS][ICMP]: Make ctl tables for ICMP sysctls per-net.</title>
<updated>2008-03-26T08:56:24Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-03-26T08:56:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68528f09980a60c8df046d16336333cac4fc0c32'/>
<id>urn:sha1:68528f09980a60c8df046d16336333cac4fc0c32</id>
<content type='text'>
Add some flesh to ipv4_sysctl_init_net and ipv4_sysctl_exit_net,
i.e. copy the table, alter .data pointers and register it per-net.

Other ipv4_table's sysctls are now global, but this is going to
change once sysctl permissions patches migrate from -mm tree to 
mainline in 2.6.26 merge window :)

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETNS][ICMP]: Move ICMP sysctls on struct net.</title>
<updated>2008-03-26T08:55:37Z</updated>
<author>
<name>Pavel Emelyanov</name>
</author>
<published>2008-03-26T08:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a24022e1887978decaa28fb11d1ddff63e31497f'/>
<id>urn:sha1:a24022e1887978decaa28fb11d1ddff63e31497f</id>
<content type='text'>
Initialization is moved to icmp_sk_init, all the places, that
refer to them use init_net for now.

Signed-off-by: Pavel Emelyanov &lt;xemul@openvz.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
