# and group membership reporting. Multicast routers should not forward
# any multicast datagram with destination addresses in this range,
# regardless of its TTL.
# This section tests for various Multicast protocols that I have started to
# define. This is VERY incomplete, and only a sample based on the type of
# traffic I can test in my environments.
if ($ip_obj->{dest_ip}=~m/^224.0.0.251/)
{
$main::proto = "mdns";
}
# Anything I have not yet accounted for.
else
{
$main::proto = "undef-ip";
}
}
}
# Other known protocols
# ARP
elsif ($eth_obj->{type}==ETH_TYPE_ARP)
{
my $arp_obj = NetPacket::ARP->decode($eth_obj->{data}, $eth_obj);
$main::proto = "arp";
$dbh->do("insert into arppkt (pid, arp_htype, arp_proto, arp_hlen, arp_plen, arp_opcode, arp_sha, arp_spa, arp_tha, arp_tpa)
上一页 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2324 25 26 27 28 29 30 31 32 33 34 35 36 37 38 下一页
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 格式 图解 my ip_obj- eth_obj- main::proto ip- tcp- |
注册
个人空间
