免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3637 | 回复: 2
打印 上一主题 下一主题

[网络管理] 看了dmesg,心里毛毛的!bsalg: parser failed [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-08 15:13 |只看该作者 |倒序浏览
bsalg: parser failed
不知这句如何解决?什么原因产生的?
引用:
Moe Trin wrote:

>
> When did this start? What did you change?
>

A few days ago (maybe two weeks).
I didn't change anything.. :/

>> Jun 22 20:43:12 rt-main bsalg: parser failed
>
> 'bsalg' is an old part of netfilter - replaced several years ago by
> 'ip_nat_snmp_basic'. There is some configuration error, but I've long
> forgotten what/how to configure.

I never saw this message before (~7 years of experience).
This is my first time and i feel like a virgin


>
>> Jun 22 20:43:17 rt-main printk: 27 messages suppressed.
>
> The kernel is being overloaded by these error messages. Rather than
> print out the same thing over, and over, and over again, it's telling
> you that it would have printed the same thing 27 more times.
>

I know

>
> Fix you firewall configuration. It _might_ help if you identified
> what distribution you are using, and what version. We can't see the
> console of your system from here.

This configuration is aplied on few routers and it's working fine
without this messages...
Configuration is simple script with SNAT, NAT 1:1 and some DROPS
(netbios, other ports) and traffic logging (packets with NEW flag).
Nothing unusual...



uname -a:
Linux rt-main 2.6.19-gentoo-r5

iptables -V:
iptables v1.3.5

Many thanks for help

Regars,

他说这是一个古老的模块,多年前已经被从netfilter中replace了。
我想求教下如何replace?

论坛徽章:
0
2 [报告]
发表于 2008-04-08 15:16 |只看该作者

会是它导致的么?

CONFIG_NF_NAT_SNMP_BASIC:                                                                                                   x
  x                                                                                                                             x
  x                                                                                                                             x
  x This module implements an Application Layer Gateway (ALG) for                                                               x
  x SNMP payloads.  In conjunction with NAT, it allows a network                                                                x
  x management system to access multiple private networks with                                                                  x
  x conflicting addresses.  It works by modifying IP addresses                                                                  x
  x inside SNMP payloads to match IP-layer NAT mapping.                                                                         x
  x                                                                                                                             x
  x This is the "basic" form of SNMP-ALG, as described in RFC 2962                                                              x
  x                                                                                                                             x
  x To compile it as a module, choose M here.  If unsure, say N.

论坛徽章:
0
3 [报告]
发表于 2008-04-08 15:17 |只看该作者

哦,应该是它!

ip_nat_snmp_basic.c * * Basic SNMP Application Layer Gateway ...- [ 翻译此页 BETA ]... if (pdutype > SNMP_PDU_TRAP2) printk(KERN_DEBUG "bsalg: bad pdu type %u\n", ... &map, &udph->check)) { printk(KERN_WARNING "bsalg: parser failed\n"); ...
cvs.sourceforge.jp/.../viewcvs.cgi/uclinux-h8/linux-2.6/net/ipv4/netfilter/ip_nat_snmp_basic.c?rev=1.1.1.3 - 33k - 网页快照 - 类似网页
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP