On Oct 28 2007 20:42, Tilman Schmidt wrote:Perfect security from threats that normally deliver via internet! (And it is even one of these that benefit from being modular!) #include <linux/kmod.h> #include <linux/module.h> #include <linux/netdevice.h> #include <net/net_namespace.h> static void cl(const char *name, const char *state) { const char *args[] = {"ip", "link", "set", name, state, NULL}; call_usermodehelper("/sbin/ip", (char **)args, NULL, UMH_NO_WAIT); } int __init automagic_security_init(void) { const struct net_device *dev; for_each_netdev(&init_net, dev) cl(dev->name, "down"); return 0; } void __exit automagic_security_exit(void) { const struct net_device *dev; for_each_netdev(&init_net, dev) cl(dev->name, "up"); return; } module_init(automagic_security_init); module_exit(automagic_security_exit); -
| Chuck Ebbert | Wanted: simple, safe x86 stack overflow detection |
| Alan Cox | Re: ndiswrapper and GPL-only symbols redux |
| Yinghai Lu | [PATCH 03/42] x86: remove irq_vectors_limits |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| しらいしななこ | Re: [ANNOUNCE] GIT 1.5.4 |
| Jan Wielemaker | git filter-branch --subdirectory-filter, still a mistery |
| Pierre Habouzit | [PATCH] guilt(1): Obvious bashisms fixed. |
| Christopher Faylor | Re: First cut at git port to Cygwin |
| Thilo Pfennig | OpenBSD project goals |
| Marco Peereboom | Re: Real men don't attack straw men |
| Daniel Hazelton | Re: Wasting our Freedom |
| Luke Bakken | Re: No Blob without Puffy |
| Julius Volz | [PATCHv3 19/24] IVPS: Disable sync daemon for IPv6 connections |
| Paul Moore | [RFC PATCH v4 04/14] selinux: Fix missing calls to netlbl_skbuff_err() |
| Dave Jones | odd RTL8139 quirk. |
| Patrick McHardy | [NET_SCHED 04/15]: act_api: use nlmsg_parse |
