Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs, release/4.3.0_cvs, release/4.3.0 |
|
#
46a27060 |
| 09-Jan-2001 |
Robert Watson <rwatson@FreeBSD.org> |
o Minor style(9)ism to make consistent with -STABLE
|
#
65450f2f |
| 09-Jan-2001 |
Robert Watson <rwatson@FreeBSD.org> |
o IPFW incorrectly handled filtering in the presence of previously reserved and now allocated TCP flags in incoming packets. This patch stops overloading those bits in the IP firewall rules, and
o IPFW incorrectly handled filtering in the presence of previously reserved and now allocated TCP flags in incoming packets. This patch stops overloading those bits in the IP firewall rules, and moves colliding flags to a seperate field, ipflg. The IPFW userland management tool, ipfw(8), is updated to reflect this change. New TCP flags related to ECN are now included in tcp.h for reference, although we don't currently implement TCP+ECN.
o To use this fix without completely rebuilding, it is sufficient to copy ip_fw.h and tcp.h into your appropriate include directory, then rebuild the ipfw kernel module, and ipfw tool, and install both. Note that a mismatch between module and userland tool will result in incorrect installation of firewall rules that may have unexpected effects. This is an MFC candidate, following shakedown. This bug does not appear to affect ipfilter.
Reviewed by: security-officer, billf Reported by: Aragon Gouveia <aragon@phat.za.net>
show more ...
|
Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs |
|
#
46f58482 |
| 06-May-2000 |
Jonathan Lemon <jlemon@FreeBSD.org> |
Implement TCP NewReno, as documented in RFC 2582. This allows better recovery for multiple packet losses in a single window. The algorithm can be toggled via the sysctl net.inet.tcp.newreno, which d
Implement TCP NewReno, as documented in RFC 2582. This allows better recovery for multiple packet losses in a single window. The algorithm can be toggled via the sysctl net.inet.tcp.newreno, which defaults to "on".
Submitted by: Jayanth Vijayaraghavan <jayanth@yahoo-inc.com>
show more ...
|
Revision tags: release/4.0.0_cvs |
|
#
fb59c426 |
| 09-Jan-2000 |
Yoshinobu Inoue <shin@FreeBSD.org> |
tcp updates to support IPv6. also a small patch to sys/nfs/nfs_socket.c, as max_hdr size change.
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
|
Revision tags: release/3.4.0_cvs |
|
#
76429de4 |
| 05-Nov-1999 |
Yoshinobu Inoue <shin@FreeBSD.org> |
KAME related header files additions and merges. (only those which don't affect c source files so much)
Reviewed by: cvs-committers Obtained from: KAME project
|
Revision tags: release/3.3.0_cvs |
|
#
c3aac50f |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7 |
|
#
07a4df4f |
| 13-Jul-1998 |
Bruce Evans <bde@FreeBSD.org> |
Declare tcp_seq and tcp_cc as fixed-size types. Half fixed type mismatches exposed by this (the prototype for tcp_respond() didn't match the function definition lexically, and still depends on a gc
Declare tcp_seq and tcp_cc as fixed-size types. Half fixed type mismatches exposed by this (the prototype for tcp_respond() didn't match the function definition lexically, and still depends on a gcc feature to match if ints have more than 32 bits).
show more ...
|
#
a09bee1a |
| 08-Jun-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed pedantic semantics errors (bitfields not of type int, signed int or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least f
Fixed pedantic semantics errors (bitfields not of type int, signed int or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
show more ...
|
Revision tags: release/2.2.6, release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs |
|
#
6875d254 |
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
#
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
Revision tags: release/2.1.5_cvs, release/2.1.0_cvs, release/2.0.5_cvs |
|
#
9b2e5354 |
| 30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
2f96f1f4 |
| 14-Feb-1995 |
Garrett Wollman <wollman@FreeBSD.org> |
Get rid of some unneeded #ifdef TTCP lines. Also, get rid of some bogus commons declared in header files.
|
#
eb6ad696 |
| 08-Feb-1995 |
Garrett Wollman <wollman@FreeBSD.org> |
Merge in T/TCP TCP header file changes.
|
Revision tags: release/2.0 |
|
#
707f139e |
| 21-Aug-1994 |
Paul Richards <paul@FreeBSD.org> |
Made idempotent.
Submitted by: Paul
|
#
3c4dd356 |
| 02-Aug-1994 |
David Greenman <dg@FreeBSD.org> |
Added $Id$
|
Revision tags: release/1.1.5.1_cvs |
|
#
df8bae1d |
| 24-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Kernel Sources
|
#
dc5fd259 |
| 01-Feb-2010 |
Luigi Rizzo <luigi@FreeBSD.org> |
use u_char instead of u_int for short bitfields.
For our compiler the two constructs are completely equivalent, but some compilers (including MSC and tcc) use the base type for alignment, which in t
use u_char instead of u_int for short bitfields.
For our compiler the two constructs are completely equivalent, but some compilers (including MSC and tcc) use the base type for alignment, which in the cases touched here result in aligning the bitfields to 32 bit instead of the 8 bit that is meant here.
Note that almost all other headers where small bitfields are used have u_int8_t instead of u_int.
MFC after: 3 days
show more ...
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|
#
43d94734 |
| 22-Dec-2009 |
John Baldwin <jhb@FreeBSD.org> |
- Rename the __tcpi_(snd|rcv)_mss fields of the tcp_info structure to remove the leading underscores since they are now implemented. - Implement the tcpi_rto and tcpi_last_data_recv fields in the t
- Rename the __tcpi_(snd|rcv)_mss fields of the tcp_info structure to remove the leading underscores since they are now implemented. - Implement the tcpi_rto and tcpi_last_data_recv fields in the tcp_info structure.
Reviewed by: rwatson MFC after: 2 weeks
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
535fbad6 |
| 05-May-2008 |
Kip Macy <kmacy@FreeBSD.org> |
add rcv_nxt, snd_nxt, and toe offload id to FreeBSD-specific extension fields for tcp_info
|
#
c343c524 |
| 07-Apr-2008 |
Andre Oppermann <andre@FreeBSD.org> |
Use #defines for TCP options padding after EOL to be consistent.
Reviewed by: bz
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
ee939bbf |
| 16-Dec-2007 |
Kip Macy <kmacy@FreeBSD.org> |
Add socket option for setting and retrieving the congestion control algorithm. The name used is to allow compatibility with Linux.
|
#
faedb66c |
| 25-May-2007 |
Andre Oppermann <andre@FreeBSD.org> |
The printf %b list in PRINT_TH_FLAGS has to be in octal numbering. Thus convert \8 to \10 and the warnings go away.
Pointed out by: sam, ru, thompsa
|
#
a250f382 |
| 23-May-2007 |
Andre Oppermann <andre@FreeBSD.org> |
Add CWR back into the PRINT_TH_FLAGS list as gcc42 doesn't complain about \8 in a string anymore.
|
#
df541e5f |
| 18-May-2007 |
Andre Oppermann <andre@FreeBSD.org> |
Add tcp_log_addrs() function to generate and standardized TCP log line for use thoughout the tcp subsystem.
It is IPv4 and IPv6 aware creates a line in the following format:
"TCP: [1.2.3.4]:50332
Add tcp_log_addrs() function to generate and standardized TCP log line for use thoughout the tcp subsystem.
It is IPv4 and IPv6 aware creates a line in the following format:
"TCP: [1.2.3.4]:50332 to [1.2.3.4]:80 tcpflags <RST>"
A "\n" is not included at the end. The caller is supposed to add further information after the standard tcp log header.
The function returns a NUL terminated string which the caller has to free(s, M_TCPLOG) after use. All memory allocation is done with M_NOWAIT and the return value may be NULL in memory shortage situations.
Either struct in_conninfo || (struct tcphdr && (struct ip || struct ip6_hdr) have to be supplied.
Due to ip[6].h header inclusion limitations and ordering issues the struct ip and struct ip6_hdr parameters have to be casted and passed as void * pointers.
tcp_log_addrs(struct in_conninfo *inc, struct tcphdr *th, void *ip4hdr, void *ip6hdr)
Usage example:
struct ip *ip; char *tcplog;
if (tcplog = tcp_log_addrs(NULL, th, (void *)ip, NULL)) { log(LOG_DEBUG, "%s; %s: Connection attempt to closed port\n", tcplog, __func__); free(s, M_TCPLOG); }
show more ...
|