Compare commits

...

6 Commits

Author SHA1 Message Date
wowario
6a561e5d83 Merge pull request 'fixing tor hidden service ports' (#428) from nahuhh/wownero:tor into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/428
2022-08-06 08:42:28 +00:00
wow nero
9efbb8896c reflect restricted rpc port in wownero.conf 2022-05-04 10:02:42 +00:00
wow nero
7412b75d42 fix onion peers
The old peers were configured incorrectly but nevertheless seem to be dead. Should we remove them?

I added a working peer.
2022-05-04 09:56:35 +00:00
wow nero
ee0c3ed694 adjust binds and use rpc-restricted-bind flags 2022-05-04 09:49:03 +00:00
wowario
053c7bccb5 Merge pull request 'OpenAlias: change to wownero' (#426) from fix-oa into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/426
2022-03-19 10:08:33 +00:00
dsc
4fdf8c01cb OpenAlias: change to wownero 2022-03-18 20:38:57 +02:00
3 changed files with 25 additions and 19 deletions

View File

@@ -181,7 +181,7 @@ Type `help` in CLI wallet to see standard commands (for advanced options, type `
add the following:
```
HiddenServiceDir /var/lib/tor/wownero/
HiddenServicePort 34568 127.0.0.1:34568
HiddenServicePort 34569 127.0.0.1:34569
HiddenServicePort 34566 127.0.0.1:34566
HiddenServiceVersion 3
```

View File

@@ -400,7 +400,7 @@ namespace dns_utils
std::string address_from_txt_record(const std::string& s)
{
// make sure the txt record has "oa1:xmr" and find it
auto pos = s.find("oa1:xmr");
auto pos = s.find("oa1:wow");
if (pos == std::string::npos)
return {};
// search from there to find "recipient_address="
@@ -412,14 +412,14 @@ std::string address_from_txt_record(const std::string& s)
auto pos2 = s.find(";", pos);
if (pos2 != std::string::npos)
{
// length of address == 95, we can at least validate that much here
if (pos2 - pos == 95)
// length of address == 97, we can at least validate that much here
if (pos2 - pos == 97)
{
return s.substr(pos, 95);
return s.substr(pos, 97);
}
else if (pos2 - pos == 106) // length of address == 106 --> integrated address
else if (pos2 - pos == 108) // length of address == 108 --> integrated address
{
return s.substr(pos, 106);
return s.substr(pos, 108);
}
}
return {};

View File

@@ -3,13 +3,15 @@ check-updates=disabled
log-level=0
no-igd=1
no-zmq=1
restricted-rpc=1
p2p-bind-ip=0.0.0.0
p2p-bind-port=34567
public-node=1
confirm-external-bind=1
rpc-bind-ip=0.0.0.0
#public-node=1
#confirm-external-bind=1
#restricted-rpc=1
rpc-bind-ip=127.0.0.1
rpc-bind-port=34568
rpc-restricted-bind-ip=0.0.0.0
rpc-restricted-bind-port=34569
rpc-ssl=autodetect
disable-rpc-ban=1
db-sync-mode=safe
@@ -18,11 +20,15 @@ in-peers=64
limit-rate-up=1048576
limit-rate-down=1048576
tx-proxy=tor,127.0.0.1:9050,23
add-priority-node=v2admi6gbeprxnk6i2oscizhgy4v5ixu6iezkhj5udiwbfjjs2w7dnid.onion:34568
add-priority-node=iy6ry6uudpzvbd72zsipepukp6nsazjdu72n52vg3isfnxqn342flzad.onion:34568
add-priority-node=7ftpbpp6rbgqi5kjmhyin46essnh3eqb3m3rhfi7r2fr33iwkeuer3yd.onion:34568
add-priority-node=j7rf2jcccizcp47y5moehguyuqdpg4lusk642sw4nayuruitqaqbc7ad.onion:34568
add-priority-node=aje53o5z5twne5q2ljw44zkahhsuhjtwaxuburxddbf7n4pfsj4rj6qd.onion:34568
add-priority-node=nepc4lxndsooj2akn7ofrj3ooqc25242obchcag6tw3f2mxrms2uuvyd.onion:34568
add-priority-node=666l2ajxqjgj5lskvbokvworjysgvqag4oitokjuy7wz6juisul4jqad.onion:34568
add-priority-node=ty7ppqozzodz75audgvkprekiiqsovbyrkfdjwadrkbe3etyzloatxad.onion:34568
# Add Peers
add-priority-node=qstotuswqshpfq3tk5ue6ngbx6rge3macsfa7qyt5j4caopixxhckpad.onion:34566
# Dead Peers?
add-priority-node=v2admi6gbeprxnk6i2oscizhgy4v5ixu6iezkhj5udiwbfjjs2w7dnid.onion:34566
add-priority-node=iy6ry6uudpzvbd72zsipepukp6nsazjdu72n52vg3isfnxqn342flzad.onion:34566
add-priority-node=7ftpbpp6rbgqi5kjmhyin46essnh3eqb3m3rhfi7r2fr33iwkeuer3yd.onion:34566
add-priority-node=j7rf2jcccizcp47y5moehguyuqdpg4lusk642sw4nayuruitqaqbc7ad.onion:34566
add-priority-node=aje53o5z5twne5q2ljw44zkahhsuhjtwaxuburxddbf7n4pfsj4rj6qd.onion:34566
add-priority-node=nepc4lxndsooj2akn7ofrj3ooqc25242obchcag6tw3f2mxrms2uuvyd.onion:34566
add-priority-node=666l2ajxqjgj5lskvbokvworjysgvqag4oitokjuy7wz6juisul4jqad.onion:34566
add-priority-node=ty7ppqozzodz75audgvkprekiiqsovbyrkfdjwadrkbe3etyzloatxad.onion:34566