⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wattcp.cfg

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 CFG
📖 第 1 页 / 共 2 页
字号:
services = $(ETC)\services

#
# File specifying the list of <IP-protocol-name> to <IP-protocol-numbers>
# mappings. This file is used by the <netdb.h> functions (getprotobyname() etc).
#
# Note: this file should NOT be named `protocols' to avoid problems under
# Win95/98 and targets supporting long file-names (e.g. djgpp)
#
protocols = $(ETC)\protocol

#
# File specifying the list of <network-numers> to <domain-names>
# mappings. This file is used by the <netdb.h> functions (getnetbyname() etc).
#
networks = $(ETC)\networks


#######################################################################
########                                                       ########
########  EVERYTHING BELOW THIS LINE IS FOR ADVANCED USE ONLY  ########
########                                                       ########
#######################################################################

#
# multihomes    = 0                         ; uses MY_IP - MY_IP+n
# ethip         = <ether-addr1>, <ip-addr1> ; static ARP-table
# ethip         = <ether-addr2>, <ip-addr2> ;
# ethip         = <ether-addr3>, <ip-addr3> ;
# eaddr         = <ether-addr>              ; sets my ether-address
# bootp         = 255.255.255.255           ; BOOTP host address
# bootp_to      = 30                        ; BOOTP timeout

# redirects     = tcp,udp,icmp,igmp   ; honour ICMP redirects (0 disables)
# txretries     = 2                   ; # of extra Tx-retries if Tx fails

# nagle         = 1                   ; TCP Nagle algorithm
# arp_to        = 2                   ; ARP resolver timeout        (def 2 sec)
# arp_alive     = 300                 ; ARP life for cached entries (def 5 min)
# netdb_alive   = 900                 ; cache-timeout for resolve   (def 15 min)
# pkt_intr      = 0x60  !! to-do      ; Pkt-drvr interrupt

# dhcp.host     = 0.0.0.0             ; DHCP host address (broadcast)
# dhcp.inform   = 0                   ; Send DHCP inform message
# dhcp.trace    = 0                   ; Enable DHCP debugging
# dhcp.bcast    = 0                   ; broadcast flag for older DHCPD (or WinNT)
# dhcp.timeout  = 30                  ; timeout while waiting for DHCP offer
# dhcp.retries  = 3                   ; # of DHCP discover retries
# dhcp.arpcheck = 0                   ; Do an ARP Request on own IP (gratuitous ARP)
# dhcp.req_list = 3,6,8,9,12,15,19,20,23,26,35,36,37,38

# ip.def_ttl    = 254                 ; default "Time To Live" for IP
# ip.def_tos    = 0                   ; default "Type Of Service" for IP
# ip.id_incr    = 1                   ; default increment of IP identifiers
# ip.frag_reasm = 15                  ; default max fragment reassembly time

# include       = ?$(ETC)\pppd.cfg    ; PPP configuration
# include       = ?$(ETC)\slip.cfg    ; SLIP configuration

#
# Protocol debugging stuff (not related to "debug" above).
#
# Activated by calling dbug_init() before calling sock_init()
# from application. See "README.TOO" for details.
#
# name of debug file ("con" for console, "nul" for NULL-device).
# Put on RAM-disk for best performance.
#
debug.file = wattcp.dbg  ; optional

#
# Don't show packets not destined for us or not generated by us.
# A combination of these values can be specified:
#
#  ETH   -> discard link-layer packets (for EtherNet/TokenRing only)
#  ARP   -> discard ARP packets        (for EtherNet/TokenRing only)
#  RARP  -> discard RARP packets       (for EtherNet/TokenRing only)
#  IP    -> discard IP packets         (for EtherNet/TokenRing/PPP/SLIP)
#  BCAST -> discard link-layer broadcast or IP-broadcast
#  ALL   -> discard everything not to/from us.
#  NONE  -> show all packets received.
#
debug.filter = none

#
# Which protocols (headers and data) to debug.  A combination of
# these values can be specified:
#  ETH, ARP, RARP, IP, UDP, TCP, ICMP, IGMP or ALL.
#
debug.proto = arp/rarp/ip/udp/tcp/icmp

#
# What part of a packet to dump;
#  HEADER -> dump only network layer headers.
#  ALL    -> both header and ascii/binary data-dump.
#
debug.mode = header

#
# Dump values of statistics counters i.e. packets received/transmitted
# etc. to debug.file at program exit.
#
debug.stat = 0


##
## Socket-layer debugging stuff. Only used by BSD-socket API.
## Activated by calling dbug_init() before calling sock_init()
## from application.
##
#
# where to print socket-debug;
#   <file>, "con", "stdout", "stderr" or "nul". No default.
#
# As with "debug.file", put on RAM-disk for best performance.
#
sk_debug.device = wattcp.sk

#
# C-style open mode for the "sk_debug.device".
#  "w+" write (and create if not exists)
#  "a"  append to file
#  "t"  "sk_debug.device" is a text-file.
#
sk_debug.openmode = w+  ; default

#
# Service-order for DNS name lookups. Use `hosts' first, then
# use resolve if name not in `hosts' file.
# Not yet implemented; order is always "hosts,bind"
#
# host.conf = order hosts, bind

#
# Allow the following hosts to connect to our TCP listening sockets.
# Use comma-separated list for single hosts or regexp for multiple hosts.
# Ranges can be specified using "network/mask" notation. E.g.
#   "tcpd.hosts.allow = 133.212/16" will allow the hosts in range
# 133.212.0.0 - 133.212.255.255.
# Not yet implemented; all hosts are allowed
#
# tcpd.hosts.allow = *

#
# Deny the following hosts to connect to our TCP listening sockets.
# Use comma-separated list for single hosts or regexp for multiple hosts.
# Ranges can be specified using "network/mask" notation. See above.
# Not yet implemented; only the broadcast and null-addresses are denied.
#
# tcpd.hosts.deny = 255.255.255.255, 0.0.0.0

#
# Simple syslog client configuration. Sends log messages to file and/or
# a logging host. Protocol used is UDP (unicast or broadcast).
#
# Messages are appended to file. Default file-name is extracted from
# path and name of current application.
#
syslog.file = ; optional

#
# Which host to send logging messages to. If not specified here, it may
# be received via BOOTP or DHCP (if specified by "my_ip = dhcp", or
# "wattcp.cfg file is not found). The host MUST be a name listed in
# "$(ETC)\hosts" or a dotted IP-address. You can also specify a broadcast
# IP-address and hope messages are picked up by a logging daemon.
#
syslog.host = ; optional

#
# Which UDP destination port to send to. Default is 514.
# The port is first searched in "$(ETC)\services". The line should be
# "syslog 514/udp". If not found there, the following port is used.
# i.e. the following line is overruled by "syslog port/udp" in
#     "$(ETC)\services".
#
syslog.port = 514  ; optional

#
# What syslog messages shall be written to file and/or sent to logging host.
#
# A combination of the following may be specified: <syslog.h> flags
#  emerg    => system is unusable                  (LOG_EMERG)
#  alert    => action must be taken immediately    (LOG_ALERT)
#  crit     => critical conditions                 (LOG_CRIT)
#  error    => error conditions                    (LOG_ERR)
#  warning  => warning conditions                  (LOG_WARNING)
#  notice   => normal but significant condition    (LOG_NOTICE)
#  info     => informational                       (LOG_INFO)
#  debug    => debug-level messages                (LOG_DEBUG)
#  all      => all combinations above.
#
# Default level is "emerg/alert/error"
#
syslog.level = emerg/alert/error  ; optional

#
# TFTP client configuration (experimental)
# When using DHCP (BOOTP not supported yet), a file may be requested
# from a TFTP-server (or DHCP-server).
#
# Specify what file to load. Normally this file is present in
# DHCP-option 67, but can be specified here. Note: file-name is
# server's file-name and may contain a path.
#
tftp.boot_file = ; optional

#
# Specify what server (dotted ip-address or host from `hosts' file) to
# get BOOT-file from. If not specified here, DHCP-server is used.
#
tftp.server = ; optional

#
# Specify timeout (in seconds) waiting for each packet from TFTP-server.
#
tftp.timeout = 8 ; optional

#
# Specify retry count waiting for packets from TFTP-server.
#
tftp.retry = 5 ; optional

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -