免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: springwind426
打印 上一主题 下一主题

[网络管理] 发布一个速度匹配的内核模块(hashspeed) [复制链接]

论坛徽章:
0
1 [报告]
发表于 2010-02-02 10:27 |显示全部楼层
本帖最后由 bfz814 于 2010-02-02 10:28 编辑

请问一下 ,这个模块 我打上了 内核是2.6.28.4 iptables是1.4.2 ,但是在执行iptables语句上报出一个问题,请帮忙看一下,指点下!!
问题如下:
[root@localhost ~]# iptables -A FORWARD -i eth1 -p tcp -m hashspeed  --hashspeed-bytes 256K --hashspeed-mode srcip --hashspeed-name slimit -j DROP

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: Oops: 0000 [#2]

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: last sysfs file: /sys/class/vc/vcs7/dev

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: Process iptables (pid: 3274, ti=c75a6000 task=c7538ec0 task.ti   =c75a6000)

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: Stack:

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  d188d0ab 00000058 c751bd06 d188e2b1 02000004 c751bd06 0600bc9  4 c751bc94

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  c751bc94 d189dd32 00000000 00000000 c75a6c3c ffffffff c751beb c fffffffe

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: Call Trace:

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<d188d0ab>] xt_check_match+0xab/0x170 [x_tables]

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<d188e2b1>] xt_find_match+0xd1/0xf0 [x_tables]

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<d189dd32>] translate_table+0x602/0x6e0 [ip_tables]

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<d189dfe5>] do_ipt_set_ctl+0x1d5/0x430 [ip_tables]

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0356b80>] nf_sockopt+0x110/0x120

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0356be1>] nf_setsockopt+0x21/0x30

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0367b02>] ip_setsockopt+0x132/0xd40

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0356aef>] nf_sockopt+0x7f/0x120

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c03309d3>] release_sock+0x13/0xa0

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0356bb4>] nf_getsockopt+0x24/0x30

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0368d1a>] ip_getsockopt+0x60a/0x700

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c01566ce>] get_page_from_freelist+0x39e/0x460

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c015796c>] __alloc_pages_internal+0xac/0x470

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0167ed6>] anon_vma_prepare+0x26/0xd0

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c015a528>] lru_cache_add_active_or_unevictable+0x8/0x30

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0162ac0>] handle_mm_fault+0x4d0/0x660

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0330cf3>] sock_common_setsockopt+0x23/0x30

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c032e92e>] sys_setsockopt+0x6e/0xc0

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c03306f0>] sys_socketcall+0x240/0x2c0

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel:  [<c0103121>] sysenter_do_call+0x12/0x21

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: Code: d8 5b e9 ad 35 8d ee 8d b6 00 00 00 00 8d bc 27 00 00 00 00 83 ec 20 89 6c 24 1c 8b 6c 24 24 89 5c 24 10 89 74 24 14 89 7c 24 18 <8b> 45  30 85 c0 74 22 a8 05 74 1e 8b 45 3c 85 c0 74 17 80 7d 1f

Message from syslogd@localhost at Mon Feb  1 00:08:59 2010 ...
localhost kernel: EIP: [<d1896447>] hashspeed_checkentry+0x17/0x320 [ipt_hashspeed] SS:ESP 0068:c75a6bb4
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP