| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=16333
|
| |
|
|
|
|
|
|
|
|
| |
gcc only inlines memcpy()'s whose count is constant and didn't inline
these. I want memcpy() in the kernel go away so that it's obvious that
it doesn't need to be optimized. Now it is only used for one struct
copy in si.c.
Notes:
svn path=/head/; revision=16206
|
| |
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=15680
|
| |
|
|
|
|
|
| |
Submitted by: Andreas Klemm <andreas@knobel.gun.de>
Notes:
svn path=/head/; revision=15211
|
| |
|
|
|
|
|
|
| |
Change interface between netinet and ip_fw to be more general, and thus
hopefully also support other ip filtering implementations.
Notes:
svn path=/head/; revision=15026
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14817
|
| |
|
|
|
|
|
|
| |
Use this to read rules out of ipfw.
Add the lkm code to ipfw.c
Notes:
svn path=/head/; revision=14232
|
| |
|
|
|
|
|
|
| |
Filter on the direction (in/out).
Filter on fragment/not fragment.
Notes:
svn path=/head/; revision=14230
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Close the ip-fragment hole.
Waste less memory.
Rewrite to contemporary more readable style.
Kill separate IPACCT facility, use "accept" rules in IPFIREWALL.
Filter incoming >and< outgoing packets.
Replace "policy" by sticky "deny all" rule.
Rules have numbers used for ordering and deletion.
Remove "rerorder" code entirely.
Count packet & bytecount matches for rules.
Code in -current & -stable is now the same.
Notes:
svn path=/head/; revision=14209
|
| |
|
|
|
|
|
|
| |
in a slight decrease in performance, but will lead to better
performance later.
Notes:
svn path=/head/; revision=13929
|
| |
|
|
|
|
|
|
|
|
| |
to enable IP forwarding, use sysctl(8). Also did the same for IPX,
which involved inventing a completely new MIB from whole cloth (which
I may not quite have correct); be aware of this if you use IPX forwarding.
(The two should never have been controlled by the same option anyway.)
Notes:
svn path=/head/; revision=13266
|
| |
|
|
|
|
|
|
| |
If users want to use the old-style broadcast addresses, they will have to
currectly configure their systems.
Notes:
svn path=/head/; revision=12955
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12940
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12933
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12820
|
| |
|
|
|
|
|
|
|
|
| |
prerequisites for <sys/sysctl.h>.
subr_prof.c:
Also replaced #include of <sys/user.h> by #include of <sys/resourcevar.h>.
Notes:
svn path=/head/; revision=12657
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12296
|
| |
|
|
|
|
|
|
|
|
|
| |
net.inet.ip.intr-queue-maxlen (=== ipintrq.ifq_maxlen)
and net.inet.ip.intr-queue-drops (=== ipintrq.ifq_drops)
There should probably be a standard way of getting the same information
going the other way.
Notes:
svn path=/head/; revision=12003
|
| |
|
|
|
|
|
|
|
| |
variable underneath ip, "directed-broadcast".
Reviewed by: David Greenman
Obtained from: NetBSD, by Darren Reed.
Notes:
svn path=/head/; revision=9575
|
| |
|
|
|
|
|
|
|
|
| |
caused by dtom() being used on an mbuf cluster. The fix involves passing
around the mbuf pointer.
Submitted by: Bill Fenner
Notes:
svn path=/head/; revision=9460
|
| |
|
|
|
|
|
|
|
|
| |
-Guido
Reviewed by:
Submitted by:
Obtained from:
Notes:
svn path=/head/; revision=9338
|
| |
|
|
|
|
|
|
| |
and other work done here. The LKM support is probably broken, but it
still compiles and will be fixed later.
Notes:
svn path=/head/; revision=9209
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8876
|
| |
|
|
|
|
|
|
|
| |
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
Notes:
svn path=/head/; revision=8426
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8384
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7091
|
| |
|
|
|
|
|
|
|
| |
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
Notes:
svn path=/head/; revision=7090
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
high load:
1) If there ever get to be more than net.inet.ip.rtmaxcache entries
in the cache, in_rtqtimo() will reduce net.inet.ip.rtexpire by
1/3 and do another round, unles net.inet.ip.rtexpire is less than
net.inet.ip.rtminexpire, and never more than once in ten minutes
(rtq_timeout).
2) If net.inet.ip.rtexpire is set to zero, don't bother to cache
anything.
Notes:
svn path=/head/; revision=6399
|
| |
|
|
|
|
|
|
|
| |
to the loopback address to the packet filter.
Reviewed by: "Ugen J.S.Antsilevich" <ugen@netvision.net.il>
Notes:
svn path=/head/; revision=6237
|
| |
|
|
|
|
|
|
|
|
| |
1) Firewall is not subdivided on forwarding / blocking chains
anymore.Actually only one chain left-it was the blocking one.
2) LKM support.ip_fwdef.c is function pointers definition and
goes into kernel along with all INET stuff.
Notes:
svn path=/head/; revision=5543
|
| |
|
|
| |
Notes:
svn path=/head/; revision=5109
|
| |
|
|
| |
Notes:
svn path=/head/; revision=5105
|
| |
|
|
|
|
|
|
| |
Handle right fragmented packets. Remove checking option
from kernel..
Notes:
svn path=/head/; revision=5085
|
| |
|
|
|
|
|
|
| |
Poul: Please take this into BETA. It's non-intrusive, and a rather
substantial improvement over what was there before.
Notes:
svn path=/head/; revision=4523
|
| |
|
|
|
|
|
| |
from Ugen.
Notes:
svn path=/head/; revision=4277
|
| |
|
|
|
|
|
| |
Submitted by: danny ugen
Notes:
svn path=/head/; revision=3969
|
| |
|
|
| |
Notes:
svn path=/head/; revision=3497
|
| |
|
|
|
|
|
|
|
| |
Reviewed by:
Submitted by:
Obtained from:
Notes:
svn path=/head/; revision=3311
|
| |
|
|
|
|
|
|
| |
multicast routing to be implemented as an LKM. (There's still a bit of
work to do in this area.)
Notes:
svn path=/head/; revision=2754
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to something more recent than the ancient 1.2 release contained in
4.4. This code has the following advantages as compared to
previous versions (culled from the README file for the SunOS release):
- True multicast delivery
- Configurable rate-limiting of forwarded multicast traffic on each
physical interface or tunnel, using a token-bucket limiter.
- Simplistic classification of packets for prioritized dropping.
- Administrative scoping of multicast address ranges.
- Faster detection of hosts leaving groups.
- Support for multicast traceroute (code not yet available).
- Support for RSVP, the Resource Reservation Protocol.
What still needs to be done:
- The multicast forwarder needs testing.
- The multicast routing daemon needs to be ported.
- Network interface drivers need to have the `#ifdef MULTICAST' goop ripped
out of them.
- The IGMP code should probably be bogon-tested.
Some notes about the porting process:
In some cases, the Berkeley people decided to incorporate functionality from
later releases of the multicast code, but then had to do things differently.
As a result, if you look at Deering's patches, and then look at
our code, it is not always obvious whether the patch even applies. Let
the reader beware.
I ran ip_mroute.c through several passes of `unifdef' to get rid of
useless grot, and to permanently enable the RSVP support, which we will
include as standard.
Ported by: Garrett Wollman
Submitted by: Steve Deering and Ajit Thyagarajan (among others)
Notes:
svn path=/head/; revision=2531
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Notes:
svn path=/head/; revision=2112
|
| |
|
|
| |
Notes:
svn path=/head/; revision=1817
|
| |
|
|
|
|
|
|
| |
Reviewed by: Rodney W. Grimes
Submitted by: John Dyson and David Greenman
Notes:
svn path=/head/; revision=1549
|
|
|
Notes:
svn path=/head/; revision=1541
|