diff options
author | brian <brian@FreeBSD.org> | 1997-02-06 11:16:21 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-02-06 11:16:21 +0000 |
commit | 51f25cb044057a951e5bd13125416e862de93c57 (patch) | |
tree | b66dcba91eeb91b08c99d6cd40df13b27f213121 /share/man/man4/divert.4 | |
parent | f1bef29dedc927da77bb08c940ceac1e8cbedab3 (diff) | |
download | FreeBSD-src-51f25cb044057a951e5bd13125416e862de93c57.zip FreeBSD-src-51f25cb044057a951e5bd13125416e862de93c57.tar.gz |
Incoming packets no longer have their ip_sum zero'd
Diffstat (limited to 'share/man/man4/divert.4')
-rw-r--r-- | share/man/man4/divert.4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4 index 0ed8625..f7c3d25 100644 --- a/share/man/man4/divert.4 +++ b/share/man/man4/divert.4 @@ -105,14 +105,14 @@ packet to get diverted. If different fragments divert to different ports, then which port ultimately gets chosen is unpredictable. .Pp -Packets are received and sent unchanged, with two exceptions: -read as incoming will have their IP header checksum zeroed, -and packets written as outgoing have their IP header checksums overwritten +Packets are received and sent unchanged, except that +packets written as outgoing have their IP header checksums overwritten with the correct value. Packets written as incoming and having incorrect checksums will be dropped. Otherwise, all header fields are unchanged (and therefore in network order). .Pp -Binding to port numbers less than 1024 requires super-user access. +Binding to port numbers less than 1024 requires super-user access, as does +creating a socket of type SOCK_RAW. .Sh ERRORS Writing to a divert socket can return these errors, along with the usual errors possible when writing raw packets: |