archie [Tue, 14 Mar 2000 20:49:27 +0000 (20:49 +0000)]
Have MGETHDR() always initialize m->m_pkthdr.rcvif to NULL.
In the past, not doing this has caused several hard to find
networking bugs, and the minor slowdown is deemed worthwhile.
shin [Tue, 14 Mar 2000 17:37:19 +0000 (17:37 +0000)]
Use CMSG_LEN() to compute ping SCM_TIMESTAMP cmsg_len.
Without this, cmsg_len size should be smaller than necessary on alpha.
(Though, no obvious error was seen on ping time value on beast.)
shin [Tue, 14 Mar 2000 17:18:43 +0000 (17:18 +0000)]
Don't suppress Flags and Refs info for IPv4 entries.
(They need to be suppressed by default for IPv6 entries to keep the column
size of each entries in 80.)
bde [Tue, 14 Mar 2000 14:19:49 +0000 (14:19 +0000)]
Don't try so hard to make the lower 16 bits of fsids unique. It tended
to recycle full fsids after only 16 mount/unmount's. This is probably
too often for exported fsids. Now we recycle the full fsids only
after 2^16 mount/ umount's and only ensure uniqueness in the lower 16
bits if there have been <= 256 calls to vfs_getnewfsid() since the
system started.
brian [Tue, 14 Mar 2000 01:47:21 +0000 (01:47 +0000)]
Refresh the NAT IP pointer after a potential mbuf reallocation. This
caused frequent lock-ups for individual sessions over a NAT'd ppp link
when MTU sizes ended up more or less exactly wrong.
brian [Tue, 14 Mar 2000 01:47:02 +0000 (01:47 +0000)]
Introduce LOCALNAT and LOCALRAD defines so that the sources can stay
exactly the same in FreeBSD & OpenBSD despite libalias and libradius
being local to the ppp sources under OpenBSD.
brian [Tue, 14 Mar 2000 01:46:34 +0000 (01:46 +0000)]
When adjusting timer::rest, round to the closest TICKUNIT usecs
value.
This has minimal impact here, but if ppp ever needs to frequently
remove timers before they've timed out, it can badly skew the next
item in the timer list without this change.
The correct fix would be to store usecs in `rest' rather than
TICKUNITs, but the math is easier if we just round...
brian [Tue, 14 Mar 2000 01:46:31 +0000 (01:46 +0000)]
When we stop a timer that's the first in the timer list, ensure
that we adjust that timers `rest' value (with the current getitimer()
values) before using that to adjust the next items `rest' value.
After adjusting that value, restart the timer service so that we've
now got the correct setitimer() values.
bsd [Mon, 13 Mar 2000 23:00:08 +0000 (23:00 +0000)]
In 'ipcperm()', only call 'suser()' if it is actually required.
Previously, it was being called whether it was needed or not and the
ASU flag was being set (as a side affect of calling 'suser()') in
cases where superuser privileges were not actually needed. This was
all pointed out to me by Bruce Evans.
archie [Mon, 13 Mar 2000 19:19:48 +0000 (19:19 +0000)]
- Document updates in iface netgraph node type functionality
- Remove makefile hacks for opt_inet.h, etc: the KLD now supports
whatever address families your kernel was compiled with automagically
archie [Mon, 13 Mar 2000 19:18:10 +0000 (19:18 +0000)]
Updates to the ng_iface(8) netgraph node type:
- Make iface nodes removable on shutdown since FreeBSD now supports
removable interfaces
- Simplify supporting new protocols using family_enqueue(); add a
few new ones including IPv6
- Add support for configurable interface mode using new
NGM_IFACE_POINT2POINT and NGM_IFACE_BROADCAST control messages
- Remove NGM_IFACE_GET_IFADDRS control message; it just duplicates
the functionality of SIOCGIFCONF
dcs [Mon, 13 Mar 2000 17:31:44 +0000 (17:31 +0000)]
RELENG_4 cvsup files. I'm betting these names are going to be changed,
but by virtue of no one else getting to do this after I mentioned it,
they get to be named this for now.
mjacob [Mon, 13 Mar 2000 16:30:00 +0000 (16:30 +0000)]
Don't do bus resets for ULTRA2 or later cards because what seems to
happen currently is that several commands issued *after* the bus reset are
then reported destroyed.
bde [Mon, 13 Mar 2000 14:47:46 +0000 (14:47 +0000)]
Disabled the optimization of not doing an invltlb_1pg() when changing
pte's from zero. The TLB is supposed to be invalidated when pte's are
changed _to_ zero, but this doesn't occur in all cases for global pages
(PG_G stops invltlb() from working, and invltlb_1pg() is not used
enough).
mdodd [Mon, 13 Mar 2000 11:59:21 +0000 (11:59 +0000)]
Copy how everyone else is doing packet transmission. (NetBSD mostly)
I've been running this for a month or so and have had no problems with it
and if I recall it was my last speed tweak. Holler if this breaks anything.
mdodd [Mon, 13 Mar 2000 11:48:03 +0000 (11:48 +0000)]
Call epstop() in ep_attach(). While this shouldn't be necessary we'll
do it just in case. (Actually, with PCMCIA cards we can get in a state
where it may be required.)
kris [Mon, 13 Mar 2000 09:55:53 +0000 (09:55 +0000)]
Add a new function stub to libcrypto() which resolves to a symbol in
the librsa* library and reports which version of the library (OpenSSL/RSAREF)
is being used.
This is then used in openssh to detect the failure case of RSAREF and a RSA key
>1024 bits, to print a more helpful error message than 'rsa_public_encrypt() fai
led.'
dmlb [Sun, 12 Mar 2000 22:54:29 +0000 (22:54 +0000)]
* add the start_join_net - done
* i needed it anyway
* remove startccs and startcmd - done
* as those were used for the NetBSD start timeout
* multicast - done but UNTESTED
* I don't have the ability/facilty to test this
* rxlevel - done
* stats reported via raycontrol
* getparams ioctl - done
* reported via raycontrol
* start_join_done needs a restart in download_done - done
* now use netbsd style start up
rwatson [Sun, 12 Mar 2000 22:16:18 +0000 (22:16 +0000)]
Expand the increasingly inaccurately named NOSPAM /etc file list to include
new sample database files, so that they will be installed with make
distribution. NOSPAM probably ought to be renamed to MAIL.
rwatson [Sun, 12 Mar 2000 22:08:35 +0000 (22:08 +0000)]
Add sample databases for sendmail (access, mailertable, virtusertable),
as well as rename access.txt back to the standard access. Also modify
the Makefile to know how to build hashes for each of these databases.
If one of the databases is missing when Make is run, use a commented
out version of the sample.
shin [Sun, 12 Mar 2000 20:35:54 +0000 (20:35 +0000)]
IPv6 related configuration updates.
- 6to4(stf) interface configuration.
- Static route configuration.
- Comment additions.
- Replaced a still existed '@' to '%' in IPv6 scoped addr format.
(This became necessary as previous IPv6 scoped addr format change.)
Much thanks to ume, who helped me reviewing, testing, and finding problems
with these changes.
shin [Sun, 12 Mar 2000 20:27:26 +0000 (20:27 +0000)]
Change __KAME_VERSION value. Added the word "FreeBSD4.x" to identify the
system with other platform and/or other version of FreeBSD, which is also
integrated KAME code based on another date.