Index: head/etc/bluetooth/hcsecd.conf =================================================================== --- head/etc/bluetooth/hcsecd.conf (revision 130150) +++ head/etc/bluetooth/hcsecd.conf (revision 130151) @@ -1,56 +1,56 @@ # $Id: hcsecd.conf,v 1.1 2003/05/26 22:50:47 max Exp $ # $FreeBSD$ # # HCI security daemon configuration file # # Format: # # device { # option value ; # } # # Possible options and values # # Options Values # ---------------------------------- # bdaddr xx:xx:xx:xx:xx:xx ; - remote device BD_ADDR # name "any char" ; - to set user friendly device name # key 0x11223344 | nokey ; - to set link key for the device # pin "secret" | nopin ; - to PIN code for the device # # Notes: # # Currently there is no way to select keys/PIN code based on which # local device received the request. Everything is based on remote # device BD_ADDR. # -# "nokey" means that no link key has been defined and we should +# "nokey" means that no link key has been defined and we should # send Link_Key_Negative_Reply command to the device. # -# "nopin" means that no PIN code has been defined and we should +# "nopin" means that no PIN code has been defined and we should # send PIN_Code_Negative_Reply command to the device # -# Default entry is applied if no better match found +# Default entry is applied if no better match found # It MUST have 00:00:00:00:00:00 as bdaddr device { bdaddr 00:00:00:00:00:00; name "Default entry"; key nokey; pin nopin; } device { bdaddr 00:1:2:3:4:5; name "Dummy"; key nokey; pin "0000"; } device { bdaddr 00:11:22:33:44:55; name "Dummy"; key 0x00112233445566778899aabbccddeeff; # 16 bytes key (hex string) pin nopin; } Index: head/etc/csh.login =================================================================== --- head/etc/csh.login (revision 130150) +++ head/etc/csh.login (revision 130151) @@ -1,15 +1,15 @@ # $FreeBSD$ # # System-wide .login file for csh(1). -# Uncomment this to give you the default 4.2 behavior, where disk +# Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # setenv BLOCKSIZE K -# +# # For the setting of languages and character sets please see # login.conf(5) and in particular the charset and lang options. # For full locales list check /usr/share/locale/* # # Read system messages # msgs -f # Allow terminal messages # mesg y Index: head/etc/defaults/pccard.conf =================================================================== --- head/etc/defaults/pccard.conf (revision 130150) +++ head/etc/defaults/pccard.conf (revision 130151) @@ -1,2342 +1,2342 @@ # # Default PCCARD configuration file # # $FreeBSD$ # # Please send new entries for this file to imp@freebsd.org. He likes to # review them before they are committed to make sure they are correct for # the style of the file. Please attempt to use "auto" for the config # number whereever possible. Do not commit IRQs in the "config" lines. # Make sure that you use tabs rather than multiple spaces for new entires # like the old ones. keywordarguments. # # Removing all IRQ conflicts from this file can't be done because of some # IRQ-selfish PC-cards. So if you want to use some of those cards in # your machine, you may need to modify the IRQ list below. Please put # such overrides in /etc/pccard.conf. You can also place override # card entries in /etc/pccard.conf, since the first match is the one that # pccardd will use to configure the card. # # Generally available IO ports io 0x240-0x360 # on i386 IRQs can be any of 3 4 5 7 9 10 11 12 14 15 # on pc98 IRQs can be any of 3 5 6 9 10 11 12 13 # but *MUST* *NOT* be used by anything else, unless you are using current # and a PCI cardbus bridge that allows sharing. Even then, the rules # for interrupt sharing can be tricky. # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 5 10 11 15 # Available memory slots memory 0xd4000 96k # Debug level, so you know how to get more info for maintainers. Put it # in /etc/pccard.conf #debuglevel 4 # Include user configration file # This allow you to override or add configurations. include /etc/pccard.conf # # PLEASE KEEP THIS FILE IN ORDER # # In order is defined as follows. We sort first by driver type (an, ed, etc) # and then by CIS strings. Do not commit to this file entries out of # order. # ########## aic ########## # Adaptec SlimSCSI (also included with Sony CD-ROM players) card "Adaptec, Inc." "/APA-1460 .*/" config 0x9 "aic" ? insert camcontrol rescan all # NewMedia Bustoaster SCSI card "New Media" "SCSI" config 0x22 "aic" ? insert camcontrol rescan all ########## an ########## # Aironet PC4500 2Mbps 802.11 wireless NIC card "Aironet" "PC4500" config 0x5 "an" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Aironet PC4800 11Mbps 802.11 wireless NIC card "Aironet" "PC4800" config 0x5 "an" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Aironet 340 Series 11Mbps 802.11 wireless NIC card "Cisco Systems" "340 Series Wireless LAN Adapter" config auto "an" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Aironet 350 Series 11Mbps 802.11 wireless NIC card "Cisco Systems" "350 Series Wireless LAN Adapter" config auto "an" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom sells a rebaded unit card "Xircom" "Wireless Ethernet Adapter" config 0x5 "an" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## ata ########## # Sony VAIO cdrom, Ninja-ATA CD-ROM Drive, MELCO CDN-D12EX card " " "NinjaATA-" config auto "ata" ? logstr "NinjaATA" # Non-brand Compact Flash Card(32MB) card " " "KCF 32M" config 0x1 "ata" ? iosize 16 logstr "Compact Flash Card 32M" # pc-card from ARCHOS CD-224E cdrom card "ARC" "ATAPI" config auto "ata" ? # Caravelle PSC-IDE 6x ATAPI CD-ROM card "Caravelle" "/PSC-IDE */" config 0x2a "ata" ? # 0x1 (flags for wd, not sure for ata) # MCD-601p 6x CD-ROM drive. card "CDROM" "IDE" config auto "ata" ? logstr "MCD-601p" # Lexar Media compact flash card "/CL ATA FLASH CARD LEXAR */" "TIDALWV" # auto does not work config 0x1 "ata" ? # CNF CD-M card "CNF CD-M" "CD-ROM" config auto "ata" ? logstr "CNF CD-M" # DATAFAB PCMMD2 card "DATAFAB" "PCMCIA-TO-IDE" config 0x1 "ata" ? # DHU Mobile Media CD-ROM # (no hotplug support) card "Digital Equipment Corporation." "Digital Mobile Media CD-ROM" config auto "ata" ? # EXP DVD-780 DVD-ROM drive card "/EXP */" "PnPIDE" config auto "ata" ? # Toshiba mobile CD-ROM (Bundled with Portege 3110CT) card "FREECOM" "PCCARD-IDE" config auto "ata" ? iosize 16 # FUJITSU FlashDiskCard ZEBO-ATA40 card "FUJITSU" "ZEBO-ATA" config 0x03 "ata" ? # Greystone Diskdock card "GREYSTONE PERIPHERAL DISKDOCK" "/.*/" config default "ata" ? # HAGIWARA FLASH card "HAGIWARA" "FLASH" config default "ata" ? # Hitachi Flash ATA card "HITACHI" "/.*FLASH.*/" config 0x01 "ata" ? iosize 16 # IBM Flash ATA (Ricoh Flash ATA 10MB) card "IBM" "IBM17JSSFP10" config auto "ata" ? iosize 16 # IBM IDE PC-CARD CDROM (ThinkPad 240 and others) card "PCMCIA" "IDE CARD" config auto "ata" ? # IBM Portable 4X Speed CD-ROM Drive CD-400 #card "IBM" "PCMCIA CD-ROM Drive CD-400" # config 0x1 "ata" ? iosize 0x20 # 0x10000 (flags for wd, not sure for ata) # IBM CD-20XSeries(IDE PC Card) card "IBM" "PCMCIA Portable CD-ROM Drive" config auto "ata" ? iosize 0x1 # IBM Microdrive (CF+ Type II) card "IBM" "microdrive" # config 0x03 "ata" ? config 0x01 "ata" ? iosize 16 # Integral Peripherals Viper HDD Series card "INTEGRAL PERIPHERALS" "ATA CARD" # config default "ata" ? config 0x01 "ata" ? iosize 16 # IO DATA PCMF144/20 (as Flash ATA only) card "IO DATA" "ATA&MODEM" config 0x7 "ata" ? # config auto "sio" ? # IO DATA CBIDE2 in 16 bit mode # (bundled with IO DATA CDP-AX24T, Panasonic DVD-ROM LK-RV8171D) card "IO DATA" "/CBIDE2 */" config default "ata" ? # IO Data PCIDE-II (bundled with CDP-TX6, etc.) card "IO DATA" "PCIDEII" config auto "ata" ? # Iomega Zip Drive card "Iomega" "PCMCIA to 16 bit ATAPI Adapter" config 0x2 "ata" ? # KODAK Picture Card card "KODAK Picture Card" "KODAK" config default "ata" ? # Panasonic KXL-CB10AN (CD-R/RW/DVD) card "KME" "KXLC006" config auto "ata" ? # TOSHIBA Portable 24X Speed CD-ROM Drive PA2673UJ card "LOOKMEET" "/CBIDE2 */" config default "ata" ? # Maxtor ATA HDD card "Maxtor" "/MXL.*/" config 0x03 "ata" ? # Microtech XpressDock card "Microtech International Inc." "IDE PCCARD" config auto "ata" ? 0x20000 iosize 16 # Midori Elec. Flash ATA card "Midori Elec." "/.*FLASH.*/" config 0x03 "ata" ? # Panasonic Flash ATA BN-040ABP3 card "Panasonic" "ATA" "/BN-040AB-M */" # auto does not work config 0x1 "ata" ? logstr "Panasonic Flash ATA BN-040ABP3" # LK-RM120 card "Panasonic" "LMEK0406" config 0x22 "ata" ? 0x1 # Another boring, generic ata atapter card "PC CARD MANUFACTURER" "PCMCIA ATA/ATAPI Adapter" config auto "ata" ? # pc-card from PSCD-740 cdrom card "PCMCIA" "CD-ROM" config 0x1 "ata" ? -# Novac DVD/CD Station +# Novac DVD/CD Station card "PCMCIA" "PnPIDE" config auto "ata" ? # Shining PMIDE-ASC CDROM / Road Warrior Bullet Disk card "Shining" "PMIDE-ASC" config auto "ata" ? 0x20000 # Microtech PortableDRIVE25/PCMCIA card "SHUTTLE TECHNOLOGY LTD." "PCCARD-IDE/ATAPI Adapter" config auto "ata" ? 0x20000 # XXX NOT SURE SUPPORTED # CitiDISK & Addonics PocketZIP #card "Shining" "PMIDE-ASC" # config default "ata" ? # 0x20000 (flags for wd, not sure for ata) # Sicon Peripheral PCMCIA ATA/ATAPI Adapter card "Sicon Peripheral" "PCMCIA ATA/ATAPI Adapter" config default "ata" ? # SiliconTech,Inc. Compact PC Card card "SiliconTech,Inc." "/[0-9]+MB Compact PC Card/" config 0x1 "ata" ? # Simple Technology ata flash card "/Simple Technology */" "STI-ATA" config auto "ata" ? # SONY Memory Stick PC Card Adaptor card "SONY" "/MEMORYSTICK.*/" config 0x01 "ata" ? iosize 16 # SunDisk Flash ATA # (OEM: Epson Flash Packer) card "SunDisk" "/.*/" config 0x1 "ata" ? # T-POWER Flash ATA card "/T-POWER */" "/.*/" config 0x1 "ata" ? # TDK Flash ATA card "TDK TC_H." "/.*/" config 0x1 "ata" ? # IO Data CBIDE (bundled with CDP-FX24, etc.) card "WIT" "IDE16" config auto "ata" ? # LIP-32B attached to Logitec LCW-PD648PI card "WORKBIT" "ATA-32Bi(16)" config default "ata" ? # Viking ATA Flash card card "/VIKING ATA/CF FLASH CARD */" "/TOR/AM */" config 0x2 "ata" ? - + ########## awi ########## # Generic AMD Am79c930 based card # Melco WLI-PCM card "AMD" "Am79C930" config 0x1 "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Bay Networks Baystack 650 Wireless LAN card "Bay Networks" "BayStack 650 Wireless LAN" config 0x1 "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Bay Networks Baystack 660 Wireless LAN card "Bay Networks" "BayStack 660 Wireless LAN" config auto "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Farallon SkyLINE Wireless card "Farallon" "SkyLINE Wireless" config auto "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ICom SL-200 card "Icom" "SL-200" config auto "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Teletronics WL2000D 2Mbps wireless card # Might not be right, reports are that it reports ether of 0:0:0:0:0:0 card "OEM" "WLAN/WPMCIA" config auto "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ZoomAir 4000 card "Zoom" "Air-4000" config auto "awi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## cnw ########## # NetWave AirSurfer # NOTE: For some machines, wait cycle for memory access is required. # you should change "0x40" on the last part of "cardmem" line to "0x44", # like: # cardmem 0xd4000 0x20000 0x9000 0x44 # IBM ThinkPads are known to require this change. # Xircom CreditCard Netwave card "Xircom" "CreditCard Netwave" config 0x01 "cnw" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## cs ########## # NOTE: This likely doesn't work, but might. # IBM EtherJet PC Card 16bit version card "IBM" "EtherJet PC Card" config auto "cs" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## ed ########## # No-brand NE2000 compatible card (FCC ID: LXLC1LANTB) card " " "Ethernet Combo card" config auto "ed" ? 0x10 logstr "NE2000 compatible card" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Map Japan MPL-972 card "2408LAN" "Ethernet" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Accton EN2212 # Very slow! (PIO mode) card "ACCTON" "EN2212" config auto "ed" ? 0x30 ether 0xff0 # 00:00:e8 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Accton EN2216 card "ACCTON" "EN2216-PCMCIA-ETHERNET" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Allied Telesis CentreCOM LA-PCM card "Allied Telesis,K.K" "Ethernet LAN Card" config default "ed" ? 0x10 ether 0xff0 # 00:00:f4 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Allied Telesis CentreCOM LA-PCM_V2 ethernet card # NTT-DATA ASTROWINK-M/MMOIL(IrLAN) ethernet card card "Allied Telesis, K.K." "CentreCOM LA-PCM_V2" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Allied Telesis CentreCOM LA100-PCM-T V2 card "Allied Telesis, K.K." "CentreCOM LA100-PCM-T V2 100/10M LAN PC Card" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Allied Telesis CentreCOM LA-PCM V3 card "Allied Telesis K.K." "LA-PCM V3" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # AmbiCom 10BaseT card card "AmbiCom Inc" "AMB8002T" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Belkin F5D5020 card "Belkin" "F5D5020-PCMCIA-Network-Card" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Billionton LNA-100B card "Billionton" "LNA-100B" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Billionton LNT-10TB card "Billionton" "LNT-10TB" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Billionton LNT-10TN card "Billionton" "LNT-10TN" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BUFFALO LPC-CF-CLT card "BUFFALO" "LPC-CF-CLT" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BUFFALO LPC2-CLT card "BUFFALO" "LPC2-CLT" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BUFFALO LPC3-CLT card "BUFFALO" "LPC3-CLT" config auto "ed" ? 0x30000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BUFFALO LPC3-CLX card "BUFFALO" "LPC3-CLX" config auto "ed" ? 0x30000 ether 0x1c8 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # CNet BC40 adapter card "CNet" "CN40BC Ethernet" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # COREGA FEther PCC-TXF card "corega" "FEther PCC-TXF" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # COREGA Ether PCC-T and COREGA EtherII PCC-T card "corega K.K." "/corega Ether(II)? PCC-T/" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # COREGA FastEther PCC-TX card "corega K.K." "corega FastEther PCC-TX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # COREGA FEther PCC-TXD card "corega K.K." "corega FEther PCC-TXD" config auto "ed" ? 0x30000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Corega PCM-T card "Corega,K.K." "Ethernet LAN Card" config auto "ed" ? ether 0xff0 # 00:00:f4 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Surecome EP-427X PCMCIA ethernet card "CouplerlessPCMCIA" "100BASE" config auto "ed" ? 0x30000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # CyQ've ELA-010 card "CyQ've" "ELA-010" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # CyQ've ELA-110 and ELA-110E card "CyQ've" "/ELA-110E? 10/100M LAN Card/" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # D-Link DE-650 and DE-660 card "D-Link" "/DE-6[56]0/" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # D-Link DFE-650 Fast Ethernet Card card "D-Link" "DFE-650" config auto "ed" ? 0x80010 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # D-Link DFE-670 Fast Ethernet Card card "D-Link" "DFE-670TXD" config auto "ed" ? 0x80010 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # D-Link DME-560T LAN/FAX/MODEM Card (as Ethernet) card "D-Link" "DME560T" config default "ed" ? # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Danpex (Alloy, etc.) EN-6200P2 card "DANPEX" "EN-6200P2" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Dayna Communications CommuniCard E card "Dayna Communications, Inc." "CommuniCard E" config auto "ed" ? 0x10 ether 0x110 # 00:80:19 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Digital DEPCM-BA Ethernet card "DIGITAL" "DEPCM-XX" config auto "ed" ? 0x10 ether 0xff0 # 00:00:e8 # ether 0x1c0 # 00:00:e8 -- seen on a rev. C01 card insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Planex FNW-3600-T and FNW-3600-TX DirectDock (second model) card "Dual Speed" "/10/100( Port Attached)? PC Card/" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Dynalink L100C16 card "Dynalink" "L100C16" config auto "ed" ? insert /etc/pccard_ether $device remove /etc/pccard_ether $device stop # Linksys Combo PCMCIA Ethernet Card -card "E-CARD" "E-CARD" - config auto "ed" ? +card "E-CARD" "E-CARD" + config auto "ed" ? logstr "Linksys Combo Ethernet Card" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Eiger Labs Ethernet COMBO card "EIGER Labs Inc." "Ethernet COMBO Card" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # XXX Compex Net-A adapter, Telecom SuperSocket RE450T, # Apollo PCMCIA Ethernet Adapter, PLANEX ENW-3503-T and # Fiber line 10M Ethernet COMBO have same manufacturer and -# card version string. They should be distinguished by +# card version string. They should be distinguished by # other info. (such as additional information or OEM-ID/product-ID). # Note: There are several revisions of the card on the market. # Type A needs no "ether" line. # Type B needs "ether 0x110" line. # Type C needs "ether 0xff0" line. # Yet more revisions exist, reportedly. # If you see strange MAC address shown by ifconfig command, # try other config. card "Ethernet" "Adapter" config auto "ed" ? # ether 0x110 # 00:e0:98 ether 0xff0 # 00:e0:98 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # pci Ethernet Adapter Card card "Ethernet" "CF Size PC Card" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # "Ethernet Adapter" "E2000 PCMCIA Ethernet" card "Ethernet Adapter" "E2000 PCMCIA Ethernet" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ADDTRON EP-210A card "EP-210 PCMCIA LAN CARD." "/.*/" config auto "ed" ? 0x10 ether 0x110 # 00:40:33 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Planex FNW-3700-T Fast Ethernet card "Fast Ethernet" "16-bit PC Card" config auto "ed" ? 0x30000 logstr "Planex FNW-3700-T" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Planex FNW-3600-T 16bit Fast Ethernet (old model) card "Fast Ethernet" "Adapter" config auto "ed" ? 0x80000 logstr "Planex FNW-3600-T" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # TDK Grey Cell GCS2000 and GCS2220 card "Grey Cell" "/GCS2(00|22)0/" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # GVC NIC-2000P Ethernet Card card "GVC" "NIC-2000p" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # IBM PCMCIA Ethernet I/II, RIOS PC CARD II ETHERNET card "IBM Corp." "Ethernet" config auto "ed" ? ether 0xff0 # 08:00:5a 00:04:ac 00:06:29 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # AR-P500 ethernet card, Planet Communications Smart COM 3500 same as # model ENW-3500 and ENW-3501-T, IC-CARD Ethernet, SYSCOM SC100 Ethernet Card # ELECOM Laneed LD-CDY, IC-CARD+ Ethernet card card "/^IC-CARD\+?$/" "/^IC-CARD\+?$/" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # I/O DATA PCLA/T card "I-O DATA" "PCLA" config auto "ed" ? 0x10 # ether 0x1c0 # 00:a0:b0 ether 0xff0 # 00:a0:b0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # I/O DATA PCET10-CL card "IO DATA" "PCET10CL" config auto "ed0" ? 0x10 insert /etc/pccard_ether $device remove /etc/pccard_ether_remove $device # I-O DATA PCET/100-CL card "IO DATA" "PCET100CL" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # I-O DATA PCET/TX card "IO DATA" "PCETTX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # I-O DATA PCET/TX-R card "IO DATA" "PCETTXR" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # I-O DATA PCLA/TE card "IO DATA" "PCLATE" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # KANSAI ELECTRIC KLA-PCM/T card "KANSAI ELECTRIC CO.,LTD" "KLA-PCM/T" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Kingston KNE-PC2 card "Kingston" "KNE-PC2" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Kingston KNE-PCM/x Ethernet card "Kingston Technology Corp." "/EtheRx PC Card Ethernet.*/" config auto "ed" ? ether 0xff0 # 00:c0:f0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELECOM Laneed LD-10/100CD card "Laneed" "LD-10/100CD" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELECOM Laneed LD-CDF, LD-CDS card "Laneed" "/LD-CD[FS]/" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELECOM Laneed LD-CDL/TX card "Laneed" "LD-CDL/TX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop -# Linksys Combo PCMCIA EthernetCard (model EC2T on box) +# Linksys Combo PCMCIA EthernetCard (model EC2T on box) card "Linksys" "Combo PCMCIA EthernetCard (EC2T)" - config auto "ed" ? + config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Linksys Combo PCMCIA Ethernet Card card "LINKSYS" "E-CARD" config auto "ed" ? 0x10 logstr "Linksys Combo Ethernet Card" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Linksys PCMLM56 # Not currently working for me, but others say it does. card "Linksys" "EtherFast 10&100 + 56K PC Card (PCMLM56)" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Linksys EtherFast 10/100 Intergrated PC Card (PCM100) card "Linksys" "EtherFast 10/100 Integrated PC Card (PCM100)" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Linksys EtherFast 10/100 PC Card (PCMPC100), model V2 and V3 card "Linksys" "/Ether[Ff]ast 10/100 PC Card \(PCMPC100.*\)/" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Logitec LPM-LN100TX 100BASE-TX Ethernet LAN CARD card "Logitec" "LPM-LN100TX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Logitec LPM-LN20T card "Logitec" "LPM-LN20T" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Socket LP-E (WinCE Low Power Ethernet) card "Low Power Ethernet LAN Adapter" "Socket Communications, Inc" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELECOM Laneed LD-CDWA (DP83902A), MACNICA Ethernet ME1 for JEIDA card "MACNICA" "ME1-JEIDA" config auto "ed" ? ether 0xb8 # 08:00:42 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Matsushita Electric Industrial Co.,LTD. CF-VEL211P-B card "Matsushita Electric Industrial Co.,LTD." "CF-VEL211" config auto "ed" ? ether 0xff0 # 00:80:45 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # MELCO LPC2-T card "MELCO" "LPC2-T" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # MELCO LPC2-TX card "MELCO" "LPC2-TX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # MELCO LPC3-TX card "MELCO" "LPC3-TX" config auto "ed" ? 0x30000 ether 0x1c8 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # National Semiconductor InfoMover 4100 and NE4100 card "National Semiconductor" "/InfoMover (NE)?4100/" config auto "ed" ? ether 0xff0 # 08:00:17 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NDC Ethernet Instant-Link NE2000 clone card "NDC" "Ethernet" config auto "ed" ? 0x30 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Addtron NE-2000 compatible NIC card "NE2000 Compatible PC Card" "PCMCIA" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NEC PC-9801N-J12 card "NEC" "PC-9801N-J12" config auto "ed" ? ether 0xff0 # 00:00:4c insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BayNetworks NETGEAR FA410TXC Fast Ethernet card "NETGEAR" "FA410TX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BayNetworks NETGEAR FA411 Fast Ethernet card "NETGEAR" "FA411" config auto "ed" ? 0x30000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Network Everywhere Ethernet 10BaseT PC Card card "Network Everywhere" "Ethernet 10BaseT PC Card" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Network Everywhere Ethernet Fast Ethernet 10/100 PC Card card "Network Everywhere" "Fast Ethernet 10/100 PC Card" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # New Media Corporation LiveWire 10/100 card "New Media Corporation" "LiveWire 10/100" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NextCom Next Hawk Etherneet Adapter card "NextCom K.K." "Next Hawk" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Nihon Unisys, Ltd. JPF0400-ETH and JPF0400-LAN card "Nihon Unisys, Ltd." "/JPF0400-(ETH|LAN)/" config auto "ed" ? ether 0xff0 # 00:80:45 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Nortel Networks BayStack 22 Ethernet 10/100 PC Card card "Nortel" "BAYSTACK22-PCMCIA-ETHERNET" config auto "ed" ? 0x30000 ether 0x1c8 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Longshine LCS-8534TB card "PCMCIA" "/^Ethernet$/" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # No-brand NE-2000 compatible card card "PCMCIA" "ETHERNET V1.0" config auto "ed" ? 0x10 ether 0xff0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Telecom Device SuperSocket HPC100 card "PCMCIA" "FastEthernet" config auto "ed" ? 0x30000 logstr "Telecom Device SuperSocket HPC100" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Billionton 10Base-TX ETHERNET PCCARD (aka UE2216) # Also Genuius "Ethernet ME3000II SE" card "PCMCIA" "PCMCIA-ETHERNET-CARD" config auto "ed" ? 0x10 logstr "UE2216" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Planet Smart COM 2000, Melco LPC-T card "PCMCIA" "UE2212" config auto "ed" ? 0x10 ether 0xff0 # 00:00:e8 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # GVC 10Mbps Ethernet Card card "PCMCIA" "Ethernet Card" config auto "ed" ? - logstr "Generic PCMCIA Ethernet Card" + logstr "Generic PCMCIA Ethernet Card" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Billionton LM5LT-10N # Works as an Ethernet card card "PCMCIA 10+56Combo" "LM5LT-10N" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # EXPsys PCMCIA Ethernet Combo, Relia PCMCIA Ethernet card "PCMCIA LAN" "Ethernet" config auto "ed" ? logstr "EXPsys Ethernet" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # LinkMates LM 336 LAN Fax/Modem PC Card (as Ethernet only) card "PCMCIAs" "ComboCard" config 0x24 "ed" ? 0x10 # config auto "sio" ? logstr "LinkMates LM 336" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Telecom Device SuperSocket LM336 (as Ethernet only) card "PCMCIAs" "LanModem" config default "ed" ? # config auto "sio" ? logstr "SuperSocket LM336" insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # PreMax PE-200 Ethernet Card card "/PMX */" "PE-200" config auto "ed" ? 0x10 ether 0x7f0 # 00:20:e0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Psion Dacom Gold Card Ethernet card "Psion Dacom" "Gold Card Ethernet" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Psion Dacom Gold Card V34 Ethernet GSM # as ethernet card "Psion Dacom" "Gold Card V34 Ethernet GSM" config auto "ed" ? # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # RIOS PC CARD3 ETHERNET card "RIOS Systems Co." "PC CARD3 ETHERNET" config auto "ed" ? ether 0xff0 # 00:00:48 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # RPTI EP401 Ethernet card card "RPTI" "EP401 Ethernet NE2000 Compatible" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # SCM Ethernet Combo (*Not SMC :-)*) card "SCM" "Ethernet Combo card" config auto "ed" ? 0x10 ether 0xff0 # 00:20:cb insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Epson EEN10B Ethernet Card card "Seiko Epson Corp." "Ethernet" config auto "ed" ? 0x10 ether 0xff0 # 00:00:48 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # SMC EXCard-10-PCMCIA card "SMC" "EZCard-10-PCMCIA" config 0x20 "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3way 3WL-847-TX card "SUN WAY" "3WL-847-TX 100BASE-TX" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Surecom EtherPerfect EP-427 card "TAMARACK" "Ethernet" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # TDK LAK-CD031 card "TDK" "/LAK-CD031.*/" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Telecom Device SuperSocket RE450T card "Telecom Device K.K." "SuperSocket RE450T" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Telecom Device SuperSocket RE550T card "Telecom Device K.K." "SuperSocket RE550T" config auto "ed" ? 0x80000 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Toshiba Joho System PTJ-LAN/T card "TJ" "Ethernet" config auto "ed" ? 0x10 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # XXX NOT SUPPORTED YET # TOSHIBA LABCTA00A (Add `option TOSH_ETHER' line to your kernel # configuration file and rebuilding kernel.) #card "TOSHIBA" "LANCT00A" # config default "ed" ? 0x10 # cardmem 0xd0000 0x0000 32k ## cardmem 0xd8000 0x0000 32k # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop # Xircom CompactCard Ethernet 10 (CFE-10) card "Xircom" "CompactCard Ethernet" config auto "ed" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## ep ########## # 3Com Fast Etherlink 3C574TX card "3Com" "3C574-TX Fast EtherLink PC Card" config auto "ep" ? 0x1 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3Com Megahertz 3CCFEM556BI, 3CXEM556 and model B # as ethernet card "3Com" "/Megahertz 3C(CF|X)EM556/" config default "ep" ? 0x1 # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3Com Megahertz 574B same as 3Com Fast Etherlink 3C574B card "3Com" "Megahertz 574B" config auto "ep" ? 0x1 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3Com Etherlink III 3CXE589EC and 3CXE589ET card "3Com" "Megahertz 589E" config auto "ep" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3Com OfficeConnect 3CXSH572BT card "3Com" "OfficeConnect 572B" config auto "ep" ? 0x1 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3Com Etherlink III 3C562 (as Network) # Don't think this will work. #card "3Com Corporation" "3C562" # config 0x9 "ep" ? # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop # 3Com Etherlink III 3C589, 3C589B, 3C589C, 3C589D card "3Com Corporation" "/3C589/" config auto "ep" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Farallon EtherMac card "Farallon" "ENet" config auto "ep" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## ex ########## # Olicom OC2220 card "Olicom" "Ethernet" config 0x1 "ex" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## fe ########## # CONTEC C-NET(PC)C Ethernet card "CONTEC Co.,Ltd." "/C-NET\(PC\)C.*/" config auto "fe" ? ether 0x58 # 00:80:4c insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Fujitsu MBH10303 Ethernet PCMCIA card "EAGLE Technology" "/NE200 ETHERNET LAN MBH10303 */" config auto "fe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Eiger Labs EPX-10BT card "Eiger labs,Inc." "EPX-10BT PC Card Ethernet 10BT" config auto "fe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Fujitsu FMV-J182, FMV-J182A card "FUJITSU" "LAN Card(FMV-J182)" config auto "fe" ? # These cards have same ID strings, and different MAC address # locations. # ether 0xf2c # 00:00:0e #FMV-J182 ether 0x1cc # 00:00:0e #FMV-J182A insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Fujitsu Towa LA501 Ethernet card "FUJITSU TOWA" "LA501" config auto "fe" ? 0x10 ether 0x332 # 00:00:0e insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # HITACHI HT-4840-11 card "HITACHI" "HT-4840-11" config auto "fe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NextCom J Link NC5310 card "NextComK.K." "/NC5310 Ver1\.0.*/" config auto "fe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # RATOC REX-5588, REX-9822, REX-4886 card "PCMCIA LAN MBH10304 ES" " 01" config auto "fe" ? # ether 0x32c # 00:c0:d0 # many minor revs.... # ether 0x328 # 00:c0:d0 ether 0x200 # 00:c0:d0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Fujitsu MBH10302 card "PCMCIA MBH10302" "01" config auto "fe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # RATOC REX-R280 card "RATOC System Inc." "10BASE_T CARD R280" config auto "fe" ? ether 0x1fc # 00:c0:d0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # TDK LAK-CD021, LAK-CD021A, LAK-CD021BX card "TDK" "LAC-CD02x" config auto "fe" ? # These cards have same ID strings, and different MAC address # locations. # ether 0x92 # 00:80:98 # LAC-CD021, LAC-021A # ether 0x96 # 00:80:98 # LAC-CD021BX insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## fdc ########## # Libretto Floppy disk card "Y-E DATA" "External FDD" config 0x4 "fdc" ? ########## gp ########## # XXX NOT SUPPORTED YET # National Instruments PCMCIA-GPIB Cards #card "National Instruments" "PCMCIA-GPIB" # config default "gp" pio ########## hss ########## # XXX NOT SUPPORTED YET # Hitachi microcomputer speech synthesizer card #card "/HITACHI MICROCOMPUTER SYSTEM LTD.*/" "MSSHVPC02" # config default "hss" pio ########## joy ########## # IO DATA PCJOY card "IO DATA" "PCJOY" config auto "joy" ? # config 0x1 "joy" pio # config 0x2 "joy" pio # Game Card B236 by BONDWELL card "BONDWELL" "B236" config auto "joy" ? ########## ncv ########## # New Media Corporation BASICS SCSI # (Do not put this entry under Bustoaster) card "BASICS by New Media Corporation" "SCSI Sym53C500" config auto "ncv" ? # Media Intelligent SCSI-2 PC Card MSC-200 card "EPSON" "SCSI-2 PC Card SC200" config auto "ncv" ? # KME (TAXAN ICD-400PN, etc.) card "KME" "KXLC002" config auto "ncv" ? 0xb4d00000 # KME KXLC004 card "KME" "KXLC004" config auto "ncv" ? 0xb4d00100 # IO DATA PCSC-DV # Macnica Miracle SCSI mPS100 card "MACNICA" "MIRACLE SCSI" "mPS100" "D.0" config auto "ncv" ? 0xb6250000 # Macnica Miracle SCSI-II mPS110 card "MACNICA" "MIRACLE SCSI-II mPS110" config auto "ncv" ? 0 # NEC PC-9801N-J03R card "NEC" "PC-9801N-J03R" config auto "ncv" ? 0 # Qlogic Fast SCSI card "QLOGIC CORPORATION" "pc05" config auto "ncv" ? 0x84d00000 # RATOC REX-9530 card "RATOC System Inc." "/SCSI2 CARD.*/" config auto "ncv" ? 0x84d00000 # RATOC REX-5572 (as SCSI only) card "RATOC System Inc." "/SOUND/SCSI2 CARD.*/" config auto "ncv" ? 0x84d00000 # cardio 0x640 0x10 iosize 16 ########## nsp ########## # WORKBIT Ninja SCSI series card "IO DATA" "/CBSC16 */" config auto "nsp" ? # Hewlett Packard M820e (CD-writer) card "/KME */" "SCSI-CARD-001" config auto "nsp" ? # WORKBIT Ninja SCSI series card "WBT" "NinjaSCSI-3" config auto "nsp" ? # WORKBIT Ninja SCSI series (PIO mode) # (If you want to use them in PIO mode comment out above and uncommnet below.) #card "WBT" "NinjaSCSI-3" # config auto "nsp" ? 0x100 ########## opl ########## # XXX NOT SUPPORTED YET # RATOC REX-5570 Sound Card #card "1195 RATOC System Inc." "REX5570 SOUND CARD" # config default "opl" ? ########## ray ########## # WebGEAR Aviator 2.4 card "WebGear" "PC Card WLAN Adapter" config auto "ray" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Raytheon Raylink 802.11 Wireless LAN card "RAYTHEON" "RayLink PC Card WLAN Adapter" config auto "ray" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## scc ########## # XXX NOT SUPPORTED YET # IBM Smart Capture Card #card "IBM Corp." "Video Capture" # config default "scc" pio # cardmem 0xd4000 0x0 0x8000 ########## sio ########## # 3Com/USR/MegaHertz 3CCM156 card "3COM" "3CCM156" config auto "sio" ? # 3com/USR/Megahertz 3CCM556 card "3Com" "3CXM/3CCM556" config auto "sio" ? # 3Com Etherlink III 3C562 and 3C563 (as Modem) card "3Com Corporation" "/3C56[23]/" config 0x09 "sio" ? # config auto "sio" ? # ADVANTECH COMpad-32/85 (dual port, but only one works) card "ADVANTECH" "COMpad-32/85" config auto "sio" ? 0x330 -# Apex Data 28.8 PC Card "MOBILE PLUS Cellular" modem. -card "AD PC_CARD" "RC288ACL" - config auto "sio" ? +# Apex Data 28.8 PC Card "MOBILE PLUS Cellular" modem. +card "AD PC_CARD" "RC288ACL" + config auto "sio" ? # AIWA PV-JF288 card "AIWA CO.,LTD." "/PV-JF288 */" config auto "sio" ? # AIWA PV-JF3356 card "AIWA CO.,LTD. MODEM" "PV-JF3356" config auto "sio" ? 0x40000 # APEX DATA MultiCard (as Modem only) card "APEX DATA" "MULTICARD" config 0xb "sio" ? # config auto "sio" ? # Eiger 33.6 modem card "AT&T" "V34+ Fax Modem" config auto "sio" ? # AT&T Paradyne KeepInTouch 14.4 modem card "AT&T Paradyne" "KeepInTouch Card" config auto "sio" ? reset 1000 # BUG Linkboy D64K (ISDN) card "BUG Inc." "Linkboy D64K" config auto "sio" ? # Portable Add Ons FreeSpirit 56K/ISDN Card card "Portable Add Ons" "FreeSpirit Global 56K" config auto "sio" ? # NewMedia 14.4K FAX/Data Modem card "CIRRUS LOGIC" "FAX MODEM" config auto "sio" ? # COM1 SA card "COM1 SA" "/MC2(18|20) CARD/" config auto "sio" ? # Digiteam Expresso 14.4 Modem card "Digiteam GmbH" "Expresso Modem" config auto "sio" ? # Eicon DIVA T/A # at@menu Config menu # at>vc View current profile # at>vd View troubleshooting information card "Eicon Technology" "DIVA T/A" config auto "sio" ? # Ericsson DC23 GSM modem card card "ERICSSON" "Modem, DC23" config auto "sio" ? # GATEWAY 2000 FAX/Data Modem (14.4K) card "GATEWAY2000" "CC3144" config auto "sio" ? # This one does work though card "HAYES" "OPT288" config auto "sio" ? # Hayes OPTIMA 288 FAX/Data Modem # currently does not work on my machine card "Hayes" "OPTIMA 288 + FAX fo" config auto "sio" ? reset 10000 # IBM Push/Pop Modem (14.4K) card "IBM" "Push/Pop Modem(14.4K)" config auto "sio" ? # IBM 56k PCCCARD modem card "IBM" "56K PC Card Modem" config auto "sio" ? # Intel EtherExpress(TM) PRO/100 LAN/Modem PC Card Adapter (as modem) card "Intel" "EtherExpress(TM) PRO/100 LAN/Modem PC Card Adapter" config 0x1f "sio" ? # config auto "sio" ? # US Robotics Worldport 14400 card "Intel" "MODEM 2400+" config auto "sio" ? # Intelligent SurfCard card "Intelligent" "PCMCIA FAX+MODEM" config auto "sio" ? reset 1000 # Megahertz XJEM3288 (as modem) card "MEGAHERTZ" "CC/XJEM3288" config auto "sio" ? # Megahertz XJEM1336 (as modem) card "MEGAHERTZ" "CC/XJEM3336" config auto "sio" ? # Megahertz XJ1144, XJ2144 (US and JP), XJ2288, XJ3288 card "MEGAHERTZ" "/XJ[0-9]+/" config auto "sio" ? # Megahertz XJ-CC4288 card "Megahertz" "XJ-CC4288" config auto "sio" ? # Megahertz XJ4336 card "Megahertz" "XJ4336-CC4336" config auto "sio" ? # XXX generic serial? # Megahertz X-Jack Ethernet/Modem 14.4K (as Modem only) card "Megahertz" "XJEM1144/CCEM1144" config 0x27 "sio" ? # config auto "sio" ? -# Motorola Montana +# Motorola Montana card "Motorola" "MONTANA 33.6 FAX/MODEM" config auto "sio" ? # XXX generic serial? # Motorola Marine multifunction card (as modem) card "Motorola, Inc." "MARINER MODEM/FAX/LAN" config 0x35 "sio" ? # config auto "sio" ? # NTT ThunderCard Modem card "NTT-IT CO., LTD" "ThunderCard AVF288, V.34" config auto "sio" ? # NTT DoCoMo Mobile D Card 96P1 card "NTT DoCoMo" "Mobile D Card 96P1" config auto "sio" ? 0x82 # NTT DoCoMo (formerly NTT Personal) Paldio 611S card "NTT DoCoMo" "PALDIO 611S PC CARD" config auto "sio" ? 0x40000 # NTT DoCoMo DATA/FAX Adapter card "NTT DoCoMo" "PCMCIA DATA/FAX ADAPTER 9600 Mark2" config auto "sio" ? # NTT DoCoMo DATA/FAX Adapter card "NTT DoCoMo" "/PCMCIA DATA/FAX.*/" config auto "sio" ? 0x82 # NTT-IT ThunderCard card "NTT Intelligent Technology Co., Ltd." "ThunderCard DD128" config auto "sio" ? 0x80 reset 1000 # NTT DoCoMo (formerly NTT Personal) FAX/Data 32K PHS Card Paldio 321S card "NTT Personal" "32K Paldio 321S PC CARD" config auto "sio" ? # config auto "sio" ? 0x40000 # NTT DoCoMo (formerly NTT Personal) FAX/Data 32K PHS Card Paldio 341S card "NTT Personal" "32K Paldio 341S PC CARD" config auto "sio" ? # NTT Personal Paldio Data Card DC-1S card "NTT Personal" "/Paldio Data.*/" "DC-1S" config auto "sio" ? 0x40000 # Nokia Cellular Data Card DTP-2 and DTP-2 ver II # This Nokia example allows either 1 or 2 Nokia cards to be fitted. # With 2 Mobile Phones and Multilink PPP you can get a 19200 data channel. # Nokia Cellular Data Card card "Nokia Mobile Phones" "/DTP-2( ver II)?/" # config 0x23 "sio" ? # config 0x24 "sio" ? config auto "sio" ? # Novalink NovaModem 144 card "NovaLink Tech." "/NovaModem 144 */" config auto "sio" ? # Novatel Merlin CDPD card (wireless modem) card "Novatel Wireless" "Merlin Type II Wireless IP Modem" config auto "sio" ? # Omron ME2814 FAX/DATA MODEM card "OMRON" "ME2814 FAX/DATA MOD" config auto "sio" ? # Omron MD24XCA FAX/Data Modem card "OMRON Corp." "MD24XCA" config auto "sio" ? # config auto "sio" pio reset 10000 # Option International PCMCIA55K06 card "Option International" "GSM Data/Fax/SMS Modem" config auto "sio" ? # Banksia CardModem 56 card "PCCardModem" "CardModem 56" config auto "sio" ? -# Eiger PCCARD modem +# Eiger PCCARD modem # Apparently this modem does not work unless the recommended # init string (AT&F&C1&D2) is supplied. card "/PCMCIA */" "/33\.6K Fax/Modem */" config auto "sio" ? # Actiontec Datalink with v.90 upgrade card "/PCMCIA */" "/56K V\.90 Fax Modem (LK) */" config auto "sio" ? # Billionton 56Kbps Fax Modem card "PCMCIA CARD 56KFaxModem" "FM56C-NFS" config auto "sio" ? # PREMAX FM288 FAX/Data Modem card "PREMAX" "/FM288 */" config auto "sio" ? # Panasonic FM-RADIO card card "Panasonic" "CF-JVR101" config auto "sio" ? # config auto "sio" pio # Panasonic KX-PH402D card "Panasonic" "KX-PH402D" config auto "sio" ? # Panasonic Modem Card TO-706C card "Panasonic" "TO-706C" config auto "sio" ? # Panasonic Modem Card TO-706C card "Panasonic" "TO-CAF288" config auto "sio" ? # Panasonic TO-CAF56K FAX/Data Modem card "Panasonic Co." "TO-CAF56K" # config auto "sio" pio config auto "sio" ? reset 10000 # Random modem bundled with Dell systems card "Psion Dacom" "Gold Card Global 56K+Fax" config auto "sio" ? # RFI HotLine serial card card "RFI" "RS-232 ComCard Rev.II" config auto "sio" ? # SII MC-6530, MC-6550 and MC-P200 card "SII" "/PHS (DATA|LINK) (32S|64)/" config auto "sio" ? 0x40000 # TDK 14.4 FAX/Data Modem card "TDK" "/DF1414(EX)? DATA/FAX MODEM/" config auto "sio" ? # TDK DN1280R card "TDK" "DN1280R" config auto "sio" ? reset 1000 # TDK DP9600 card "TDK" "DP9600" config auto "sio" ? 0x40000 # TDK Multifunctioon Card (as Modem) card "TDK" "GlobalNetworker 3410/3412" config auto "sio" ? 0x40000 # Toshiba Modem/LAN card IPC5001B (as Modem) card "TOSHIBA" "Modem/LAN Card" config 0x25 "sio" ? # config auto "sio" ? # 3Com/USR/Toshiba SLIMV90 card "TOSHIBA" "SLIMV90" config auto "sio" ? # 3Com/NoteWorthy 56K modem (bundled with Toshiba notebooks) card "Toshiba America" "3CXM056-BNW" config auto "sio" ? # U.S. Robotics XJ1560 and XJ1560J, Megahertz XJ1336 card "U.S. Robotics" "/XJ/CC1(336|560)J?/" config auto "sio" ? # US Robotics Sportster PCMCIA V.34 # US Robotics COURIER PCMCIA V.34 card "USRobotics" "PCMCIA 28800 Data/F" config auto "sio" ? # Viking V.90/K56Flex modem card "Viking" "V.90 K56flex" config auto "sio" ? # Xircom CreditCard Ethernet 10/100 + modem (modem part) card "Xircom" "CreditCard Ethernet+Modem 33.6" config 0x23 "sio" ? # config auto "sio" ? # Xircom GlobalACCESS modem card "Xircom" "CreditCard Modem 56 - GlobalACCESS" config auto "sio" ? # Xircom CreditCard Modem card "Xircom" "CreditCard Modem CM-56T" config auto "sio" ? reset 100 # Zonet 56Kbps FAX/Modem PC Card card "PC CARD" "56Kbps Fax Modem PC Card" config auto "sio" ? -# Zoom 56K modem +# Zoom 56K modem # Freezes your system entirely if you don't have the reset.. card "Zoom Telephonics, Inc." "PCMCIA 56K LT DataFax" config auto "sio" ? reset 1000 ########## sn ########## # Megahertz X-Jack Ethernet card "Megahertz" "CC10BT/2" config auto "sn" ? ether attr2 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Megahertz Ethernet Adapter card "Megahertz" "ETHERNET ADAPTOR" config auto "sn" ? ether attr2 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # MELCO LPC-TX card "MELCO/SMC" "LPC-TX" config auto "sn" ? ether 0x4a # 00:a0:dc insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # SMC EtherEZ Combo(SMC8020BT) card "SMC" "EtherEZ Ethernet 8020" config auto "sn" ? # ether 0x9a # 00:00:c0 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Victor M-MOIL CARD card "JVC" "MiniMoil Ethernet Card" config auto "sn" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## spc ########## # XXX NOT SUPPORTED YET # REX5535AC, REX5535X SCSI #card "PCMCIA SCSI MBH10401" "01" # config 0x3a "spc" ? ########## stg ########## # RATOC REX-5536, Melco IFC-SC card "1195 RATOC System Inc." "REX5536 SCSI2 CARD" config auto "stg" ? 0 # Future Domain SCSI2GO card "Future Domain Corporation" "SCSI PCMCIA Credit Card Controller" config auto "stg" ? # IBM SCSI PCMCIA Card card "IBM Corp." "SCSI PCMCIA Card" config auto "stg" ? # RATOC REX-5536AM, REX-9836A, ICM PSC-2401 SCSI # There's a buggy revision of this card which has broken CIS tupples. -# If you can't use this card, change config entry from `auto' to +# If you can't use this card, change config entry from `auto' to # `default' and try the point enabler. (for example, # type "pccardc enabler 0 stg0 -a 0x4140 -i 5" from root command prompt) card "PCMCIA SCSI MBH10404" "01" # config default "stg" ? config auto "stg" ? logstr "RATOC REX-5536AM SCSI" # RATOC REX-5536M card "PCMCIA SCSI2 CARD" "01" config auto "stg" ? 0 logstr "RATOC REX-5536M SCSI" ########## wlp ########## # XXX NOT SUPPORTED YET # AT&T GIS Wavelan PCMCIA # If you want to use Japanese version, uncomment the second config # line and comment-out the first line. #card "AT&T" "WaveLAN/PCMCIA" # config default "wlp" ? # US version (915MHz) ## config default "wlp" ? 0x01 # Japanese version (2.4GHz) ## ether wavelan # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop # XXX NOT SUPPORTED YET # Digital RoamAbout #card "Digital" "RoamAbout/DS" # config auto "wlp" ? ## ether wavelan # insert /usr/sbin/wlpconfig -i wlp0 -w 0xaaaa # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop # XXX NOT SUPPORTED YET # Lucent Wavelan #card "Lucent Technologies" "WaveLAN/PCMCIA" # config default "wlp" ? # ether wavelan # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop # XXX NOT SUPPORTED YET # NCR Wavelan PCMCIA # If you want to use Japanese version, uncomment the second config # line and comment-out the first line. #card "NCR" "WaveLAN/PCMCIA" # config default "wlp" ? # US version (915MHz) ## config default "wlp" ? 0x01 # Japanese version (2.4GHz) # ether wavelan # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop ########## wi ########## # OEM ID 0x5 unlabelled PRISM2.5 card card " " "IEEE 802.11 Wireless LAN/PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # 3com 3crwe737A AirConnect Wireless LAN PC Card card "3Com" "3CRWE737A AirConnect Wireless LAN PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Accton airDirect WN3301 card "Accton" "IEEE802.11 PC Card Adapter" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Actiontec PRISM wireless card "ACTIONTEC" "PRISM Wireless LAN PC Card" - config auto "wi" ? + config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Addtron AWP-100 card "Addtron" "AWP-100 Wireless PCMCIA" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ADLINK340APC card "ADTEC" "ADLINK/340C" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Home Wireless Networks card "AirWay" "802.11 Adapter (PCMCIA)" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Allied Telesis WR211PCM card "Allied Telesis K.K." "WR211PCM" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Avaya Wireless PC Card card "Avaya Communication" "Avaya Wireless PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Belkin wireless card card "Belkin" "11Mbps Wireless Notebook Network Adapter" - config auto "wi" ? + config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Benq AWL100 wireless 11 Mbps pcmcia card card "BENQ" "AWL100 PCMCIA ADAPTER" - config auto "wi" ? + config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # BreezeNET card "BreezeNET" "PC-DS.11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Buffalo WLI-CF-S11G card "BUFFALO" "WLI-CF-S11G" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Melco Airconnect 3.3V version card "BUFFALO" "WLI-PCM-S11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Melco Airconnect (128bit WEP) card "BUFFALO" "WLI-PCM-L11G" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Cabletron RoamAbout, WaveLAN/IEEE clone card "Cabletron" "RoamAbout 802.11 DS" config 0x1 "wi" ? # config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Compaq WL100 card "Compaq" "WL100_11Mbps_Wireless_PC_Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Compaq WL110 card "Compaq" "Compaq WL110 PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Compaq WL200 card "Compaq" "WL200_11Mbps_Wireless_PCI_Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Compaq WL200 (might be wrong) card "Compaq" "Compaq WL200_11Mbps_Wireless_PCI_Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Corega KK Wireless LAN PCC-11 card "corega K.K." "Wireless LAN PCC-11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Corega KK Wireless LAN PCCA-11 card "corega K.K." "Wireless LAN PCCA-11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Corega KK Wireless LAN PCCB-11 card "corega_K.K." "Wireless_LAN_PCCB-11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Corega KK Wireless LAN PCCL-11 card "corega" "WL PCCL-11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # D Link DWL-650 11Mbps WLAN Card card "D" "Link DWL-650 11Mbps WLAN Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # DLink Air DWL-660 Wireless PC Card card "D-Link" "D-Link Air DWL-660 Wireless PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Dell TrueMobile (OEMed Lucent WaveLAN/IEEE) card "Dell" "TrueMobile 1150 Series PC Card" config 0x1 "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELECOM Air@Hawk/LD-WL11/PCC (0.7.5) card "ELECOM" "Air@Hark/LD-WL11/PCC" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELECOM Air@Hawk/LD-WL11/PCC (0.7.6 and later) card "ELECOM" "Air@Hawk/LD-WL11/PCC" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELSA Air Lancer card "ELSA" "AirLancer MC-11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ELSA Vianect card "ELSA" "Vianect WLAN MC-11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # PLANEX GeoWave/GW-NS11S card "Geowave" "GW-NS11S" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Linksys Instant Wireless WPC11 card "/Instant Wireless */" " Network PC CARD" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Intel PRO/Wireless 2011 LAN PC Card card "Intel" "PRO/Wireless 2011 LAN PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ICOM SL-1100 card "ICOM" "SL-1100" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Farallon Skyline 11Mbps Wireless card "INTERSIL" "HFA384x/IEEE" config 0x1 "wi" ? # config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # IO Data WN-B11/PCM card "IO DATA" "WNB11PCM" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # IBM's rebadged Lucent WaveLAN/IEEE. The FCC IDs are identical to # those for the Lucent card, so presumably everything else is as well. card "IBM Corporation" "IBM High Rate Wireless LAN PC Card" config 0x1 "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Lucent WaveLAN/IEEE card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi" ? # config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Melco Airconnect card "MELCO" "WLI-PCM-L11" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # nanospeed card of some flavor. card "NANOSPEED" "HFA384x/IEEE" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NCR WaveLAN/IEEE card "NCR" "WaveLAN/IEEE" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NEC Wireless Card CMZ-RT-WP card "NEC" "Wireless Card CMZ-RT-WP" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NEC WL11C (PC-WL/11C) card "NEC Aterm" "WL11C (PC-WL/11C)" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NEC Corporation PK-WL001 card "NEC Corporation" "Wireless PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Netgear MA401 card "NETGEAR MA401 Wireless PC" "Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Netgear MA401RA card "NETGEAR MA401RA Wireless PC" "Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Netgear MA701 card "NETGEAR" "MA701 Wireless CF Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Nortel eMobility card "Nortel Networks" "emobility 802.11 Wireless LAN PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # NTT-ME SS-LAN CARD MN128 card "NTT-ME" "11Mbps Wireless LAN PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Generic PRISM2.5 card card "PCMCIA" "11M WLAN Card v2.5" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # PLANEX GeoWave/GW-NS110 card "PLANEX" "GeoWave/GW-NS110" config 0x1 "wi" ? # config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # PLANEX GW-NS11H card "PLANEX" "GW-NS11H Wireless LAN PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Proxim Harmony card "PROXIM" "Harmony 802.11b/LAN PC CARD" config 0x1 "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Proxim Harmony OEM card card "PROXIM" "LAN PC CARD HARMONY 80211B" config 0x1 "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Proxim RangeLAN-DS (OEM of Zcommax - Prism2 card) card "PROXIM" "RangeLAN-DS/LAN PC CARD" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # SAMSUNG SWL-2000P PCI Card card "SAMSUNG" "11Mbps WLAN PCI Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # SMC's SMC2632W (also matches the 3.3V SMC2602W) card "SMC" "SMC2632W" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Sony PCWA-C100 WaveLAN card "Sony Corporation" "PCWA-C100" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # German Telekom T-Sinus 130card, unknown original manufactor card "T-Sinus" "130card" config auto "wi" ? insert /etc/pccard_ether $device start - remove /etc/pccard_ether $device stop + remove /etc/pccard_ether $device stop # TDK LAK-CD011WL card "TDK" "LAK-CD011WL for Wireless LAN" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Linksys Instant Wireless WPC11 v2.5 card "The Linksys Group, Inc." "Instant Wireless Network PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Toshibas wireless lan card card "TOSHIBA" "Wireless LAN Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # U.S. Robotics Wireless Card 2410 card "U.S. Robotics" "IEEE 802.11b PC-CARD" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Taiwanese Blue Concentric Circle CF Wireless LAN Model WL-379F # This is a card sold in Taiwan. card "Wireless LAN" "11Mbps PC Card" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # YIS YWL-11B card "YIS Corp." "YWL-11b" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ZoomAir 802.11 card "ZoomAir 11Mbps High" "Rate wireless Networking" config auto "wi" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop ########## xe ########## # Accton EN2226/Fast EtherCard (16-bit verison) card "Accton" "Fast EtherCard-16" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Compaq Netelligent 10/100 PC Card card "Compaq" "Netelligent 10/100 PC Card" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Intel EtherExpress PRO/100 Mobile Adapter (16-bit verison) card "Intel" "EtherExpress(TM) PRO/100 PC Card Mobile Adapter16" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # XXX NOT SURE SUPPORTED # Toshiba 10/100 Ethernet PC Card IPC5008A #card "Toshiba" "10/100 Ethernet PC Card" # config auto "xe" ? ## cardio 0x300 0x10 # iosize 16 # insert /etc/pccard_ether $device start # remove /etc/pccard_ether $device stop # Xircom Realport 10/100 Ethernet + modem (Ethernet part) (XEM5600) card "Xircom" "10/100 Network + 56K Modem PC Card" config 0x27 "xe" ? # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom 10/100 Network PC Card card "Xircom" "10/100 Network PC Card" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom Realport 10/100 Ethernet + modem (Ethernet part) (REM56) card "Xircom" "16-bit Ethernet + Modem 56" config 0x27 "xe" ? # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom CreditCard Ethernet CE3-10/100 card "Xircom" "CreditCard 10/100" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom CreditCard Ethernet Adaptor IIps (PS-CE2-10) card "Xircom" "CreditCard 10Base-T" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom CreditCard Ethernet + modem (Ethernet part) (CEM28) card "Xircom" "CreditCard Ethernet+Modem 28.8" config auto "xe" ? # config auto "sio" ? # ether 0x98 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom CreditCard Ethernet + modem (Ethernet part) (CEM33) card "Xircom" "CreditCard Ethernet+Modem 33.6" config auto "xe" ? # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom CreditCard Ethernet 10/100 + modem (Ethernet part) (CEM56) card "Xircom" "CreditCard Ethernet 10/100 + Modem 56" config 0x27 "xe" ? # config auto "sio" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # Xircom RE-10 card "Xircom" "Ethernet Adapter" config auto "xe" ? insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop # ------------------------------------------------------------------- -# +# # "Wildcard" entries -# +# # ------------------------------------------------------------------- # GENERIC PCMCIA modem generic serial config auto "sio" ? # reset 100 # default # reset 1000 # safety reset time reset 10000 # for unstable cards logstr "GENERIC PCMCIA modem" # GENERIC Flash ATA / ATA HDD generic fixed_disk config 0x1 "ata" ? logstr "GENERIC Flash ATA / ATA HDD" Index: head/etc/devd.conf =================================================================== --- head/etc/devd.conf (revision 130150) +++ head/etc/devd.conf (revision 130151) @@ -1,139 +1,139 @@ # $FreeBSD$ # # Refer to devd.conf(5) and devd(8) man pages for the details on how to # run and configure devd. # # NB: All regular expressions have an implicit ^$ around them. # NB: device-name is shorthand for 'match device-name' options { # Each directory directive adds a directory the list of directories # that we scan for files. Files are read-in in the order that they # are returned from readdir(3). The rule-sets are combined to # create a DFA that's used to match events to actions. directory "/etc/devd"; directory "/usr/local/etc/devd"; pid-file "/var/run/devd.pid"; # Setup some shorthand for regex that we use later in the file. - set ethernet-nic-regex + set ethernet-nic-regex "(an|ar|ath|aue|awi|bfe|bge|cm|cnw|cs|cue|dc|de|ed|el|em|ep|\ ex|fe|fxp|gem|gx|hme|ie|kue|lge|lnc|my|nge|pcn|ray|re|rl|rue|\ sf|sis|sk|sn|snc|ste|ti|tl|tx|txp|vr|vx|wb|wi|xe|xl)[0-9]+"; set scsi-controller-regex "(adv|advw|aic|aha|ahb|ahc|ahd|bt|ct|iir|isp|mly|mpt|ncv|nsp|\ stg|sym|wds)[0-9]+"; }; # Note that the attach/detach with the highest value wins, so that one can # override these general rules. # # For ethernet like devices, the default is to run dhclient. Due to # a historical accident, this script is called pccard_ether. # attach 0 { device-name "$ethernet-nic-regex"; action "/etc/pccard_ether $device-name start"; }; detach 0 { device-name "$ethernet-nic-regex"; action "/etc/pccard_ether $device-name stop"; }; # An entry like this might be in a different file, but is included here # as an example of how to override things. Normally 'ed50' would match # the above attach/detach stuff, but the value of 100 makes it # ed50 is hard wired to 1.2.3.4 attach 100 { device-name "ed50"; action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000"; }; detach 100 { device-name "ed50"; }; # # Rescan scsi device-names on attach, but not detach. # attach 0 { device-name "$scsi-controller-regex"; action "camcontrol rescan all"; }; # Don't even try to second guess what to do about drivers that don't # match here. Instead, pass it off to syslog. Commented out for the # moment, as pnpinfo isn't set in devd yet nomatch 0 { # action "logger Unknown device: $pnpinfo $location $bus"; }; # Switch power profiles when the AC line state changes notify 10 { match "system" "ACPI"; match "subsystem" "ACAD"; action "/etc/rc.d/power_profile $notify"; }; # Notify all users before beginning emergency shutdown when we get # a _CRT or _HOT thermal event and we're going to power down the system # very soon. notify 10 { match "system" "ACPI"; match "subsystem" "Thermal"; match "notify" "0xcc"; action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'"; }; /* EXAMPLES TO END OF FILE # The following might be an example of something that a vendor might # install if you were to add their device. This might reside in # /usr/local/etc/devd/deqna.conf. A deqna is, in this hypothetical # example, a pccard ethernet-like device. Students of history may # know other devices by this name, and will get the in-jokes in this # entry. nomatch 10 { match "bus" "pccard[0-9]+"; match "manufacturer" "0x1234"; match "product" "0x2323"; action "kldload if_deqna"; }; attach 10 { device-name "deqna[0-9]+"; action "/etc/pccard_ether $device-name start"; }; detach 10 { device-name "deqna[0-9]+"; action "/etc/pccard_ether $device-name stop"; }; # Examples of notify hooks. A notify is a generic way for a kernel # subsystem to send event notification to userland. # # Here are some examples of ACPI notify handlers. ACPI subsystems that # generate notifies include the AC adapter, power/sleep buttons, # control method batteries, lid switch, and thermal zones. # # Information returned is not always the same as the ACPI notify # events. See the ACPI specification for more information about # notifies. Here is the information returned for each subsystem: # # ACAD: AC line state (0 is offline, 1 is online) # Button: Button pressed (0 for power, 1 for sleep) # CMBAT: ACPI battery events # Lid: Lid state (0 is closed, 1 is open) # Thermal: ACPI thermal zone events # # This example calls a script when the AC state changes, passing the # notify value as the first argument. If the state is 0x00, it might # call some sysctls to implement economy mode. If 0x01, it might set # the mode to performance. notify 10 { match "system" "ACPI"; match "subsystem" "ACAD"; action "/etc/acpi_ac $notify"; }; */ Index: head/etc/devfs.conf =================================================================== --- head/etc/devfs.conf (revision 130150) +++ head/etc/devfs.conf (revision 130151) @@ -1,47 +1,45 @@ - # Copyright (c) 2003 The FreeBSD Project # All rights reserved. -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# +# # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. -# +# # $FreeBSD$ # These are examples of how to configure devices using /etc/rc.d/devfs. # The first parameter is always the action to take, the second is always the # existing device created by devfs, and the last is what you want to change. # The name of the action is only significant to the first unique character. # # Examples: # Historically X depended on this, but version 4.3.0 doesn't seem to anymore #link ttyv0 vga # Commonly used by many ports #link acd0 cdrom # Allow a user in the wheel group to query the smb0 device #perm smb0 0660 # Allow members of group operator to cat things to the speaker #own speaker root:operator #perm speaker 0660 - Index: head/etc/disktab =================================================================== --- head/etc/disktab (revision 130150) +++ head/etc/disktab (revision 130151) @@ -1,224 +1,224 @@ # $FreeBSD$ # -# Disk geometry and partition layout tables. +# Disk geometry and partition layout tables. # Key: # dt controller type # ty type of disk (fixed, removeable, simulated) # d[0-4] drive-type-dependent parameters # ns #sectors/track # nt #tracks/cylinder # nc #cylinders/disk # sc #sectors/cylinder, ns*nt default # su #sectors/unit, sc*nc default # se sector size, DEV_BSIZE default # rm rpm, 3600 default # sf supports bad144-style bad sector forwarding # sk sector skew per track, default 0 # cs sector skew per cylinder, default 0 # hs headswitch time, default 0 # ts one-cylinder seek time, default 0 # il sector interleave (n:1), 1 default # bs boot block size, default BBSIZE # sb superblock size, default SBSIZE # o[a-h] partition offsets in sectors # p[a-h] partition sizes in sectors # b[a-h] partition block sizes in bytes # f[a-h] partition fragment sizes in bytes # t[a-h] partition types (filesystem, swap, etc) # # All partition sizes reserve space for bad sector tables. # (5 cylinders needed for maintenance + replacement sectors) # # # Floppy formats: # # To make a filesystem on a floppy: # fdformat [-f ] fd[.] # disklabel -B -r -w fd[.] fd # newfs fd[.] # # with : # -t 2 - two heads # -u 9|15|18 - sectors per track # (using the default value of 1/4096 is not much useful for floppies) # -l 1 - interleave 1 (for most floppies) # -i 65536 - bytes of data per i-node # (the default -i value will render you with a floppy wasting way # too much space in i-node areas) # fd360:\ :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\ :pa#720:oa#0:ba#4096:fa#512:\ :pc#720:oc#0:bc#4096:fc#512: fd720:\ :ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\ :pa#1440:oa#0:ba#4096:fa#512:\ :pc#1440:oc#0:bc#4096:fc#512: fd1200|floppy5|5in|5.25in High Density Floppy:\ :ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\ :pa#2400:oa#0:ba#4096:fa#512:\ :pc#2400:oc#0:bc#4096:fc#512: fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\ :ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\ :pa#2880:oa#0:ba#4096:fa#512:\ :pc#2880:oc#0:bc#4096:fc#512: # # Stressed floppy-formats. No guarantees given. # fd800:\ :ty=floppy:se#512:nt#2:rm#300:ns#10:nc#80:\ :pa#1600:oa#0:ba#4096:fa#512:\ :pc#1600:oc#0:bc#4096:fc#512: fd820:\ :ty=floppy:se#512:nt#2:rm#300:ns#10:nc#82:\ :pa#1640:oa#0:ba#4096:fa#512:\ :pc#1640:oc#0:bc#4096:fc#512: fd1480:\ :ty=floppy:se#512:nt#2:rm#300:ns#18:nc#82:\ :pa#2952:oa#0:ba#4096:fa#512:\ :pc#2952:oc#0:bc#4096:fc#512: fd1720:\ :ty=floppy:se#512:nt#2:rm#300:ns#21:nc#82:\ :pa#3444:oa#0:ba#4096:fa#512:\ :pc#3444:oc#0:bc#4096:fc#512: # # LS-120 floppy-format. # fd120m|floppy120|floppy120m|3.5in LS-120 Floppy:\ :ty=floppy:se#512:nt#8:rm#300:ns#32:nc#963:\ :pa#246528:oa#0:ba#4096:fa#512:\ :pc#246528:oc#0:bc#4096:fc#512: # # Harddisk formats # qp120at|Quantum Peripherals 120MB IDE:\ :dt=ESDI:ty=winchester:se#512:nt#9:ns#32:nc#813:sf: \ :pa#13824:oa#0:ta=4.2BSD:ba#4096:fa#512: \ :pb#13824:ob#13824:tb=swap: \ :pc#234144:oc#0: \ :ph#206496:oh#27648:th=4.2BSD:bh#4096:fh#512: pan60|Panasonic Laptop's 60MB IDE:\ :dt=ST506:ty=winchester:se#512:nt#13:ns#17:nc#565:\ :pa#13260:oa#0:ta=4.2BSD:ba#4096:fa#512:\ :pb#13260:ob#13260:tb=swap: \ :pc#124865:oc#0: \ :ph#97682:oh#26520:th=4.2BSD:bh#4096:fh#512: mk156|toshiba156|Toshiba MK156 156Mb:\ :dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\ :pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\ :pb#15748:ob#15748:tb=swap:\ :pc#288750:oc#0:\ - :ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD: + :ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD: cp3100|Connor Peripherals 100MB IDE:\ :dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \ :pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \ :pb#12144:ob#12144:tb=swap: \ :pc#202224:oc#0: \ :ph#177936:oh#24288:th=4.2BSD:bh#4096:fh#512: # a == root # b == swap # c == d == whole disk # e == /var # f == scratch # h == /usr cp3100new|Connor Peripherals 100MB IDE, with a different configuration:\ :dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \ :pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \ :pb#24288:ob#15840:tb=swap: \ :pc#202224:oc#0: \ :pd#202224:od#0: \ :pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \ :pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \ :ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512: maxtor4380|Maxtor XT4380E ESDI :\ :dt=ESDI:ty=winchester:se#512:nt#15:ns#36:nc#1222:sf: \ :pa#21600:oa#0:ta=4.2BSD:ba#4096:fa#512:\ :pb#21600:ob#21600:tb=swap: \ :pc#659880:oc#0: \ :pd#216000:od#53200:td=4.2BSD:bd#4096:fd#512: \ :ph#398520:oh#269200:th=4.2BSD:bh#4096:fh#512: miniscribe9380|compaq38|Miniscribe 9380 ESDI :\ :ty=winchester:dt=ESDI:se#512:nt#15:ns#35:nc#1223:rm#3600:sf: \ :pa#21000:oa#0:ba#8192:fa#1024:ta=4.2BSD: \ :pb#42000:ob#21000:tb=swap: \ :pc#642075:oc#0: \ :pd#21000:od#63000:bd#8192:fd#1024:td=4.2BSD: \ :ph#556500:oh#84000:bh#8192:fh#1024:th=4.2BSD: ida4|compaq88|Compaq IDA (4 drives) :\ :ty=winchester:dt=IDA:se#512:nt#16:ns#63:nc#1644:rm#3600:\ :pa#20160:oa#0:ba#8192:fa#1024:ta=4.2BSD: \ :pb#80640:ob#20160:tb=swap: \ :pc#1659168:oc#0: \ :pd#201600:od#100800:bd#8192:fd#1024:td=4.2BSD: \ :pe#20160:oe#1310400:be#8192:fe#1024:te=4.2BSD: \ :ph#1008000:oh#302400:bh#8192:fh#1024:th=4.2BSD: \ :pg#302400:og#1330560:bg#4096:fg#512:tg=4.2BSD: fuji513|Fujitsu M22XXXX: \ :ty=winchester:dt=ESDI:se#512:nt#16:ns#63:nc#954:rm#3600:\ :pa#20160:oa#82656:ba#4096:fa#512:ta=4.2BSD: \ :pb#40320:ob#102816:tb=swap: \ :pc#961632:oc#0: \ :ph#656208:oh#143136:bh#4096:fh#512:th=4.2BSD: sony650|Sony 650 MB MOD|\ :ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\ :pc#576600:oc#0:\ :pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024: mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\ :ty=removeable:dt=SCSI:rm#3600:\ :se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\ :pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\ :pc#444384:oc#0: minimum:ty=mfs:se#512:nt#1:rm#300:\ :ns#2880:nc#1:\ :pa#2880:oa#0:ba#4096:fa#512:\ :pc#2880:oc#0:bc#4096:fc#512: minimum2:ty=mfs:se#512:nt#1:rm#300:\ :ns#5760:nc#1:\ :pa#5760:oa#0:ba#4096:fa#512:\ :pc#5760:oc#0:bc#4096:fc#512: minimum3:ty=mfs:se#512:nt#1:rm#300:\ :ns#8640:nc#1:\ :pa#8640:oa#0:ba#4096:fa#512:\ :pc#8640:oc#0:bc#4096:fc#512: zip100|zip 100:\ :ty=removable:se#512:nc#96:nt#64:ns#32:\ :pa#196608:oa#0:ba#4096:fa#512:\ :pc#196608:oc#0:bc#4096:fc#512: zip250|zip 250:\ :ty=removable:se#512:nc#239:nt#64:ns#32:\ :pa#489472:oa#0:ba#4096:fa#512:\ :pc#489472:oc#0:bc#4096:fc#512: orb2200|orb22|orb:\ :ty=removable:ns#63:nt#128:nc#4273:sc#1008:su#4307184:se#512:\ :pa#4307184:oa#0:ba#8192:fa#1024:\ :pc#4307184:oc#0:bc#8192:fc#1024: Index: head/etc/gettytab =================================================================== --- head/etc/gettytab (revision 130150) +++ head/etc/gettytab (revision 130151) @@ -1,221 +1,221 @@ # $FreeBSD$ # from: @(#)gettytab 5.14 (Berkeley) 3/27/91 # # Most of the table entries here are just copies of the old getty table, # it is by no means certain, or even likely, that any of them are optimal # for any purpose whatever. Nor is it likely that more than a couple are # even correct. # # The default gettytab entry, used to set defaults for all other # entries, and in cases where getty is called with no table name. # # cb, ce and ck are desirable on most crt's. The non-crt entries need to # be changed to turn them off (:cb@:ce@:ck@:). # # lc should always be on; it's a remainder of some stone age when there # have been terminals around not being able of handling lower-case # characters. Those terminals aren't supported any longer, but getty is # `smart' about them by default. # # Parity defaults to even, but the Pc entry and all the `std' entries # specify no parity. The different parities are: # (none): same as ep for getty. login will use terminal as is. # ep: getty will use raw mode (cs8 -parenb) (unless rw is set) and # fake parity. login will use even parity (cs7 parenb -parodd). # op: same as ep except odd parity (cs7 parenb parodd) for login. # getty will fake odd parity as well. # ap: same as ep except -inpck instead of inpck for login. # ap overrides op and ep. # np: 1. don't fake parity in getty. The fake parity garbles # characters on non-terminals (like pccons) that don't # support parity. It would probably better for getty not to # try to fake parity. It could just use cbreak mode so as # not to force cs8 and let the hardware handle the parity. # login has to be rely on the hardware anyway. # 2. set cs8 -parenb -istrip -inpck. # ep:op: same as ap. # default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: # # Fixed speed entries # # The "std.NNN" names are known to the special case # portselector code in getty, however they can # be assigned to any table desired. # The "NNN-baud" names are known to the special case # autobaud code in getty, and likewise can # be assigned to any table desired (hopefully the same speed). # a|std.110|110-baud:\ :np:nd#1:cd#1:uc:sp#110: b|std.134|134.5-baud:\ :np:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: 1|std.150|150-baud:\ :np:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : c|std.300|300-baud:\ :np:nd#1:cd#1:sp#300: d|std.600|600-baud:\ :np:nd#1:cd#1:sp#600: f|std.1200|1200-baud:\ :np:fd#1:sp#1200: 6|std.2400|2400-baud:\ :np:sp#2400: 7|std.4800|4800-baud:\ :np:sp#4800: 2|std.9600|9600-baud:\ :np:sp#9600: g|std.19200|19200-baud:\ :np:sp#19200: std.38400|38400-baud:\ :np:sp#38400: std.57600|57600-baud:\ :np:sp#57600: std.115200|115200-baud:\ :np:sp#115200: std.230400|230400-baud:\ :np:sp#230400: # # Entry specifying explicit device settings. See termios(4) and # /usr/include/termios.h, too. The entry forces the tty into # CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control. # # cflags: CLOCAL | HUPCL | CREAD | CS8 # oflags: OPOST | ONLCR | OXTABS # iflags: IXOFF | IXON | ICRNL | IGNPAR # lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE # # The `0' flags don't have input enabled. The `1' flags don't echo. # (Echoing is done inside getty itself.) # local.9600|CLOCAL tty @ 9600 Bd:\ :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\ :o0#0x00000007:o1#0x00000002:o2#0x00000007:\ :i0#0x00000704:i1#0x00000000:i2#0x00000704:\ :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\ :sp#9600: # # Dial in rotary tables, speed selection via 'break' # 0|d300|Dial-300:\ :nx=d1200:cd#2:sp#300: d1200|Dial-1200:\ :nx=d150:fd#1:sp#1200: d150|Dial-150:\ :nx=d110:lm@:tc=150-baud: d110|Dial-110:\ :nx=d300:tc=300-baud: # # Fast dialup terminals, 2400/1200/300 rotary (can start either way) # D2400|d2400|Fast-Dial-2400:\ :nx=D1200:tc=2400-baud: 3|D1200|Fast-Dial-1200:\ :nx=D300:tc=1200-baud: 5|D300|Fast-Dial-300:\ :nx=D2400:tc=300-baud: # #telebit (19200) # t19200:\ :nx=t2400:tc=19200-baud: t2400:\ :nx=t1200:tc=2400-baud: t1200:\ :nx=t19200:tc=1200-baud: # #telebit (9600) # t9600:\ :nx=t2400a:tc=9600-baud: t2400a:\ :nx=t1200a:tc=2400-baud: t1200a:\ :nx=t9600:tc=1200-baud: # # Odd special case terminals # -|tty33|asr33|Pity the poor user of this beast:\ :tc=110-baud: 4|Console|Console Decwriter II:\ :nd@:cd@:rw:tc=300-baud: e|Console-1200|Console Decwriter III:\ :fd@:nd@:cd@:rw:tc=1200-baud: i|Interdata console:\ :uc:sp#0: l|lsi chess terminal:\ :sp#300: X|Xwindow|X window system:\ :fd@:nd@:cd@:rw:sp#9600: P|Pc|Pc console:\ :ht:np:sp#115200: # # Wierdo special case for fast crt's with hardcopy devices # 8|T9600|CRT with hardcopy:\ :nx=T300:tc=9600-baud: 9|T300|CRT with hardcopy (300):\ :nx=T9600:tc=300-baud: # # Plugboard, and misc other terminals # plug-9600|Plugboard-9600:\ :pf#1:tc=9600-baud: p|P9600|Plugboard-9600-rotary:\ :pf#1:nx=P300:tc=9600-baud: q|P300|Plugboard-300:\ :pf#1:nx=P1200:tc=300-baud: r|P1200|Plugboard-1200:\ :pf#1:nx=P9600:tc=1200-baud: # # XXXX Port selector # s|DSW|Port Selector:\ :ps:sp#2400: # # Auto-baud speed detect entry for Micom 600. # Special code in getty will switch this out # to one of the NNN-baud entries. # A|Auto-baud:\ :ab:sp#2400:f0#040: # # autologin - automatically log in as root # autologin|al.9600:\ :al=root:tc=std.9600: -# +# # Entries for 3-wire serial terminals. These don't supply carrier, so # clocal needs to be set, and crtscts needs to be unset. # 3wire.9600|9600-3wire:\ :np:nc:sp#9600: 3wire.38400|38400-3wire:\ :np:nc:sp#38400: 3wire.57600|57600-3wire:\ :np:nc:sp#57600: 3wire.115200|115200-3wire:\ :np:nc:sp#115200: 3wire.230400|230400-3wire:\ :np:nc:sp#230400: Index: head/etc/hosts.allow =================================================================== --- head/etc/hosts.allow (revision 130150) +++ head/etc/hosts.allow (revision 130151) @@ -1,88 +1,88 @@ # # hosts.allow access control file for "tcp wrapped" applications. # $FreeBSD$ # # NOTE: The hosts.deny file is deprecated. # Place both 'allow' and 'deny' rules in the hosts.allow file. # See hosts_options(5) for the format of this file. # hosts_access(5) no longer fully applies. -# _____ _ _ +# _____ _ _ # | ____| __ __ __ _ _ __ ___ _ __ | | ___ | | # | _| \ \/ / / _` | | '_ ` _ \ | '_ \ | | / _ \ | | # | |___ > < | (_| | | | | | | | | |_) | | | | __/ |_| # |_____| /_/\_\ \__,_| |_| |_| |_| | .__/ |_| \___| (_) -# |_| +# |_| # !!! This is an example! You will need to modify it for your specific # !!! requirements! # Start by allowing everything (this prevents the rest of the file # from working, so remove it when you need protection). # The rules here work on a "First match wins" basis. ALL : ALL : allow # Wrapping sshd(8) is not normally a good idea, but if you # need to do it, here's how -#sshd : .evil.cracker.example.com : deny +#sshd : .evil.cracker.example.com : deny # Protect against simple DNS spoofing attacks by checking that the # forward and reverse records for the remote host match. If a mismatch # occurs, access is denied, and any positive ident response within # 20 seconds is logged. No protection is afforded against DNS poisoning, # IP spoofing or more complicated attacks. Hosts with no reverse DNS # pass this rule. ALL : PARANOID : RFC931 20 : deny # Allow anything from localhost. Note that an IP address (not a host # name) *MUST* be specified for rpcbind(8). ALL : localhost 127.0.0.1 : allow ALL : my.machine.example.com 192.0.2.35 : allow # To use IPv6 addresses you must enclose them in []'s ALL : [fe80::%fxp0]/10 : allow ALL : [fe80::]/10 : deny ALL : [3ffe:fffe:2:1:2:3:4:3fe1] : deny ALL : [3ffe:fffe:2:1::]/64 : allow # Sendmail can help protect you against spammers and relay-rapers sendmail : localhost : allow sendmail : .nice.guy.example.com : allow sendmail : .evil.cracker.example.com : deny sendmail : ALL : allow # Exim is an alternative to sendmail, available in the ports tree exim : localhost : allow exim : .nice.guy.example.com : allow exim : .evil.cracker.example.com : deny exim : ALL : allow # Rpcbind is used for all RPC services; protect your NFS! # (IP addresses rather than hostnames *MUST* be used here) rpcbind : 192.0.2.32/255.255.255.224 : allow rpcbind : 192.0.2.96/255.255.255.224 : allow rpcbind : ALL : deny # NIS master server. Only local nets should have access ypserv : localhost : allow ypserv : .unsafe.my.net.example.com : deny ypserv : .my.net.example.com : allow ypserv : ALL : deny # Provide a small amount of protection for ftpd ftpd : localhost : allow ftpd : .nice.guy.example.com : allow ftpd : .evil.cracker.example.com : deny ftpd : ALL : allow # You need to be clever with finger; do _not_ backfinger!! You can easily # start a "finger war". fingerd : ALL \ : spawn (echo Finger. | \ /usr/bin/mail -s "tcpd\: %u@%h[%a] fingered me!" root) & \ : deny # The rest of the daemons are protected. ALL : ALL \ : severity auth.info \ : twist /bin/echo "You are not welcome to use %d from %h." Index: head/etc/inetd.conf =================================================================== --- head/etc/inetd.conf (revision 130150) +++ head/etc/inetd.conf (revision 130151) @@ -1,125 +1,125 @@ # $FreeBSD$ # # Internet server configuration database # # Define *both* IPv4 and IPv6 entries for dual-stack support. # To disable a service, comment it out by prefixing the line with '#'. # To enable a service, remove the '#' at the beginning of the line. # #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l #ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l #ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4 #ssh stream tcp6 nowait root /usr/sbin/sshd sshd -i -6 #telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd #shell stream tcp nowait root /usr/libexec/rshd rshd #shell stream tcp6 nowait root /usr/libexec/rshd rshd #login stream tcp nowait root /usr/libexec/rlogind rlogind #login stream tcp6 nowait root /usr/libexec/rlogind rlogind #finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s #finger stream tcp6 nowait/3/10 nobody /usr/libexec/fingerd fingerd -s #exec stream tcp nowait root /usr/libexec/rexecd rexecd # # run comsat as root to be able to print partial mailbox contents w/ biff, # or use the safer tty:tty to just print that new mail has been received. #comsat dgram udp wait tty:tty /usr/libexec/comsat comsat # # ntalk is required for the 'talk' utility to work correctly #ntalk dgram udp wait tty:tty /usr/libexec/ntalkd ntalkd #tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l -s /tftpboot #bootps dgram udp wait root /usr/libexec/bootpd bootpd # # "Small servers" -- used to be standard on, but we're more conservative # about things due to Internet security concerns. Only turn on what you # need. # #daytime stream tcp nowait root internal #daytime stream tcp6 nowait root internal #daytime dgram udp wait root internal #daytime dgram udp6 wait root internal #time stream tcp nowait root internal #time stream tcp6 nowait root internal #time dgram udp wait root internal #time dgram udp6 wait root internal #echo stream tcp nowait root internal #echo stream tcp6 nowait root internal #echo dgram udp wait root internal #echo dgram udp6 wait root internal #discard stream tcp nowait root internal #discard stream tcp6 nowait root internal #discard dgram udp wait root internal #discard dgram udp6 wait root internal #chargen stream tcp nowait root internal #chargen stream tcp6 nowait root internal #chargen dgram udp wait root internal #chargen dgram udp6 wait root internal # # CVS servers - for master CVS repositories only! You must set the # --allow-root path correctly or you open a trivial to exploit but # deadly security hole. # #cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/your/cvsroot/here pserver #cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/your/cvsroot/here kserver # # RPC based services (you MUST have rpcbind running to use these) # #rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd #rusersd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd #walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld -#pcnfsd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd rpc.pcnfsd +#pcnfsd/1-2 dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd rpc.pcnfsd #rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad #sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd # # example entry for the optional pop3 server # #pop3 stream tcp nowait root /usr/local/libexec/popper popper # # example entry for the optional imap4 server # #imap4 stream tcp nowait root /usr/local/libexec/imapd imapd # # example entry for the optional nntp server # #nntp stream tcp nowait news /usr/local/libexec/nntpd nntpd # # example entry for the optional uucpd server # #uucpd stream tcp nowait root /usr/local/libexec/uucpd uucpd # # Return error for all "ident" requests # #auth stream tcp nowait root internal #auth stream tcp6 nowait root internal # # Provide internally a real "ident" service which provides ~/.fakeid support, # provides ~/.noident support, reports UNKNOWN as the operating system type # and times out after 30 seconds. # #auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 #auth stream tcp6 nowait root internal auth -r -f -n -o UNKNOWN -t 30 # # Example entry for an external ident server # #auth stream tcp wait root /usr/local/sbin/identd identd -w -t120 # # Example entry for the optional qmail MTA # NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd #swat stream tcp nowait/400 root /usr/local/sbin/swat swat # # Enable the following entry to enable ftp-proxy to NAT ftp sessions with pf # N.B.: inetd binds to * in the default installation so you should add # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy Index: head/etc/isdn/isdnd.rates.D =================================================================== --- head/etc/isdn/isdnd.rates.D (revision 130150) +++ head/etc/isdn/isdnd.rates.D (revision 130151) @@ -1,50 +1,50 @@ #--------------------------------------------------------------------------- # # i4b - Deutsche Telekom charging rates config file # ------------------------------------------------- # # $FreeBSD$ # # last edit-date: [Sun Jan 17 18:38:29 1999] # # -hm updated to reflect last Telekom changes as of 1.1.99 # #--------------------------------------------------------------------------- # # reference: http://www.telekom.de/untern/tarife/inland/index.htm # #--------------------------------------------------------------------------- # # Syntax: # ------- # rate-code: ra0 = City, ra1 = Deutschland # Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc. # Rate: start_hour.minutes-end_hour.minutes:period in seconds # #------------------------------------------------------------------------------ # #=================== T-ISDN City ============================================================= # -#rate-code Day rate1 rate2 rate3 rate4 rate5 +#rate-code Day rate1 rate2 rate3 rate4 rate5 #--------- --- --------------- --------------- --------------- --------------- --------------- ra0 0 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240 ra0 1 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 ra0 2 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 ra0 3 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 ra0 4 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 ra0 5 00.00-05.00:240 05.00-09.00:150 09.00-18.00:90 18.00-21.00:150 21.00-24.00:240 ra0 6 00.00-05.00:240 05.00-21.00:150 21.00-24.00:240 # #=================== T-ISDN Deutschland ====================================================== # -#rate-code Day rate1 rate2 rate3 rate4 rate5 +#rate-code Day rate1 rate2 rate3 rate4 rate5 #--------- --- --------------- --------------- --------------- --------------- --------------- ra1 0 00.00-24.00:60 ra1 1 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60 ra1 2 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60 ra1 3 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60 ra1 4 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60 ra1 5 00.00-02.00:60 02.00-05.00:120 05.00-09.00:60 09.00-18.00:30 18.00-24.00:60 ra1 6 00.00-24.00:60 # #================== EOF ====================================================================== Index: head/etc/isdn/isdnd.rates.F =================================================================== --- head/etc/isdn/isdnd.rates.F (revision 130150) +++ head/etc/isdn/isdnd.rates.F (revision 130151) @@ -1,152 +1,152 @@ #--------------------------------------------------------------------------- # # i4b - Tarifs France Telecom # --------------------------- # # $FreeBSD$ # # last edit-date: [Thu Mar 19 20:05:18 1998] # # -hm got from Aurelien Bargy # #--------------------------------------------------------------------------- # # a jour au 1.10.97 # Aurelien Bargy - 18.03.97 # # I wrote a rates file for France. It is rather approximative # because some time ago France Telecom decided to abandon the charging # units system. The problem is, on ISDN lines charging units are still # used for the aocd system, even as it gives a completely false price # for a communication, so "abandoning" the msg_charging_unit system for # French users of i4b is not a good idea :)) # #--------------------------------------------------------------------------- # # Syntax: # ------- # rate-code: ra0 = local ; ra1 = zone 1 ; ra2 = zone 2... # plus quelques tarifs internationaux # Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc. # Rate: start_hour.minutes-end_hour.minutes:period in seconds # #------------------------------------------------------------------------ # #========================== Communications locales ====================== #rate-code Day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra0 0 00.00-24.00:317 ra0 1 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 ra0 2 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 ra0 3 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 ra0 4 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 ra0 5 00.00-08.00:317 08.00-19.00:158 19.00-24.00:317 ra0 6 00.00-08.00:317 08.00-12.00:158 12.00-24.00:317 # # # #================== Zone 1 : < 25 km ================================== # -#rate-code Day rate1 rate2 rate3 +#rate-code Day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra1 0 00.00-24.00:222 ra1 1 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 ra1 2 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 ra1 3 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 ra1 4 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 ra1 5 00.00-08.00:222 08.00-19.00:111 19.00-24.00:222 ra1 6 00.00-08.00:222 08.00-12.00:111 12.00-24.00:222 # # # #================== Zone 2 : 25-30 km ================================= # -#rate-code Day rate1 rate2 rate3 -#--------- --- --------------- --------------- -------------- +#rate-code Day rate1 rate2 rate3 +#--------- --- --------------- --------------- -------------- ra2 0 00.00-24.00:148 ra2 1 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 ra2 2 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 ra2 3 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 ra2 4 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 ra2 5 00.00-08.00:148 08.00-19.00:74 19.00-24.00:148 ra2 6 00.00-08.00:148 08.00-12.00:74 12.00-24.00:148 # #=================== Zone 3 : 30-52 km ================================ # -#rate-code day rate1 rate2 rate3 +#rate-code day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra3 0 00.00-24.00:94 ra3 1 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 ra3 2 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 ra3 3 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 ra3 4 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 ra3 5 00.00-08.00:94 08.00-19.00:47 19.00-24.00:94 ra3 6 00.00-08.00:94 08.00-12.00:47 12.00-24.00:94 # # #=================== Zone 4 : > 52 km ================================= # -#rate-code day rate1 rate2 rate3 +#rate-code day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra4 0 00.00-24.00:78 ra4 1 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 ra4 2 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 ra4 3 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 ra4 4 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 ra4 5 00.00-08.00:78 08.00-19.00:39 19.00-24.00:78 ra4 6 00.00-08.00:78 08.00-12.00:39 12.00-24.00:78 # # #=================== INTERNATIONAL : Allemagne ======================== # (pour appeler Hellmuth) # -#rate-code day rate1 rate2 rate3 +#rate-code day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra5 0 00.00-24.00:27 ra5 1 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 ra5 2 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 ra5 3 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 ra5 4 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 ra5 5 00.00-08.00:27 08.00-19.00:21 19.00-24.00:27 ra5 6 00.00-08.00:27 08.00-12.00:21 12.00-24.00:27 # # #=================== INTERNATIONAL : Pays-Bas ========================== # -#rate-code day rate1 rate2 rate3 +#rate-code day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra6 0 00.00-24.00:25 ra6 1 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 ra6 2 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 ra6 3 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 ra6 4 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 ra6 5 00.00-08.00:25 08.00-19.00:20 19.00-24.00:25 ra6 6 00.00-08.00:25 08.00-12.00:20 12.00-24.00:25 # # #=================== INTERNATIONAL : Portugal =========================== # -#rate-code day rate1 rate2 rate3 +#rate-code day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra7 0 00.00-24.00:22 ra7 1 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 ra7 2 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 ra7 3 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 ra7 4 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 ra7 5 00.00-08.00:22 08.00-19.00:18 19.00-24.00:22 ra7 6 00.00-08.00:22 08.00-12.00:18 12.00-24.00:22 # # #=================== INTERNATIONAL : USA/Canada ======================== # -#rate-code day rate1 rate2 rate3 +#rate-code day rate1 rate2 rate3 #--------- --- --------------- --------------- --------------- ra8 0 00.00-24.00:25 ra8 1 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 ra8 2 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 ra8 3 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 ra8 4 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 ra8 5 00.00-13.00:25 13.00-19.00:20 19.00-24.00:25 ra8 6 00.00-24.00:25 # #================== EOF ============================================== Index: head/etc/isdn/isdnd.rates.L =================================================================== --- head/etc/isdn/isdnd.rates.L (revision 130150) +++ head/etc/isdn/isdnd.rates.L (revision 130151) @@ -1,45 +1,45 @@ #--------------------------------------------------------------------------- # # i4b - Luxembourg PT charging rates config file # ------------------------------------------------- # # $Id: isdnd.rates.L,v 1.2 1999/12/13 21:25:24 hm Exp $ # # $FreeBSD$ # # last edit-date: [Mon Dec 13 21:42:33 1999] # # Sent in by Joakim Hernberg, Digital Design Luxembourg sarl, jbh@ddl.lu # #--------------------------------------------------------------------------- # # reference: http://www.pt.lu # #--------------------------------------------------------------------------- # # Syntax: # ------- # rate-code: ra0 = Luxembourg normal isdn call # rate-code: ra1 = Luxembourg PT Internet access # Day-No: 0-6, where 0 = Sunday, 1 = Monday, etc. # Rate: start_hour.minutes-end_hour.minutes:period in seconds # #------------------------------------------------------------------------------ # -#rate-code Day rate1 rate2 rate3 rate4 rate5 +#rate-code Day rate1 rate2 rate3 rate4 rate5 #--------- --- --------------- --------------- --------------- --------------- ---------------- ra0 0 00.00-24.00:960 ra0 1 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960 ra0 2 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960 ra0 3 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960 ra0 4 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960 ra0 5 00.00-06.00:960 06.00-08.00:480 08.00-19.00:240 19.00-23.00:480 23.00-24.00:960 ra0 6 00.00-06.00:960 06.00-23.00:480 23.00-24.00:960 ra1 0 00.00-24.00:60 ra1 1 00.00-24.00:60 ra1 2 00.00-24.00:60 ra1 3 00.00-24.00:60 ra1 4 00.00-24.00:60 ra1 5 00.00-24.00:60 ra1 6 00.00-24.00:60 Index: head/etc/isdn/isdnd.rc.sample =================================================================== --- head/etc/isdn/isdnd.rc.sample (revision 130150) +++ head/etc/isdn/isdnd.rc.sample (revision 130151) @@ -1,409 +1,409 @@ #------------------------------------------------------------------------------ # # example of a configuration file for the isdn daemon # --------------------------------------------------- # # $FreeBSD$ # # last edit-date: [Sun May 27 09:33:59 2001] # # NOTICE: # ======= # This configuration file is an EXAMPLE only and MUST be edited # carefully to get the desired results! # # Please read the "isdnd.rc" manual page (execute "man isdnd.rc") # for reference ! # #------------------------------------------------------------------------------ #============================================================================== # SYSTEM section: isdnd global configuration parameters #============================================================================== system # accounting # ---------- acctall = on # generate info for everything acctfile = /var/log/isdnd.acct # name & location of accounting file useacctfile = yes # generate accouting info to file # monitor # ------- monitor-allowed = no # global switch: monitor on/off monitor-port = 451 # default monitor TCP port -# Monitor rights are granted due to the most specific host/net spec, i.e. in +# Monitor rights are granted due to the most specific host/net spec, i.e. in # the example below host 192.168.1.2 will have the rights specified on that # line, even so it belongs to net 192.168.1.0/24 as well. # # A monitor specification may either be: # # - the name of a local (UNIX-domain) socket; this MUST start with a "/" -monitor = "/var/run/isdn-monitor" +monitor = "/var/run/isdn-monitor" monitor-access = fullcmd monitor-access = channelstate, logevents monitor-access = callin, callout # # - a dotted-quad host spec monitor = "192.168.1.2" monitor-access = restrictedcmd, channelstate, callin, callout # # - a dotted-quad net spec with "/len" (CIDR-style) netmask spec monitor = "192.168.1.0/24" monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable host name monitor = "rumolt" monitor-access = restrictedcmd, channelstate, callin, callout # # - a resolveable net name with "/len" netmask (s.a.) appended monitor = "up-vision-net/24" monitor-access = restrictedcmd, channelstate, callin, callout # ratesfile # --------- ratesfile = /etc/isdn/isdnd.rates # name & location of rates file # regular expression pattern matching # ----------------------------------- #regexpr = "connected.*XXX" # look for matches in log messages #regprog = connectXXX # execute program when match is found regexpr = " incoming call from" regprog = unknown_incoming # execute program whan match is found # realtime priority section # ------------------------- rtprio = 25 # modify isdnd's process priority #=========================================================================== # controller section #=========================================================================== controller firmware = /etc/isdn/b1.t4 # microcode for an AVM B1 controller #============================================================================== # entry section: IP over ISDN example - i call back the remote end #============================================================================== -entry +entry name = I4BIP # name for reference. This name will # be used in the logfile to identfy # this entry. # the network or telephone device # the data traffic should be routed to: usrdevicename = ipr # ipr, isp, tel, rbch usrdeviceunit = 0 # unit number # the ISDN controller number to be # used for this entry: isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # incoming only, outgoing only or both: direction = inout # in, out, inout # numbers used to verify a DIAL IN: local-phone-incoming = 321 # this is my number remote-phone-incoming = 0123456789 # this one can call in # numbers used at DIAL OUT time: local-phone-dialout = 321 # this is my number remote-phone-dialout = 00123456789 # i call this remote number - # in case i have several remote - # telephone numbers specified, this - # is used to specify which one is + # in case i have several remote + # telephone numbers specified, this + # is used to specify which one is # used next on dial fail or retry: remdial-handling = first # first, last or next # what happenes if someone dials in: dialin-reaction = callback # accept, reject, ignore, answer, callback # normal dialout or do i call back: dialout-type = normal # normal / calledback callbackwait = 1 # no of secs to wait before calling back # type of protocol on the B-channel: # hdlc must be specified for IP (the # ipr and isp drivers), raw must be # specified for telephone answering b1protocol = hdlc # hdlc, raw - # shorthold mode and idle time + # shorthold mode and idle time # configuration: ratetype = 0 # ratesfile entry to use unitlength = 90 # unitlength to assume unitlengthsrc = rate # none, rate, cmdl, conf, aocd idletime-incoming = 120 # incoming call idle timeout idletime-outgoing = 60 # outgoing call idle timeout earlyhangup = 5 # time to hangup before an expected # next charging unit will occur # retry and recovery parameters dialretries = 3 # # of dial retries dialrandincr = off # random dial increment time recoverytime = 5 # time to wait between 2 dial tries usedown = off # set i/f down downtries = 5 # retry cycles before set down downtime = 30 # time to be in down before going up #connectprog = "ip-up" # run /etc/isdn/ip-up when an interface # has established its network connection. # example parameters are: # /etc/isdn/ip-up -d isp0 -f up -a 192.110.12.14 #disconnectprog = "ip-down" # like connectprog, but run after the connection # is closed (ISDN layer down). The actual # interface address might not be known # any more. example parameters are: # /etc/isdn/ip-up -d isp0 -f down -a 0.0.0.0 #============================================================================== # entry section: IP over ISDN example - i am called back by the remote end #============================================================================== -entry - +entry + name = I4BIP1 # name for reference - + usrdevicename = ipr # ipr, tel, rbch usrdeviceunit = 1 # unit number - + isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # numbers used to DIAL OUT -remote-phone-dialout = 00401234567 # remote number to dial +remote-phone-dialout = 00401234567 # remote number to dial local-phone-dialout = 38 # our number to tell remote # numbers used to verify at DIAL IN local-phone-incoming = 38 # we take calls for this local number remote-phone-incoming = 00401234567 # we take calls from this remote machine b1protocol = hdlc # hdlc, raw ratetype = 0 # city unitlength = 90 # default unit length earlyhangup = 5 # safety zone unitlengthsrc = aocd # none, rate, cmdl, conf, aocd - + dialin-reaction = accept # accept, reject, ignore, anwer, callback dialout-type = calledback # normal or calledback dialretries = 3 recoverytime = 3 calledbackwait = 20 dialrandincr = off usedown = off downtries = 2 downtime = 30 idletime-incoming = 300 idletime-outgoing = 30 #============================================================================== # entry section: answering machine example #============================================================================== -entry +entry name = I4BTEL # name for reference usrdevicename = tel # ipr, tel, rbch usrdeviceunit = 0 # unit number - + isdncontroller = 0 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # numbers used to verify at DIAL IN local-phone-incoming = 456 # this is my number remote-phone-incoming = * # anyone can call in - + dialin-reaction = answer # accept, reject, ignore, answer answerprog = answer # program to run b1protocol = raw # hdlc, raw idletime-incoming = 5 # 5 seconds idle timeout #============================================================================== # kernel PPP (with budget handling) - Sunday & Holidays, we call back #============================================================================== -entry +entry valid = "0,7" # sundays & holidays name = KPPPs # name for reference - + usrdevicename = isp # ipr, tel, rbch usrdeviceunit = 0 # unit number - + isdncontroller = 1 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # numbers used to verify at DIAL IN local-phone-incoming = 29 # this is my number remote-phone-incoming = 00401234567 # this one can call in # numbers used to DIAL OUT local-phone-dialout = 29 # this is my number remote-phone-dialout = 00401234567 # i call this number remdial-handling = first # first, last or next - + dialin-reaction = callback # accept, reject, ignore, answer, callback dialout-type = normal # normal / calledback b1protocol = hdlc # hdlc, raw idletime-incoming = 30 # incoming call idle timeout idletime-outgoing = 120 # outgoing call idle timeout unitlength = 360 # unitlength to assume unitlengthsrc = conf # none, rate, cmdl, conf, aocd dialretries = 5 # # of dial retries dialrandincr = on # random dial increment time recoverytime = 3 # time to wait between 2 dial tries callbackwait = 5 # time to wait to call back usedown = off # set i/f down downtries = 5 # retry cycles before set down downtime = 60 # time to be in down before going up budget-callbackperiod = 10800 # 3 hours budget-callbackncalls = 1000 # 2 callbacks in 3 hours budget-callbacksfile = /var/log/isdn/callbacks.isp0 budget-callbacksfile-rotate = yes budget-calloutperiod = 3600 # 1 hour budget-calloutncalls = 1000 # 3 calls in 1 hour budget-calloutsfile = /var/log/isdn/callouts.isp0 budget-calloutsfile-rotate = yes #============================================================================== # kernel PPP (with budget handling) - Monday-Saturday, 9:00-18:00: we call back #============================================================================== -entry +entry valid = "1,2,3,4,5,6,9:00-18:00" # Monday-Saturday, day name = KPPPd # name for reference - + usrdevicename = isp # ipr, tel, rbch usrdeviceunit = 0 # unit number - + isdncontroller = 1 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # numbers used to verify at DIAL IN local-phone-incoming = 29 # this is my number remote-phone-incoming = 00401234567 # this one can call in # numbers used to DIAL OUT local-phone-dialout = 29 # this is my number remote-phone-dialout = 00401234567 # i call this number remdial-handling = first # first, last or next - + dialin-reaction = callback # accept, reject, ignore, answer, callback dialout-type = normal # normal / calledback b1protocol = hdlc # hdlc, raw idletime-incoming = 30 # incoming call idle timeout idletime-outgoing = 30 # outgoing call idle timeout unitlength = 60 # unitlength to assume unitlengthsrc = conf # none, rate, cmdl, conf, aocd dialretries = 5 # # of dial retries dialrandincr = on # random dial increment time recoverytime = 3 # time to wait between 2 dial tries callbackwait = 5 # time to wait to call back usedown = off # set i/f down downtries = 5 # retry cycles before set down downtime = 60 # time to be in down before going up budget-callbackperiod = 10800 # 3 hours budget-callbackncalls = 1 # 1 callbacks in 3 hours budget-callbacksfile = /var/log/isdn/callbacks.isp0 budget-callbacksfile-rotate = yes budget-calloutperiod = 3600 # 1 hour budget-calloutncalls = 3 # 3 calls in 1 hour budget-calloutsfile = /var/log/isdn/callouts.isp0 budget-calloutsfile-rotate = yes #============================================================================== # kernel PPP (with budget handling) - Monday-Saturday: we call back #============================================================================== -entry +entry valid = "1,2,3,4,5,6,18:00-9:00" # Monday-Saturday, night name = KPPPn # name for reference - + usrdevicename = isp # ipr, tel, rbch usrdeviceunit = 0 # unit number - + isdncontroller = 1 # controller to use or -1 to use any isdnchannel = -1 # channel (1/2) to use or 0 or -1 for any # numbers used to verify at DIAL IN local-phone-incoming = 29 # this is my number remote-phone-incoming = 00401234567 # this one can call in # numbers used to DIAL OUT local-phone-dialout = 29 # this is my number remote-phone-dialout = 00401234567 # i call this number remdial-handling = first # first, last or next - + dialin-reaction = callback # accept, reject, ignore, answer, callback dialout-type = normal # normal / calledback b1protocol = hdlc # hdlc, raw idletime-incoming = 30 # incoming call idle timeout idletime-outgoing = 30 # outgoing call idle timeout unitlength = 60 # unitlength to assume unitlengthsrc = conf # none, rate, cmdl, conf, aocd dialretries = 5 # # of dial retries dialrandincr = on # random dial increment time recoverytime = 3 # time to wait between 2 dial tries callbackwait = 5 # time to wait to call back usedown = off # set i/f down downtries = 5 # retry cycles before set down downtime = 60 # time to be in down before going up budget-callbackperiod = 7200 # 2 hours budget-callbackncalls = 2 # 2 callbacks in 2 hours budget-callbacksfile = /var/log/isdn/callbacks.isp0 budget-callbacksfile-rotate = yes budget-calloutperiod = 3600 # 1 hour budget-calloutncalls = 3 # 3 calls in 1 hour budget-calloutsfile = /var/log/isdn/callouts.isp0 budget-calloutsfile-rotate = yes # EOF ######################################################################### Index: head/etc/isdn/unknown_incoming =================================================================== --- head/etc/isdn/unknown_incoming (revision 130150) +++ head/etc/isdn/unknown_incoming (revision 130151) @@ -1,79 +1,79 @@ #!/bin/sh #--------------------------------------------------------------------------- # # unknown_incoming - script for isdnd # ----------------------------------- # # $FreeBSD$ # # last edit-date: [Wed Jan 10 13:40:36 2001] # -# This script may be configured to be called by isdnd when an -# unknown incoming call is received. In case the destination +# This script may be configured to be called by isdnd when an +# unknown incoming call is received. In case the destination # telephone number is available, it sends mail with the time, # source and destination numbers to a configurable address. # # For this to work, and entry like this: # # regexpr = " incoming call from" # regprog = unknown_incoming # # is needed in the system section of /etc/isdn/isdnd.rc. # # This script has to be configured to the sites needs, look # for the comment lines start with "configure:" # #--------------------------------------------------------------------------- # # configure: who shall receive the mail mailaddr=root # from=`echo $* | awk '{print $6}'` to=`echo $* | awk '{print $8}'` test=`echo $* | awk '{print $9}'` ctrl=`echo $* | awk '{print $10}'` date=`date "+%b %d"` time=`date "+%H:%M"` mach=`hostname` # configure: list of destination numbers to ignore case "$from" in "NotAvailable" ) exit 0 ;; "00401234567"* ) exit 0 ;; "00407654321" ) exit 0 ;; esac # configure: how to name the line on which this was received if [ $test = "ctrl" ] then case "$ctrl" in "1") line="PBX 1" ;; "2") line="PBX 2" ;; *) line="controller is $ctrl" ;; esac else line="test is $test, controller is $ctrl" fi cat << ENDOFDATA | mail -s "isdnd: unknown incoming telephone call" $mailaddr Unknown incoming telephone call recognized: Date: $date Time: $time Line: $line From: $from To: $to Sincerly yours, the isdnd on $mach ENDOFDATA - + exit 0 Index: head/etc/login.access =================================================================== --- head/etc/login.access (revision 130150) +++ head/etc/login.access (revision 130151) @@ -1,46 +1,46 @@ # $FreeBSD$ # # Login access control table. -# +# # When someone logs in, the table is scanned for the first entry that # matches the (user, host) combination, or, in case of non-networked # logins, the first entry that matches the (user, tty) combination. The -# permissions field of that table entry determines whether the login will +# permissions field of that table entry determines whether the login will # be accepted or refused. -# +# # Format of the login access control table is three fields separated by a # ":" character: -# +# # permission : users : origins -# +# # The first field should be a "+" (access granted) or "-" (access denied) # character. The second field should be a list of one or more login names, # group names, or ALL (always matches). The third field should be a list # of one or more tty names (for non-networked logins), host names, domain # names (begin with "."), host addresses, internet network numbers (end # with "."), ALL (always matches) or LOCAL (matches any string that does # not contain a "." character). If you run NIS you can use @netgroupname # in host or user patterns. # # The EXCEPT operator makes it possible to write very compact rules. # # The group file is searched only when a name does not match that of the # logged-in user. Only groups are matched in which users are explicitly # listed: the program does not look at a user's primary group id value. # ############################################################################## -# +# # Disallow console logins to all but a few accounts. # #-:ALL EXCEPT wheel shutdown sync:console # # Disallow non-local logins to privileged accounts (group wheel). # #-:wheel:ALL EXCEPT LOCAL .win.tue.nl # # Some accounts are not allowed to login from anywhere: # #-:wsbscaro wsbsecr wsbspac wsbsym wscosor wstaiwde:ALL # # All other accounts are allowed to login from anywhere. # Index: head/etc/login.conf =================================================================== --- head/etc/login.conf (revision 130150) +++ head/etc/login.conf (revision 130151) @@ -1,316 +1,316 @@ # login.conf - login class capabilities database. # # Remember to rebuild the database after each change to this file: # # cap_mkdb /etc/login.conf # # This file controls resource limits, accounting limits and # default user environment settings. # # $FreeBSD$ # # Default settings effectively disable resource limits, see the # examples below for a starting point to enable them. # defaults # These settings are used by login(1) by default for classless users # Note that entries like "cputime" set both "cputime-cur" and "cputime-max" default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=unlimited:\ :openfiles=unlimited:\ :maxproc=unlimited:\ :sbsize=unlimited:\ :vmemoryuse=unlimited:\ :priority=0:\ :ignoretime@:\ :umask=022: # # A collection of common class names - forward them all to 'default' # (login would normally do this anyway, but having a class name # here suppresses the diagnostic) # standard:\ :tc=default: xuser:\ :tc=default: staff:\ :tc=default: daemon:\ :tc=default: news:\ :tc=default: dialer:\ :tc=default: # # Root can always login # # N.B. login_getpwclass(3) will use this entry for the root account, # in preference to 'default'. root:\ :ignorenologin:\ :tc=default: # # Russian Users Accounts. Setup proper environment variables. # russian|Russian Users Accounts:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R:\ :tc=default: ###################################################################### ###################################################################### ## ## Example entries -## +## ###################################################################### ###################################################################### ## Example defaults ## These settings are used by login(1) by default for classless users ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max" # #default:\ # :cputime=infinity:\ # :datasize-cur=22M:\ # :stacksize-cur=8M:\ # :memorylocked-cur=10M:\ # :memoryuse-cur=30M:\ # :filesize=infinity:\ # :coredumpsize=infinity:\ # :maxproc-cur=64:\ # :openfiles-cur=64:\ # :priority=0:\ # :requirehome@:\ # :umask=022:\ # :tc=auth-defaults: # # ## ## standard - standard user defaults ## #standard:\ # :copyright=/etc/COPYRIGHT:\ # :welcome=/etc/motd:\ # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ # :path=~/bin /bin /usr/bin /usr/local/bin:\ # :manpath=/usr/share/man /usr/local/man:\ # :nologin=/var/run/nologin:\ # :cputime=1h30m:\ # :datasize=8M:\ # :vmemoryuse=100M:\ # :stacksize=2M:\ # :memorylocked=4M:\ # :memoryuse=8M:\ # :filesize=8M:\ # :coredumpsize=8M:\ # :openfiles=24:\ # :maxproc=32:\ # :priority=0:\ # :requirehome:\ # :passwordtime=90d:\ # :umask=002:\ # :ignoretime@:\ # :tc=default: # # ## ## users of X (needs more resources!) ## #xuser:\ # :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\ # :cputime=4h:\ # :datasize=12M:\ # :vmemoryuse=infinity:\ # :stacksize=4M:\ # :filesize=8M:\ # :memoryuse=16M:\ # :openfiles=32:\ # :maxproc=48:\ # :tc=standard: # # ## ## Staff users - few restrictions and allow login anytime ## #staff:\ # :ignorenologin:\ # :ignoretime:\ # :requirehome@:\ # :accounted@:\ # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ # :umask=022:\ # :tc=standard: # # ## ## root - fallback for root logins ## #root:\ # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ # :cputime=infinity:\ # :datasize=infinity:\ # :stacksize=infinity:\ # :memorylocked=infinity:\ # :memoryuse=infinity:\ # :filesize=infinity:\ # :coredumpsize=infinity:\ # :openfiles=infinity:\ # :maxproc=infinity:\ # :memoryuse-cur=32M:\ # :maxproc-cur=64:\ # :openfiles-cur=1024:\ # :priority=0:\ # :requirehome@:\ # :umask=022:\ # :tc=auth-root-defaults: # # ## ## Settings used by /etc/rc ## #daemon:\ # :coredumpsize@:\ # :coredumpsize-cur=0:\ # :datasize=infinity:\ # :datasize-cur@:\ # :maxproc=512:\ # :maxproc-cur@:\ # :memoryuse-cur=64M:\ # :memorylocked-cur=64M:\ # :openfiles=1024:\ # :openfiles-cur@:\ # :stacksize=16M:\ # :stacksize-cur@:\ # :tc=default: # # ## ## Settings used by news subsystem ## #news:\ # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ # :cputime=infinity:\ # :filesize=128M:\ # :datasize-cur=64M:\ # :stacksize-cur=32M:\ # :coredumpsize-cur=0:\ # :maxmemorysize-cur=128M:\ # :memorylocked=32M:\ # :maxproc=128:\ # :openfiles=256:\ # :tc=default: # # ## ## The dialer class should be used for a dialup PPP/SLIP accounts ## Welcome messages/news suppressed ## #dialer:\ # :hushlogin:\ # :requirehome@:\ # :cputime=unlimited:\ # :filesize=2M:\ # :datasize=2M:\ # :stacksize=4M:\ # :coredumpsize=0:\ # :memoryuse=4M:\ # :memorylocked=1M:\ # :maxproc=16:\ # :openfiles=32:\ # :tc=standard: # # ## ## Site full-time 24/7 PPP/SLIP connections ## - no time accounting, restricted to access via dialin lines ## #site:\ # :ignoretime:\ # :passwordtime@:\ # :refreshtime@:\ # :refreshperiod@:\ # :sessionlimit@:\ # :autodelete@:\ # :expireperiod@:\ # :graceexpire@:\ # :gracetime@:\ # :warnexpire@:\ # :warnpassword@:\ # :idletime@:\ # :sessiontime@:\ # :daytime@:\ # :weektime@:\ # :monthtime@:\ # :warntime@:\ # :accounted@:\ # :tc=dialer:\ # :tc=staff: # # ## ## Example standard accounting entries for subscriber levels ## # #subscriber|Subscribers:\ # :accounted:\ # :refreshtime=180d:\ # :refreshperiod@:\ # :sessionlimit@:\ # :autodelete=30d:\ # :expireperiod=180d:\ # :graceexpire=7d:\ # :gracetime=10m:\ # :warnexpire=7d:\ # :warnpassword=7d:\ # :idletime=30m:\ # :sessiontime=4h:\ # :daytime=6h:\ # :weektime=40h:\ # :monthtime=120h:\ # :warntime=4h:\ # :tc=standard: # # ## ## Subscriber accounts. These accounts have their login times ## accounted and have access limits applied. ## #subppp|PPP Subscriber Accounts:\ # :tc=dialer:\ # :tc=subscriber: # # #subslip|SLIP Subscriber Accounts:\ # :tc=dialer:\ # :tc=subscriber: # # #subshell|Shell Subscriber Accounts:\ # :tc=subscriber: # ## ## If you want some of the accounts to use traditional UNIX DES based ## password hashes. ## #des_users:\ # :passwd_format=des:\ # :tc=default: Index: head/etc/namedb/named.conf =================================================================== --- head/etc/namedb/named.conf (revision 130150) +++ head/etc/namedb/named.conf (revision 130151) @@ -1,125 +1,125 @@ // $FreeBSD$ // // Refer to the named.conf(5) and named(8) man pages for details. If // you are ever going to set up a primary server, make sure you // understand the hairy details of how DNS works. Even with // simple mistakes, you can break connectivity for affected parties, // or cause huge amounts of useless Internet traffic. options { directory "/etc/namedb"; pid-file "/var/run/named/pid"; // In addition to the "forwarders" clause, you can force your name // server to never initiate queries of its own, but always ask its // forwarders only, by enabling the following line: // // forward only; // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. /* forwarders { 127.0.0.1; }; */ /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; /* * If running in a sandbox, you may have to specify a different * location for the dumpfile. */ // dump-file "s/named_dump.db"; }; // Note: the following will be supported in a future release. /* host { any; } { topology { 127.0.0.0/8; }; }; */ // Setting up secondaries is way easier and a rough example for this // is provided below. // // If you enable a local name server, don't forget to enter 127.0.0.1 // first in your /etc/resolv.conf so this server will be queried. // Also, make sure to enable it in /etc/rc.conf. zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; // RFC 3152 zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA" { type master; file "localhost-v6.rev"; }; // RFC 1886 -- deprecated zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" { type master; file "localhost-v6.rev"; }; // NB: Do not use the IP addresses below, they are faked, and only // serve demonstration/documentation purposes! // // Example secondary config entries. It can be convenient to become // a secondary at least for the zone your own domain is in. Ask // your network administrator for the IP address of the responsible // primary. // // Never forget to include the reverse lookup (IN-ADDR.ARPA) zone! // (This is named after the first bytes of the IP address, in reverse // order, with ".IN-ADDR.ARPA" appended.) // // Before starting to set up a primary zone, make sure you fully // understand how DNS and BIND works. There are sometimes // non-obvious pitfalls. Setting up a secondary is simpler. // // NB: Don't blindly enable the examples below. :-) Use actual names // and addresses instead. // // NOTE!!! FreeBSD can run bind in a sandbox (see named_flags in rc.conf). -// The directory containing the secondary zones must be write accessible +// The directory containing the secondary zones must be write accessible // to bind. The following sequence is suggested: // // mkdir /etc/namedb/s // chown bind:bind /etc/namedb/s // chmod 750 /etc/namedb/s /* zone "domain.com" { type slave; file "s/domain.com.bak"; masters { 192.168.1.1; }; }; zone "0.168.192.in-addr.arpa" { type slave; file "s/0.168.192.in-addr.arpa.bak"; masters { 192.168.1.1; }; }; */ Index: head/etc/namedb/named.root =================================================================== --- head/etc/namedb/named.root (revision 130150) +++ head/etc/namedb/named.root (revision 130151) @@ -1,84 +1,84 @@ ; ; $FreeBSD$ ; ; This file holds the information on root name servers needed to ; initialize cache of Internet domain name servers ; (e.g. reference this file in the "cache . " ; configuration file of BIND domain name servers). ; -; This file is made available by InterNIC +; This file is made available by InterNIC ; under anonymous FTP as ; file /domain/named.root ; on server FTP.INTERNIC.NET ; -OR- RS.INTERNIC.NET ; ; last update: Jan 29, 2004 ; related version of root zone: 2004012900 ; ; ; formerly NS.INTERNIC.NET ; . 3600000 IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4 ; ; formerly NS1.ISI.EDU ; . 3600000 NS B.ROOT-SERVERS.NET. B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201 ; ; formerly C.PSI.NET ; . 3600000 NS C.ROOT-SERVERS.NET. C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12 ; ; formerly TERP.UMD.EDU ; . 3600000 NS D.ROOT-SERVERS.NET. D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90 ; ; formerly NS.NASA.GOV ; . 3600000 NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 ; ; formerly NS.ISC.ORG ; . 3600000 NS F.ROOT-SERVERS.NET. F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241 ; ; formerly NS.NIC.DDN.MIL ; . 3600000 NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 ; ; formerly AOS.ARL.ARMY.MIL ; . 3600000 NS H.ROOT-SERVERS.NET. H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53 ; ; formerly NIC.NORDU.NET ; . 3600000 NS I.ROOT-SERVERS.NET. I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17 ; ; operated by VeriSign, Inc. ; . 3600000 NS J.ROOT-SERVERS.NET. J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30 ; ; operated by RIPE NCC ; . 3600000 NS K.ROOT-SERVERS.NET. -K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129 +K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129 ; ; operated by ICANN ; . 3600000 NS L.ROOT-SERVERS.NET. L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12 ; ; operated by WIDE ; . 3600000 NS M.ROOT-SERVERS.NET. M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33 ; End of File Index: head/etc/network.subr =================================================================== --- head/etc/network.subr (revision 130150) +++ head/etc/network.subr (revision 130151) @@ -1,625 +1,625 @@ # # Copyright (c) 2003 The FreeBSD Project. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ # # # Subroutines commonly used from network startup scripts. # Requires that rc.conf be loaded first. # # ifconfig_up if # Evaluate ifconfig(8) arguments for interface $if and # run ifconfig(8) with those arguments. It returns 0 if # arguments were found and executed or 1 if the interface # had no arguments. # ifconfig_up() { eval ifconfig_args=\$ifconfig_$1 if [ -n "${ifconfig_args}" ]; then ifconfig $1 ${ifconfig_args} return 0 fi return 1 } # ifconfig_down if # Remove all inet entries from the $if interface. It returns # 0 if inet entries were found and removed. It returns 1 if # no entries were found or they could not be removed. # ifconfig_down() { [ -z "$1" ] && return 1 _ifs="^" _ret=1 inetList="`ifconfig $1 | grep 'inet ' | tr "\n" "$_ifs"`" oldifs="$IFS" IFS="$_ifs" for _inet in $inetList ; do # get rid of extraneous line [ -z "$_inet" ] && break _inet=`expr "$_inet" : '.*\(inet \([0-9]\{1,3\}\.\)\{3\}[0-9]\{1,3\}\).*'` IFS="$oldifs" ifconfig $1 ${_inet} delete IFS="$_ifs" _ret=0 done IFS="$oldifs" return $_ret } # ifalias_up if # Configure aliases for network interface $if. # It returns 0 if at least one alias was configured or # 1 if there were none. # ifalias_up() { _ret=1 alias=0 while : ; do eval ifconfig_args=\$ifconfig_$1_alias${alias} if [ -n "${ifconfig_args}" ]; then ifconfig $1 ${ifconfig_args} alias alias=$((${alias} + 1)) _ret=0 else break fi done return $_ret } #ifalias_down if # Remove aliases for network interface $if. # It returns 0 if at least one alias was removed or # 1 if there were none. # ifalias_down() { _ret=1 alias=0 while : ; do eval ifconfig_args=\$ifconfig_$1_alias${alias} if [ -n "${ifconfig_args}" ]; then ifconfig $1 ${ifconfig_args} -alias alias=$((${alias} + 1)) _ret=0 else break fi done return $_ret } # ifscript_up if # Evaluate a startup script for the $if interface. # It returns 0 if a script was found and processed or # 1 if no script was found. # ifscript_up() { if [ -r /etc/start_if.$1 ]; then . /etc/start_if.$1 return 0 fi return 1 } # ifscript_down if # Evaluate a shutdown script for the $if interface. # It returns 0 if a script was found and processed or # 1 if no script was found. # ifscript_down() { if [ -r /etc/stop_if.$1 ]; then . /etc/stop_if.$1 return 0 fi return 1 } # Create cloneable interfaces. # clone_up() { _prefix= _list= for ifn in ${cloned_interfaces}; do ifconfig ${ifn} create if [ $? -eq 0 ]; then _list="${_list}${_prefix}${ifn}" [ -z "$_prefix" ] && _prefix=' ' fi done debug "Cloned: ${_list}" } # Destroy cloned interfaces. Destroyed interfaces are echoed # to standard output. # clone_down() { _prefix= _list= for ifn in ${cloned_interfaces}; do ifconfig ${ifn} destroy if [ $? -eq 0 ]; then _list="${_list}${_prefix}${ifn}" [ -z "$_prefix" ] && _prefix=' ' fi done debug "Destroyed clones: ${_list}" } gif_up() { case ${gif_interfaces} in [Nn][Oo] | '') ;; *) for i in ${gif_interfaces}; do eval peers=\$gifconfig_$i case ${peers} in '') continue ;; *) ifconfig $i create >/dev/null 2>&1 ifconfig $i tunnel ${peers} ifconfig $i up ;; esac done ;; esac } # # ipx_up ifn # Configure any IPX addresses for interface $ifn. Returns 0 if IPX # arguments were found and configured; returns 1 otherwise. # ipx_up() { ifn="$1" eval ifconfig_args=\$ifconfig_${ifn}_ipx if [ -n "${ifconfig_args}" ]; then ifconfig ${ifn} ${ifconfig_args} return 0 fi return 1 } # ipx_down ifn # Remove IPX addresses for interface $ifn. Returns 0 if IPX # addresses were found and unconfigured. It returns 1, otherwise. # ipx_down() { [ -z "$1" ] && return 1 _ifs="^" _ret=1 ipxList="`ifconfig $1 | grep 'ipx ' | tr "\n" "$_ifs"`" oldifs="$IFS" IFS="$_ifs" for _ipx in $ipxList ; do # get rid of extraneous line [ -z "$_ipx" ] && break _ipx=`expr "$_ipx" : '.*\(ipx [0-9a-h]\{1,8\}H*\.[0-9a-h]\{1,12\}\).*'` IFS="$oldifs" ifconfig $1 ${_ipx} delete IFS="$_ifs" _ret=0 done IFS="$oldifs" return $_ret } # # list_net_interfaces type # List all network interfaces. The type of interface returned # can be controlled by the type argument. The type # argument can be any of the following: # nodhcp - all interfaces, excluding DHCP configured interfaces # dhcp - list only DHCP configured interfaces # If no argument is specified all network interfaces are output. # Note that the list always includes cloned interfaces. # list_net_interfaces() { type=$1 # Get a list of ALL the interfaces # case ${network_interfaces} in [Aa][Uu][Tt][Oo]) _tmplist="`ifconfig -l`" ;; *) _tmplist="${network_interfaces}" ;; esac _tmplist="${_tmplist} ${cloned_interfaces}" if [ -z "$type" ]; then echo $_tmplist return 0 fi # Separate out dhcp and non-dhcp intefraces # _aprefix= _brefix= for _if in ${_tmplist} ; do eval _ifarg="\$ifconfig_${_if}" case "$_ifarg" in [Dd][Hh][Cc][Pp]) _dhcplist="${_dhcplist}${_aprefix}${_if}" [ -z "$_aprefix" ] && _aprefix=' ' ;; ''|*) _nodhcplist="${_nodhcplist}${_bprefix}${_if}" [ -z "$_bprefix" ] && _bprefix=' ' ;; esac done case ${pccard_ifconfig} in [Dd][Hh][Cc][Pp]) for _if in ${removable_interfaces} ; do _test_if=`ifconfig ${_if} 2>&1` case "$_test_if" in "ifconfig: interface $_if does not exist") ;; *) _dhcplist="${_dhcplist}${_aprefix}${_if}" [ -z "$_aprefix" ] && _aprefix=' ' ;; esac done ;; *) ;; esac case "$type" in nodhcp) echo $_nodhcplist ;; dhcp) echo $_dhcplist ;; esac - return 0 + return 0 } hexdigit() { if [ $1 -lt 10 ]; then echo $1 else case $1 in 10) echo a ;; 11) echo b ;; 12) echo c ;; 13) echo d ;; 14) echo e ;; 15) echo f ;; esac fi } hexprint() { val=$1 str='' dig=`hexdigit $((${val} & 15))` str=${dig}${str} val=$((${val} >> 4)) while [ ${val} -gt 0 ]; do dig=`hexdigit $((${val} & 15))` str=${dig}${str} val=$((${val} >> 4)) done echo ${str} } # Setup the interfaces for IPv6 network6_interface_setup() { interfaces=$* rtsol_interfaces='' case ${ipv6_gateway_enable} in [Yy][Ee][Ss]) rtsol_available=no ;; *) rtsol_available=yes ;; esac for i in $interfaces; do rtsol_interface=yes eval prefix=\$ipv6_prefix_$i if [ -n "${prefix}" ]; then rtsol_available=no rtsol_interface=no laddr=`network6_getladdr $i` hostid=`expr "${laddr}" : 'fe80::\(.*\)%\(.*\)'` for j in ${prefix}; do address=$j\:${hostid} ifconfig $i inet6 ${address} prefixlen 64 alias case ${ipv6_gateway_enable} in [Yy][Ee][Ss]) # subnet-router anycast address # (rfc2373) ifconfig $i inet6 $j:: prefixlen 64 \ alias anycast ;; esac done fi eval ipv6_ifconfig=\$ipv6_ifconfig_$i if [ -n "${ipv6_ifconfig}" ]; then rtsol_available=no rtsol_interface=no ifconfig $i inet6 ${ipv6_ifconfig} alias fi if [ ${rtsol_available} = yes -a ${rtsol_interface} = yes ] then case ${i} in lo0|gif[0-9]*|stf[0-9]*|faith[0-9]*|lp[0-9]*|sl[0-9]*|tun[0-9]*) ;; *) rtsol_interfaces="${rtsol_interfaces} ${i}" ;; esac else ifconfig $i inet6 fi done if [ ${rtsol_available} = yes -a -n "${rtsol_interfaces}" ]; then # Act as endhost - automatically configured. # You can configure only single interface, as # specification assumes that autoconfigured host has # single interface only. sysctl net.inet6.ip6.accept_rtadv=1 set ${rtsol_interfaces} ifconfig $1 up rtsol ${rtsol_flags} $1 fi for i in $interfaces; do alias=0 while : ; do eval ipv6_ifconfig=\$ipv6_ifconfig_${i}_alias${alias} if [ -z "${ipv6_ifconfig}" ]; then break; fi ifconfig $i inet6 ${ipv6_ifconfig} alias alias=$((${alias} + 1)) done done } # Setup IPv6 to IPv4 mapping network6_stf_setup() { case ${stf_interface_ipv4addr} in [Nn][Oo] | '') ;; *) # assign IPv6 addr and interface route for 6to4 interface stf_prefixlen=$((16+${stf_interface_ipv4plen:-0})) OIFS="$IFS" IFS=".$IFS" set ${stf_interface_ipv4addr} IFS="$OIFS" hexfrag1=`hexprint $(($1*256 + $2))` hexfrag2=`hexprint $(($3*256 + $4))` ipv4_in_hexformat="${hexfrag1}:${hexfrag2}" case ${stf_interface_ipv6_ifid} in [Aa][Uu][Tt][Oo] | '') for i in ${ipv6_network_interfaces}; do laddr=`network6_getladdr ${i}` case ${laddr} in '') ;; *) break ;; esac done stf_interface_ipv6_ifid=`expr "${laddr}" : \ 'fe80::\(.*\)%\(.*\)'` case ${stf_interface_ipv6_ifid} in '') stf_interface_ipv6_ifid=0:0:0:1 ;; esac ;; esac ifconfig stf0 create >/dev/null 2>&1 ifconfig stf0 inet6 2002:${ipv4_in_hexformat}:${stf_interface_ipv6_slaid:-0}:${stf_interface_ipv6_ifid} \ prefixlen ${stf_prefixlen} # disallow packets to malicious 6to4 prefix route add -inet6 2002:e000:: -prefixlen 20 ::1 -reject route add -inet6 2002:7f00:: -prefixlen 24 ::1 -reject route add -inet6 2002:0000:: -prefixlen 24 ::1 -reject route add -inet6 2002:ff00:: -prefixlen 24 ::1 -reject ;; esac } # Setup static routes network6_static_routes_setup() { # Set up any static routes. case ${ipv6_defaultrouter} in [Nn][Oo] | '') ;; *) ipv6_static_routes="default ${ipv6_static_routes}" ipv6_route_default="default ${ipv6_defaultrouter}" ;; esac case ${ipv6_static_routes} in [Nn][Oo] | '') ;; *) for i in ${ipv6_static_routes}; do eval ipv6_route_args=\$ipv6_route_${i} route add -inet6 ${ipv6_route_args} done ;; esac } # Setup faith network6_faith_setup() { case ${ipv6_faith_prefix} in [Nn][Oo] | '') ;; *) sysctl net.inet6.ip6.keepfaith=1 ifconfig faith0 create >/dev/null 2>&1 ifconfig faith0 up for prefix in ${ipv6_faith_prefix}; do prefixlen=`expr "${prefix}" : ".*/\(.*\)"` case ${prefixlen} in '') prefixlen=96 ;; *) prefix=`expr "${prefix}" : \ "\(.*\)/${prefixlen}"` ;; esac route add -inet6 ${prefix} -prefixlen ${prefixlen} ::1 route change -inet6 ${prefix} -prefixlen ${prefixlen} \ -ifp faith0 done ;; esac } # Install the "default interface" to kernel, which will be used # as the default route when there's no router. network6_default_interface_setup() { # Choose IPv6 default interface if it is not clearly specified. case ${ipv6_default_interface} in '') for i in ${ipv6_network_interfaces}; do case $i in lo0|faith[0-9]*) continue ;; esac laddr=`network6_getladdr $i exclude_tentative` case ${laddr} in '') ;; *) ipv6_default_interface=$i break ;; esac done ;; esac # Disallow unicast packets without outgoing scope identifiers, # or route such packets to a "default" interface, if it is specified. route add -inet6 fe80:: -prefixlen 10 ::1 -reject case ${ipv6_default_interface} in [Nn][Oo] | '') route add -inet6 ff02:: -prefixlen 16 ::1 -reject ;; *) laddr=`network6_getladdr ${ipv6_default_interface}` route add -inet6 ff02:: ${laddr} -prefixlen 16 -interface \ -cloning # Disable installing the default interface with the # case net.inet6.ip6.forwarding=0 and # net.inet6.ip6.accept_rtadv=0, due to avoid conflict # between the default router list and the manual # configured default route. case ${ipv6_gateway_enable} in [Yy][Ee][Ss]) ;; *) if [ `sysctl -n net.inet6.ip6.accept_rtadv` -eq 1 ] then ndp -I ${ipv6_default_interface} fi ;; esac ;; esac } network6_getladdr() { ifconfig $1 2>/dev/null | while read proto addr rest; do case ${proto} in inet6) case ${addr} in fe80::*) if [ -z "$2" ]; then echo ${addr} return fi case ${rest} in *tentative*) continue ;; *) echo ${addr} return esac esac esac done } Index: head/etc/pam.d/README =================================================================== --- head/etc/pam.d/README (revision 130150) +++ head/etc/pam.d/README (revision 130151) @@ -1,62 +1,62 @@ This directory contains configuration files for the Pluggable Authentication Modules (PAM) library. Each file details the module chain for a single service, and must be named after that service. If no configuration file is found for a particular service, the /etc/pam.d/other is used instead. If that file does not exist, /etc/pam.conf is searched for entries matching the specified service or, failing that, the "other" service. See the pam(8) manual page for an explanation of the workings of the PAM library and descriptions of the various files and modules. Below is a summary of the format for the pam.conf and /etc/pam.d/* files. Configuration lines take the following form: module-type control-flag module-path arguments Comments are introduced with a hash mark ('#'). Blank lines and lines consisting entirely of comments are ignored. The meanings of the different fields are as follows: - + module-type: auth: prompt for a password to authenticate that the user is who they say they are, and set any credentials. account: non-authentication based authorization, based on time, resources, etc. session: housekeeping before and/or after login. password: update authentication tokens. - + control-flag: How libpam handles success or failure of the module. required: success is required; on failure all remaining modules are run, but the request will be denied. requisite: success is required, and on failure no remaining modules are run. sufficient: success is sufficient, and if no previous required module failed, no remaining modules are run. binding: success is sufficient; on failure all remaining modules are run, but the request will be denied. optional: ignored unless the other modules return PAM_IGNORE. - + arguments: Module-specific options, plus some generic ones: debug: syslog debug info. no_warn: return no warning messages to the application. Remove this to feed back to the user the reason(s) they are being rejected. use_first_pass: try authentication using password from the preceding auth module. try_first_pass: first try authentication using password from the preceding auth module, and if that fails prompt for a new password. use_mapped_pass: convert cleartext password to a crypto key. expose_account: allow printing more info about the user when prompting. - + Note that having a "sufficient" module as the last entry for a particular service and module type may result in surprising behaviour. To get the intended semantics, add a "required" entry listing the pam_deny module at the end of the chain. $FreeBSD$ Index: head/etc/pam.d/convert.pl =================================================================== --- head/etc/pam.d/convert.pl (revision 130150) +++ head/etc/pam.d/convert.pl (revision 130151) @@ -1,87 +1,87 @@ #!/usr/bin/perl -w #- # Copyright (c) 2001,2002 Networks Associates Technologies, Inc. # All rights reserved. # # This software was developed for the FreeBSD Project by ThinkSec AS and # NAI Labs, the Security Research Division of Network Associates, Inc. # under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the # DARPA CHATS research program. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ # use strict; use Fcntl; use vars qw(%SERVICES); MAIN:{ my $line; my $service; my $version; my $type; local *FILE; - + while (<>) { chomp(); s/\s*$//; next unless m/^(\#*)(\w+)\s+(auth|account|session|password)\s+(\S.*)$/; $line = $1.$3; $line .= "\t" x ((16 - length($line) + 7) / 8); $line .= $4; push(@{$SERVICES{$2}->{$3}}, $line); } foreach $service (keys(%SERVICES)) { $version = '$' . 'FreeBSD' . '$'; if (sysopen(FILE, $service, O_RDONLY)) { while () { next unless (m/(\$[F]reeBSD.*?\$)/); $version = $1; last; } close(FILE); } sysopen(FILE, $service, O_RDWR|O_CREAT|O_TRUNC) or die("$service: $!\n"); print(FILE "#\n"); print(FILE "# $version\n"); print(FILE "#\n"); print(FILE "# PAM configuration for the \"$service\" service\n"); print(FILE "#\n"); foreach $type (qw(auth account session password)) { next unless exists($SERVICES{$service}->{$type}); print(FILE "\n"); print(FILE "# $type\n"); print(FILE join("\n", @{$SERVICES{$service}->{$type}}, "")); } close(FILE); warn("$service\n"); } - + exit(0); } Index: head/etc/pccard_ether =================================================================== --- head/etc/pccard_ether (revision 130150) +++ head/etc/pccard_ether (revision 130151) @@ -1,272 +1,272 @@ #!/bin/sh - # # $FreeBSD$ # # pccard_ether interfacename [start|stop] [ifconfig option] # # example: pccard_ether fxp0 start link0 # . /etc/network.subr stop_dhcp() { # If dhclient is already running, record # its interfaces. if [ -x /usr/bin/grep ]; then eval _active_list=\"`/bin/ps -axwww | \ /usr/bin/grep dhclient | \ /usr/bin/grep -v grep | \ /usr/bin/sed -e 's|^.*dhclient||' | \ /usr/bin/awk '{for (i=1;i<=NF;i++) \ { if ($i~/[a-zA-Z].[0-9]$/) \ { printf(" %s",$i) } }}'` \ \" fi # Get the rc.conf list of dhcp configured interfaces static_dhcp_list="`list_net_interfaces dhcp`" # Get the current ifconfig list of interfaces _aprefix= _nlist= for _if in ${_active_list} ; do _test_if=`ifconfig ${_if} 2>&1` case "$_test_if" in "ifconfig: interface $_if does not exist") ;; ${interface}) # Don't record the same device twice. ;; *) # # Catch devices which were specified before, # but have not been part of the rc. We need # them again for the restart. # for _cif in ${static_dhcp_list} ; do case "$_cif" in ${_if}) # Nothing to add ;; *) # Found interface beside rc.conf _nlist="${_nlist}${_aprefix}${_if}" ;; esac done _dhcplist="${_dhcplist}${_aprefix}${_if}" [ -z "$_aprefix" ] && _aprefix=' ' ;; esac done if [ -s /var/run/dhclient.pid ]; then pidfile="/var/run/dhclient.pid" else return fi /sbin/dhclient -r ${interface} rm -f ${pidfile} case ${startstop} in [Ss][Tt][Oo][Pp]) if [ -z "${_nlist}" ]; then sh `/etc/rc.d/dhclient start` else start_dhcp_keep_current fi ;; *) ;; esac } start_dhcp() { stop_dhcp case ${pccard_ether_delay} in [Nn][Oo]) ;; [0-9]*) sleep ${pccard_ether_delay} ;; esac [ -n "$dhcp_program" ] && dhclient_program="$dhcp_program" [ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags" if [ -x "${dhclient_program}" ]; then interfaces=`echo $_dhcplist ${interface} | xargs -n 1 echo | sort -u` ${dhclient_program} ${dhclient_flags} ${interfaces} else echo "${dhclient_program}: DHCP client software not available" fi } # Called after detaching a card, if dhclient has been # used for more than one interface. start_dhcp_keep_current() { [ -n "$dhcp_program" ] && dhclient_program="$dhcp_program" [ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags" if [ -x "${dhclient_program}" ]; then ${dhclient_program} ${dhclient_flags} \ ${_dhcplist} else echo "${dhclient_program}: DHCP client software not available" fi } # Suck in the configuration variables # if [ -r /etc/defaults/rc.conf ]; then . /etc/defaults/rc.conf source_rc_confs elif [ -r /etc/rc.conf ]; then . /etc/rc.conf fi interface=$1 shift startstop=$1 shift case ${pccard_ifconfig} in [Nn][Oo] | '') expr "${removable_interfaces}" : ".*${interface}" > /dev/null || exit 0 ;; *) # Backward compatible eval ifconfig_${interface}=\${pccard_ifconfig} ;; esac case ${startstop} in [Ss][Tt][Aa][Rr][Tt] | '') if [ -x /usr/bin/grep ]; then if ifconfig ${interface} | grep -s netmask > /dev/null 2>&1; then # Interface is already up, so ignore it. exit 0 fi fi if [ -r /etc/start_if.${interface} ]; then . /etc/start_if.${interface} fi eval ifconfig_args=\$ifconfig_${interface} case ${ifconfig_args} in [Nn][Oo] | '') ;; [Dd][Hh][Cc][Pp]) # Start up the DHCP client program start_dhcp ;; *) # Do the primary ifconfig if specified ifconfig ${interface} ${ifconfig_args} $* # Check to see if aliases need to be added alias=0 while : do eval ifx_args=\$ifconfig_${interface}_alias${alias} if [ -n "${ifx_args}" ]; then ifconfig ${interface} ${ifx_args} alias alias=`expr ${alias} + 1` else break; fi done # Do ipx address if specified eval ifx_args=\$ifconfig_${interface}_ipx if [ -n "${ifx_args}" ]; then ifconfig ${interface} ${ifx_args} fi # Add default route into $static_routes case ${defaultrouter} in [Nn][Oo] | '') ;; *) static_routes="default ${static_routes}" route_default="default ${defaultrouter}" ;; esac # Add private route for this interface into $static_routes eval ifx_routes=\$static_routes_${interface} if [ -n "${ifx_routes}" ]; then static_routes="${ifx_routes} ${static_routes}" fi # Set up any static routes if specified if [ -n "${static_routes}" ]; then for i in ${static_routes}; do eval route_args=\$route_${i} route add ${route_args} done fi ;; esac # IPv6 setup case ${ipv6_enable} in [Yy][Ee][Ss]) if [ -r /etc/network.subr ]; then . /etc/network.subr network6_interface_setup ${interface} fi ;; esac ;; # Stop the interface *) if [ -r /etc/stop_if.${interface} ]; then . /etc/stop_if.${interface} fi eval ifconfig_args=\$ifconfig_${interface} case ${ifconfig_args} in [Nn][Oo] | '') ;; [Dd][Hh][Cc][Pp]) # Stop the DHCP client for this interface stop_dhcp ;; *) # Delete static route if specified eval ifx_routes=\$static_routes_${interface} if [ -n "${ifx_routes}" ]; then for i in ${ifx_routes}; do eval route_args=\$route_${i} route delete ${route_args} done fi # Delete aliases if exist alias=0 while : do eval ifx_args=\$ifconfig_${interface}_alias${alias} if [ -n "${ifx_args}" ]; then ifconfig ${interface} ${ifx_args} alias delete alias=`expr ${alias} + 1` else break; fi done ;; esac # Remove the network interface and cleaning ARP table ifconfig ${interface} delete arp -d -a # Clean the routing table case ${removable_route_flush} in [Nn][Oo]) ;; - *) + *) # flush beforehand, just in case.... route -n flush -inet ;; esac ;; esac Index: head/etc/pf.os =================================================================== --- head/etc/pf.os (revision 130150) +++ head/etc/pf.os (revision 130151) @@ -1,552 +1,550 @@ # $FreeBSD$ # $OpenBSD: pf.os,v 1.10 2003/09/06 01:37:07 frantzen Exp $ # passive OS fingerprinting # ------------------------- # # SYN signatures. Those signatures work for SYN packets only (duh!). # # (C) Copyright 2000-2003 by Michal Zalewski # (C) Copyright 2003 by Mike Frantzen # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # # # This fingerprint database is adapted from Michal Zalewski's p0f passive # operating system package. # # # Each line in this file specifies a single fingerprint. Please read the # information below carefully before attempting to append any signatures # reported as UNKNOWN to this file to avoid mistakes. # # We use the following set metrics for fingerprinting: # # - Window size (WSS) - a highly OS dependent setting used for TCP/IP # performance control (max. amount of data to be sent without ACK). # Some systems use a fixed value for initial packets. On other # systems, it is a multiple of MSS or MTU (MSS+40). In some rare # cases, the value is just arbitrary. # # NEW SIGNATURE: if p0f reported a special value of 'Snn', the number # appears to be a multiple of MSS (MSS*nn); a special value of 'Tnn' # means it is a multiple of MTU ((MSS+40)*nn). Unless you notice the # value of nn is not fixed (unlikely), just copy the Snn or Tnn token # literally. If you know this device has a simple stack and a fixed # MTU, you can however multiply S value by MSS, or T value by MSS+40, # and put it instead of Snn or Tnn. # # If WSS otherwise looks like a fixed value (for example a multiple # of two), or if you can confirm the value is fixed, please quote # it literally. If there's no apparent pattern in WSS chosen, you # should consider wildcarding this value. # # - Overall packet size - a function of all IP and TCP options and bugs. # # NEW SIGNATURE: Copy this value literally. # # - Initial TTL - We check the actual TTL of a received packet. It can't # be higher than the initial TTL, and also shouldn't be dramatically # lower (maximum distance is defined as 40 hops). # # NEW SIGNATURE: *Never* copy TTL from a p0f-reported signature literally. # You need to determine the initial TTL. The best way to do it is to # check the documentation for a remote system, or check its settings. # A fairly good method is to simply round the observed TTL up to # 32, 64, 128, or 255, but it should be noted that some obscure devices # might not use round TTLs (in particular, some shoddy appliances use # "original" initial TTL settings). If not sure, you can see how many # hops you're away from the remote party with traceroute or mtr. # # - Don't fragment flag (DF) - some modern OSes set this to implement PMTU # discovery. Others do not bother. # # NEW SIGNATURE: Copy this value literally. # # - Maximum segment size (MSS) - this setting is usually link-dependent. P0f # uses it to determine link type of the remote host. # # NEW SIGNATURE: Always wildcard this value, except for rare cases when # you have an appliance with a fixed value, know the system supports only # a very limited number of network interface types, or know the system # is using a value it pulled out of nowhere. Specific unique MSS # can be used to tell Google crawlbots from the rest of the population. # # - Window scaling (WSCALE) - this feature is used to scale WSS. # It extends the size of a TCP/IP window to 32 bits. Some modern # systems implement this feature. # # NEW SIGNATURE: Observe several signatures. Initial WSCALE is often set # to zero or other low value. There's usually no need to wildcard this # parameter. # # - Timestamp - some systems that implement timestamps set them to # zero in the initial SYN. This case is detected and handled appropriately. # # - Selective ACK permitted - a flag set by systems that implement # selective ACK functionality. # # - The sequence of TCP all options (MSS, window scaling, selective ACK # permitted, timestamp, NOP). Other than the options previously # discussed, p0f also checks for timestamp option (a silly # extension to broadcast your uptime ;-), NOP options (used for # header padding) and sackOK option (selective ACK feature). # # NEW SIGNATURE: Copy the sequence literally. # # To wildcard any value (except for initial TTL or TCP options), replace # it with '*'. You can also use a modulo operator to match any values # that divide by nnn - '%nnn'. # # Fingerprint entry format: # # wwww:ttt:D:ss:OOO...:OS:Version:Subtype:Details # # wwww - window size (can be *, %nnn, Snn or Tnn). The special values # "S" and "T" which are a multiple of MSS or a multiple of MTU # respectively. # ttt - initial TTL # D - don't fragment bit (0 - not set, 1 - set) # ss - overall SYN packet size # OOO - option value and order specification (see below) # OS - OS genre (Linux, Solaris, Windows) # Version - OS Version (2.0.27 on x86, etc) # Subtype - OS subtype or patchlevel (SP3, lo0) # details - Generic OS details # # If OS genre starts with '*', p0f will not show distance, link type # and timestamp data. It is useful for userland TCP/IP stacks of # network scanners and so on, where many settings are randomized or # bogus. # # If OS genre starts with @, it denotes an approximate hit for a group # of operating systems (signature reporting still enabled in this case). # Use this feature at the end of this file to catch cases for which # you don't have a precise match, but can tell it's Windows or FreeBSD # or whatnot by looking at, say, flag layout alone. # # Option block description is a list of comma or space separated # options in the order they appear in the packet: # # N - NOP option # Wnnn - window scaling option, value nnn (or * or %nnn) # Mnnn - maximum segment size option, value nnn (or * or %nnn) # S - selective ACK OK # T - timestamp # T0 - timestamp with a zero value # # To denote no TCP options, use a single '.'. # # Please report any additions to this file, or any inaccuracies or # problems spotted, to the maintainers: lcamtuf@coredump.cx, # frantzen@openbsd.org and bugs@openbsd.org with a tcpdump packet # capture of the relevant SYN packet(s) # # WARNING WARNING WARNING # ----------------------- # # Do not add a system X as OS Y just because NMAP says so. It is often # the case that X is a NAT firewall. While nmap is talking to the # device itself, p0f is fingerprinting the guy behind the firewall # instead. # # When in doubt, use common sense, don't add something that looks like # a completely different system as Linux or FreeBSD or LinkSys router. # Check DNS name, establish a connection to the remote host and look # at SYN+ACK - does it look similar? # # Some users tweak their TCP/IP settings - enable or disable RFC1323 # functionality, enable or disable timestamps or selective ACK, # disable PMTU discovery, change MTU and so on. Always compare a new rule # to other fingerprints for this system, and verify the system isn't # "customized" before adding it. It is OK to add signature variants # caused by a commonly used software (personal firewalls, security # packages, etc), but it makes no sense to try to add every single # possible /proc/sys/net/ipv4 tweak on Linux or so. # # KEEP IN MIND: Some packet firewalls configured to normalize outgoing # traffic (OpenBSD pf with "scrub" enabled, for example) will, well, # normalize packets. Signatures will not correspond to the originating # system (and probably not quite to the firewall either). # # NOTE: Try to keep this file in some reasonable order, from most to # least likely systems. This will speed up operation. Also keep most # generic and broad rules near the end. # ########################## # Standard OS signatures # ########################## # ----------------- AIX --------------------- # AIX is first because its signatures are close to NetBSD, MacOS X and # Linux 2.0, but it uses a fairly rare MSSes, at least sometimes... # This is a shoddy hack, though. 16384:64:0:44:M512: AIX:4.3:2-3:AIX 4.3.2 and earlier 16384:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 16384:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 32768:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 32768:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 65535:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 65535:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 65535:64:0:64:M*,N,W1,N,N,T,N,N,S: AIX:5.3:ML1:AIX 5.3 ML1 # ----------------- Linux ------------------- 512:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x 16384:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x # Endian snafu! Nelson says "ha-ha": 2:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac 64:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac S4:64:1:60:M1360,S,T,N,W0: Linux:google::Linux (Google crawlbot) S2:64:1:60:M*,S,T,N,W0: Linux:2.4::Linux 2.4 (big boy) S3:64:1:60:M*,S,T,N,W0: Linux:2.4:18-21:Linux 2.4.18 and newer S4:64:1:60:M*,S,T,N,W0: Linux:2.4::Linux 2.4/2.6 S4:64:1:60:M*,S,T,N,W0: Linux:2.6::Linux 2.4/2.6 S3:64:1:60:M*,S,T,N,W1: Linux:2.5::Linux 2.5 S4:64:1:60:M*,S,T,N,W1: Linux:2.5-2.6::Linux 2.5/2.6 S20:64:1:60:M*,S,T,N,W0: Linux:2.2:20-25:Linux 2.2.20 and newer S22:64:1:60:M*,S,T,N,W0: Linux:2.2::Linux 2.2 S11:64:1:60:M*,S,T,N,W0: Linux:2.2::Linux 2.2 # Popular cluster config scripts disable timestamps and # selective ACK: S4:64:1:48:M1460,N,W0: Linux:2.4:cluster:Linux 2.4 in cluster # This needs to be investigated. On some systems, WSS # is selected as a multiple of MTU instead of MSS. I got # many submissions for this for many late versions of 2.4: T4:64:1:60:M1412,S,T,N,W0: Linux:2.4::Linux 2.4 (late, uncommon) # This happens only over loopback, but let's make folks happy: 32767:64:1:60:M16396,S,T,N,W0: Linux:2.4:lo0:Linux 2.4 (local) S8:64:1:60:M3884,S,T,N,W0: Linux:2.2:lo0:Linux 2.2 (local) # Opera visitors: 16384:64:1:60:M*,S,T,N,W0: Linux:2.2:Opera:Linux 2.2 (Opera?) 32767:64:1:60:M*,S,T,N,W0: Linux:2.4:Opera:Linux 2.4 (Opera?) # Some fairly common mods: S4:64:1:52:M*,N,N,S,N,W0: Linux:2.4:ts:Linux 2.4 w/o timestamps S22:64:1:52:M*,N,N,S,N,W0: Linux:2.2:ts:Linux 2.2 w/o timestamps # ----------------- FreeBSD ----------------- 16384:64:1:44:M*: FreeBSD:2.0-2.2::FreeBSD 2.0-4.1 16384:64:1:44:M*: FreeBSD:3.0-3.5::FreeBSD 2.0-4.1 16384:64:1:44:M*: FreeBSD:4.0-4.1::FreeBSD 2.0-4.1 16384:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.4::FreeBSD 4.4 1024:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.4::FreeBSD 4.4 57344:64:1:44:M*: FreeBSD:4.6-4.8:noRFC1323:FreeBSD 4.6-4.8 (no RFC1323) 57344:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.6-4.8::FreeBSD 4.6-4.8 32768:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X) 32768:64:1:60:M*,N,W0,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X) 65535:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X) 65535:64:1:60:M*,N,W0,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X) 65535:64:1:60:M*,N,W1,N,N,T: FreeBSD:4.7-4.9::FreeBSD 4.7-5.1 65535:64:1:60:M*,N,W1,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.7-5.1 # 16384:64:1:60:M*,N,N,N,N,N,N,T:FreeBSD:4.4:noTS:FreeBSD 4.4 (w/o timestamps) # ----------------- NetBSD ------------------ 65535:64:0:60:M*,N,W0,N,N,T0: NetBSD:1.6:opera:NetBSD 1.6 (Opera) 16384:64:0:60:M*,N,W0,N,N,T0: NetBSD:1.6::NetBSD 1.6 16384:64:1:60:M*,N,W0,N,N,T0: NetBSD:1.6:df:NetBSD 1.6 (DF) 16384:64:0:60:M*,N,W0,N,N,T: NetBSD:1.3::NetBSD 1.3 65535:64:1:60:M*,N,W1,N,N,T0: NetBSD:1.6::NetBSD 1.6W-current (DF) # ----------------- OpenBSD ----------------- 16384:64:0:60:M*,N,W0,N,N,T: OpenBSD:2.6::NetBSD 1.3 (or OpenBSD 2.6) 16384:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-3.4::OpenBSD 3.0-3.4 16384:64:0:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-3.4:no-df:OpenBSD 3.0-3.4 (scrub no-df) 57344:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.3-3.4::OpenBSD 3.3-3.4 57344:64:0:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.3-3.4:no-df:OpenBSD 3.3-3.4 (scrub no-df) 65535:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-3.4:opera:OpenBSD 3.0-3.4 (Opera) # ----------------- Solaris ----------------- S17:64:1:64:N,W3,N,N,T0,N,N,S,M*: Solaris:8:RFC1323:Solaris 8 RFC1323 S17:64:1:48:N,N,S,M*: Solaris:8::Solaris 8 S17:255:1:44:M*: Solaris:2.5-2.7::Solaris 2.5 to 7 S6:255:1:44:M*: Solaris:2.6-2.7::Solaris 2.6 to 7 S23:255:1:44:M*: Solaris:2.5:1:Solaris 2.5.1 S34:64:1:48:M*,N,N,S: Solaris:2.9::Solaris 9 S44:255:1:44:M*: Solaris:2.7::Solaris 7 # ----------------- IRIX -------------------- 49152:64:0:44:M*: IRIX:6.4::IRIX 6.4 61440:64:0:44:M*: IRIX:6.2-6.5::IRIX 6.2-6.5 49152:64:0:52:M*,N,W2,N,N,S: IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323) 49152:64:0:52:M*,N,W3,N,N,S: IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323) 61440:64:0:48:M*,N,N,S: IRIX:6.5:12-21:IRIX 6.5.12 - 6.5.21 49152:64:0:48:M*,N,N,S: IRIX:6.5:15-21:IRIX 6.5.15 - 6.5.21 # ----------------- Tru64 ------------------- 32768:64:1:48:M*,N,W0: Tru64:4.0::Tru64 4.0 32768:64:0:48:M*,N,W0: Tru64:5.0::Tru64 5.0 8192:64:0:44:M1460: Tru64:5.1:noRFC1323:Tru64 6.1 (no RFC1323) (or QNX 6) # This looks awfully Linuxish :/ # S22:64:0:60:M*,S,T,N,W0: Tru64:5.0:a:Tru64 5.0a 61440:64:0:48:M*,N,W0: Tru64:5.1a:JP4:Tru64 v5.1a JP4 (or OpenVMS 7.x on Compaq 5.x stack) # ----------------- OpenVMS ----------------- 6144:64:1:60:M*,N,W0,N,N,T: OpenVMS:7.2::OpenVMS 7.2 (Multinet 4.4 stack) # ----------------- MacOS ------------------- 16616:255:1:48:M*,W0: MacOS:7.3-7.6:OTTCP:MacOS 7.3-8.6 (OTTCP) 16616:255:1:48:M*,W0: MacOS:8.0-8.6:OTTCP:MacOS 7.3-8.6 (OTTCP) 32768:255:1:48:M*,W0,N: MacOS:9.1-9.2::MacOS 9.1/9.2 32768:64:0:60:M*,N,W0,N,N,T: MacOS:X:10.2:MacOS X 10.2 # ----------------- Windows ----------------- # Windows 95 - need more: 8192:32:1:44:M*: Windows:95::Windows 95 (low TTL) # Windows 98 - plenty of silly signatures: S44:32:1:48:M*,N,N,S: Windows:98::Windows 98 (low TTL) 8192:32:1:48:M*,N,N,S: Windows:98::Windows 98 (low TTL) %8192:64:1:48:M*,N,N,S: Windows:98::Windows 98 (or newer XP/2000 with tweaked TTL) S4:64:1:48:M*,N,N,S: Windows:98::Windows 98 S6:64:1:48:M*,N,N,S: Windows:98::Windows 98 S12:64:1:48:M*,N,N,S: Windows:98::Windows 98 32767:64:1:48:M*,N,N,S: Windows:98::Windows 98 37300:64:1:48:M*,N,N,S: Windows:98::Windows 98 46080:64:1:52:M*,N,W3,N,N,S: Windows:98:RFC1323:Windows 98 (RFC1323) 65535:64:1:44:M*: Windows:98:noSACK:Windows 98 (no sack) S16:128:1:48:M*,N,N,S: Windows:98::Windows 98 S16:128:1:64:M*,N,W0,N,N,T0,N,N,S: Windows:98::Windows 98 S26:128:1:48:M*,N,N,S: Windows:98::Windows 98 T30:128:1:48:M*,N,N,S: Windows:98::Windows 98 32767:128:1:52:M*,N,W0,N,N,S: Windows:98::Windows 98 60352:128:1:48:M*,N,N,S: Windows:98::Windows 98 60352:128:1:64:M*,N,W2,N,N,T0,N,N,S: Windows:98::Windows 98 # Windows NT 4.0 - need more: 64512:128:1:44:M1414: Windows:NT:4.0:Windows NT 4.0 SP6a 8192:128:1:44:M*: Windows:NT:4.0:Windows NT 4.0 (older) 6144:128:1:52:M*,W0,N,S,N,N: Windows:NT:4.0:Windows NT 4.0 (RFC1323) - + # Windows XP and 2000. Most of the signatures that were # either dubious or non-specific (no service pack data) # were deleted and replaced with generics at the end. 65535:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4, XP SP1 %8192:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4, XP SP1 S45:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4 S6:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows XP SP1, 2000 SP4 S44:128:1:48:M*,N,N,S: Windows:2000:SP3:Windows XP Pro SP1, 2000 SP3 S6:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP SP1, 2000 SP4 S44:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP Pro SP1, 2000 SP3 64512:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP SP1 32767:128:1:48:M1452,N,N,S: Windows:XP:SP1:Windows XP SP1 65535:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP4, XP SP1 %8192:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP4, XP SP1 # Odds, ends, mods: S52:128:1:48:M1260,N,N,S: Windows:XP:Cisco:Windows XP/2000 via Cisco S52:128:1:48:M1260,N,N,S: Windows:2000:Cisco:Windows XP/2000 via Cisco # HUNT DOWN: # *:128:1:48:M*,N,N,S:U:@Windows:XP (leak) (PLEASE REPORT) # ----------------- HP/UX ------------------- 32768:64:1:44:M*: HP-UX:B.10.20::HP-UX B.10.20 32768:64:0:48:M*,W0,N: HP-UX:11.0::HP-UX 11.0 32768:64:1:48:M*,W0,N: HP-UX:11.10::HP-UX 11.0 or 11.11 32768:64:1:48:M*,W0,N: HP-UX:11.11::HP-UX 11.0 or 11.11 # Whoa. Hardcore WSS. 0:64:0:48:M*,W0,N: HP-UX:B.11.00:A:HP-UX B.11.00 A (RFC1323) # ----------------- RiscOS ------------------ # We don't yet support the ?12 TCP option #16384:64:1:68:M1460,N,W0,N,N,T,N,N,?12: RISCOS:3.70-4.36::RISC OS 3.70-4.36 # ----------------- BSD/OS ------------------ # Once again, power of two WSS is also shared by MacOS X with DF set 8192:64:1:60:M1460,N,W0,N,N,T: BSD/OS:3.1::BSD/OS 3.1-4.3 (or MacOS X 10.2 w/DF) 8192:64:1:60:M1460,N,W0,N,N,T: BSD/OS:4.0-4.3::BSD/OS 3.1-4.3 (or MacOS X 10.2) # ---------------- NewtonOS ----------------- 4096:64:0:44:M1420: NewtonOS:2.1::NewtonOS 2.1 # ---------------- NeXTSTEP ----------------- S8:64:0:44:M512: NeXTSTEP:3.3::NeXTSTEP 3.3 # ------------------ BeOS ------------------- 1024:255:0:48:M*,N,W0: BeOS:5.0-5.1::BeOS 5.0-5.1 12288:255:0:44:M1402: BeOS:5.0::BeOS 5.0.x # ------------------ OS/400 ----------------- 8192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR4::OS/400 VR4/R5 8192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR5::OS/400 VR4/R5 4096:64:1:60:M1440,N,W0,N,N,T: OS/400:V4R5:CF67032:OS/400 V4R5 + CF67032 # ------------------ ULTRIX ----------------- 16384:64:0:40:.: ULTRIX:4.5::ULTRIX 4.5 # ------------------- QNX ------------------- S16:64:0:44:M512: QNX:::QNX demodisk # ------------------ Novell ----------------- 16384:128:1:44:M1460: Novell:NetWare:5.0:Novel Netware 5.0 6144:128:1:44:M1460: Novell:IntranetWare:4.11:Novell IntranetWare 4.11 # ----------------- SCO ------------------ S17:64:1:44:M1460: SCO:Unixware:7.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06 S17:64:1:44:M1460: SCO:OpenServer:5.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06 S3:64:1:60:M1460,N,W0,N,N,T: SCO:UnixWare:7.1:SCO UnixWare 7.1 # ------------------- DOS ------------------- 2048:255:0:44:M536: DOS:WATTCP:1.05:DOS Arachne via WATTCP/1.05 ########################################### # Appliance / embedded / other signatures # ########################################### # ---------- Firewalls / routers ------------ S12:64:1:44:M1460: @Checkpoint:::Checkpoint (unknown 1) S12:64:1:48:N,N,S,M1460: @Checkpoint:::Checkpoint (unknown 2) 4096:32:0:44:M1460: ExtremeWare:4.x::ExtremeWare 4.x 60352:64:0:52:M1460,N,W2,N,N,S: Clavister:7::Clavister firewall 7.x # ------- Switches and other stuff ---------- 4128:255:0:44:M*: Cisco:::Cisco Catalyst 3500, 7500 etc S8:255:0:44:M*: Cisco:12008::Cisco 12008 60352:128:1:64:M1460,N,W2,N,N,T,N,N,S: Alteon:ACEswitch::Alteon ACEswitch 64512:128:1:44:M1370: Nortel:Contivity Client::Nortel Conectivity Client # ---------- Caches and whatnots ------------ S4:64:1:52:M1460,N,N,S,N,W0: AOL:web cache::AOL web cache 32850:64:1:64:N,W1,N,N,T,N,N,S,M*: NetApp:5.x::NetApp Data OnTap 5.x 16384:64:1:64:M1460,N,N,S,N,W0,N: NetApp:5.3:1:NetApp 5.3.1 65535:64:0:64:M1460,N,N,S,N,W3,N,N,T: NetApp:5.3:1:NetApp 5.3.1 65535:64:0:60:M1460,N,W0,N,N,T: NetApp:CacheFlow::NetApp CacheFlow 8192:64:1:64:M1460,N,N,S,N,W0,N,N,T: NetApp:5.2:1:NetApp NetCache 5.2.1 S4:64:0:48:M1460,N,N,S: Cisco:Content Engine::Cisco Content Engine 27085:128:0:40:.: Dell:PowerApp cache::Dell PowerApp (Linux-based) 65535:255:1:48:N,W1,M1460: Inktomi:crawler::Inktomi crawler S1:255:1:60:M1460,S,T,N,W0: LookSmart:ZyBorg::LookSmart ZyBorg 16384:255:0:40:.: Proxyblocker:::Proxyblocker (what's this?) # ----------- Embedded systems -------------- S9:255:0:44:M536: PalmOS:Tungsten:C:PalmOS Tungsten C S5:255:0:44:M536: PalmOS:3::PalmOS 3/4 S5:255:0:44:M536: PalmOS:4::PalmOS 3/4 S4:255:0:44:M536: PalmOS:3:5:PalmOS 3.5 2948:255:0:44:M536: PalmOS:3:5:PalmOS 3.5.3 (Handera) S23:64:1:64:N,W1,N,N,T,N,N,S,M1460: SymbianOS:7::SymbianOS 7 8192:255:0:44:M1460: SymbianOS:6048::SymbianOS 6048 (on Nokia 7650?) 8192:255:0:44:M536: SymbianOS:::SymbianOS (on Nokia 9210?) # Perhaps S4? 5840:64:1:60:M1452,S,T,N,W1: Zaurus:3.10::Zaurus 3.10 32768:128:1:64:M1460,N,W0,N,N,T0,N,N,S: PocketPC:2002::PocketPC 2002 S1:255:0:44:M346: Contiki:1.1:rc0:Contiki 1.1-rc0 4096:128:0:44:M1460: Sega:Dreamcast:3.0:Sega Dreamcast Dreamkey 3.0 S12:64:0:44:M1452: AXIS:5600:v5.64:AXIS Printer Server 5600 v5.64 #################### # Fancy signatures # #################### 1024:64:0:40:.: *NMAP:syn scan:1:NMAP syn scan (1) 2048:64:0:40:.: *NMAP:syn scan:2:NMAP syn scan (2) 3072:64:0:40:.: *NMAP:syn scan:3:NMAP syn scan (3) 4096:64:0:40:.: *NMAP:syn scan:4:NMAP syn scan (4) 1024:64:0:60:W10,N,M265,T: *NMAP:OS:1:NMAP OS detection probe (1) 2048:64:0:60:W10,N,M265,T: *NMAP:OS:2:NMAP OS detection probe (2) 3072:64:0:60:W10,N,M265,T: *NMAP:OS:3:NMAP OS detection probe (3) 4096:64:0:60:W10,N,M265,T: *NMAP:OS:4:NMAP OS detection probe (4) ##################################### # Generic signatures - just in case # ##################################### #*:64:1:60:M*,N,W*,N,N,T: @FreeBSD:4.0-4.9::FreeBSD 4.x/5.x #*:64:1:60:M*,N,W*,N,N,T: @FreeBSD:5.0-5.1::FreeBSD 4.x/5.x *:128:1:52:M*,N,W0,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323 no tstamp) *:128:1:52:M*,N,W0,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323 no tstamp) *:128:1:64:M*,N,W0,N,N,T0,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323) *:128:1:64:M*,N,W0,N,N,T0,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323) *:128:1:64:M*,N,W*,N,N,T0,N,N,S: @Windows:XP:RFC1323:Windows XP (RFC1323, w+) *:128:1:48:M*,N,N,S: @Windows:XP::Windows XP/2000 *:128:1:48:M*,N,N,S: @Windows:2000::Windows XP/2000 - - Index: head/etc/printcap =================================================================== --- head/etc/printcap (revision 130150) +++ head/etc/printcap (revision 130151) @@ -1,54 +1,54 @@ # @(#)printcap 5.3 (Berkeley) 6/30/90 # $FreeBSD$ # # This enables a simple local "raw" printer, hooked up to the first # parallel port. No kind of filtering is done, so everything you pass # to the "lpr" command will be printed unmodified. # # Remember, for further print queues you're going to add, you have # to choose different spool directories (the "sd" capability below), # otherwise you will greatly confuse lpd. # # For some advanced printing, have a look at the "apsfilter" package. # It plugs into the lpd system, allowing you to print a variety of # different file types by converting everything to PostScript(tm) # format. For more information about apsfilter visit # # http://www.apsfilter.org/ # # If you don't have a PostScript(tm) printer, don't panic, but do # also install the latest "ghostscript" package for best printer support. # -# Do also refer to the "printing" section of the handbook. +# Do also refer to the "printing" section of the handbook. # # http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html # # A local copy can be found under # # /usr/share/doc/handbook/handbook.{html,latin1}. # # Banner pages are now suppressed by default. Remove the :sh: capability # to turn them back on. # #lp|local line printer:\ # :sh:\ # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: # # Sample remote printer. The physical printer is on machine "lphost". # You can perform any kind of local filtering directly. If you need # local filters (e.g. LF -> CR-LF conversion for HP printers), create # a filter script that sends the proper escape sequence to the printer # and then concatenates stdin to stdout. # #remote|sample remote printer:\ # :sh:\ # :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\ # :if=/usr/local/libexec/if-script: # # Simple Russian printer with hardware CP866 character set, output filter # used for KOI8-R -> CP866 conversion # #lp|Russian local line printer:\ # :sh:of=/usr/libexec/lpr/ru/koi2alt:\ # :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: Index: head/etc/profile =================================================================== --- head/etc/profile (revision 130150) +++ head/etc/profile (revision 130151) @@ -1,18 +1,18 @@ # $FreeBSD$ # # System-wide .profile file for sh(1). # -# Uncomment this to give you the default 4.2 behavior, where disk +# Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # BLOCKSIZE=K; export BLOCKSIZE # # For the setting of languages and character sets please see # login.conf(5) and in particular the charset and lang options. # For full locales list check /usr/share/locale/* # You should also read the setlocale(3) man page for information # on how to achieve more precise control of locale settings. # # Read system messages # msgs -f # Allow terminal messages # mesg y Index: head/etc/rc.d/initdiskless =================================================================== --- head/etc/rc.d/initdiskless (revision 130150) +++ head/etc/rc.d/initdiskless (revision 130151) @@ -1,323 +1,323 @@ #!/bin/sh # # Copyright (c) 1999 Matt Dillon # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ # # REQUIRE: preseedrandom # PROVIDE: initdiskless # KEYWORD: FreeBSD nojail # BEFORE: ipfw # On entry to this script the entire system consists of a read-only root # mounted via NFS. The kernel has run BOOTP and configured an interface # (otherwise it would not have been able to mount the NFS root!) # # We use the contents of /conf to create and populate memory filesystems # that are mounted on top of this root to implement the writable # (and host-specific) parts of the root filesystem, and other volatile # filesystems. # # The hierarchy in /conf has the form /conf/T/M/ where M are directories # for which memory filesystems will be created and filled, # and T is one of the "template" directories below: # # base universal base, typically a replica of the original root; # default secondary universal base, typically overriding some # of the files in the original root; # ${ipba} where ${ipba} is the assigned broadcast IP address # ${class} where ${class} is a list of directories supplied by # bootp/dhcp through the T134 option. # ${ipba} and ${class} are typicall used to configure features # for group of diskless clients, or even individual features; # ${ip} where ${ip} is the machine's assigned IP address, typically # used to set host-specific features; -# +# # Template directories are scanned in the order they are listed above, # with each sucessive directory overriding (merged into) the previous one; # non-existing directories are ignored. # # The existence of a directory /conf/T/M causes this script to create a # memory filesystem mounted as /M on the client. # # Some files in /conf have special meaning, namely: # # Filename Action # ---------------------------------------------------------------- # /conf/T/M/remount # The contents of the file is a mount command. E.g. if # /conf/1.2.3.4/foo/remount contains "mount -o ro /dev/ad0s3", # then /dev/ad0s3 will be be mounted on /conf/1.2.3.4/foo/ # # /conf/T/M/diskless_remount # The contents of the file points to an NFS filesystem. E.g. if # /conf/base/etc/diskless_remount contains "foo.com:/etc", # then foo.com:/etc will be be mounted on /conf/base/etc/ # If the file contains a pathname starting with "/", then # the root path is prepended to it; this allows relocation of # the root filesystem withouth changing configuration files. # # /conf/T/M/md_size # The contents of the file specifies the size of the memory # filesystem to be created, in 512 byte blocks. # The default size is 10240 blocks (5MB). E.g. if # /conf/base/etc/md_size contains "30000" then a 15MB MFS # will be created. In case of multiple entries for the same # directory M, the last one in the scanning order is used. # NOTE: If you only need to create a memory filesystem but not # initialize it from a template, it is preferrable to specify # it in fstab e.g. as "md /tmp mfs -s=30m,rw 0 0" # # /conf/T/SUBDIR.cpio.gz # The file is cpio'd into /SUBDIR (and a memory filesystem is # created for /SUBDIR if necessary). The presence of this file # prevents the copy from /conf/T/SUBDIR/ # # /conf/T/SUBDIR.remove # The list of paths contained in the file are rm -rf'd # relative to /SUBDIR. # # You will almost universally want to create the following files under /conf # # File Content # ---------------------------- ------------------------------------------ # /conf/base/etc/md_size size of /etc filesystem # /conf/base/diskless_remount "/etc" # /conf/default/etc/rc.conf generic diskless config parameters # /conf/default/etc/fstab generic diskless fstab e.g. like this # # foo:/root_part / nfs ro 0 0 # foo:/usr_part /usr nfs ro 0 0 # foo:/home_part /home nfs rw 0 0 # md /tmp mfs -s=30m,rw 0 0 # md /var mfs -s=30m,rw 0 0 # proc /proc procfs rw 0 0 # # plus, possibly, overrides for password files etc. # # NOTE! /var, /tmp, and /dev will be typically created elsewhere, e.g. # as entries in the fstab as above. # Those filesystems should not be specified in /conf. # # (end of documentation, now get to the real code) dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` [ ${dlv:=0} -eq 0 ] && [ ! -f /etc/diskless ] && exit 0 # chkerr: # # Routine to check for error # # checks error code and drops into shell on failure. # if shell exits, terminates script as well as /etc/rc. # chkerr() { case $1 in 0) ;; *) echo "$2 failed: dropping into /bin/sh" /bin/sh # RESUME ;; esac } # Create a generic memory disk # mount_md() { /sbin/mdmfs -i 4096 -s $1 -M md $2 } # Create the memory filesystem if it has not already been created # create_md() { if [ "x`eval echo \\$md_created_$1`" = "x" ]; then if [ "x`eval echo \\$md_size_$1`" = "x" ]; then md_size=10240 else md_size=`eval echo \\$md_size_$1` fi mount_md $md_size /$1 /bin/chmod 755 /$1 eval md_created_$1=created fi } # DEBUGGING # # set -v # Figure out our interface and IP. # bootp_ifc="" bootp_ipa="" bootp_ipbca="" if [ ${dlv:=0} -ne 0 ] ; then iflist=`ifconfig -l` for i in ${iflist} ; do set -- `ifconfig ${i}` while [ $# -ge 1 ] ; do if [ "${bootp_ifc}" = "" -a "$1" = "inet" ] ; then bootp_ifc=${i} ; bootp_ipa=${2} ; shift fi if [ "${bootp_ipbca}" = "" -a "$1" = "broadcast" ] ; then bootp_ipbca=$2; shift fi shift done if [ "${bootp_ifc}" != "" ] ; then break fi done # Insert the directories passed with the T134 bootp cookie # in the list of paths used for templates. i="`/sbin/sysctl -n kern.bootp_cookie`" [ "${i}" != "" ] && bootp_ipbca="${bootp_ipbca} ${i}" echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" fi # Figure out our NFS root path # set -- `mount -t nfs` while [ $# -ge 1 ] ; do if [ "$2" = "on" -a "$3" = "/" ]; then nfsroot="$1" break fi shift done # The list of directories with template files templates="base default ${bootp_ipbca} ${bootp_ipa}" # The list of filesystems to umount after the copy to_umount="" # If /conf/diskless_remount exists, remount all of /conf. This allows # multiple roots to share the same conf files. if [ -d /conf -a -f /conf/diskless_remount ]; then nfspt=`/bin/cat /conf/diskless_remount` if [ `expr "$nfspt" : '\(.\)'` = "/" ]; then nfspt="${nfsroot}${nfspt}" fi mount_nfs $nfspt /conf chkerr $? "mount_nfs $nfspt /conf" to_umount="/conf" fi # Resolve templates in /conf/base, /conf/default, /conf/${bootp_ipbca}, # and /conf/${bootp_ipa}. For each subdirectory found within these # directories: # # - calculate memory filesystem sizes. If the subdirectory (prior to # NFS remounting) contains the file 'md_size', the contents specified # in 512 byte sectors will be used to size the memory filesystem. Otherwise # 8192 sectors (4MB) is used. # # - handle NFS remounts. If the subdirectory contains the file # diskless_remount, the contents of the file is NFS mounted over # the directory. For example /conf/base/etc/diskless_remount # might contain 'myserver:/etc'. NFS remounts allow you to avoid # having to dup your system directories in /conf. Your server must # be sure to export those filesystems -alldirs, however. # If the diskless_remount file contains a string beginning with a # '/' it is assumed that the local nfsroot should be prepended to # it before attemping to the remount. This allows the root to be # relocated without needing to change the remount files. # for i in ${templates} ; do for j in /conf/$i/* ; do # memory filesystem size specification # subdir=${j##*/} if [ -d $j -a -f $j/md_size ]; then eval md_size_$subdir=`cat $j/md_size` fi # remount # if [ -d $j -a -f $j/remount ]; then nfspt=`/bin/cat $j/remount` $nfspt $j chkerr $? "$nfspt $j" to_umount="${to_umount} $j" # XXX hope it is really a mount! fi # NFS remount # if [ -d $j -a -f $j/diskless_remount ]; then nfspt=`/bin/cat $j/diskless_remount` if [ `expr "$nfspt" : '\(.\)'` = "/" ]; then nfspt="${nfsroot}${nfspt}" fi mount_nfs $nfspt $j chkerr $? "mount_nfs $nfspt $j" to_umount="${to_umount} $j" fi done done # - Create all required MFS filesystems and populate them from # our templates. Support both a direct template and a dir.cpio.gz # archive. Support dir.remove files containing a list of relative # paths to remove. # # The dir.cpio.gz form is there to make the copy process more efficient, # so if the cpio archive is present, it prevents the files from dir/ # from being copied. for i in ${templates} ; do for j in /conf/$i/* ; do subdir=${j##*/} if [ -d $j -a ! -f $j.cpio.gz ]; then create_md $subdir cp -Rp $j/* /$subdir fi done for j in /conf/$i/*.cpio.gz ; do subdir=${j%*.cpio.gz} subdir=${subdir##*/} if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d ) fi done for j in /conf/$i/*.remove ; do subdir=${j%*.remove} subdir=${subdir##*/} if [ -f $j ]; then # doubly sure it is a memory disk before rm -rf'ing create_md $subdir (cd /$subdir; rm -rf `/bin/cat $j`) fi done done # umount partitions used to fill the memory filesystems [ -n "${to_umount}" ] && umount $to_umount Index: head/etc/rc.initdiskless =================================================================== --- head/etc/rc.initdiskless (revision 130150) +++ head/etc/rc.initdiskless (revision 130151) @@ -1,323 +1,323 @@ #!/bin/sh # # Copyright (c) 1999 Matt Dillon # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ # # REQUIRE: preseedrandom # PROVIDE: initdiskless # KEYWORD: FreeBSD nojail # BEFORE: ipfw # On entry to this script the entire system consists of a read-only root # mounted via NFS. The kernel has run BOOTP and configured an interface # (otherwise it would not have been able to mount the NFS root!) # # We use the contents of /conf to create and populate memory filesystems # that are mounted on top of this root to implement the writable # (and host-specific) parts of the root filesystem, and other volatile # filesystems. # # The hierarchy in /conf has the form /conf/T/M/ where M are directories # for which memory filesystems will be created and filled, # and T is one of the "template" directories below: # # base universal base, typically a replica of the original root; # default secondary universal base, typically overriding some # of the files in the original root; # ${ipba} where ${ipba} is the assigned broadcast IP address # ${class} where ${class} is a list of directories supplied by # bootp/dhcp through the T134 option. # ${ipba} and ${class} are typicall used to configure features # for group of diskless clients, or even individual features; # ${ip} where ${ip} is the machine's assigned IP address, typically # used to set host-specific features; -# +# # Template directories are scanned in the order they are listed above, # with each sucessive directory overriding (merged into) the previous one; # non-existing directories are ignored. # # The existence of a directory /conf/T/M causes this script to create a # memory filesystem mounted as /M on the client. # # Some files in /conf have special meaning, namely: # # Filename Action # ---------------------------------------------------------------- # /conf/T/M/remount # The contents of the file is a mount command. E.g. if # /conf/1.2.3.4/foo/remount contains "mount -o ro /dev/ad0s3", # then /dev/ad0s3 will be be mounted on /conf/1.2.3.4/foo/ # # /conf/T/M/diskless_remount # The contents of the file points to an NFS filesystem. E.g. if # /conf/base/etc/diskless_remount contains "foo.com:/etc", # then foo.com:/etc will be be mounted on /conf/base/etc/ # If the file contains a pathname starting with "/", then # the root path is prepended to it; this allows relocation of # the root filesystem withouth changing configuration files. # # /conf/T/M/md_size # The contents of the file specifies the size of the memory # filesystem to be created, in 512 byte blocks. # The default size is 10240 blocks (5MB). E.g. if # /conf/base/etc/md_size contains "30000" then a 15MB MFS # will be created. In case of multiple entries for the same # directory M, the last one in the scanning order is used. # NOTE: If you only need to create a memory filesystem but not # initialize it from a template, it is preferrable to specify # it in fstab e.g. as "md /tmp mfs -s=30m,rw 0 0" # # /conf/T/SUBDIR.cpio.gz # The file is cpio'd into /SUBDIR (and a memory filesystem is # created for /SUBDIR if necessary). The presence of this file # prevents the copy from /conf/T/SUBDIR/ # # /conf/T/SUBDIR.remove # The list of paths contained in the file are rm -rf'd # relative to /SUBDIR. # # You will almost universally want to create the following files under /conf # # File Content # ---------------------------- ------------------------------------------ # /conf/base/etc/md_size size of /etc filesystem # /conf/base/diskless_remount "/etc" # /conf/default/etc/rc.conf generic diskless config parameters # /conf/default/etc/fstab generic diskless fstab e.g. like this # # foo:/root_part / nfs ro 0 0 # foo:/usr_part /usr nfs ro 0 0 # foo:/home_part /home nfs rw 0 0 # md /tmp mfs -s=30m,rw 0 0 # md /var mfs -s=30m,rw 0 0 # proc /proc procfs rw 0 0 # # plus, possibly, overrides for password files etc. # # NOTE! /var, /tmp, and /dev will be typically created elsewhere, e.g. # as entries in the fstab as above. # Those filesystems should not be specified in /conf. # # (end of documentation, now get to the real code) dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` [ ${dlv:=0} -eq 0 ] && [ ! -f /etc/diskless ] && exit 0 # chkerr: # # Routine to check for error # # checks error code and drops into shell on failure. # if shell exits, terminates script as well as /etc/rc. # chkerr() { case $1 in 0) ;; *) echo "$2 failed: dropping into /bin/sh" /bin/sh # RESUME ;; esac } # Create a generic memory disk # mount_md() { /sbin/mdmfs -i 4096 -s $1 -M md $2 } # Create the memory filesystem if it has not already been created # create_md() { if [ "x`eval echo \\$md_created_$1`" = "x" ]; then if [ "x`eval echo \\$md_size_$1`" = "x" ]; then md_size=10240 else md_size=`eval echo \\$md_size_$1` fi mount_md $md_size /$1 /bin/chmod 755 /$1 eval md_created_$1=created fi } # DEBUGGING # # set -v # Figure out our interface and IP. # bootp_ifc="" bootp_ipa="" bootp_ipbca="" if [ ${dlv:=0} -ne 0 ] ; then iflist=`ifconfig -l` for i in ${iflist} ; do set -- `ifconfig ${i}` while [ $# -ge 1 ] ; do if [ "${bootp_ifc}" = "" -a "$1" = "inet" ] ; then bootp_ifc=${i} ; bootp_ipa=${2} ; shift fi if [ "${bootp_ipbca}" = "" -a "$1" = "broadcast" ] ; then bootp_ipbca=$2; shift fi shift done if [ "${bootp_ifc}" != "" ] ; then break fi done # Insert the directories passed with the T134 bootp cookie # in the list of paths used for templates. i="`/sbin/sysctl -n kern.bootp_cookie`" [ "${i}" != "" ] && bootp_ipbca="${bootp_ipbca} ${i}" echo "Interface ${bootp_ifc} IP-Address ${bootp_ipa} Broadcast ${bootp_ipbca}" fi # Figure out our NFS root path # set -- `mount -t nfs` while [ $# -ge 1 ] ; do if [ "$2" = "on" -a "$3" = "/" ]; then nfsroot="$1" break fi shift done # The list of directories with template files templates="base default ${bootp_ipbca} ${bootp_ipa}" # The list of filesystems to umount after the copy to_umount="" # If /conf/diskless_remount exists, remount all of /conf. This allows # multiple roots to share the same conf files. if [ -d /conf -a -f /conf/diskless_remount ]; then nfspt=`/bin/cat /conf/diskless_remount` if [ `expr "$nfspt" : '\(.\)'` = "/" ]; then nfspt="${nfsroot}${nfspt}" fi mount_nfs $nfspt /conf chkerr $? "mount_nfs $nfspt /conf" to_umount="/conf" fi # Resolve templates in /conf/base, /conf/default, /conf/${bootp_ipbca}, # and /conf/${bootp_ipa}. For each subdirectory found within these # directories: # # - calculate memory filesystem sizes. If the subdirectory (prior to # NFS remounting) contains the file 'md_size', the contents specified # in 512 byte sectors will be used to size the memory filesystem. Otherwise # 8192 sectors (4MB) is used. # # - handle NFS remounts. If the subdirectory contains the file # diskless_remount, the contents of the file is NFS mounted over # the directory. For example /conf/base/etc/diskless_remount # might contain 'myserver:/etc'. NFS remounts allow you to avoid # having to dup your system directories in /conf. Your server must # be sure to export those filesystems -alldirs, however. # If the diskless_remount file contains a string beginning with a # '/' it is assumed that the local nfsroot should be prepended to # it before attemping to the remount. This allows the root to be # relocated without needing to change the remount files. # for i in ${templates} ; do for j in /conf/$i/* ; do # memory filesystem size specification # subdir=${j##*/} if [ -d $j -a -f $j/md_size ]; then eval md_size_$subdir=`cat $j/md_size` fi # remount # if [ -d $j -a -f $j/remount ]; then nfspt=`/bin/cat $j/remount` $nfspt $j chkerr $? "$nfspt $j" to_umount="${to_umount} $j" # XXX hope it is really a mount! fi # NFS remount # if [ -d $j -a -f $j/diskless_remount ]; then nfspt=`/bin/cat $j/diskless_remount` if [ `expr "$nfspt" : '\(.\)'` = "/" ]; then nfspt="${nfsroot}${nfspt}" fi mount_nfs $nfspt $j chkerr $? "mount_nfs $nfspt $j" to_umount="${to_umount} $j" fi done done # - Create all required MFS filesystems and populate them from # our templates. Support both a direct template and a dir.cpio.gz # archive. Support dir.remove files containing a list of relative # paths to remove. # # The dir.cpio.gz form is there to make the copy process more efficient, # so if the cpio archive is present, it prevents the files from dir/ # from being copied. for i in ${templates} ; do for j in /conf/$i/* ; do subdir=${j##*/} if [ -d $j -a ! -f $j.cpio.gz ]; then create_md $subdir cp -Rp $j/* /$subdir fi done for j in /conf/$i/*.cpio.gz ; do subdir=${j%*.cpio.gz} subdir=${subdir##*/} if [ -f $j ]; then create_md $subdir echo "Loading /$subdir from cpio archive $j" (cd / ; /stand/gzip -d < $j | /stand/cpio --extract -d ) fi done for j in /conf/$i/*.remove ; do subdir=${j%*.remove} subdir=${subdir##*/} if [ -f $j ]; then # doubly sure it is a memory disk before rm -rf'ing create_md $subdir (cd /$subdir; rm -rf `/bin/cat $j`) fi done done # umount partitions used to fill the memory filesystems [ -n "${to_umount}" ] && umount $to_umount Index: head/etc/rc.shutdown =================================================================== --- head/etc/rc.shutdown (revision 130150) +++ head/etc/rc.shutdown (revision 130151) @@ -1,102 +1,102 @@ #!/bin/sh # # Copyright (c) 1997 Ollivier Robert # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # $FreeBSD$ # # Site-specific closing actions for daemons run by init on shutdown, # or before going single-user from multi-user. # Output and errors are directed to console by init, and the # console is the controlling terminal. stty status '^T' # Set shell to ignore SIGINT (2), but not children; # shell catches SIGQUIT (3) and returns to single user after fsck. trap : 2 trap : 3 # shouldn't be needed HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin export HOME PATH . /etc/rc.subr load_rc_config 'XXX' # reverse_list list # print the list in reverse order # reverse_list() { _revlist= for _revfile in $*; do _revlist="$_revfile${script_name_sep}$_revlist" done echo $_revlist } # If requested, start a watchdog timer in the background which # will terminate rc.shutdown if rc.shutdown doesn't complete # within the specified time. # _rcshutdown_watchdog= if [ -n "$rcshutdown_timeout" ]; then debug "Initiating watchdog timer." - sleep $rcshutdown_timeout && ( + sleep $rcshutdown_timeout && ( _msg="$rcshutdown_timeout second watchdog" \ " timeout expired. Shutdown terminated." logger -t rc.shutdown "$_msg" echo "$_msg" date kill -KILL $$ >/dev/null 2>&1 ) & _rcshutdown_watchdog=$! fi # Determine the shutdown order of the /etc/rc.d scripts, # and perform the operation # XXX - rcorder(8) with multiple -k switches works as a logical OR, # so, we can't do this: rcorder -k shutdown -k FreeBSD. # files=`eval grep -l \'^# KEYWORD:.*FreeBSD\' \`rcorder -k shutdown /etc/rc.d/* 2>/dev/null\`` for _rc_elem in `reverse_list $files`; do debug "run_rc_script $_rc_elem stop" run_rc_script $_rc_elem stop done # Terminate the background watchdog timer (if it is running) # if [ -n "$_rcshutdown_watchdog" ]; then kill -TERM $_rcshutdown_watchdog >/dev/null 2>&1 fi # Insert other shutdown procedures here echo '.' exit 0 Index: head/etc/remote =================================================================== --- head/etc/remote (revision 130150) +++ head/etc/remote (revision 130151) @@ -1,68 +1,68 @@ # $FreeBSD$ # # @(#)remote 5.2 (Berkeley) 6/30/90 # # remote -- remote host description file # see tip(1), remote(5) # # at ACU type # br bit rate (defaults to 9600) # cu call unit (default is dv) # du make a call flag (dial up) # dv device to use for the tty # el EOL marks (default is NULL) # fs frame size (default is BUFSIZ) -- used in buffering writes on # receive operations # ie input EOF marks (default is NULL) # oe output EOF string (default is NULL) # pa The parity type to use: even, odd, none, zero, one (default even) # pn phone numbers (@ =>'s search phones file; possibly taken from # PHONES environment variable) # tc to continue a capability -# Example systems +# Example systems unixshell|Unix Access:\ :pn=\@:tc=unix57600: dosbbs|DOS-based BBS:\ :pn=\@:tc=dos57600: # UNIX system definitions unix57600|57600 Baud dial-out to a UNIX system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial57600: unix33600|33600 Baud dial-out to a UNIX system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial33600: # DOS system definitions dos57600|57600 Baud dial-out to a DOS system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^Z:pa=none:tc=dial57600: # 33.6k and 56k modems run the com port at 115200 bps to allow for the # compression performed in the modem. Note that some serial hardware # does not support speeds above 38400 bps and that speeds above that have # never been formally standardized. Modern architectures with 16550 or # better UARTs typically have no issues with the higher speeds. dial57600|57600 Baud Hayes attributes:\ br#115200:tc=dial: dial33600|33600 Baud Hayes attributes:\ br#115200:tc=dial: # 14.4k and 28.8k modems ran the port at 4x. Some rare 19.2 baud modems # did too, but those aren't included in this example. dial28800|28800 Baud Hayes attributes:\ br#115200:tc=dial: dial14400|14400 Baud Hayes attributes:\ br#57600:tc=dial: dial|Generic dialing parameters:\ :dv=/dev/cuaa0:cu=/dev/cuaa0:at=hayes:du:pa=none: # Hardwired line cuaa0c|cua0c:dv=/dev/cuaa0:br#9600:pa=none: # Finger friendly shortcuts sio0|com1:dv=/dev/cuaa0:br#9600:pa=none: sio1|com2:dv=/dev/cuaa1:br#9600:pa=none: sio2|com3:dv=/dev/cuaa2:br#9600:pa=none: sio3|com4:dv=/dev/cuaa3:br#9600:pa=none: sio4|com5:dv=/dev/cuaa4:br#9600:pa=none: sio5|com6:dv=/dev/cuaa5:br#9600:pa=none: sio6|com7:dv=/dev/cuaa6:br#9600:pa=none: sio7|com8:dv=/dev/cuaa7:br#9600:pa=none: Index: head/etc/rpc =================================================================== --- head/etc/rpc (revision 130150) +++ head/etc/rpc (revision 130151) @@ -1,68 +1,68 @@ # # $FreeBSD$ # rpc 88/08/01 4.0 RPCSRC; from 1.12 99/07/25 SMI # rpcbind 100000 portmap sunrpc rpcbind rstatd 100001 rstat rstat_svc rup perfmeter rusersd 100002 rusers nfs 100003 nfsprog ypserv 100004 ypprog mountd 100005 mount showmount ypbind 100007 walld 100008 rwall shutdown yppasswdd 100009 yppasswd etherstatd 100010 etherstat rquotad 100011 rquotaprog quota rquota sprayd 100012 spray 3270_mapper 100013 rje_mapper 100014 selection_svc 100015 selnsvc database_svc 100016 rexd 100017 rex alis 100018 sched 100019 llockmgr 100020 nlockmgr 100021 x25.inr 100022 statmon 100023 status 100024 bootparamd 100026 bootparam ypupdated 100028 ypupdate keyserv 100029 keyserver sunlink_mapper 100033 -tfsd 100037 +tfsd 100037 nsed 100038 nsemntd 100039 showfhd 100043 showfh ioadmd 100055 rpc.ioadmd NETlicense 100062 sunisamd 100065 debug_svc 100066 dbsrv cmsd 100068 bugtraqd 100071 kerbd 100078 ttdbserver 100083 tooltalk event 100101 na.event # SunNet Manager logger 100102 na.logger # SunNet Manager sync 100104 na.sync hostperf 100107 na.hostperf activity 100109 na.activity # SunNet Manager hostmem 100112 na.hostmem sample 100113 na.sample x25 100114 na.x25 ping 100115 na.ping rpcnfs 100116 na.rpcnfs hostif 100117 na.hostif etherif 100118 na.etherif iproutes 100120 na.iproutes layers 100121 na.layers snmp 100122 na.snmp snmp-cmc snmp-synoptics snmp-unisys snmp-utk traffic 100123 na.traffic nfs_acl 100227 sadmind 100232 nisd 100300 rpc.nisd nispasswd 100303 rpc.nispasswdd ufsd 100233 pcnfsd 150001 pcnfs amd 300019 sgi_fam 391002 # file alteration monitor Index: head/etc/termcap.small =================================================================== --- head/etc/termcap.small (revision 130150) +++ head/etc/termcap.small (revision 130151) @@ -1,250 +1,250 @@ # Copyright (c) 1980, 1985, 1989 The Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # @(#)termcap.src 5.88 (Berkeley) 4/30/91 # $FreeBSD$ -# +# # for syscons # common entry without semigraphics cons25w|ansiw|ansi80x25-raw:\ :am:bs:NP:ms:pt:AX:eo:bw:ut:km:\ :co#80:li#25:pa#64:Co#8:it#8:\ :al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:\ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:cb=\E[1K:\ :nd=\E[C:rs=\Ec:so=\E[7m:se=\E[27m:up=\E[A:cr=^M:ta=^I:\ :AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:sc=\E7:rc=\E8:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\ :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\ :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:sf=\E[S:sr=\E[T:\ :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\ :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:bl=^G:\ :ve=\E[=S:vi=\E[=1S:vs=\E[=2S: # CP437 FreeBSD console with ACS support cons25|ansis|ansi80x25:\ :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\ :tc=cons25w: cons25-m|ansis-mono|ansi80x25-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25: cons30|ansi80x30:\ :li#30:tc=cons25: cons30-m|ansi80x30-mono:\ :li#30:tc=cons25-m: cons43|ansi80x43:\ :li#43:tc=cons25: cons43-m|ansi80x43-mono:\ :li#43:tc=cons25-m: cons50|ansil|ansi80x50:\ :li#50:tc=cons25: cons50-m|ansil-mono|ansi80x50-mono:\ :li#50:tc=cons25-m: cons60|ansi80x60:\ :li#60:tc=cons25: cons60-m|ansi80x60-mono:\ :li#60:tc=cons25-m: # KOI8-R/KOI8-U FreeBSD console with ACS support cons25r|cons25u|pc3r|ibmpc3r|cons25-koi8:\ :ac=q\200x\201m\204v\211j\205t\206n\212u\207l\202w\210k\203y\230z\231f\234~\225a\220h\2210\215:\ :tc=cons25w: cons25r-m|cons25u-m|pc3r-m|ibmpc3r-mono|cons25-koi8-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25r: cons30r|cons30u|cons30-koi8:\ :li#30:tc=cons25r: cons30r-m|cons30u-m|cons30-koi8-mono:\ :li#30:tc=cons25r-m: cons43r|cons43u|cons43-koi8:\ :li#43:tc=cons25r: cons43r-m|cons43u-m|cons43-koi8-mono:\ :li#43:tc=cons25r-m: cons50r|cons50u|cons50-koi8:\ :li#50:tc=cons25r: cons50r-m|cons50u-m|cons50-koi8-mono:\ :li#50:tc=cons25r-m: cons60r|cons60u|cons60-koi8:\ :li#60:tc=cons25r: cons60r-m|cons60u-m|cons60-koi8-mono:\ :li#60:tc=cons25r-m: # ISO 8859-2 FreeBSD console with ACS support cons25l2|cons25-iso8859-2:\ :ac=f\260i\247:\ :tc=cons25w: cons25l2-m|cons25-iso8859-2-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l2: cons30l2|cons30-iso8859-2:\ :li#30:tc=cons25l2: cons30l2-m|cons30-iso8859-2-mono:\ :li#30:tc=cons25l2-m: cons43l2|cons43-iso8859-2:\ :li#43:tc=cons25l2: cons43l2-m|cons43-iso8859-2-mono:\ :li#43:tc=cons25l2-m: cons50l2|cons50-iso8859-2:\ :li#50:tc=cons25l2: cons50l2-m|cons50-iso8859-2-mono:\ :li#50:tc=cons25l2-m: cons60l2|cons60-iso8859-2:\ :li#60:tc=cons25l2: cons60l2-m|cons60-iso8859-2-mono:\ :li#60:tc=cons25l2-m: # ISO 8859-1 FreeBSD console with ACS support cons25l1|cons25-iso8859-1:\ :ac=f\260g\261}\243+\253,\273i\247:\ :tc=cons25w: cons25l1-m|cons25-iso8859-1-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l1: cons30l1|cons30-iso8859-1:\ :li#30:tc=cons25l1: cons30l1-m|cons30-iso8859-1-mono:\ :li#30:tc=cons25l1-m: cons43l1|cons43-iso8859-1:\ :li#43:tc=cons25l1: cons43l1-m|cons43-iso8859-1-mono:\ :li#43:tc=cons25l1-m: cons50l1|cons50-iso8859-1:\ :li#50:tc=cons25l1: cons50l1-m|cons50-iso8859-1-mono:\ :li#50:tc=cons25l1-m: cons60l1|cons60-iso8859-1:\ :li#60:tc=cons25l1: cons60l1-m|cons60-iso8859-1-mono:\ :li#60:tc=cons25l1-m: # ISO 8859-7 FreeBSD console with ACS support cons25l7:cons25-iso8859-7:\ :ac=f\260g\261{\360}\243+\253,\273i\247:\ :tc=cons25w: cons25l7-m|cons25-iso8859-7-mono:\ :pa@:Co@:AF@:AB@:AX@:op@:us=\E[4m:ue=\E[24m:tc=cons25l7: cons30l7|cons30-iso8859-7:\ :li#30:tc=cons25l7: cons30l7-m|cons30-iso8859-7-mono:\ :li#30:tc=cons25l7-m: cons43l7|cons43-iso8859-7:\ :li#43:tc=cons25l7: cons43l7-m|cons43-iso8859-7-mono:\ :li#43:tc=cons25l7-m: cons50l7|cons50-iso8859-7:\ :li#50:tc=cons25l7: cons50l7-m|cons50-iso8859-7-mono:\ :li#50:tc=cons25l7-m: cons60l7|cons60-iso8859-7:\ :li#60:tc=cons25l7: cons60l7-m|cons60-iso8859-7-mono:\ :li#60:tc=cons25l7-m: # dosansi|ANSI.SYS standard crt:\ :am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\ :do=\E[B:li#25:mi:nd=\E[C:\ :se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\ :kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\ :k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\ :k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED: # The following is a version of the ibm-pc entry distributed with PC/IX, # (Interactive Systems' System 3 for the Big Blue), modified by Richard # McIntosh at UCB/CSM. The :pt: and :uc: have been removed from the original, # (the former is untrue, and the latter failed under UCB/man); standout and # underline modes have been added. Note: this entry describes the "native" # capabilities of the PC monochrome display, without ANY emulation; most # communications packages (but NOT PC/IX connect) do some kind of emulation. pc|ibmpc|ibm pc PC/IX:\ :li#24:co#80:am:bs:bw:eo:\ :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\ :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m: pc3mono|IBM PC 386BSD Console with monochrome monitor:\ :so=\E[0;1r\E[m:tc=pc3: pc3|ibmpc3|IBM PC 386BSD Console:\ :Co#8:\ :DO=\E[%dB:\ :F1=\E[W:\ :F2=\E[X:\ :K1=\E[H:\ :K2=\E[I:\ :K3=\E[E:\ :K4=\E[F:\ :K5=\E[G:\ :LE=\E[%dD:\ :RI=\E[%dC:\ :Sb=\E[1;%dx:\ :Sf=\E[2;%dx:\ :UP=\E[%dA:\ :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\ :am:\ :bl=^G:\ :bs:\ :cb=\E[1K:\ :cd=\E[J:\ :ce=\E[K:\ :cl=\E[H\E[J:\ :cm=\E[%i%d;%dH:\ :co#80:\ :cr=^M:\ :do=\E[B:\ :ho=\E[H:\ :is=\E[m:\ :it#8:\ :k;=\E[V:\ :k1=\E[M:\ :k2=\E[N:\ :k3=\E[O:\ :k4=\E[P:\ :k5=\E[Q:\ :k6=\E[R:\ :k7=\E[S:\ :k8=\E[T:\ :k9=\E[U:\ :kD=\177:\ :@7=\E[F:\ :kN=\E[G:\ :kP=\E[I:\ :kb=\177:\ :kd=\E[B:\ :kh=\E[H:\ :kl=\E[D:\ :kr=\E[C:\ :ku=\E[A:\ :le=^H:\ :li#25:\ :ms:\ :nd=\E[C:\ :op=\E[x:\ :pa#64:\ :rs=\E[m:\ :se=\E[m:\ :sf=\E[S:\ :so=\E[7;1r\E[7m:\ :sr=\E[T:\ :ta=^I:\ :te=\E[m:\ :ti=\E[m:\ :up=\E[A:\ :ut: