We have a problem with NodeConfig, which apparently is the java end of
the config system used in the Windoze installer. It hard-codes the
entire mainport setup. It does not comment out any of it. This means
that GJ's work on the new insert servlet, which includes changing where
it runs, is stuffed. I attach one such generated freenet.ini. The result
of this is that the old servlet is used instead of the new one. The
result of _that_ is that it hangs at the end of an insert, apparently
repeatably. We can move the new InsertServlet_ to InsertServlet, however
we want it to run in a different manner - it has different params, and
it should be run on /servlet/Insert, and only on / as a temporary and
soon to be removed workaround to make old NIM forms work...

Help?!
-- 
Matthew Toseland
[EMAIL PROTECTED][EMAIL PROTECTED]
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://amphibian.dyndns.org:8889/NRd9GrLK9ec/
ICTHUS.
[Freenet node]
# Freenet configuration file
# This file was automatically generated by WinConfig on 01/31/03

# Note that all properties may be overridden from the command line,
# so for example, java Freenet.Node --listenPort 10000 will cause
# the setting in this file to be ignored


########################
# Normal entries
########################

# The byte size of the datastore cache file.  Note that it will maintain
# a fixed size. If you change this or the storePath field following,
# your entire datastore will be wiped and replaced with a blank one
storeSize=4758437888

# The path to a single file (including file name, or a comma-separated list of files,
# containing the data store.  The size of each file is given by <storeSize>.
# Defaults to cache_<port> in the main freenet directory.
#storeFile=

# Transient nodes do not give out references to themselves, and should
# therefore not receive any requests.  Set this to yes only if you are
# on a slow, non-permanent connection.
transient=true

# The port to listen for incoming FNP (Freenet Node Protocol) connections on.
listenPort=51855

# The I.P. address of this node as seen by the public internet.
# This is needed in order for the node to determine its own
# NodeReference.
ipAddress=localhost

# The directory to store any temporary files created by the node. It gets deleted
# automatically on node start and stop.
tempDir=C:\DOCUME~1\taral\LOCALS~1\Temp\freenet\

# This is used only by Windows configurator, not by node
warnPerm=true


########################
# Advanced Entries
########################

# set to yes if you want your node to announce itself to other nodes
doAnnounce=yes

# file containing initial node references
seedFile=seednodes.ref

# The port to listen for local FCP (Freenet Client Protocol) connections on.
clientPort=8481

# The maximum number of bytes per second to transmit, totaled between
# incoming and outgoing connections.  Ignored if either inputBandwidthLimit
# or outputBandwidthLiit is nonzero.
#bandwidthLimit=0

# If nonzero, specifies an independent limit for outgoing data only.
# (overrides bandwidthLimit if nonzero)
outputBandwidthLimit=100000
inputBandwidthLimit=1000000

#A comma-separated list of hosts which are allowed to talk to node via FCP
fcpHosts=127.0.0.1,localhost

# The hops that initial requests should make.
initialRequestHTL=15

# If this is set then users that can provide the password can
# can have administrative access. It is recommended that
# you do not use this without also using adminPeer below
# in which case both are required.
adminPassword=null

# If this is set, then users that are authenticated owners
# of the given PK identity can have administrative access.
# If adminPassword is also set both are required.
adminPeer=null

# When forwarding a request, the node will reduce the HTL to this value
# if it is found to be in excess.
maxHopsToLive=25

# Should we use thread-management?  If this number is defined and non-zero,
# this specifies how many inbound connections can be active at once.
maximumThreads=120

# The number of connections that a node can keep open at the same time
maxNodeConnections=60


########################
# Geek Settings
########################

# The number of attempts to make at announcing this node per
# initial peer. Zero means the node will not announce itself
announcementAttempts=3

# The amount of time to wait before initially announcing the node,
# and to base the time the time between retries on. In milliseconds.
announcementDelay=1800000

# The value to mutliply the last delay time with for each retry.
# That is, for try N, we weight <announcementDelay>*<announcementDelay>^N
# before starting.
announcementDelayBase=2

# announcementPeers: undocumented.
announcementPeers=3

# How long to wait for authentication before giving up (in milliseconds)
authTimeout=30000

# The interval at which to write out the node's data file
# (the store_<port> file, *not* the cache_<port> file).
checkPointInterval=1200

# How long to listen on an inactive connection before closing
# (if reply address is known)
connectionTimeout=600000

# The expected standard deviation in hopTimeExpected.
hopTimeDeviation=7000

# The expected time it takes a Freenet node to pass a message.
# Used to calculate timeout values for requests.
hopTimeExpected=4000

# The number of keys to request from the returned close values
# after an Announcement (this is per announcement made).
initialRequests=10

# localAnnounceTargets: undocumented.

# The number of outstanding message replies the node will
# wait for before it starts to abandon them.
messageStoreSize=1000

# What size should the blocks have when moving data?
blockSize=4096

# The maximum number of bytes of padding to allow between messages
# and in Void messages.
maximumPadding=65536

# The time to wait for connections to be established and 
# authenticated before passing by a node while routing out.
# Connections that are by passed are still finished and cached 
# for the time set by ConnectionTimeout (in milliseconds).
routeConnectTimeout=10000

# The number of unique nodes that can be contained in the routing table.
rtMaxNodes=50

# The number of references allowed in the routing table per node.  This
# should not be set too high.  It is suggested to leave it at 100 for now.
rtMaxRefs=50

# The path to the file containing the node's reference to itself, its
# routing table, and the datastore directory.  Defaults to store_<port>
# in the storePath directory.
#storeDataFile=

# The type of store we have (this text will get clearer soon).
storeType=freenet

# The name of a symmetric cipher algorithm to encrypt the datastore
# contents with.  Supported algorithms are "Twofish", "Rijndael",
# and "null", "none", or "void" (for no encryption).
storeCipherName=Twofish

# The width in bits of the cipher key to use for the datastore.
# The allowed values for this will depend on the cipher algorithm.
# Twofish allows 64, 128, 192, or 256, while Rijndael allows
# 128, 192, or 256.
storeCipherWidth=128


########################
# Diagnostics Settings
########################
# The name of the log file (`NO' to log to standard out)
logFile=freenet.log

# The error reporting threshold, one of:
#   Error:   Errors only
#   Normal:  Report significant events
#   Minor:   Report minor events
#   Debug:   Report events only of relevance when debugging
logLevel=Debug

#A template string for log messages.  All non-alphabet characters are
# reproduced verbatim.  Alphabet characters are substituted as follows:
# d = date (timestamp), c = class name of the source object,
# h = hashcode of the object, t = thread name, p = priority,
# m = the actual log message
logFormat=d (c, t): m

# The directory in which to cache diagnostics data.
diagnosticsPath=stats

# The diagnostics module receives and aggregates statistics aboutFreenet's performance.
# This will eat some gratuitous memory and cpubut may let you provide valuable data to 
the project.
doDiagnostics=no

logInboundContacts=false
logOutboundContacts=false
logInboundRequests=false
logOutboundRequests=false


########################
# Services & Servlets
########################
services=mainport

########################
# Mainport settings
########################
mainport.class=freenet.interfaces.servlet.MultipleHttpServletContainer
mainport.port=8888

########################
# FProxy settings
########################
mainport.params.servlet.1.params.insertHtl=15
mainport.params.servlet.1.params.requestHtl=15
mainport.params.servlet.1.params.filter=true
mainport.params.servlet.1.params.passThroughMimeTypes=text/plain,image/jpeg,image/gif,image/png,application/octet-stream
mainport.params.servlet.1.params.pollForDroppedConnection=true
mainport.params.servlet.1.params.splitFileRetryHtlIncrement=20
mainport.params.servlet.1.params.splitFileRetries=1
mainport.params.servlet.1.params.splitFileThreads=10
mainport.params.servlet.1.params.showNewBuildWarning=true

########################
# Node information servlet settings
########################
mainport.params.servlet.2.params.class=freenet.node.http.NodeInfoServlet
mainport.params.servlet.2.params.port=8890
failureTableSize=1000
failureTableTime=1800000

# Unknown parameters - these are not yet known or handled by the NodeConfig
# utility, but are assumed to be valid and understandable to the node
# if you see this in the file, then please email the parameters following
# this comment header to [EMAIL PROTECTED], to prompt the developers
# into updating this configuration utility - thanks

mainport.params.servlet.2.params.class=freenet.node.http.NodeInfoServlet
mainport.params.servlet.2.params.port=8890
mainport.params.servlet.2.params.class=freenet.node.http.NodeInfoServlet
mainport.params.servlet.2.params.port=8890
mainport.params.servlet.2.params.class=freenet.node.http.NodeInfoServlet
mainport.params.servlet.2.params.port=8890
storeBlockSize=4096
useDSIndex=true
averageBandwidthLimit=0
averageInputBandwidthLimit=0
averageOutputBandwidthLimit=0
maxConnectionsPerMinute=60
maxConnectionsMinute=60000
maxRequestsPerInterval=300
maxRequestsInterval=60000
maxRoutingSteps=40
minCP=0.01
failuresLookupARK=20
minARKDelay=900000
announcementHTL=15
announcementPollInterval=900000
announcementThreads=3
announcementUseRT=true
doLoadBalance=true
localIsOK=false
dontLimitClients=false
aggressiveGC=0
configUpdateInterval=5
distribution.class=freenet.node.http.DistributionServlet
distribution.port=8891
distribution.params.unpacked=.
distribution.allowedHosts=*
doRequestTriageByDelay=true
overloadLow=0.85
overloadHigh=0.9
requestDelayCutoff=1000
successfulDelayCutoff=3000
logOutputBytes=false
watchme=false
logInboundInsertRequestDist=false
watchmeRetries=3
logSuccessfulInsertRequestDist=false
defaultResetProbability=0.05
FECInstanceCacheSize=1
FECMaxConcurrentCodecs=1
FEC.Encoders.0.class=OnionFECEncoder
FEC.Decoders.0.class=OnionFECDecoder
publicNode=false
filterPassThroughMimeTypes=text/plain,image/jpeg,image/gif,image/png
mainport.allowedHosts=127.0.0.0/8
mainport.params.servlet.1.uri=/
mainport.params.servlet.1.method=GET
mainport.params.servlet.1.class=freenet.client.http.FproxyServlet
mainport.params.servlet.1.name=Freenet HTTP proxy (fproxy)
mainport.params.servlet.1.params.filterParanoidStringCheck=false
mainport.params.servlet.1.params.maxForceKeys=100
mainport.params.servlet.2.uri=/servlet/nodeinfo/
mainport.params.servlet.2.method=GET
mainport.params.servlet.2.class=freenet.node.http.NodeInfoServlet
mainport.params.servlet.2.name=Web Interface
mainport.params.servlet.3.uri=/servlet/images/
mainport.params.servlet.3.method=GET
mainport.params.servlet.3.class=freenet.client.http.ImageServlet
mainport.params.servlet.3.name=Server Images
mainport.params.servlet.4.uri=/
mainport.params.servlet.4.method=POST
mainport.params.servlet.4.class=freenet.client.http.InsertServlet
mainport.params.servlet.4.name=Insert Proxy
mainport.params.servlet.4.params.insertHtl=15
mainport.params.servlet.4.params.splitFileThreads=10
mainport.params.servlet.5.uri=/servlet/nodestatus/
mainport.params.servlet.5.method=BOTH
mainport.params.servlet.5.class=freenet.client.http.NodeStatusServlet
mainport.params.servlet.5.name=Node Status
mainport.params.servlet.7.uri=/servlet/SFRequest/
mainport.params.servlet.7.method=BOTH
mainport.params.servlet.7.class=freenet.client.http.SplitFileRequestServlet
mainport.params.servlet.7.name=SplitFile Download Servlet (alpha!)
mainport.params.servlet.7.params.requestHtl=15
mainport.params.servlet.7.params.sfBlockHtl=10
mainport.params.servlet.7.params.sfRequestRetries=4
mainport.params.servlet.7.params.sfRetryHtlIncrement=5
mainport.params.servlet.7.params.sfRequestThreads=10
mainport.params.servlet.7.params.sfDoParanoidChecks=false
mainport.params.servlet.7.params.sfRefreshIntervalSecs=15
mainport.params.servlet.7.params.sfForceSave=false
mainport.params.servlet.7.params.sfSkipDS=false
mainport.params.servlet.7.params.sfUseUI=true
mainport.params.servlet.7.params.sfRunFilter=true
mainport.params.servlet.7.params.sfFilterParanoidStringCheck=false
mainport.params.servlet.7.params.sfHealHtl=5
mainport.params.servlet.7.params.sfHealPercentage=5
mainport.params.defaultServlet.uri=/default
mainport.params.defaultServlet.method=GET
mainport.params.defaultServlet.class=freenet.client.http.RedirectServlet
mainport.params.defaultServlet.name=Web Interface Redirect
mainport.params.defaultServlet.params.targetURL=/servlet/nodeinfo/

Attachment: msg06697/pgp00000.pgp
Description: PGP signature

Reply via email to