Advertisement
Guest User

server

a guest
Jan 28th, 2019
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.58 KB | None | 0 0
  1. # GENERIC -- Generic kernel configuration file for FreeBSD/amd64
  2. #
  3. # For more information on this file, please read the config(5) manual page,
  4. # and/or the handbook section on Kernel Configuration Files:
  5. #
  6. # https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
  7. #
  8. # The handbook is also available locally in /usr/share/doc/handbook
  9. # if you've installed the doc distribution, otherwise always see the
  10. # FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
  11. # latest information.
  12. #
  13. # An exhaustive list of options and more detailed explanations of the
  14. # device lines is also present in the ../../conf/NOTES and NOTES files.
  15. # If you are in doubt as to the purpose or necessity of a line, check first
  16. # in NOTES.
  17. #
  18. # $FreeBSD: stable/12/sys/amd64/conf/GENERIC 340695 2018-11-20 19:37:09Z zeising $
  19.  
  20. cpu HAMMER
  21. ident SERVER
  22.  
  23. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
  24. makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
  25.  
  26. options SCHED_ULE # ULE scheduler
  27. options NUMA # Non-Uniform Memory Architecture support
  28. options PREEMPTION # Enable kernel thread preemption
  29. options VIMAGE # Subsystem virtualization, e.g. VNET
  30. options INET # InterNETworking
  31. options INET6 # IPv6 communications protocols
  32. options IPSEC # IP (v4/v6) security
  33. options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5
  34. options TCP_OFFLOAD # TCP offload
  35. options TCP_BLACKBOX # Enhanced TCP event logging
  36. options TCP_HHOOK # hhook(9) framework for TCP
  37. options TCP_RFC7413 # TCP Fast Open
  38. options SCTP # Stream Control Transmission Protocol
  39. options FFS # Berkeley Fast Filesystem
  40. options SOFTUPDATES # Enable FFS soft updates support
  41. options UFS_ACL # Support for access control lists
  42. options UFS_DIRHASH # Improve performance on big directories
  43. options UFS_GJOURNAL # Enable gjournal-based UFS journaling
  44. options QUOTA # Enable disk quotas for UFS
  45. options MD_ROOT # MD is a potential root device
  46. options NFSCL # Network Filesystem Client
  47. options NFSD # Network Filesystem Server
  48. options NFSLOCKD # Network Lock Manager
  49. options NFS_ROOT # NFS usable as /, requires NFSCL
  50. options MSDOSFS # MSDOS Filesystem
  51. options CD9660 # ISO 9660 Filesystem
  52. options PROCFS # Process filesystem (requires PSEUDOFS)
  53. options PSEUDOFS # Pseudo-filesystem framework
  54. options GEOM_RAID # Soft RAID functionality.
  55. options GEOM_LABEL # Provides labelization
  56. options EFIRT # EFI Runtime Services support
  57. options COMPAT_FREEBSD32 # Compatible with i386 binaries
  58. options COMPAT_FREEBSD4 # Compatible with FreeBSD4
  59. options COMPAT_FREEBSD5 # Compatible with FreeBSD5
  60. options COMPAT_FREEBSD6 # Compatible with FreeBSD6
  61. options COMPAT_FREEBSD7 # Compatible with FreeBSD7
  62. options COMPAT_FREEBSD9 # Compatible with FreeBSD9
  63. options COMPAT_FREEBSD10 # Compatible with FreeBSD10
  64. options COMPAT_FREEBSD11 # Compatible with FreeBSD11
  65. options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
  66. options KTRACE # ktrace(1) support
  67. options STACK # stack(9) support
  68. options SYSVSHM # SYSV-style shared memory
  69. options SYSVMSG # SYSV-style message queues
  70. options SYSVSEM # SYSV-style semaphores
  71. options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
  72. options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
  73. options KBD_INSTALL_CDEV # install a CDEV entry in /dev
  74. options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
  75. options AUDIT # Security event auditing
  76. options CAPABILITY_MODE # Capsicum capability mode
  77. options CAPABILITIES # Capsicum capabilities
  78. options MAC # TrustedBSD MAC Framework
  79. options KDTRACE_FRAME # Ensure frames are compiled in
  80. options KDTRACE_HOOKS # Kernel DTrace hooks
  81. options DDB_CTF # Kernel ELF linker loads CTF data
  82. options INCLUDE_CONFIG_FILE # Include this file in kernel
  83. options RACCT # Resource accounting framework
  84. options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
  85. options RCTL # Resource limits
  86.  
  87. # Debugging support. Always need this:
  88. options KDB # Enable kernel debugger support.
  89. options KDB_TRACE # Print a stack trace for a panic.
  90.  
  91. # Kernel dump features.
  92. options EKCD # Support for encrypted kernel dumps
  93. options GZIO # gzip-compressed kernel and user dumps
  94. options ZSTDIO # zstd-compressed kernel and user dumps
  95. options NETDUMP # netdump(4) client support
  96.  
  97. # Make an SMP-capable kernel by default
  98. options SMP # Symmetric MultiProcessor Kernel
  99. options EARLY_AP_STARTUP
  100.  
  101. # CPU frequency control
  102. device cpufreq
  103.  
  104. # Bus support.
  105. device acpi
  106. options ACPI_DMAR
  107. device pci
  108. options PCI_HP # PCI-Express native HotPlug
  109. options PCI_IOV # PCI SR-IOV support
  110.  
  111. # Floppy drives
  112. device fdc
  113.  
  114. # ATA controllers
  115. device ahci # AHCI-compatible SATA controllers
  116. device ata # Legacy ATA/SATA controllers
  117. device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
  118. device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
  119.  
  120. # SCSI Controllers
  121. device ahc # AHA2940 and onboard AIC7xxx devices
  122. device ahd # AHA39320/29320 and onboard AIC79xx devices
  123. device esp # AMD Am53C974 (Tekram DC-390(T))
  124. device hptiop # Highpoint RocketRaid 3xxx series
  125. device isp # Qlogic family
  126. #device ispfw # Firmware for QLogic HBAs- normally a module
  127. device mpt # LSI-Logic MPT-Fusion
  128. device mps # LSI-Logic MPT-Fusion 2
  129. device mpr # LSI-Logic MPT-Fusion 3
  130. #device ncr # NCR/Symbios Logic
  131. device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
  132. device trm # Tekram DC395U/UW/F DC315U adapters
  133. device isci # Intel C600 SAS controller
  134. device ocs_fc # Emulex FC adapters
  135.  
  136. # ATA/SCSI peripherals
  137. device scbus # SCSI bus (required for ATA/SCSI)
  138. device ch # SCSI media changers
  139. device da # Direct Access (disks)
  140. device sa # Sequential Access (tape etc)
  141. device cd # CD
  142. device pass # Passthrough device (direct ATA/SCSI access)
  143. device ses # Enclosure Services (SES and SAF-TE)
  144. #device ctl # CAM Target Layer
  145.  
  146. # RAID controllers interfaced to the SCSI subsystem
  147. device amr # AMI MegaRAID
  148. device arcmsr # Areca SATA II RAID
  149. device ciss # Compaq Smart RAID 5*
  150. device dpt # DPT Smartcache III, IV - See NOTES for options
  151. device hptmv # Highpoint RocketRAID 182x
  152. device hptnr # Highpoint DC7280, R750
  153. device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
  154. device hpt27xx # Highpoint RocketRAID 27xx
  155. device iir # Intel Integrated RAID
  156. device ips # IBM (Adaptec) ServeRAID
  157. device mly # Mylex AcceleRAID/eXtremeRAID
  158. device twa # 3ware 9000 series PATA/SATA RAID
  159. device smartpqi # Microsemi smartpqi driver
  160. device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller
  161.  
  162. # RAID controllers
  163. device aac # Adaptec FSA RAID
  164. device aacp # SCSI passthrough for aac (requires CAM)
  165. device aacraid # Adaptec by PMC RAID
  166. device ida # Compaq Smart RAID
  167. device mfi # LSI MegaRAID SAS
  168. device mlx # Mylex DAC960 family
  169. device mrsas # LSI/Avago MegaRAID SAS/SATA, 6Gb/s and 12Gb/s
  170. device pmspcv # PMC-Sierra SAS/SATA Controller driver
  171. #XXX pointer/int warnings
  172. #device pst # Promise Supertrak SX6000
  173. device twe # 3ware ATA RAID
  174.  
  175. # NVM Express (NVMe) support
  176. device nvme # base NVMe driver
  177. device nvd # expose NVMe namespaces as disks, depends on nvme
  178.  
  179. # atkbdc0 controls both the keyboard and the PS/2 mouse
  180. device atkbdc # AT keyboard controller
  181. device atkbd # AT keyboard
  182. device psm # PS/2 mouse
  183.  
  184. device kbdmux # keyboard multiplexer
  185.  
  186. device vga # VGA video card driver
  187. options VESA # Add support for VESA BIOS Extensions (VBE)
  188.  
  189. device splash # Splash screen and screen saver support
  190.  
  191. # syscons is the default console driver, resembling an SCO console
  192. device sc
  193. options SC_PIXEL_MODE # add support for the raster text mode
  194.  
  195. # vt is the new video console driver
  196. device vt
  197. device vt_vga
  198. device vt_efifb
  199.  
  200. device agp # support several AGP chipsets
  201.  
  202. # PCCARD (PCMCIA) support
  203. # PCMCIA and cardbus bridge support
  204. device cbb # cardbus (yenta) bridge
  205. device pccard # PC Card (16-bit) bus
  206. device cardbus # CardBus (32-bit) bus
  207.  
  208. # Serial (COM) ports
  209. device uart # Generic UART driver
  210.  
  211. # Parallel port
  212. device ppc
  213. device ppbus # Parallel port bus (required)
  214. device lpt # Printer
  215. device ppi # Parallel port interface device
  216. #device vpo # Requires scbus and da
  217.  
  218. device puc # Multi I/O cards and multi-channel UARTs
  219.  
  220. # PCI Ethernet NICs.
  221. device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
  222. device de # DEC/Intel DC21x4x (``Tulip'')
  223. device em # Intel PRO/1000 Gigabit Ethernet Family
  224. device ix # Intel PRO/10GbE PCIE PF Ethernet
  225. device ixv # Intel PRO/10GbE PCIE VF Ethernet
  226. device ixl # Intel 700 Series Physical Function
  227. device iavf # Intel Adaptive Virtual Function
  228. device le # AMD Am7900 LANCE and Am79C9xx PCnet
  229. device ti # Alteon Networks Tigon I/II gigabit Ethernet
  230. device txp # 3Com 3cR990 (``Typhoon'')
  231. device vx # 3Com 3c590, 3c595 (``Vortex'')
  232.  
  233. # PCI Ethernet NICs that use the common MII bus controller code.
  234. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
  235. device miibus # MII bus support
  236. device ae # Attansic/Atheros L2 FastEthernet
  237. device age # Attansic/Atheros L1 Gigabit Ethernet
  238. device alc # Atheros AR8131/AR8132 Ethernet
  239. device ale # Atheros AR8121/AR8113/AR8114 Ethernet
  240. device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
  241. device bfe # Broadcom BCM440x 10/100 Ethernet
  242. device bge # Broadcom BCM570xx Gigabit Ethernet
  243. device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn
  244. device dc # DEC/Intel 21143 and various workalikes
  245. device et # Agere ET1310 10/100/Gigabit Ethernet
  246. device fxp # Intel EtherExpress PRO/100B (82557, 82558)
  247. device gem # Sun GEM/Sun ERI/Apple GMAC
  248. device hme # Sun HME (Happy Meal Ethernet)
  249. device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
  250. device lge # Level 1 LXT1001 gigabit Ethernet
  251. device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
  252. device nfe # nVidia nForce MCP on-board Ethernet
  253. device nge # NatSemi DP83820 gigabit Ethernet
  254. device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le')
  255. device re # RealTek 8139C+/8169/8169S/8110S
  256. device rl # RealTek 8129/8139
  257. device sf # Adaptec AIC-6915 (``Starfire'')
  258. device sge # Silicon Integrated Systems SiS190/191
  259. device sis # Silicon Integrated Systems SiS 900/SiS 7016
  260. device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
  261. device ste # Sundance ST201 (D-Link DFE-550TX)
  262. device stge # Sundance/Tamarack TC9021 gigabit Ethernet
  263. device tl # Texas Instruments ThunderLAN
  264. device tx # SMC EtherPower II (83c170 ``EPIC'')
  265. device vge # VIA VT612x gigabit Ethernet
  266. device vr # VIA Rhine, Rhine II
  267. device wb # Winbond W89C840F
  268. device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
  269.  
  270. # Wireless NIC cards
  271. device wlan # 802.11 support
  272. options IEEE80211_DEBUG # enable debug msgs
  273. options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
  274. options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
  275. device wlan_wep # 802.11 WEP support
  276. device wlan_ccmp # 802.11 CCMP support
  277. device wlan_tkip # 802.11 TKIP support
  278. device wlan_amrr # AMRR transmit rate control algorithm
  279. device an # Aironet 4500/4800 802.11 wireless NICs.
  280. device ath # Atheros NICs
  281. device ath_pci # Atheros pci/cardbus glue
  282. device ath_hal # pci/cardbus chip support
  283. options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
  284. options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
  285. options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
  286. device ath_rate_sample # SampleRate tx rate control for ath
  287. #device bwi # Broadcom BCM430x/BCM431x wireless NICs.
  288. #device bwn # Broadcom BCM43xx wireless NICs.
  289. device ipw # Intel 2100 wireless NICs.
  290. device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs.
  291. device iwn # Intel 4965/1000/5000/6000 wireless NICs.
  292. device malo # Marvell Libertas wireless NICs.
  293. device mwl # Marvell 88W8363 802.11n wireless NICs.
  294. device ral # Ralink Technology RT2500 wireless NICs.
  295. device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
  296. device wpi # Intel 3945ABG wireless NICs.
  297.  
  298. # Pseudo devices.
  299. device crypto # core crypto support
  300. device loop # Network loopback
  301. device random # Entropy device
  302. device padlock_rng # VIA Padlock RNG
  303. device rdrand_rng # Intel Bull Mountain RNG
  304. device ether # Ethernet support
  305. device vlan # 802.1Q VLAN support
  306. device tun # Packet tunnel.
  307. device md # Memory "disks"
  308. device gif # IPv6 and IPv4 tunneling
  309. device firmware # firmware assist module
  310.  
  311. # The `bpf' device enables the Berkeley Packet Filter.
  312. # Be aware of the administrative consequences of enabling this!
  313. # Note that 'bpf' is required for DHCP.
  314. device bpf # Berkeley packet filter
  315.  
  316. # USB support
  317. options USB_DEBUG # enable debug msgs
  318. device uhci # UHCI PCI->USB interface
  319. device ohci # OHCI PCI->USB interface
  320. device ehci # EHCI PCI->USB interface (USB 2.0)
  321. device xhci # XHCI PCI->USB interface (USB 3.0)
  322. device usb # USB Bus (required)
  323. device ukbd # Keyboard
  324. device umass # Disks/Mass storage - Requires scbus and da
  325.  
  326. # Sound support
  327. device sound # Generic sound driver (required)
  328. device snd_cmi # CMedia CMI8338/CMI8738
  329. device snd_csa # Crystal Semiconductor CS461x/428x
  330. device snd_emu10kx # Creative SoundBlaster Live! and Audigy
  331. device snd_es137x # Ensoniq AudioPCI ES137x
  332. device snd_hda # Intel High Definition Audio
  333. device snd_ich # Intel, NVidia and other ICH AC'97 Audio
  334. device snd_via8233 # VIA VT8233x Audio
  335.  
  336. # MMC/SD
  337. device mmc # MMC/SD bus
  338. device mmcsd # MMC/SD memory card
  339. device sdhci # Generic PCI SD Host Controller
  340.  
  341. # VirtIO support
  342. device virtio # Generic VirtIO bus (required)
  343. device virtio_pci # VirtIO PCI device
  344. device vtnet # VirtIO Ethernet device
  345. device virtio_blk # VirtIO Block device
  346. device virtio_scsi # VirtIO SCSI device
  347. device virtio_balloon # VirtIO Memory Balloon device
  348.  
  349. # HyperV drivers and enhancement support
  350. device hyperv # HyperV drivers
  351.  
  352. # Xen HVM Guest Optimizations
  353. # NOTE: XENHVM depends on xenpci. They must be added or removed together.
  354. options XENHVM # Xen HVM kernel infrastructure
  355. device xenpci # Xen HVM Hypervisor services driver
  356.  
  357. # VMware support
  358. device vmx # VMware VMXNET3 Ethernet
  359.  
  360. # Netmap provides direct access to TX/RX rings on supported NICs
  361. device netmap # netmap(4) support
  362.  
  363. # evdev interface
  364. options EVDEV_SUPPORT # evdev support in legacy drivers
  365. device evdev # input event device support
  366. device uinput # install /dev/uinput cdev
  367.  
  368. #CUSTOM KERNEL FOLLOWING...
  369. options NETGRAPH
  370. options NETGRAPH_PPP
  371. options NETGRAPH_PPTPGRE
  372. options NETGRAPH_ETHER
  373. options NETGRAPH_SOCKET
  374. options NETGRAPH_TEE
  375. options NETGRAPH_ASYNC
  376. options NETGRAPH_IFACE
  377. options NETGRAPH_MPPC_ENCRYPTION
  378. options NETGRAPH_MPPC_COMPRESSION
  379. options NETGRAPH_BPF
  380. options NETGRAPH_KSOCKET
  381. options NETGRAPH_TCPMSS
  382. options NETGRAPH_VJC
  383. options NETGRAPH_ONE2MANY
  384. options NETGRAPH_RFC1490
  385. options NETGRAPH_TTY
  386. options NETGRAPH_UI
  387. options LIBALIAS
  388. options MROUTING
  389. options NETGRAPH_PPPOE
  390. options NETGRAPH_HOLE
  391. options NETGRAPH_ECHO
  392. options NETGRAPH_L2TP
  393.  
  394. # By Executor (vlad.admin@mail.ru)
  395. options IPFIREWALL
  396. options IPFIREWALL_VERBOSE
  397. options IPFIREWALL_VERBOSE_LIMIT=999
  398. options IPFILTER
  399. options IPFILTER_LOG
  400. options IPDIVERT
  401. options DUMMYNET
  402. options DEVICE_POLLING
  403. #options IPFIREWALL_FORWARD
  404. options IPFIREWALL_NAT
  405. options IPFIREWALL_DEFAULT_TO_ACCEPT
  406.  
  407. #colortag
  408. options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
  409. options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
  410. options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
  411. options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
  412.  
  413. # For HTTP Server
  414. maxusers 512
  415.  
  416. #
  417.  
  418. options HZ=1000
  419.  
  420. # PF support
  421. device pf
  422. device pflog
  423. device pfsync
  424. options ALTQ
  425. options ALTQ_CBQ
  426. options ALTQ_RED
  427. options ALTQ_RIO
  428. options ALTQ_HFSC
  429. options ALTQ_PRIQ
  430. options ALTQ_NOPCC
  431. options SHMMAXPGS=65536
  432. options SEMMNI=40
  433. options SEMMNS=240
  434. options SEMUME=40
  435. options SEMMNU=120
  436.  
  437.  
  438. #options RADIX_MPATH
  439. #options COMPAT_FREEBSD8 # Compatible with FreeBSD8
  440.  
  441. #22-08-2012 for ZFS
  442. #options KVA_PAGES=160
  443.  
  444. #03-10-2013
  445. # IPSec
  446. #options IPSEC_FILTERTUNNEL
  447. #options IPSEC_NAT_T
  448. options IPSEC_DEBUG
  449. device enc
  450.  
  451. #19-11-2013
  452. device tap
  453.  
  454. #28-02-2014
  455. options MAC_PORTACL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement