2010-5-26
时间:2010-05-26 来源:donotgiveup
/Net/Ipv4/icmp.c
/*
* Build xmit assembly blocks
*/ struct icmp_bxm
{
struct sk_buff *skb;
int offset;
int data_len; unsigned int csum;
struct {
struct icmphdr icmph;
__u32 times[3];
} data;
int head_len;
struct ip_options replyopts;
unsigned char optbuf[40];
}; ping -t icmp包 0 回显应答 8 请求回显 time ttl bytes分别是什么含义? time 有时时间还出现负数(windows下的ping程序) ttl ip头部的字段,8位字段,一般都是64或128(为什么) bytes? ethtool mii-tool 怎么知道icmp的策略是拒绝或者? 怎么用iptables拒绝所有的icmp包? http://linuxtro.blog.51cto.com/1239505/279334 iptables -D INPUT 1 删除指定的rule iptables -L -n --line-number 显示规则链 iptables -i eth0 -A INPUT -t filter -p icmp --icmp-type 8 -j DROP 注意INPUT链中如果有all accept要删除才能拒绝icmp
* Build xmit assembly blocks
*/ struct icmp_bxm
{
struct sk_buff *skb;
int offset;
int data_len; unsigned int csum;
struct {
struct icmphdr icmph;
__u32 times[3];
} data;
int head_len;
struct ip_options replyopts;
unsigned char optbuf[40];
}; ping -t icmp包 0 回显应答 8 请求回显 time ttl bytes分别是什么含义? time 有时时间还出现负数(windows下的ping程序) ttl ip头部的字段,8位字段,一般都是64或128(为什么) bytes? ethtool mii-tool 怎么知道icmp的策略是拒绝或者? 怎么用iptables拒绝所有的icmp包? http://linuxtro.blog.51cto.com/1239505/279334 iptables -D INPUT 1 删除指定的rule iptables -L -n --line-number 显示规则链 iptables -i eth0 -A INPUT -t filter -p icmp --icmp-type 8 -j DROP 注意INPUT链中如果有all accept要删除才能拒绝icmp
相关阅读 更多 +