| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=260439
|
| |
|
|
|
|
|
| |
PR: kern/99188
Notes:
svn path=/stable/4/; revision=260423
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=170498
|
| |
|
|
|
|
|
| |
connection, ACK the SYN as required by RFC793.
Notes:
svn path=/stable/4/; revision=161504
|
| |
|
|
|
|
|
|
| |
to :: if we have another PCB which is bound to 0.0.0.0. If a PCB has
the INP_IPV6 flag, then we set its cost higher than IPv4 only PCBs.
Notes:
svn path=/stable/4/; revision=155533
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
policy routed by ipfw(4) to local IP address, and the previous destination
of the packet was reachable via an interface with checksum offloading
capabilities.
Not applicable to RELENG_5, RELENG_6 and HEAD.
Submitted by: Mihail Balikov <misho interbgc.com>
Notes:
svn path=/stable/4/; revision=153292
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from: Redhat, Steve Grubb via RedHat
Security: CAN-2005-0953, CAN-2005-1260
Security: FreeBSD-SA-05:14.bzip2
Approved by: obrien
Correct TCP connection stall denial-of-service vulnerabilities.
MFC: rev 1.270 of tcp_input.c, rev 1.25 of tcp_seq.h by ps: When a TCP
packets containing a timestamp is received, inadequate checking of
sequence numbers is performed, allowing an attacker to artificially
increase the internal "recent" timestamp for a connection.
A TCP packets with the SYN flag set is accepted for established
connections, allowing an attacker to overwrite certain TCP options.
Security: CAN-2005-0356, CAN-2005-2068
Security: FreeBSD-SA-05:15.tcp
Approved by: cperciva
Notes:
svn path=/stable/4/; revision=147669
|
| |
|
|
|
|
|
| |
Reported by: Uwe Doering
Notes:
svn path=/stable/4/; revision=146004
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. Copy a NULL-terminated string into a fixed-length buffer, and
2. copyout that buffer to userland,
we really ought to
0. Zero the entire buffer
first.
Security: FreeBSD-SA-05:08.kmem
Notes:
svn path=/stable/4/; revision=145953
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=141913
|
| |
|
|
|
|
|
|
| |
when IN6P_AUTOFLOWLABEL is set, set the flowlabel on outgoing tcp
connections.
Notes:
svn path=/stable/4/; revision=140301
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The tcp syncache code was leaving the IPv6 flowlabel uninitialised
for the SYN|ACK packet and then letting in6_pcbconnect set the
flowlabel later. Arange for the syncache/syncookie code to set and
recall the flow label so that the flowlabel used for the SYN|ACK
is consistent. This is done by using some of the cookie (when tcp
cookies are enabeled) and by stashing the flowlabel in syncache.
Notes:
svn path=/stable/4/; revision=140300
|
| |
|
|
|
|
|
|
| |
Improve the security of RST handling, and add a sysctl which can fall
back to the old method.
Notes:
svn path=/stable/4/; revision=139706
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in_pcb.c rev 1.157
in_pcb.h rev 1.79
ip_input.c rev 1.293
ip_var.h rev 1.93
Approved by: re
Notes:
svn path=/stable/4/; revision=139561
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=139250
|
| |
|
|
|
|
|
|
|
|
|
|
| |
proxying applications. Modified methods of randomization which should
solve this problem are being worked on, and will hopefully make it in
before 4.11-release.
This commit simply changes the default sysctl setting, it does not remove
or change the randomization feature in any way.
Notes:
svn path=/stable/4/; revision=138719
|
| |
|
|
|
|
|
|
|
| |
Make route caching optional and disabled by default.
Approved by: re (kensmith)
Notes:
svn path=/stable/4/; revision=138690
|
| |
|
|
|
|
|
|
|
|
|
| |
date: 2004/08/03 02:01:44; author: hsu; state: Exp; lines: +1 -1
Fix bug with tracking the previous element in a list.
Found by: edrt@citiz.net
Submitted by: pavlin@icir.org
Notes:
svn path=/stable/4/; revision=138676
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Since divert protocol is not connection oriented, remove SS_ISCONNECTED flag
from divert sockets.
- Remove div_disconnect() method, since it shouldn't be called now.
- Remove div_abort() method. It was never called directly, since protocol
doesn't have listen queue. It was called only from div_disconnect(),
which is removed now.
Notes:
svn path=/stable/4/; revision=138265
|
| |
|
|
|
|
|
|
|
|
|
| |
Check that rt_mask(rt) is non-NULL before dereferencing it, in the
RTM_ADD case, thus avoiding a panic.
PR: kern/42030
Submitted by: Iasen Kostov
Notes:
svn path=/stable/4/; revision=136974
|
| |
|
|
|
|
|
|
|
|
|
| |
(this bug is specific to FreeBSD-4.x, so it's not committed to -CURRENT nor RELENG-5)
Reported in: freebsd-net ("Weird memory exhaustion with FreeBSD 4.10-STABLE" starting from Sep 23, 2004)
Obtained from: KAME
Approved by: re (scottl)
Notes:
svn path=/stable/4/; revision=136182
|
| |
|
|
|
|
|
| |
to add a divert rule when module is built without IPDIVERT.
Notes:
svn path=/stable/4/; revision=135137
|
| |
|
|
|
|
|
|
| |
netinet/in_pcb.c 1.147, 1.152
netinet6/in6_pcb.c 1.54, 1.57
Notes:
svn path=/stable/4/; revision=134435
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=133656
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=130571
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=129928
|
| |
|
|
|
|
|
| |
Randomize ephermal source ports.
Notes:
svn path=/stable/4/; revision=128594
|
| |
|
|
|
|
|
|
|
|
|
|
| |
socket address length check fails. This is similar to the fix in
revision 1.99, except this version of the fix does not move the sanity
checks out from under the spl.
Submitted by: pjd
Pointy hat to: truckman
Notes:
svn path=/stable/4/; revision=128590
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we convert ip_len into a network byte order; in_delayed_cksum() still
expects it in host byte order.
The symtom was the ``in_cksum_skip: out of data by %d'' complaints
from the kernel.
To add to the previous commit log. These fixes make tcpdump(1) happy
by not complaining about UDP/TCP checksum being bad for looped back
IP multicast when multicast router is deactivated.
Reported by: Vsevolod Lobko
Notes:
svn path=/stable/4/; revision=128003
|
| |
|
|
|
|
|
| |
Reviewed by: sam
Notes:
svn path=/stable/4/; revision=127754
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=127660
|
| |
|
|
|
|
|
|
|
|
|
|
| |
speedup stream socket recv handling by tracking the tail of the
mbuf chain instead of walking the list for each append. This has
been pretty well tested at Yahoo!
Obtained from: netbsd (jason thorpe)
Reviewed by: silby
Notes:
svn path=/stable/4/; revision=127321
|
| |
|
|
|
|
|
|
|
| |
Limit TCP segment reassembly queue size.
Submitted by: andre
Notes:
svn path=/stable/4/; revision=126495
|
| |
|
|
|
|
|
|
|
| |
tcp6_usr_bind(), tcp_usr_connect(), and tcp6_usr_connect()
before checking whether the address is multicast so that the
proper errno value will be returned if sa_len is incorrect.
Notes:
svn path=/stable/4/; revision=125995
|
| |
|
|
|
|
|
|
|
| |
treatment.
Submitted by: Vincent Jardin
Notes:
svn path=/stable/4/; revision=125891
|
| |
|
|
|
|
|
|
|
|
| |
attribute, as we are often #include'd from userland without <sys/cdefs.h>
in front of us, and it is not strictly necessary.
Noticed by: Sascha Blank
Notes:
svn path=/stable/4/; revision=125871
|
| |
|
|
|
|
|
| |
Sponsored by: sentex.net
Notes:
svn path=/stable/4/; revision=125828
|
| |
|
|
|
|
|
| |
Kill trailing spaces.
Notes:
svn path=/stable/4/; revision=125022
|
| |
|
|
|
|
|
| |
the appropriate code is compiled in to support the O_IPSEC operator.
Notes:
svn path=/stable/4/; revision=124833
|
| |
|
|
|
|
|
|
|
|
|
| |
it is marked as RTF_UP. This fixes a panic when an interface
is detached (ie. suspend/resume).
Not objected by: sam, iedowse
Fix in -current by: iedowse
Notes:
svn path=/stable/4/; revision=124059
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=123994
|
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=123762
|
| |
|
|
|
|
|
|
| |
Submitted by: ru (rtsock.c)
Sponsored by: Weyland-Yutani Corporation
Notes:
svn path=/stable/4/; revision=123299
|
| |
|
|
|
|
|
|
| |
Submitted by: mckusick
Approved by: re (murray>
Notes:
svn path=/stable/4/; revision=121154
|
| |
|
|
|
|
|
| |
Approved by: re (murray)
Notes:
svn path=/stable/4/; revision=120860
|
| |
|
|
|
|
|
|
|
|
| |
at an elevated securelevel. Fix this behaviour and function as documented.
PR: kern/39396
Approved by: re (rwatson)
Notes:
svn path=/stable/4/; revision=120625
|
| |
|
|
|
|
|
|
| |
Noticed by: Mike Hogsett
Reviewed by: ru
Notes:
svn path=/stable/4/; revision=120420
|
| |
|
|
|
|
|
|
|
|
|
| |
attached network could exhaust kernel memory, and cause a system
panic, by sending a flood of spoofed ARP requests.
Approved by: security-officer, jake (mentor)
Reported by: Apple Product Security <product-security@apple.com>
Notes:
svn path=/stable/4/; revision=120385
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/stable/4/; revision=120112
|
| |
|
|
|
|
|
| |
Approved by: re (murray)
Notes:
svn path=/stable/4/; revision=120021
|