Commit graph

2081 commits

Author SHA1 Message Date
Robert Watson bfbdbfef6e Remove /dev/console from the jail /dev environment. It's probably not
strictly a security hole, but neither is it a very good idea.  Replace
it with a symlink to /dev/null to happify programs that expect it.

It is suggested that users of the jail environment modify the jail's
syslog.conf to not send stuff to /dev/console, but instead syslog
it somewhere else.  Such as a loghost, potentially even to the host
environment's syslog.

Approved by:	jkh
2000-02-09 22:08:12 +00:00
Robert Watson f5749a8265 Intoduce a new make.conf entry, NO_MAKEDEV, and modifications to
/etc/Makefile so that if it is defined, MAKEDEV all is not called
during a make distribution.  This helps clean up the messy userland
in jail(), by reducing the number of devices exposed in jail.
Modifications to jail(2) to follow.

Approved by:	jkh-arius
2000-02-09 04:08:18 +00:00
Robert Watson 13c032fd0e Add two commented out syslog.conf entries, one to demonstrate the use of
an all.log for logging all messages, and one to demonstrate use of loghosts.
Also, a matching entry in newsyslog.conf for all.log.

Per request of Garrett Wollman, also modified the maillog entry to use the
@T newsyslog time specification mechanism.  Because newsyslog doesn't
support the mod date specification machanism, couldn't change other
entries that required more than one execution a month, but less than once
a day.

Approved by:	jkh
Reviewed by:	freebsd-security
2000-02-08 21:57:28 +00:00
Paul Richards f49c61a73a Add a firewall_flags option that is used when ipfw processes a file. It allows
you to run a preprocessor, such as m4, so that you can use macros in your
rules file.

Approved by:	jkh
2000-02-06 19:25:00 +00:00
Hellmuth Michaelis 6945eda6ea Approved by: jkh
Reviewed by: joerg

The isdnd is able to listen on a socket for isdnmonitor to connect to
it to remotely control it (similar to ppp and pppctl). When this is
enabled in the isdnd config file, it will fail currently because isdnd
is started before the network interfaces are configured.
It is necessary to move the isdnd start after the ifconfig of the network
interfaces, then this problem will not occur.
2000-02-06 16:33:54 +00:00
Nick Sayer 3ca9ee77a9 /dev/vn0b is a character device now.
Approved by:	jkh
2000-02-03 06:06:36 +00:00
David E. O'Brien 3213dc6150 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs
happen with a keyboard and monitor the console change was not as needed
in the i386 case as the Alpha case.  IMO >50% of Alpha installs are using
a serial console, the change matching rev 1.7 should not be backed out.
2000-01-29 12:18:03 +00:00
Bruce Evans 66cd37e02c Fixed chgrp lossage in rev.1.233. Most floppy devices and all slices for disk
devices because accessible by group wheel instead of group operator.

Didn't fix fishy group for rsa*.ctl.  This device should have group operator
if that is safe, or mode 600 and group wheel.

Removed ssc and uk*.

Removed bogus (redundant) chmod's to 600.
2000-01-29 10:32:49 +00:00
Warner Losh f4fb5d2f0b Add three entries:
# Apollo PCMCIA Ethernet Adapter
# Olicom OC2220
# National Semiconductor InfoMover NE4100

I forgot who submitted the first two, but the third one was submitted
by Jim Bloom.
2000-01-29 02:04:16 +00:00
David E. O'Brien dfa6785dff * Use console' rather than ttyv0' so there will always be a getty on
the console reguardless of the type of console.
* Make the Alpha version match the i386 version.
2000-01-29 00:50:21 +00:00
Rodney W. Grimes 9b20e2ca56 Update this with the additional nets recomended by reading
draft-manning-dsua-01.txt.

Stop using public addresses as samples and use the recommended
192.0.2.0/24 netblock that has specifically been set aside for
documentation purposes.

Reviewed by:	readers of freebsd-security did not respond to a request
                for review
2000-01-28 11:30:28 +00:00
Mitsuru IWASAKI 38385b010b Add 'config auto' confirmed entries.
Submitted by:	Atsushi Onoe <onoe@sm.sony.co.jp>,
		YAMAMOTO Shigeru <shigeru@iij.ad.jp>,
		Masahide -mac- NODA <mac@clave.gr.jp>
2000-01-27 23:09:13 +00:00
David E. O'Brien 072229cdbb Revert to rev 1.3 since the sed'ing is wrong. Revisit this after 4.0-RELEASE. 2000-01-27 22:52:43 +00:00
Munechika SUMIKAWA 476a9a96b4 Remove 'USE_INET6' define. Now we check IPv6 ability by 'OSVERSION'
Suggested by:	asami
2000-01-27 19:17:33 +00:00
David E. O'Brien e54b3aebe0 Fix English. Also use full spelling and reorg a little while I'm here.
Submitted by:	Andy Farkas <andyf@speednet.com.au>
2000-01-25 11:25:59 +00:00
Nick Hibma fcc56d9930 Install the USB include files in /usr/include/dev/usb.
We should still sort out some way of avoiding the clutter. Not all files
should be there.

Prompted by:   Louis A. Mamakos <louie@TransSys.COM>
2000-01-25 09:24:23 +00:00
Mark Murray 6f5a240646 Add a (commented out) macro that will, when uncommented, cause Kerberos5
(AKA Heimdal) to be built. Suitable admonishments about the experimental
state of this code are included.

SEROUS HACKERS ONLY!!
2000-01-24 20:16:41 +00:00
Jeroen Ruigrok van der Werven 5c9037ff73 Bah! Give me the pointy hat. Never commit fixes when just awake.
anable -> enable

Spotted by:	Alexander Leidinger <Alexander@leidinger.net>
2000-01-24 15:21:43 +00:00
Mitsuru IWASAKI b9857addba Two PCCard Modem entries.
o Fix entry for Megahertz XJ4336-CC4336. Old config (sio1) seems
  conflict with IrDA port or COM port on some laptop and sometimes
  totally hang up after insertion.
o Add 'NTT DoCoMo Mobile D Card 96P1' which is used by many
  people in Japan.

Reviewed by:	imp
2000-01-24 12:12:37 +00:00
Jeroen Ruigrok van der Werven 67ae635373 Fix my obmission of the keyword enable after apm -e.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-01-24 09:14:41 +00:00
Warner Losh d9213675fb Add Billionton 10 Base-TX ETHERNET PC CARD.
This entry has a high likelyhood of conflicting with others since the CIS
identifies this as "PCMCIA" "PCMCIA-ETHERNET-CARD".
2000-01-24 05:35:32 +00:00
Jun Kuriyama 3d5eb0b813 Whitespace/TAB cleanups only. 2000-01-23 22:02:36 +00:00
Nick Hibma e9ea2dfc2f Add the unlpt\d+ device to MAKEDEV. It is the same as ulpt\d+, except
that it does not reset the printer when opened. This fixes the problem
of printing a document almost till the end and then resetting the
printer when the next print job is started.

Submitted by:   Christopher Masto <chris@netmonger.net>

Also, remove all but the ums0 device from the fixit target 'to save
precious i-nodes on the fixit floppy'.
2000-01-23 11:40:10 +00:00
Jeroen Ruigrok van der Werven a49c947e5d Use apm instead of apmconf.
Necessary change to due removal of apmconf which got moved into apm
by green.
2000-01-23 10:04:50 +00:00
Tatsumi Hosokawa f8d951c30f Added Banksia CardModem 56.
Submitted by: Rice <benno@netizen.com.au>
2000-01-23 05:26:15 +00:00
Tatsumi Hosokawa 30bf72233e Fixed name of CyQ've Ethernet Card. 2000-01-23 03:01:26 +00:00
Tatsumi Hosokawa faf10645db Added IC-CARD+ Ethernet card. 2000-01-23 03:00:04 +00:00
Tatsumi Hosokawa 9a136fa3d3 Added Planex FNW-3600-T 16bit FastEthernet. 2000-01-22 19:02:47 +00:00
Tatsumi Hosokawa 2a090474ae Added tag (pccard:$device) for insert/remove event log.
Submitted by:	Warner Losh <imp@village.org>
2000-01-22 17:13:20 +00:00
Tatsumi Hosokawa 24cbe0e859 Added Corega Ether PCC-T.
PR:		conf/14297
Submitted by:	sanpei@sanpei.org
2000-01-22 15:58:04 +00:00
Warner Losh 2a6999d834 Cleanup of the card database:
o Make sure every entry has a logger event on insert/delete
o Make sure that the order of loggers is consistant
o Add D-Link DEF-650
o use /sbin/ifconfig consistantly
o Add Elecom Laneed LD-CDE, NTT DoCoMo Paldio 321S and 341S
  (from shige@FreeBSD.org)
2000-01-21 16:55:21 +00:00
Tatsumi Hosokawa e34ff0ec20 Fixed "NTT DoCoMo PCMCIA DATA/FAX ADAPTER 9600".
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2000-01-21 12:26:12 +00:00
Nick Hibma a043eecf95 Group of usb and usb\d+ is now operator and permissions are 0660.
Might need to be revisted to make it 0640 and limit the access to usb
and usb\d+ (in sys/dev/usb/usb.c) to 'retrieve info' only for operator.
2000-01-21 09:42:20 +00:00
Tatsumi Hosokawa ab3aa81372 Added Megahertz X-Jack Ethernet Card. (sorry, Warner, please merge it!)
Obtained from:	PAO
2000-01-21 09:26:13 +00:00
Tatsumi Hosokawa bf005823c4 Added
Allied Telesis Ethernet Card
 Panasonic KX-PH402D

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2000-01-21 06:59:19 +00:00
Tatsumi Hosokawa 08b8e973fe s/echo/logger -s/ to insert/remove lines in pccard.conf.
Obtained from:	PAO
2000-01-21 06:42:49 +00:00
Jun Kuriyama 721b6ee9f0 Add $FreeBSD$. 2000-01-20 14:56:37 +00:00
David E. O'Brien c95a5e9ebd Update the sed action to match the change to "diff -u".
Otherwise the encrypted password of any account who's information changed
was shown in the daily email to root.

Submitted by:	jhb
2000-01-20 03:12:57 +00:00
Jordan K. Hubbard 17ed57a625 Add device entries for new parallel port radio clock driver.
We were supposed to get these in far earlier and didn't, hence
the commit after feature freeze.  A promise is a promise. :)

Submitted by:	Sascha Schumann <sascha@schumann.cx>
2000-01-19 18:16:24 +00:00
Warner Losh 6d609a886c Add entries for:
3com 3c589ET
	Simple Technology CF ATA flash cards
	Viking Components CF ATA flash cards
2000-01-19 17:27:56 +00:00
Chris Costello 64304d8c44 Add and document support for handling comments and blank lines
in /etc/sysctl.conf.

Reviewed by:	imp, jkh
2000-01-16 18:12:42 +00:00
Poul-Henning Kamp 9a9bf0a412 Add missing share/examples/ses directory. 2000-01-16 14:02:51 +00:00
Tatsumi Hosokawa 9d18870a6f There's not /etc/pccard_ether_remove on -current. 2000-01-16 13:13:12 +00:00
Tatsumi Hosokawa 2c9d9934fb I've forgotten one hardwired device name in insert/remove line. 2000-01-16 13:11:23 +00:00
Tatsumi Hosokawa 3e24d1bee6 Use "$device" instead of hardwired device names in insert/remove lines
of /etc/pccard.conf.sample
2000-01-15 21:29:18 +00:00
Matt Jacob e49ff0841a add SES driver 2000-01-15 21:04:13 +00:00
Brian Feldman ab80d6fabc This is another in Martin Blapp's N-series of mount-related cleanups :)
Changes are:
 - rpc.umntall is called at the right places now in /etc/rc*
 - rpc.umntall timeout has been lowered from two days (too high) to one
 - verbose messages in rpc.umntall have been clarified
 - kill double entries in /var/db/mounttab when rpc.umntall is invoked
 - ${early_nfs_mounts} has been removed from /etc/rc
 - patched mount(8) -p to print different pass/dump values for ufs filesystems.
   (last patch recieved from dan <bugg@bugg.strangled.net>)

Submitted by:	Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>
2000-01-15 14:28:14 +00:00
David E. O'Brien e8fa6bee5e Fix the 3Com Fast Etherlink 3C574TX's ID string as we now get the
complete description from the PCCARD system.
2000-01-15 05:45:38 +00:00
Matthew N. Dodd 5fbfd9dc9b Add example entry for the 3Com Megahertz 574B 2000-01-15 05:44:14 +00:00
Bill Paul 261b9b3066 Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.
2000-01-14 20:41:03 +00:00