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

📄 wattcp.cfg

📁 一个可用于linux下的命令行音乐播放器
💻 CFG
📖 第 1 页 / 共 3 页
字号:
#
# Which protocols (headers and data) to debug.  A combination of
# these values can be specified:
#  ETH, LLC, ARP, RARP, IP, UDP, TCP, ICMP, IGMP or ALL.
#
# Note: ETH is also used for Token-Ring meaning MAC header.
#
debug.proto = arp/rarp/ip/udp/tcp/icmp/igmp

#
# What part of a packet to dump;
#  HEADER -> dump only protocol headers. E.g. UDP-head without data part.
#  ALL    -> both header and ascii/binary data-dump.
#
debug.mode = all

#
# Dump ARP-cache and statistics counters to "debug.file" at program exit.
# I.e. PKTDRVR statistics and packets received/transmitted.
#
debug.stat = 1  ; optional

#
# Dump details of DNS request/response packets on UDP port 53.
# Only effective if pcdbug.c was compiled with DEBUG_DNS=1.
#
debug.dns = 1  ; optional

#
# Write to file in line-buffered mode. I.e. flush file after 256 bytes
# written. Handy to see last printout before a crash. Not recomended for
# normal operation as it slows down file I/O. No effect if "debug.pcap"
# mode is enabled.
#
debug.linebuf = 0  ; optional

#
# Write the "debug.file" in pcap binary format. Handy for later analysis
# using tcpdump, tcptrace, EtheReal, etc.
#
# Note: The above "debug.filter" , "debug.proto" or "debug.mode" is
#       *not* effective when using pcap; All traffic and all protocol
#       layers are written to file.
#
# Note: Naming the "debug.file" with a ".gz" extension will use gzip
#       compression while writing it. Only effective if Watt-32 was
#       build with `USE_GZIP_PCAP' (NOT YET).
#
debug.pcap = 0  ; optional

##
## 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.
#  "c"  commit file to disk (not supported by all compilers).
#
sk_debug.openmode = "w+"  ; default



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

#
# multihomes     = 0                          ; uses MY_IP - (MY_IP+n)
# ethip          = <ether-addr1>, <ip4-addr1> ; static ARP-table
# ethip          = <ether-addr2>, <ip4-addr2> ;
# ethip          = <ether-addr3>, <ip4-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)
# netdb_alive    = 900                 ; cache-timeout for resolve   (def 15 min)

# arp.retrans_to = 250                 ; ARP retransmission interval (def 250 msec)
# arp.timeout    = 2                   ; ARP resolver timeout        (def 2 sec)
# arp.alive      = 300                 ; ARP life for cached entries (def 5 min)
# arp.num_cache  = 64                  ; max # of entries in ARP cache (not yet)
# arp.dead_gw_detect = 0               ; Gateway "black-hole" detection (not yet)
# arp.gratiotous     = 0               ; Send a gratiotous ARP on startup

# include = ?$(ETC)\pppd.cfg           ; PPP configuration
# include = ?$(ETC)\pppoe.cfg          ; PPPoE configuration
# include = ?$(ETC)\slip.cfg           ; SLIP configuration
# include = ?$(ETC)\rpc.cfg            ; RPC configuration
# include = ?$(ETC)\smb.cfg            ; SMB/RFC-NetBios configuration

#
# Service-order for DNS name lookups. Use `hosts' first. If name not
# in `hosts' file send a DNS request to nameserver(s).
# NOT YET IMPLEMENTED; order is always "hosts,bind".
# For IPv6, order is always "hosts6, bind6, hosts, bind".
#
# host.conf = order hosts, bind

#
# Configuration of bind resolver. These settings are active only if
# library was compiled with USE_BIND (ref. .\src\config.h) and using
# any of the resolver functions in <resolv.h>.
#
# HOSTALIASES points to a file which lists host aliases, e.g:
#  alfie.somewhere.net www.somewhere.net
#  blondie.foo.net     mail.mci.net
#
# Default value is taken from environment variable "HOSTALIASES".
#
bind.hostaliases = $(HOSTALIASES)  ; optional

#
# Options used for initialising the resolver. The value(s) are:
#   ndots:n  -> n specifies # of dots '.' in a domain (default 1).
#   debug    -> enable resolver debug mode.
#
# E.g. "bind.res_options = ndots:4 debug".
# See also manpage for "bind".
#
# Default value is taken from environment variable "RES_OPTIONS".
#
bind.res_options = $(RES_OPTIONS)  ; optional

#
# 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 filename is extracted from
# path and name of running 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 the 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

#
# Syslog messages to be written to file and/or sent to logging host:
#
# A combination of the following may be specified (<sys/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.
#
# To actually enable loading of `tftp.boot_file' via TFTP protocol,
# the application must supply a "writer" hook through function pointer
# `tftp_writer'. See <tcp.h> or .\src\tftp.c.
#
# The TFTP client uses UDP on port 69 (unless specified differently in
# $(ETC)\services).
#
# Note: When using DHCP (TFTP options and BOOTP not supported), the
#       "tftp.boot_file" and "tftp.server" specified below *may* be
#       overridden by the DHCP-server. This is because a properly
#       configured DHCP-server should know what's best for you...
#
# Specify what file to load. This file may be present in an option
# coming from DHCP-server, but can be specified here.
#
# Note: remote file-name is server's file-name (relative to it's virtual
#       root) and may contain a path. It's the responsibility of the
#       application to map server's boot filename into your local file
#       system or create any missing directories.
#
# The format of "tftp.boot_file" is "remote name" optionally followed by a
# local name. E.g. "tftp.boot_file = /tftpd/bootp.file $(TEMP)\bootp.fil"
#
# Note: The remote/local filenames cannot contain any spaces or tabs.
#
tftp.boot_file = ; optional

#
# Specify what server (dotted ip-address or host from `hosts' file) to
# get TFTP.BOOT_FILE from. If not specified here, TFTP-server name MUST
# be given by DHCP server.
#
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

#
# C-style open mode for the local file "tftp.boot_file".
# Specify "wt" to transfer a text file from a Unix-based TFTP server.
#
tftp.openmode = "wb"  ; default

#
# Specify transfer mode for retrieval. Either use "octet" (default) for
# 8-bit raw data, "netascii" or "mail". Ref. RFC-1350.
#
# Note: Some tftp servers (e.g. PumpKIN) ignores this mode.
#
tftp.mode = "octet" ; optional

#
# Specify local port to use. Default behaviour (0) is to select a random
# local port in range 1024 - 65535. If e.g. a firewall makes this
# difficult, use a fixed port above 1024.
#
tftp.port = 0 ; optional

#
# ECHO/DISCARD daemons
#
echo.daemon    = 0                 ; active echo service
echo.host      = 255.255.255.255   ; accept from anybody
echo.port      = 7                 ; listen on port 7

discard.daemon = 0                 ; active discard service
discard.host   = 255.255.255.255   ; accept from anybody
discard.port   = 9                 ; listen on port 9


#######################################################################
########                                                       ########
########   CONFIGURATION FOR VARIOUS WatTCP/Watt-32 PROGRAMS   ########
########                                                       ########
#######################################################################
#
# For details regarding these settings refer the documentation
# of respective programs.
#
# HTget by Ken Yap (ken@syd.dit.csiro.au)
#
http.proxy = <your.http.proxy>:<port>  ; no default

#
# Michael Ringe's TALK client/server
#
talk.localuser  = <your signature/handle>
talk.screenmode = autocr,split
talk.colors     = 1E,1A,71,71,71
talk.alias      = joe:joe@some.domain.com
talk.logfile    = $(WATTCP.CFG)\talk\talk.log
talk.message    = "%s is busy. Try again later.\n"

#
# SNUZ nntp client by
# Doug McDonald (mcdonald@aries.scs.uiuc.edu)
#
snuz.tmpdir = $(TEMP)
snuz.rc     = $(ETC)\news\snuz.rc      ; list of subscribed groups, etc
snuz.active = $(ETC)\news\active       ; list of all groups
snuz.host   = news.server.com          ; news server ipaddr
snuz.from   = joe@some.domain.com      ; the user's email-address
snuz.editor = edit.exe                 ; editor for writing posts
snuz.smtp   = "popmail send %H %D %f"  ; external sendmail program

#
# SMB Printer daemon 0.94 by
# Ken Yap (ken@syd.dit.csiro.au)
#
smbpd.workgroup    = "my-work-group"
smbpd.printer1name = "my-printer-at-lpt1"
smbpd.printer2name = "my-printer-at-lpt2"
smbpd.printer3name = "my-printer-at-lpt3"

#
# Erick Engelke's SMTP-server
#
smtp.subdir   = $(ETC)\smtpd\mail\  ; sub-dir for mail/temp files, must exist
smtp.sessions = 8                   ; # of SMTP sessions

#
# UCD-SNMP library
#
snmp.mibfile  = $(snmp)\mib.txt
snmp.mib2file = $(snmp)\mib-v2.txt


⌨️ 快捷键说明

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