| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "raw" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "raw - Linux IPv4 raw sockets" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "SYNOPSIS" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
#, no-wrap |
| 63 |
msgid "" |
| 64 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 65 |
"B<#include E<lt>netinet/in.hE<gt>>\n" |
| 66 |
"B<raw_socket = socket(AF_INET, SOCK_RAW, int >I<protocol>B<);>\n" |
| 67 |
msgstr "" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "DESCRIPTION" |
| 74 |
msgstr "" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
msgid "" |
| 80 |
"Raw sockets allow new IPv4 protocols to be implemented in user space. A raw " |
| 81 |
"socket receives or sends the raw datagram not including link level headers." |
| 82 |
msgstr "" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
msgid "" |
| 88 |
"The IPv4 layer generates an IP header when sending a packet unless the " |
| 89 |
"B<IP_HDRINCL> socket option is enabled on the socket. When it is enabled, " |
| 90 |
"the packet must contain an IP header. For receiving, the IP header is " |
| 91 |
"always included in the packet." |
| 92 |
msgstr "" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
msgid "" |
| 98 |
"In order to create a raw socket, a process must have the B<CAP_NET_RAW> " |
| 99 |
"capability in the user namespace that governs its network namespace." |
| 100 |
msgstr "" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 104 |
#: opensuse-tumbleweed |
| 105 |
msgid "" |
| 106 |
"All packets or errors matching the I<protocol> number specified for the raw " |
| 107 |
"socket are passed to this socket. For a list of the allowed protocols, see " |
| 108 |
"the IANA list of assigned protocol numbers at E<.UR http:\\://www.iana.org/" |
| 109 |
"assignments/protocol-numbers/> E<.UE> and B<getprotobyname>(3)." |
| 110 |
msgstr "" |
| 111 |
|
| 112 |
#. type: Plain text |
| 113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 115 |
msgid "" |
| 116 |
"A protocol of B<IPPROTO_RAW> implies enabled B<IP_HDRINCL> and is able to " |
| 117 |
"send any IP protocol that is specified in the passed header. Receiving of " |
| 118 |
"all IP protocols via B<IPPROTO_RAW> is not possible using raw sockets." |
| 119 |
msgstr "" |
| 120 |
|
| 121 |
#. type: tbl table |
| 122 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 123 |
#: opensuse-tumbleweed |
| 124 |
#, no-wrap |
| 125 |
msgid "IP Header fields modified on sending by \\f[B]IP_HDRINCL\\fR" |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: tbl table |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
#, no-wrap |
| 132 |
msgid "IP Checksum" |
| 133 |
msgstr "" |
| 134 |
|
| 135 |
#. type: tbl table |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "Always filled in" |
| 140 |
msgstr "" |
| 141 |
|
| 142 |
#. type: tbl table |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
#, no-wrap |
| 146 |
msgid "Source Address" |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: tbl table |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
#, no-wrap |
| 153 |
msgid "Filled in when zero" |
| 154 |
msgstr "" |
| 155 |
|
| 156 |
#. type: tbl table |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
#, no-wrap |
| 160 |
msgid "Packet ID" |
| 161 |
msgstr "" |
| 162 |
|
| 163 |
#. type: tbl table |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
#, no-wrap |
| 167 |
msgid "Total Length" |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
msgid "" |
| 174 |
"If B<IP_HDRINCL> is specified and the IP header has a nonzero destination " |
| 175 |
"address, then the destination address of the socket is used to route the " |
| 176 |
"packet. When B<MSG_DONTROUTE> is specified, the destination address should " |
| 177 |
"refer to a local interface, otherwise a routing table lookup is done anyway " |
| 178 |
"but gatewayed routes are ignored." |
| 179 |
msgstr "" |
| 180 |
|
| 181 |
#. type: Plain text |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
msgid "" |
| 185 |
"If B<IP_HDRINCL> isn't set, then IP header options can be set on raw sockets " |
| 186 |
"with B<setsockopt>(2); see B<ip>(7) for more information." |
| 187 |
msgstr "" |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"Starting with Linux 2.2, all IP header fields and options can be set using " |
| 194 |
"IP socket options. This means raw sockets are usually needed only for new " |
| 195 |
"protocols or protocols with no user interface (like ICMP)." |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "" |
| 202 |
"When a packet is received, it is passed to any raw sockets which have been " |
| 203 |
"bound to its protocol before it is passed to other protocol handlers (e.g., " |
| 204 |
"kernel protocol modules)." |
| 205 |
msgstr "" |
| 206 |
|
| 207 |
#. type: SS |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "Address format" |
| 212 |
msgstr "" |
| 213 |
|
| 214 |
#. commit f59fc7f30b710d45aadf715460b3e60dbe9d3418 |
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"For sending and receiving datagrams (B<sendto>(2), B<recvfrom>(2), and " |
| 220 |
"similar), raw sockets use the standard I<sockaddr_in> address structure " |
| 221 |
"defined in B<ip>(7). The I<sin_port> field could be used to specify the IP " |
| 222 |
"protocol number, but it is ignored for sending in Linux 2.2 and later, and " |
| 223 |
"should be always set to 0 (see BUGS). For incoming packets, I<sin_port> is " |
| 224 |
"set to zero." |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: SS |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "Socket options" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. Or SOL_RAW on Linux |
| 235 |
#. type: Plain text |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
msgid "" |
| 239 |
"Raw socket options can be set with B<setsockopt>(2) and read with " |
| 240 |
"B<getsockopt>(2) by passing the B<IPPROTO_RAW> family flag." |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: TP |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
#, no-wrap |
| 247 |
msgid "B<ICMP_FILTER>" |
| 248 |
msgstr "" |
| 249 |
|
| 250 |
#. type: Plain text |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
msgid "" |
| 254 |
"Enable a special filter for raw sockets bound to the B<IPPROTO_ICMP> " |
| 255 |
"protocol. The value has a bit set for each ICMP message type which should " |
| 256 |
"be filtered out. The default is to filter no ICMP messages." |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "" |
| 263 |
"In addition, all B<ip>(7) B<IPPROTO_IP> socket options valid for datagram " |
| 264 |
"sockets are supported." |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: SS |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "Error handling" |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "" |
| 278 |
"Errors originating from the network are passed to the user only when the " |
| 279 |
"socket is connected or the B<IP_RECVERR> flag is enabled. For connected " |
| 280 |
"sockets, only B<EMSGSIZE> and B<EPROTO> are passed for compatibility. With " |
| 281 |
"B<IP_RECVERR>, all network errors are saved in the error queue." |
| 282 |
msgstr "" |
| 283 |
|
| 284 |
#. type: SH |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
#, no-wrap |
| 288 |
msgid "ERRORS" |
| 289 |
msgstr "" |
| 290 |
|
| 291 |
#. type: TP |
| 292 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 293 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 294 |
#, no-wrap |
| 295 |
msgid "B<EACCES>" |
| 296 |
msgstr "" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 301 |
msgid "" |
| 302 |
"User tried to send to a broadcast address without having the broadcast flag " |
| 303 |
"set on the socket." |
| 304 |
msgstr "" |
| 305 |
|
| 306 |
#. type: TP |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "B<EFAULT>" |
| 311 |
msgstr "" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
msgid "An invalid memory address was supplied." |
| 317 |
msgstr "" |
| 318 |
|
| 319 |
#. type: TP |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, no-wrap |
| 323 |
msgid "B<EINVAL>" |
| 324 |
msgstr "" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
msgid "Invalid argument." |
| 330 |
msgstr "" |
| 331 |
|
| 332 |
#. type: TP |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "B<EMSGSIZE>" |
| 337 |
msgstr "" |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "" |
| 343 |
"Packet too big. Either Path MTU Discovery is enabled (the " |
| 344 |
"B<IP_MTU_DISCOVER> socket flag) or the packet size exceeds the maximum " |
| 345 |
"allowed IPv4 packet size of 64\\ kB." |
| 346 |
msgstr "" |
| 347 |
|
| 348 |
#. type: TP |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "B<EOPNOTSUPP>" |
| 353 |
msgstr "" |
| 354 |
|
| 355 |
#. type: Plain text |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
msgid "Invalid flag has been passed to a socket call (like B<MSG_OOB>)." |
| 359 |
msgstr "" |
| 360 |
|
| 361 |
#. type: TP |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
#, no-wrap |
| 365 |
msgid "B<EPERM>" |
| 366 |
msgstr "" |
| 367 |
|
| 368 |
#. type: Plain text |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
msgid "" |
| 372 |
"The user doesn't have permission to open raw sockets. Only processes with " |
| 373 |
"an effective user ID of 0 or the B<CAP_NET_RAW> attribute may do that." |
| 374 |
msgstr "" |
| 375 |
|
| 376 |
#. type: TP |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
#, no-wrap |
| 380 |
msgid "B<EPROTO>" |
| 381 |
msgstr "" |
| 382 |
|
| 383 |
#. type: Plain text |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
msgid "An ICMP error has arrived reporting a parameter problem." |
| 387 |
msgstr "" |
| 388 |
|
| 389 |
#. type: SH |
| 390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 392 |
#, no-wrap |
| 393 |
msgid "VERSIONS" |
| 394 |
msgstr "" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 399 |
msgid "" |
| 400 |
"B<IP_RECVERR> and B<ICMP_FILTER> are new in Linux 2.2. They are Linux " |
| 401 |
"extensions and should not be used in portable programs." |
| 402 |
msgstr "" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 407 |
msgid "" |
| 408 |
"Linux 2.0 enabled some bug-to-bug compatibility with BSD in the raw socket " |
| 409 |
"code when the B<SO_BSDCOMPAT> socket option was set; since Linux 2.2, this " |
| 410 |
"option no longer has that effect." |
| 411 |
msgstr "" |
| 412 |
|
| 413 |
#. type: SH |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, no-wrap |
| 417 |
msgid "NOTES" |
| 418 |
msgstr "" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "" |
| 424 |
"By default, raw sockets do path MTU (Maximum Transmission Unit) discovery. " |
| 425 |
"This means the kernel will keep track of the MTU to a specific target IP " |
| 426 |
"address and return B<EMSGSIZE> when a raw packet write exceeds it. When " |
| 427 |
"this happens, the application should decrease the packet size. Path MTU " |
| 428 |
"discovery can be also turned off using the B<IP_MTU_DISCOVER> socket option " |
| 429 |
"or the I</proc/sys/net/ipv4/ip_no_pmtu_disc> file, see B<ip>(7) for " |
| 430 |
"details. When turned off, raw sockets will fragment outgoing packets that " |
| 431 |
"exceed the interface MTU. However, disabling it is not recommended for " |
| 432 |
"performance and reliability reasons." |
| 433 |
msgstr "" |
| 434 |
|
| 435 |
#. type: Plain text |
| 436 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 437 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 438 |
msgid "" |
| 439 |
"A raw socket can be bound to a specific local address using the B<bind>(2) " |
| 440 |
"call. If it isn't bound, all packets with the specified IP protocol are " |
| 441 |
"received. In addition, a raw socket can be bound to a specific network " |
| 442 |
"device using B<SO_BINDTODEVICE>; see B<socket>(7)." |
| 443 |
msgstr "" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
msgid "" |
| 449 |
"An B<IPPROTO_RAW> socket is send only. If you really want to receive all IP " |
| 450 |
"packets, use a B<packet>(7) socket with the B<ETH_P_IP> protocol. Note " |
| 451 |
"that packet sockets don't reassemble IP fragments, unlike raw sockets." |
| 452 |
msgstr "" |
| 453 |
|
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
msgid "" |
| 458 |
"If you want to receive all ICMP packets for a datagram socket, it is often " |
| 459 |
"better to use B<IP_RECVERR> on that particular socket; see B<ip>(7)." |
| 460 |
msgstr "" |
| 461 |
|
| 462 |
#. type: Plain text |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
msgid "" |
| 466 |
"Raw sockets may tap all IP protocols in Linux, even protocols like ICMP or " |
| 467 |
"TCP which have a protocol module in the kernel. In this case, the packets " |
| 468 |
"are passed to both the kernel module and the raw socket(s). This should not " |
| 469 |
"be relied upon in portable programs, many other BSD socket implementation " |
| 470 |
"have limitations here." |
| 471 |
msgstr "" |
| 472 |
|
| 473 |
#. type: Plain text |
| 474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 476 |
msgid "" |
| 477 |
"Linux never changes headers passed from the user (except for filling in some " |
| 478 |
"zeroed fields as described for B<IP_HDRINCL>). This differs from many other " |
| 479 |
"implementations of raw sockets." |
| 480 |
msgstr "" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"Raw sockets are generally rather unportable and should be avoided in " |
| 487 |
"programs intended to be portable." |
| 488 |
msgstr "" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
msgid "" |
| 494 |
"Sending on raw sockets should take the IP protocol from I<sin_port>; this " |
| 495 |
"ability was lost in Linux 2.2. The workaround is to use B<IP_HDRINCL>." |
| 496 |
msgstr "" |
| 497 |
|
| 498 |
#. type: SH |
| 499 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 500 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 501 |
#, no-wrap |
| 502 |
msgid "BUGS" |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
msgid "Transparent proxy extensions are not described." |
| 509 |
msgstr "" |
| 510 |
|
| 511 |
#. type: Plain text |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
msgid "" |
| 515 |
"When the B<IP_HDRINCL> option is set, datagrams will not be fragmented and " |
| 516 |
"are limited to the interface MTU." |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. .SH AUTHORS |
| 520 |
#. This man page was written by Andi Kleen. |
| 521 |
#. type: Plain text |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
msgid "" |
| 525 |
"Setting the IP protocol for sending in I<sin_port> got lost in Linux 2.2. " |
| 526 |
"The protocol that the socket was bound to or that was specified in the " |
| 527 |
"initial B<socket>(2) call is always used." |
| 528 |
msgstr "" |
| 529 |
|
| 530 |
#. type: SH |
| 531 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 532 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 533 |
#, no-wrap |
| 534 |
msgid "SEE ALSO" |
| 535 |
msgstr "" |
| 536 |
|
| 537 |
#. type: Plain text |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
msgid "" |
| 541 |
"B<recvmsg>(2), B<sendmsg>(2), B<capabilities>(7), B<ip>(7), B<socket>(7)" |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
msgid "" |
| 548 |
"B<RFC\\ 1191> for path MTU discovery. B<RFC\\ 791> and the I<E<lt>linux/" |
| 549 |
"ip.hE<gt>> header file for the IP protocol." |
| 550 |
msgstr "" |
| 551 |
|
| 552 |
#. type: TH |
| 553 |
#: debian-trixie fedora-44 fedora-rawhide |
| 554 |
#, no-wrap |
| 555 |
msgid "2024-05-02" |
| 556 |
msgstr "" |
| 557 |
|
| 558 |
#. type: TH |
| 559 |
#: debian-trixie |
| 560 |
#, no-wrap |
| 561 |
msgid "Linux man-pages 6.9.1" |
| 562 |
msgstr "" |
| 563 |
|
| 564 |
#. type: Plain text |
| 565 |
#: debian-trixie fedora-44 fedora-rawhide |
| 566 |
msgid "" |
| 567 |
"All packets or errors matching the I<protocol> number specified for the raw " |
| 568 |
"socket are passed to this socket. For a list of the allowed protocols, see " |
| 569 |
"the IANA list of assigned protocol numbers at E<.UR http://www.iana.org/" |
| 570 |
"assignments/protocol-numbers/> E<.UE> and B<getprotobyname>(3)." |
| 571 |
msgstr "" |
| 572 |
|
| 573 |
#. type: tbl table |
| 574 |
#: debian-trixie fedora-44 fedora-rawhide |
| 575 |
#, no-wrap |
| 576 |
msgid "IP Header fields modified on sending by B<IP_HDRINCL>" |
| 577 |
msgstr "" |
| 578 |
|
| 579 |
#. type: TH |
| 580 |
#: fedora-44 fedora-rawhide |
| 581 |
#, no-wrap |
| 582 |
msgid "Linux man-pages 6.13" |
| 583 |
msgstr "" |
| 584 |
|
| 585 |
#. type: TH |
| 586 |
#: mageia-cauldron |
| 587 |
#, no-wrap |
| 588 |
msgid "Linux man-pages 6.17" |
| 589 |
msgstr "" |
| 590 |
|
| 591 |
#. type: TH |
| 592 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 593 |
#, no-wrap |
| 594 |
msgid "Linux man-pages (unreleased)" |
| 595 |
msgstr "" |