Commit Graph

66958 Commits

Author SHA1 Message Date
sommerfeld 8f2d5e3219 Don't rate-limit ICMP errors from packets we send to ourselves.
The dns resolver depends on reliably receiving errors to allow it to
quickly detect a dead local nameserver.
2000-07-01 21:46:40 +00:00
wrstuden becc493865 And let's make some audio devices too. Stolen from port-alpha. 2000-07-01 21:41:41 +00:00
wrstuden cbb53d3ebd Add audio, midi, and sequencer devices. Copied from ports alpha and i386.
Note: this does not mean internal audio's working. :-( It means I'm trying
to get my eap card to work.
2000-07-01 21:25:11 +00:00
he 089a542e6c Under MKCRYPTO != no, also build bdes. 2000-07-01 20:27:11 +00:00
hubertf 3c57129f75 Clarify comment that inetd only starts up IP-based services *that are
enabled in /etc/inetd.conf* (someone asked me last week why NetBSD doesn't
come with a telnet server...)
2000-07-01 20:03:44 +00:00
perseant db557257e5 Move SET_ENDOP after vrele to avoid deactivating vnode twice, if
SET_ENDOP triggers a write.
2000-07-01 19:03:57 +00:00
bjh21 27eeb4183b Uncomment lots of stuff. This _is_ a GENERIC kernel, after all. 2000-07-01 17:38:07 +00:00
bjh21 86e199a889 Actually check which netisrs are needed rather than running them all.
(oops)
2000-07-01 17:33:55 +00:00
mrg c76b8a26a9 add "wd" support 2000-07-01 16:27:47 +00:00
matt c9e87920af GCC 2.96 wants the = constraint first. Older gcc(s) don't care. 2000-07-01 06:43:42 +00:00
matt 5ccb0f3e95 Add ELF support. 2000-07-01 06:42:54 +00:00
matt c9e3b4a94f a.out allow weak symbols too. 2000-07-01 06:42:06 +00:00
matt e9b3d6fc85 GCC 2.96 wants the = constraint first. Also change to be a bit more
efficient.  Instead of using indirect register access, change the
constraint to memory and use the value directly.  This allow PC-rel
access among other things.
2000-07-01 06:41:06 +00:00
matt 54a2dbe16a More GCC 2.96 changes. 2000-07-01 06:38:53 +00:00
matt 7661e75ad4 Fix a major botch in 1.4 (which I did not do) which broke _brk and malloc. 2000-07-01 05:21:12 +00:00
mrg e6b451c8a6 fix wrong comment. 2000-07-01 03:35:07 +00:00
mrg 556a964467 <vm/vm.h> -> <uvm/uvm_extern.h> changes i forgot to commit 2000-07-01 03:34:05 +00:00
wiz 235a799246 re-add README that got lost in 2.12-to-2.14 merge. 2000-07-01 01:59:54 +00:00
wiz c01704a9db remove unnecessary #ifdef __NetBSD__'s in #ifdef __FreeBSD__;
move one #include <vm/vm.h> into #ifndef __NetBSD__
2000-07-01 01:53:37 +00:00
wiz d307475c33 resolve conflicts. 2000-07-01 01:38:58 +00:00
wiz 5457abf9cb Import release 2.14 of the bktr driver. Changes: mostly integration
of NetBSD changes; support for new Hauppauge tuner types.
2000-07-01 01:30:43 +00:00
itojun 914e93c4db mention resesrved SPI range, which is not usable from userland 2000-07-01 01:04:04 +00:00
itojun d407c7e3ec nuke sadb_x_ident_id, wihich violates pfkey standard.
correct get/set SA handling.
(from kame)
2000-07-01 01:01:34 +00:00
matt 6465109449 include <string.h> for mem* 2000-07-01 00:05:27 +00:00
matt c3530f0c12 Fix some bugs and clean up for ELF & a.out support 2000-06-30 23:46:36 +00:00
eeh 707e41f21e Fix interrupt delivery on UltraSPARC IIi machines. 2000-06-30 22:58:01 +00:00
eeh 3250ce2976 Reserve a page for dumping the kernel. 2000-06-30 22:17:53 +00:00
fvdl fa78158b15 Rearrange code around getnewvnode as was already done for ffs, to avoid
locking against oneself because getnewvnode recycles a softdep-using vnode.
2000-06-30 20:45:38 +00:00
itojun 3ade27131a suppress too noisy warning on forward-over-loopback case. from kame 2000-06-30 19:46:05 +00:00
thorpej c8875e6066 Pass the correct destination address for the route-to-gateway case.
From Zdenek Salvet, kern/10483.
2000-06-30 19:43:53 +00:00
itojun a847ca3ad6 be more careful about arg to errx?/warnx? (do not pass variable directly,
it may contain "%").  from openbsd, via kame.
2000-06-30 18:58:42 +00:00
jwise 37b8137c99 Remove caveat about behavior of `syslogd -s' when forwarding rules are
present -- this behavior has been fixed.
2000-06-30 18:52:24 +00:00
jwise 9b22831fbc Fix opening/closing of sockets when receiving a HUP, and /etc/syslog.conf
has been changed from having forwarding actions to having none, or vice versa.
2000-06-30 18:45:04 +00:00
itojun 8c9768d831 - remove references to gifconfig(8). refer ifconfig(8) instead.
- BUGS section: IFF_POINTOPOINT is strange for multi destination mode
2000-06-30 18:32:13 +00:00
jwise ccb04760be Improve behavior of `syslogd -s'.
Even if we are forwarding, don't bind to udp/514 if running with `-s'.
2000-06-30 18:22:54 +00:00
simonb edf0a0d67e Pass the abst to alpha_pci_mem_unmap() so that the real size of the
mapped area can be unmapped.
2000-06-30 18:19:28 +00:00
thorpej 8b1b3bc680 gifconfig(8) is obsolete. 2000-06-30 18:07:16 +00:00
jwise 20abf1785a Back out and redo previous at Bill Sommerfeld's <sommerfeld@netbsd.org>
request:

	instead of the -S flag, fix the -s flag to not open a socket
	if there are no forwarding rules in /etc/syslog.conf

The behavior of syslogd when -s is specified and there are forwarding rules
should still be made cleaner.
2000-06-30 18:03:50 +00:00
thorpej 0ef2c35ee6 gifconfig(8) is obsolete; functionality has been added to
ifconfig(8).
2000-06-30 18:02:32 +00:00
itojun d738f90fd7 raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory.  MHLEN is too small
  already (less than 80) and there are chances for unwanted packet loss due
  to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
  (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
  extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
thorpej 1a9289d09a - Add `tunnel' and `deletetunnel' commands, which issue the ioctls
that gifconfig(8) would issue to configure tunnel endpoints.  This
  allows IP tunnel interfaces (`gif' right now, and `gre' later) to
  be configured with ifconfig(8), and via /etc/ifconfig.<interface>.
  Partially taken from similar changes in OpenBSD.
- Const poison the command functions a bit.  We really need to clean
  up the command function interface.
2000-06-30 17:45:11 +00:00
jwise 3258a51b03 1.) bring usage text up to date, and clarify description of `-s' option
in man page and comments -- for some time it has no longer prevents
    an inet socket from being opened, just caused it to be ignored

2.) Fix this problem with `-s' -- syslogd always opens an inet socket, even if
    -s is specified and it has nowhere to send to.  This socket is then
    shutdown(), but there is no way to not have this socket open.

    Users setting up paranoid installations can now specify `-S' which
    prevents any non-unix-domain sockets from being opened, even if
    forwarding is specified in /etc/syslogd.conf.

    As per the previous fix, this is not made the default for `-s', as it
    also prevents syslogd from forwarding log messages.

3.) document the above in the man page and usage.

Justification:  in light of the possibility of future DoS attacks, or the
desire to set up a machine which is relatively uninformative in the face
of port scans, users may quite legitimately want to control what sockets
are open on their machine.  Telling such users that they cannot run
syslogd is non-ideal.
2000-06-30 17:32:43 +00:00
itojun d76ae83df8 add PULLDOWN_TEST for all the platforms.
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
itojun f64eeac13d typo in RFC number. KAME PR 263 2000-06-30 16:48:47 +00:00
itojun 23f6a4f4e8 remove old mbuf assumption (ip header and tcp header are on the same mbuf).
this is for m_pulldown use. (sync with kame)
2000-06-30 16:44:33 +00:00
joda 5f9b72f44c match 3Com 3CRWE737A (AirConnect) 2000-06-30 16:40:31 +00:00
joda c8edea398b regen 2000-06-30 16:33:38 +00:00
joda 35c8e4d91e add 3Com 3CRWE737A (AirConnect) 2000-06-30 16:33:17 +00:00
ad e211fdee79 Use my proper name in copyrights. 2000-06-30 13:36:47 +00:00
wiz e4653b6906 add RFC 2000-06-30 10:57:09 +00:00