[volunteergrid2-l] storage node communication
Johannes Nix
Johannes.Nix at gmx.net
Sun Mar 25 21:20:36 UTC 2012
Hello Ted,
> Bottom line:
> earney, cerezal: Will you send rosenkeller and me (timesoak) your
> ~/.tahoe.cfg file?
I attach it below.
>We're shooting a bug. We've got it in the
> corner, bloodied nose, begging for mercy.
> timesoak exchanges packets with each of your nodes. They just fly
> by. :-)
>
> [ ... ]
>
> In the channel, I found that ~/.tahoe/client.port should also have the
> tub.port number. Now that's some information!
Where did you find this? And what does this mean if NAT is used ?
>
> ...much later...
> Wireshark reports that cerezal hits port 31416; rosenkeller doesn't.
> There's a LOT of traffic between timesoak and cerezal.
>
> cerezal -> timesoak: Src Port: 36504, Dst Port: xqosd (31416)
> timesoak -> cerezal: Src Port: xqosd (31416), Dst Port: (36504) 36504)
>
> earney.homedsn.org, same story.
>
Hm, you have to keep in mind that I use NAT here.
cerezal is my ARM-based NAS which is server node, I do not use
it as client. Also, I have a client node here which does currently lots
of uploads, it will appear at the same IP. As far as I've seen,
NAT works transparently with all these things. I
have opened the firewall for incoming connections
only for the TUB port.
I could switch the client node off some time if that helps
to track down things.
Johannes
cerezal / tahoe.cfg :
###########################################################################
# -*- mode: conf; coding: utf-8 -*-
# This file controls the configuration of the Tahoe node that
# lives in this directory. It is only read at node startup.
# For details about the keys that can be set here, please
# read the 'docs/configuration.rst' file that came with your
# Tahoe installation.
[node]
nickname = cerezal at gmx.net-cerezal
web.port = 3456
#web.port = tcp:3456:interface=192.168.2.102
#web.port = tcp:3456:interface=127.0.0.1
web.static = public_html
tub.port = 8098
tub.location = cerezal.selfip.net:8098
#log_gatherer.furl =
#timeout.keepalive =
#timeout.disconnect =
#ssh.port = 8022
#ssh.authorized_keys_file = ~/.ssh/authorized_keys
[client]
# Which services should this client connect to?
#introducer.furl = pb://tin57...................................................................
#introducer.furl = pb://ctwlz.......................................................
#introducer.furl = pb://62ekm...........................................................
introducer.furl = pb://sqlcms..........................................................
helper.furl =
#key_generator.furl =
#stats_gatherer.furl = pb://cmmth6b3l.....................................................................................
#stats_gatherer.furl = pb://bd6mq5.....................................................................................
stats_gatherer.furl =
pb://duszrv4.................................................................................
# What encoding parameters should this client use for uploads?
shares.needed = 6
shares.happy = 9
shares.total = 11
#shares.needed = 7
#shares.happy = 10
#shares.total = 12
[storage]
# Shall this node provide storage service?
enabled = true
readonly = false
reserved_space = 500M
expire.enabled = true
expire.mode = age
expire.override_lease_duration = 365days
stats_gatherer.furl = pb://duszrv................................................................................
[helper]
# Shall this node run a helper service that clients can use?
enabled = true
[drop_upload]
# Shall this node automatically upload files created or modified in a local directory?
enabled = false
# This must be a mutable directory writecap.
upload.dircap = URI:DIR2:...............................................................................
local.directory = ~/drop_upload
[ftpd]
enabled = true
port = tcp:8021:interface=127.0.0.1
accounts.file = private/ftp.accounts
[sftpd]
enabled = true
port = tcp:8022:interface=127.0.0.1
host_pubkey_file = private/ssh_host_rsa_key.pub
host_privkey_file = private/ssh_host_rsa_key
accounts.file = private/ftp.accounts
More information about the volunteergrid2-l
mailing list