Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 141275
Collapse All | Expand All

(-)arpstar-0.5.5/arpstar.c (-10 / +12 lines)
Lines 45-60 Link Here
45
        ((unsigned char *)&addr)[4], \
45
        ((unsigned char *)&addr)[4], \
46
        ((unsigned char *)&addr)[5]
46
        ((unsigned char *)&addr)[5]
47
47
48
static int verbose=0;
48
static int verbose = 0;
49
MODULE_PARM (verbose,"i");
49
static int coldrop = 1;
50
static char * trustedmac="000000000000";
50
static int heal = 1;
51
MODULE_PARM (trustedmac, "s");
51
static char * trustedmac = "000000000000";
52
static int coldrop=1;
52
static char * trustedip = "";
53
MODULE_PARM (coldrop,"i");
53
54
static int heal=1;
54
module_param(verbose, int, 0044);
55
MODULE_PARM (heal,"i");
55
module_param(trustedmac, charp, 0044);
56
static char * trustedip="";
56
module_param(coldrop, int, 0044);
57
MODULE_PARM (trustedip,"s");
57
module_param(heal, int, 0044);
58
module_param(trustedip, charp, 0044);
58
59
59
struct arpsentnode
60
struct arpsentnode
60
{
61
{
Lines 717-720 module_init(arpstar_init); Link Here
717
module_exit(arpstar_exit);
718
module_exit(arpstar_exit);
718
MODULE_LICENSE("Dual BSD/GPL");
719
MODULE_LICENSE("Dual BSD/GPL");
719
MODULE_AUTHOR("WestAnnex");
720
MODULE_AUTHOR("WestAnnex");
721
MODULE_DESCRIPTION("Kernel module capable of protection against ARP poisoning");
720
 
722
 

Return to bug 141275