#
c26544aa |
| 01-Sep-2014 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Make SOCK_RAW sockets to be truly raw, not modifying received and sent packets at all. Swapping byte order on SOCK_RAW was actually a bug, an artifact from the BSD network stack, that used to convert
Make SOCK_RAW sockets to be truly raw, not modifying received and sent packets at all. Swapping byte order on SOCK_RAW was actually a bug, an artifact from the BSD network stack, that used to convert a packet to native byte order once it is received by kernel.
Other operating systems didn't follow this, and later other BSD descendants fixed this, leaving us alone with the bug. Now it is clear that we should fix the bug.
In collaboration with: Olivier Cochard-Labbé <olivier cochard.me> See also: https://wiki.freebsd.org/SOCK_RAW Sponsored by: Nginx, Inc.
show more ...
|
Revision tags: release/9.3.0 |
|
#
6cec9cad |
| 03-Jun-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r266724
An SVM update will follow this.
|
#
3b8f0845 |
| 28-Apr-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge head
|
#
84e51a1b |
| 23-Apr-2014 |
Alan Somers <asomers@FreeBSD.org> |
IFC @264767
|
#
1709ccf9 |
| 29-Mar-2014 |
Martin Matuska <mm@FreeBSD.org> |
Merge head up to r263906.
|
#
dda5b397 |
| 14-Mar-2014 |
Eitan Adler <eadler@FreeBSD.org> |
multiple: Remove 3rd clause from BSD license where approved by the regents and renumber.
This patch skips files in contrib/ and crypto/
Acked by: imp Discussed with: emaste
|
Revision tags: release/10.0.0, release/9.2.0 |
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0, release/9.1.0 |
|
#
300675f6 |
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC
|
#
e477abf7 |
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC @ r241285
|
#
a10c6f55 |
| 11-Nov-2012 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r242684
|
#
23090366 |
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
#
5b0ae765 |
| 12-Oct-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Fix type in last commit.
Submitted by: brueffer
|
#
cfccce31 |
| 12-Oct-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Be more explicit on how "intact" incoming packets in raw sockets are.
|
#
e8574be3 |
| 20-Sep-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Redo r240386 providing more correct information.
|
#
f99a2a0c |
| 12-Sep-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Document conditions for IP_SENDSRCADDR socket option.
Obtained from: r167342 commit message
|
#
de720122 |
| 15-Jul-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r236710 through r238467.
|
#
6cf87ec8 |
| 13-Jul-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @238412.
|
#
b652778e |
| 11-Jul-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r238370
|
#
67a3f4b2 |
| 15-Jun-2012 |
Ruslan Ermilov <ru@FreeBSD.org> |
Fixed an example that set IP_ONESBCAST socket option to actually work, and not return EINVAL.
|
#
3cca425b |
| 12-Jun-2012 |
Michael Tuexen <tuexen@FreeBSD.org> |
Add a IP_RECVTOS socket option to receive for received UDP/IPv4 packets a cmsg of type IP_RECVTOS which contains the TOS byte. Much like IP_RECVTTL does for TTL. This allows to implement a protocol o
Add a IP_RECVTOS socket option to receive for received UDP/IPv4 packets a cmsg of type IP_RECVTOS which contains the TOS byte. Much like IP_RECVTTL does for TTL. This allows to implement a protocol on top of UDP and implementing ECN.
MFC after: 3 days
show more ...
|
#
faa4a9b7 |
| 07-Jun-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r233826 through r236710.
|
#
30852968 |
| 05-Jun-2012 |
Michael Tuexen <tuexen@FreeBSD.org> |
The cmsg_len field includes the cmsg header. So use CMSG_LEN().
MFC after: 3 days
|
#
31ccd489 |
| 28-May-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r233826 through r236168.
|
#
6a068746 |
| 15-May-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC
|
#
50d922a0 |
| 12-May-2012 |
Glen Barber <gjb@FreeBSD.org> |
General mdoc(7) and typo fixes.
PR: 167776 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
|