You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

snsd_nodes 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # SNSD nodes file
  3. #
  4. # List, one per line, the SNSD records you want register in ANDNA.
  5. #
  6. # You can register up to 255 records and you can associate a maximum of 16
  7. # records to a service.
  8. #
  9. # Each line must be in the following format:
  10. #
  11. # hostname:snsd_hostname:service:priority:weight[:pub_key_file]
  12. # or
  13. # hostname:snsd_ip:service:priority:weight[:pub_key_file]
  14. #
  15. #
  16. # The `pub_key_file' parameter is optional. If you specify it, NetsukukuD will
  17. # challenge periodically `snsd_hostname' and it will verify if it is always the
  18. # same machine. If it isn't, the relative snsd will be deleted.
  19. #
  20. # `hostname' must be one of the hostnames listed in the andna_hostnames file.
  21. #
  22. # `snsd_hostname' is the hostname of the snsd_node. `snsd_ip' is, instead, its
  23. # ip.
  24. #
  25. # `service' specifies the service of the snsd record. It is one of the
  26. # service listed in /etc/services. It can be expressed also in numeric form.
  27. # It is also possible to specify the protocol, f.e:
  28. # "domain", "53", "53/udp", "domain/udp"
  29. # are valid service strings.
  30. #
  31. # `priority' is an integer between 0 and 255, it specifies the "backup"
  32. # priority of the snsd record.
  33. #
  34. # `weight' is an integer between 0 and 12, it specifies the "load balancing"
  35. # weight of the snsd record.
  36. #
  37. # --
  38. #
  39. # The main IP associated to a normal hostname has these default values:
  40. # IP = register_node IP # This value can't be changed
  41. # service = 0
  42. # priority = 16
  43. # weight = 1
  44. # If you want to modify the paremeters of the mainip use this syntax:
  45. # hostname:hostname:0:priority:weight
  46. # Only one line with this syntax is allowed, duplicates will be ignored.
  47. #
  48. #my_cool_hostname:mysnsdnode:http:23:2
  49. #my_cool_hostname:1.2.4.5:21:1:4
  50. #my_good_hostname:mysnsdnode:ssh:1:9:/etc/netsukuku/snsd/mgh.pubk
  51. #another_hostname:anotherone:53/udp:1:4