Commit Graph

49842 Commits

Author SHA1 Message Date
Brian Somers
9825166754 o Log the (payload/size) of all packet types, not just TCP packets
o  If the new ``filter-decapsulation'' is enabled, delve into UDP packets
   that contain 0xff 0x03 as the first two bytes, and if we recognise it
   as PROTO_IP, decapsulate it for the purpose of filter checking.

   If we recognise it as PROTO_<anything else> mention this for logging
   purposes only.

This change is aimed at people running PPPoUDP where the UDP traffic is
being sent over another PPP link.  It's desireable to have the top level
link connected all the time, but to have the bottom level link capable
of decapsulating the traffic and comparing the payload against the filters,
thus allowing ``set filter dial ...'' to work in tunnelled environments.

The caveat here is that the top ppp cannot employ any compression layers
without making the data unreadable for the bottom ppp.  ``disable deflate
pred1 vj'' and ``deny deflate pred1 vj'' is suggested.
2000-07-07 14:22:08 +00:00
Boris Popov
3660ebc2c0 Fix support for more than 256 simultaneous mounts. Theoretical limit
is 2^16 mounts per fs type.

Reported by:	Troy Arie Cobb <tcobb@staff.circle.net> via phk
Reviewed by:	bde
2000-07-07 14:01:08 +00:00
Maxim Sobolev
0f4dfa202e New option "-s" to query size of the installed package(s).
PR:		19445
Submitted by:	sobomax
Reviewed by:	knu
Approved by:	silence
2000-07-07 13:06:32 +00:00
Jun-ichiro itojun Hagino
7e154dad2e sync with usr.bin/telnet/commands.c 1.21 -> 1.22. pierre.dampure@alveley.org 2000-07-07 12:35:05 +00:00
Sheldon Hearn
dd25cbc7d1 Add md.4 to the build. 2000-07-07 11:57:02 +00:00
Sheldon Hearn
8057969f7e Add phk's md(4) manual page, written by phk himself. 2000-07-07 11:52:03 +00:00
Mark Murray
fd8b5fb2c7 Honour appropriate no-crypto flags. 2000-07-07 09:38:01 +00:00
Mark Murray
da3fb6b476 Darn; didn't commit this with the rest of the entropy gathering code. 2000-07-07 09:06:54 +00:00
Mark Murray
c9ec235ca1 Add entropy gathering code. This will work whether the module is
compiled in or loaded.
2000-07-07 09:03:59 +00:00
Kris Kennaway
f2542885f0 Bump __FreeBSD_version to note KAME upgrade 2000-07-07 08:39:31 +00:00
Kris Kennaway
549922405f Add missing #include to unbreak IPSEC_DEBUG builds
Submitted by:	Jim Bloom <bloom@reyim.ne.mediaone.net>
2000-07-07 08:36:00 +00:00
Andrey A. Chernov
c8ac461f3a restore tabs lost from prev commit
Asked-by:	bde
2000-07-07 08:27:59 +00:00
Andrey A. Chernov
6ea9889255 fix comment 2000-07-07 08:24:50 +00:00
Nick Hibma
96102cae1a Remove DIAGASSERT 2000-07-07 08:15:19 +00:00
Kris Kennaway
ad59157a75 Enable whois queries over IPv6
Obtained from:	KAME
2000-07-07 07:52:21 +00:00
Daniel C. Sobral
4d41cae8f8 Do not free NULL pointers. 2000-07-07 07:47:39 +00:00
Daniel C. Sobral
c5e125bbbf Deal with the signed/unsigned chars issue in a more proper manner. We
use a CHAR_MIN-based array, like elsewhere in the code.

Remove a number of unused variables (some due to the above change, one
that was left after a number of optimizing steps through the source).

Brucified by: bde
2000-07-07 07:46:36 +00:00
Kris Kennaway
2b39a7c8ef Sync with latest KAME
Obtained from:	KAME
2000-07-07 07:35:51 +00:00
Kris Kennaway
2637b5fb5d Sync with latest KAME
Obtained from:	KAME
2000-07-07 07:25:56 +00:00
Warner Losh
2f961bc842 Add warning about needing to set SYSDIR to build new kernels after
July 4th due to the new sys/modules/sound/drivers/* being added to the
tree.  You will need to do this until you do a make installworld with
my bsd.kmod.mk change.
2000-07-07 05:17:49 +00:00
Warner Losh
c7c5a4ed23 Add ${.CURDIR}/../../../.. to the list of places we look for the
kernel.  The new moudles/sound/drivers/foo pushes us down one more
level.
2000-07-07 05:12:33 +00:00
Greg Lehey
45b65a5e33 Suppress a warning message about trigraphs.
Approved-by: itojun
2000-07-07 04:09:51 +00:00
Kris Kennaway
08e61f6489 MFS: Don't allow printf directives in PAGER
Obtained from:	OpenBSD
2000-07-07 00:24:13 +00:00
Warner Losh
e98e26cd69 Add information on libftpio version backoff. Also mention the crypto
collection changes.
2000-07-06 23:04:55 +00:00
Warner Losh
c373950eff o rc.d now use start/stop, and some scripts may produce warnings.
o NOTES replaces LINT.  Make a note of it in an older entry.
2000-07-06 22:51:16 +00:00
John-Mark Gurney
20ff215b1d remove sys/time.h by instruction from bde. 2000-07-06 22:18:44 +00:00
David E. O'Brien
d326b26326 MFC: Upgrade to Binutils 2.10.0. 2000-07-06 22:16:12 +00:00
Andrey A. Chernov
7cc55b5092 curses -> termcap, mainly for purity and to indicate which functions family
really used
2000-07-06 22:05:41 +00:00
David E. O'Brien
4028f7031c Upgrade to Binutils 2.10.0. 2000-07-06 21:33:51 +00:00
Hajimu UMEMOTO
645cdc6be5 Reduce shlib major that is bumped by my mistake.
We don't need bumping it in this time.
2000-07-06 20:19:02 +00:00
Andrey A. Chernov
42148dbc70 Better fix for .Fx macro
Submitted by:	sheldonh
2000-07-06 20:13:42 +00:00
Alfred Perlstein
55241422d6 cleanup the tsearch import.
remove (comment out) functions defined or depricated elsewhere:
  bsearch, lfind, lsearch, insque, remque

change hcreate to take a size_t rather than uint (essentially the same)

since hcreate/hdestroy are now in <search.h>, remove private search.h
in lib/libc/db/hash/

add $FreeBSD tags to hsearch.c
2000-07-06 20:04:34 +00:00
Brian Somers
458cef74eb Correct setproctitle() call
Obtained from: OpenBSD
2000-07-06 19:51:58 +00:00
Bill Paul
e6a801c19b Fix up the sis.4 man page per Sheldon Hearn:
*   Clear the Os macro, which is assumed gracefully at run-off time.
    *   Use quotes to reduce the long name description (Nd) to a single
        argument.
    *   Use meaningful arguments to the -width option of the Bl macro.
    *   Mark rc.conf up with Xr instead of Pa so that it is obvious that
        further help on that file is available.
    *   Explicitly indicate that mediaopt is a command modifier (Cm) of
        the ifconfig(8) utility.
    *   Do not mark up half-duplex and full-duplex as arguments (Ar),
        since they are allowed values for an argument.
    *   Fix various grammar and spelling mistakes.
2000-07-06 19:30:20 +00:00
Bill Paul
8484ad351d Fix a minor bug in the MAC address unscrambling code.
(Some shift rights should have been shift lefts.)
2000-07-06 19:21:07 +00:00
Brian Somers
15ed7d0b16 Add various system usernames (even though I try to avoid pppd!!!)
PR:		19717
Submitted by:	Tony Finch <dot@dotat.at>
2000-07-06 19:05:43 +00:00
Hajimu UMEMOTO
c8926106df Make compilable.
Reported by:	Ollivier Robert <roberto@eurocontrol.fr>
2000-07-06 18:17:08 +00:00
Julian Elischer
561e4fb9f6 Don't forget to set our MAC address into packets we wre sending out via
netgraph. Eventually we may need to have a separate hook for packets
that already have a source AMC address but for now just drop it in.
Should fix PPPoE.
2000-07-06 15:35:59 +00:00
Nick Hibma
1d3e7ea3dd Properly fix world.
Sorry for breaking things in the first place.
2000-07-06 13:23:35 +00:00
Kris Kennaway
7c99dc5eaa Unbreak heimdal build: we can no longer #include <netinet6/in6.h> 2000-07-06 10:09:59 +00:00
Ollivier Robert
ee76ce7fa5 Fix buildworld. 2000-07-06 08:37:34 +00:00
Daniel C. Sobral
f943749dcd I hate signed chars.^W^W^W^W^WCast to unsigned char before using signed
chars as array indices.
2000-07-06 06:37:30 +00:00
Daniel C. Sobral
9868274b74 Correct comment to work with test code.
Prevent out of bounds array access in some specific cases.
2000-07-06 06:34:15 +00:00
Bill Paul
95674596b9 Add support for the National Semiconductor DP83815 fast ethernet
controller chip. This chip is currently being used on the NetGear
FA312-TX adapter, which I guess is a replacement for the FA310-TX
(PNIC-based).

I added support for this chip by modifying the sis driver since
the SiS 900 and the NS DP83815 have almost the same programming
interface (the RX filter programming and PHY access methods are
different, but the general configuration, DMA scheme and register
layout are identical).

I would have had this done a lot sooner, but getting the damn MAC
address out of the EEPROM proved to be more complicated than expected.
2000-07-06 06:02:04 +00:00
Bill Fumerola
18c8a61a47 minor brucification. 2000-07-06 05:46:37 +00:00
Daniel C. Sobral
03b59f2038 Use UCHAR_MAX consistently. 2000-07-06 05:19:29 +00:00
Kris Kennaway
9ac104e443 Add two files missing from the KAME sync
Submitted by:	Eric Sabban <esabban@pacbell.net>
2000-07-06 04:01:37 +00:00
Kirk McKusick
142d8d2f40 Teach fsck about snapshot files. These changes should have no
effect on operation of fsck on filesystems without snapshots.
If you get compilation errors, be sure that you have copies of
/usr/include/sys/mount.h (1.94), /usr/include/sys/stat.h (1.21),
and /usr/include/ufs/ffs/fs.h (1.16) as of July 4, 2000 or later.
2000-07-06 02:03:11 +00:00
Kris Kennaway
8b15840355 Correct style bugs 2000-07-06 02:00:18 +00:00
Kris Kennaway
2dd1ffc97d Correct style bugs in previous commit 2000-07-06 01:55:21 +00:00