| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/sys/netinet/ip_input.c rev 1.130.2.22
src/sys/netinet6/frag6.c rev 1.2.2.4
src/sys/netinet6/in6_proto.c rev 1.6.2.4
Prevent denial of service using bogus fragmented IPv4 packets.
A attacker sending a lot of bogus fragmented packets to the target
(with different IPv4 identification field - ip_id), may be able
to put the target machine into mbuf starvation state.
By setting a upper limit on the number of reassembly queues we
prevent this situation.
This upper limit is controlled by the new sysctl
net.inet.ip.maxfragpackets which defaults to nmbclusters/4
If you want old behaviour (no upper limit) set this sysctl
to a negative value.
If you don't want to accept any fragments (not recommended)
set the sysctl to 0 (zero)
Obtained from: NetBSD (partially)
Notes:
svn path=/stable/3/; revision=81196
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=76218
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/sys/netinet/in_pcb.c rev 1.78
src/sys/netinet/in_pcb.h rev 1.36
src/sys/netinet/tcp_subr.c rev 1.91
src/sys/netinet/udp_usrreq.c rev 1.86
Without this a attacker sending ICMP messages, where the attached
IP header (+ 8 bytes) has the address and port numbers == 0, would
have the ICMP message applied to all sessions.
Approved by: kris
Inspired by: NetBSD
Notes:
svn path=/stable/3/; revision=72995
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=70988
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=66446
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=64854
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=63435
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=61602
|
| |
|
|
|
|
|
| |
Submitted by: Mike Silbersack <silby@silby.com>
Notes:
svn path=/stable/3/; revision=61421
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=61418
|
| |
|
|
|
|
|
| |
Requested by: kris
Notes:
svn path=/stable/3/; revision=60955
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=60858
|
| |
|
|
|
|
|
| |
dynamic rules.
Notes:
svn path=/stable/3/; revision=60433
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=60316
|
| |
|
|
|
|
|
|
|
| |
on 3.x.
Reviewed by: Mike Silbersack <silby@silby.com>
Notes:
svn path=/stable/3/; revision=59618
|
| |
|
|
|
|
|
| |
Approved by: jkh
Notes:
svn path=/stable/3/; revision=57608
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
In order to use the new features and get sensible output from
"ipfw show" you need to recompile ipfw.
Note that you will still be able to configure the firewall using the
old ipfw.
Approved-by: jordan
Notes:
svn path=/stable/3/; revision=57187
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
near the end of the function or this might cause the precondition
for the next part of the function to be violated.
This fixes the "warning, event is 1 tick late" message that
some might get in certain configurations of dummynet (this was
mostly harmless).
Also some reformatting of the code, as the indentation of lot of this
file got completely screwed up in the previous massive commit.
Reported-by: Mike Tancsa
Notes:
svn path=/stable/3/; revision=56950
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* update dummynet to the new code in 4.0, and cleanup call interface
(affects ip_dummynet.c ip_dummynet.h ip_input.c ip_output.c)
* various cleanup of ipfw code, including dummynet hooks, support for
masks on UDP/TCP ports, and removal of ip_nat hooks as in 4.0
(affects ip_fw.c ip_fw.h raw_ip.c)
The new dummynet code is thanks Akamba Corp.
Notes:
svn path=/stable/3/; revision=56246
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=55826
|
| |
|
|
|
|
|
|
|
| |
code failed in handling things like "forward" actions.
Reported-and-tested-by: Jean-Hugues ROYER jhroyer@joher.com
Notes:
svn path=/stable/3/; revision=53717
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=53361
|
| |
|
|
|
|
|
| |
Noticed by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
Notes:
svn path=/stable/3/; revision=53165
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=52771
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=52378
|
| |
|
|
|
|
|
| |
net.inet.tcp.drop_synfin and net.inet.tcp.restrict_rst sysctls.
Notes:
svn path=/stable/3/; revision=52236
|
| |
|
|
|
|
|
|
|
| |
do it correctly. Also fix a little white space breakage.
[This affects token-ring only]
Notes:
svn path=/stable/3/; revision=51321
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Reorder arp code to make ethernet arp's the default and
allow fddi to arp correctly.
Reported by: Russell Neeper <r-neeper@tamu.edu>
Reviewed by: Eivind Eklund <eivind@freebsd.org>
Approved by: Jordan K. Hubbard <jkh@freebsd.org>
Notes:
svn path=/stable/3/; revision=51317
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=50583
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the pre-3.3 IPFW megamerge. This brings IPFW almost completely
up to 4.0's. __FreeBSD_version is bumped by this commi. Changes include:
- per-socket credentials stored
- ability to get those credentials with sysctl
- uid- and gid- based filtering in IPFW
- dynamic logging in IPFW (rules can be set as logging for any number
of packets, not just the default, and logging can be reset)
Following this is a commit to pidentd to use 1 and 2.
Notes:
svn path=/stable/3/; revision=50563
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=49903
|
| |
|
|
|
|
|
| |
Approved-by: Jordan
Notes:
svn path=/stable/3/; revision=49896
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=49629
|
| |
|
|
|
|
|
|
|
|
| |
if any. This avoids calling in_pcbrehash() without a preceeding
in_pcbinshash(), causing a crash.
PR: misc/12256
Notes:
svn path=/stable/3/; revision=48272
|
| |
|
|
|
|
|
| |
tcp session was closed or reset.
Notes:
svn path=/stable/3/; revision=48042
|
| |
|
|
|
|
|
| |
PR: 10324
Notes:
svn path=/stable/3/; revision=47979
|
| |
|
|
|
|
|
| |
conditions.
Notes:
svn path=/stable/3/; revision=47745
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Larry Lile <lile@stdio.com>
Also Tagged into RELENG_3:
sys/contrib/dev/oltr/COPYRIGHT
sys/contrib/dev/oltr/i386-elf.trlld.o.uu
sys/contrib/dev/oltr/if_oltr.c
sys/contrib/dev/oltr/trlld.h
sys/contrib/dev/oltr/trlldbm.c
sys/contrib/dev/oltr/trlldhm.c
sys/contrib/dev/oltr/trlldmac.c
Notes:
svn path=/stable/3/; revision=47535
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=47456
|
| |
|
|
|
|
|
| |
routine.
Notes:
svn path=/stable/3/; revision=46421
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=46386
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=46214
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=46096
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=46050
|
| |
|
|
|
|
|
|
| |
* rev 1.84: snd_nxt, not rcv_nxt, when calculating the ISS during TIME_WAIT
* rev 1.83: fix warning to pass -Wall -Wcast-qual
Notes:
svn path=/stable/3/; revision=45874
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=45440
|
| |
|
|
|
|
|
|
|
| |
ntoh?() issue when passing bridged packets through ipfw.
PR: 10818
Notes:
svn path=/stable/3/; revision=45231
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=45192
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=45050
|
| |
|
|
| |
Notes:
svn path=/stable/3/; revision=45049
|