1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
|
.\" This man page is Copyright (C) 1999 Andi Kleen <ak@muc.de>.
.\" Permission is granted to distribute possibly modified copies
.\" of this page provided the header is included verbatim,
.\" and in case of nontrivial modification author and date
.\" of the modification is added to the header.
.\" $Id: icmp.7,v 1.8 2001/01/14 05:30:41 hanataka Exp $
.\"
.\" Japanese Version Copyright (c) 1999 NAKANO Takeo all rights reserved.
.\" Translated 1999-12-06, NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Updated 2008-12-26, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.14
.\"
.\"WORD destination route Ԥϩ
.\"WORD token packet filter ȡѥåȡե륿
.\"
.TH ICMP 7 2008-11-24 "Linux" "Linux Programmer's Manual"
.SH ̾
icmp, IPPROTO_ICMP \- Linux IPv4 ICMP ͥ⥸塼
.SH
Υͥ⥸塼 RFC\ 792 Ƥ Internet
Control Message Protocol ΤǤ롣
Υץȥϥ顼Τ餻ǤԤѤ롣
桼ϤΥ⥸塼Ȥľܤˤ̿Ǥʤ
Υ⥸塼ϥͥ¾Υץȥ̿
Υץȥ뤬 ICMP 顼ץꥱ쥤Ϥ
ͥ ICMP ⥸塼 ICMP ꥯȤФԤ
.PP
raw åȤץȥ
.B IPPROTO_ICMP
ǥץС
桼ץȥϥʥåƤФ
ICMP ѥåȤ뤳ȤǤ롣
ܺ٤
.BR raw (7)
ȤΤȡ
åȤϤ ICMP ѥåȤΥפ
.B ICMP_FILTER
ץˤäƥե륿Ǥ롣
ICMP ѥåȤ (Ȥ桼åȤϤǤ)
˥ͥˤä () 롣
.LP
Linux Ǥ ICMP 顼ѥåȤΥ졼Ȥ줾Ф
¤Ƥ롣
.B ICMP_REDIRECT
.B ICMP_DEST_UNREACH
夷ѥåȤιԤϩ (destination route) ¤롣
.SS /proc ե
ICMP ǤϡĤΥХѥꤹ뤿
.I /proc
ե뷲ѰդƤ롣
Υѥˤϡ
.I /proc/sys/net/ipv4/
ǥ쥯ȥΥեɤ߽ǥǤ롣
ΥѥΤۤȤɤ ICMP פФ졼
(rate limitation) Ǥ롣
Linux 2.2 ICMP ¤˥ȡХåȡե륿
(token bucket filter) Ѥ롣
.\" FIXME better description needed
줾ͤϡСȤθ˥ȡХåȡե륿ꥢ
ޤǤΥॢȤñ̤ɽΤǤ롣Ǿñ(jiffy)
ƥ¸ñ̤ i386 ƥ̾ 10msalpha ia64 Ǥ
1ms Ǥ롣
.TP
.IR icmp_destunreach_rate " (Linux 2.2 2.4.9 ޤ)"
.\" Precisely: from 2.1.102
ICMP ãѥå (Destination Unreachable packet) 졼ȡ
Υ롼ȤޤϹԤ˥ѥåȤ졼Ȥ¤롣
¤ϡ
path MTU discovery ɬפ
.B ICMP_FRAG_NEEDED
ѥåȤˤϱƶʤ
.TP
.IR icmp_echo_ignore_all " (Linux 2.2 ʹ)"
.\" Precisely: 2.1.68
ͤξϡ Linux Ϥ٤Ƥ
.B ICMP_ECHO
̵뤹롣
.TP
.IR icmp_echo_ignore_broadcasts " (Linux 2.2 ʹ)"
.\" Precisely: from 2.1.68
ͤξϡ Linux ϥ֥ɥ㥹ȥɥ쥹줿٤Ƥ
.B ICMP_ECHO
̵뤹롣
.TP
.IR icmp_echoreply_rate " (Linux 2.2 2.4.9 ޤ)"
.\" Precisely: from 2.1.102
.B ICMP_ECHOREQUEST
ѥåȤ˱
.B ICMP_ECHOREPLY
ѥåȤκ졼ȡ
.TP
.IR icmp_errors_use_inbound_ifaddr " (Boolean; default: disabled; Linux 2.6.12 ʹ)"
.\" The following taken from 2.6.28-rc4 Documentation/networking/ip-sysctl.txt
̵ˤȡICMP 顼åϡ
ϥեΥץ饤ޥꥢɥ쥹롣
ͭˤȡ顼å ICMP 顼θȤʤäѥåȤ
եΥץ饤ޥɥ쥹롣
ưϡ¿ΥͥåȥԤ롼ФƴԤƤΤǤꡢ
ˤʣʥͥåȥ쥤ȤΥǥХåưפˤʤ롣
줿եǥץ饤ޥꥢɥ쥹¸ߤʤϡ
˴ؤ餺ǽΥ롼ץХåʳΥեǡ
ץ饤ޥꥢɥ쥹ĥեΥץ饤ޥꥢɥ쥹Ѥ
դ뤳ȡ
.TP
.IR icmp_ignore_bogus_error_responses " (Boolean; default: disabled; Linux 2.2 ʹ)"
.\" precisely: since 2.1.32
.\" The following taken from 2.6.28-rc4 Documentation/networking/ip-sysctl.txt
롼ˤϡRFC1122 ˰ȿ֥ɥ㥹ȥե졼Ф
αΤ롣
Τ褦ʰȿ̾參ͥηٹȤƥ˵Ͽ롣
ΥѥͭˤȡͥϤΤ褦ʷٹФʤʤꡢ
ե˻Τ褦ʾϿΤ뤳ȤǤ롣
.TP
.IR icmp_paramprob_rate " (Linux 2.2 2.4.9 ޤ)"
.\" Precisely: from 2.1.102
.B ICMP_PARAMETERPROB
ѥåȤκ졼ȡ
ΥѥåȤ IP إåĥѥåȤ夷
롣
.TP
.IR icmp_ratelimit " (integer; default: 1000; Linux 2.4.10 ʹ)"
.\" The following taken from 2.6.28-rc4 Documentation/networking/ip-sysctl.txt
̤
.I icmp_ratemask
() ˥ޥå ICMP ѥåȤΡ
ؤ졼Ȥκͤ¤롣
0 ϥ졼¤̵ˤ뤳Ȥ
0 ʳͤϱ֤κǾֳ (ߥñ)
.TP
.IR icmp_ratemask " (integer; default: ; Linux 2.4.10 ʹ)"
.\" The following taken from 2.6.28-rc4 Documentation/networking/ip-sysctl.txt
졼¤Ԥ ICMP פޥ
ͭӥå: IHGFEDCBA9876543210
.br
ǥեȥޥ: 0000001100000011000 (0x1818)
ӥå (ͥ륽ե
.I include/linux/icmp.h
):
.in +4n
.nf
0 Echo Reply
3 Destination Unreachable *
4 Source Quench *
5 Redirect
8 Echo Request
B Time Exceeded *
C Parameter Problem *
D Timestamp Request
E Timestamp Reply
F Info Request
G Info Reply
H Address Mask Request
I Address Mask Reply
.fi
.in
ꥹդӥåȤϡǥեȤǥ졼¤ͭ
ʤäƤ (嵭ΥޥΥǥեȤ⻲)
.TP
.IR icmp_timeexceed_rate " (Linux 2.2 2.4.9 ޤ)"
.B ICMP_TIME_EXCEEDED
ѥåȤκ졼ȡ
ΥѥåȤϥѥåȤޤ¿ hop ̲ᤷˡ
롼פɤ롣
.SH С
.B ICMP_ADDRESS
Ф륵ݡȤ 2.2 Ǻ줿
.PP
.B ICMP_SOURCE_QUENCH
Linux 2.2 Ǻ줿
.SH
¾¿μǤϡ
.B IPPROTO_ICMP
raw åȤݡȤƤʤ
εǽϰܿɬפʥץǤѤ٤Ǥʤ
.\" not really true ATM
.\" .PP
.\" Linux ICMP should be compliant to RFC 1122.
.PP
Linux 롼ȤưƤʤȤˤϡ
.B ICMP_REDIRECT
ѥåȤʤ
ޤ餬Τ⡢ȯ롼ƥơ֥Ƥ
Ťȥǡ쥯ȡ롼 (redirect route)
Ŭʻ֤θ˴ڤˤʤäƤ˸¤롣
.PP
.B ICMP_TIMESTAMP
֤ 64 ӥåȤΥॹפϡ
1970 ǯ 1 1 ηв֤ߥñ̤ɽΤǤ롣
.PP
Linux ICMP ICMP 뤿 raw åȤѤ롣
raw åȤ
.BR netstat (8)
νϤ 0 inode ȤƽϤ롣
.SH Ϣ
.BR ip (7)
.PP
.BR RFC\ 792 :
ICMP ץȥ
|