vanitygen – How do extremely difficult vanity addresses get found in the first place?

Funds are spendable by public keys and addresses contain public key hashes. Vanity addresses are created by hashing lots of public keys until the hash is in an expected range. What you mentioned is an example of a burn address, not a vanity address. Burn addresses are crafted by manually editing the public key hash with a specific the corresponding address in mind. Burn addresses do have corresponding public key(s), but since we it is impossible to find the public key from the public key hash, burn addresses cannot spend their funds. They are similar to addresses whose owners mistakenly deleted their wallets, where the funds are in a locked state.

The last digits of burn addresses is random is because addresses also contain a checksum which is the hash of everything else encoded in the address.

allocation – How do custom allocators know which addresses of memory they can allocate?

I was looking at Rust’s Allocator trait. From my understanding, you give an allocator a length of memory and a word size to align to, and the allocator either gives you a pointer to the memory or an error. So clearly the custom Allocator is finding valid addresses in the memory somehow. How does the allocator know where in the heap it can allocate? Is there some “genesis” allocator that tells the custom Allocator which addresses it can take?

linux – ssh into WSL works on only some IP addresses

On Win10, in WSL running Ubuntu 20, I’ve installed sshd running on a port different from 22, namely 2222. To the firewall I’ve added an incoming rule for TCP port 2222.
From the windows command prompt, ssh -p 2222 127.0.0.1 works. So does ssh -p 2222 xxx.xxx.xxx.xxx, to the dotted quad reported by WSL’s ifconfig.

From the windows command prompt (not WSL), ipconfig reports 192.168.1.yyy, its address on my router. Through that address, Windows reaches and is reached by other 192.168.1 hosts on that router (Windows, Mac, Linux; ping, http, mounting disks, ssh only from WSL).

From the windows command prompt, ssh -p 2222 192.168.1.yyy fails with Connection refused. How can I make that work?

    debug1: Connecting to 192.168.1.100 (192.168.1.yyy) port 2222.
    debug3: finish_connect - ERROR: async io completed with error: 10061, io:000002E243EDC460
    debug1: connect to address 192.168.1.yyy port 2222: Connection refused
  • Context: this is a stepping stone to enable ssh into WSL from the router’s other hosts. For now WSL’s /etc/ssh/sshd_config uses PasswordAuthentication; I’ll later change that to PubKeyAuthentication.

i’m trying to set ip addresses to my network , please help

enter image description here

here’s my schema , i’m trying to set up ip addresses to be able to ping from the first floor ( etage 1 ) to the second ( etage 2) , i tried setting up an ip address 192.168.233.2/24 with the gateway 192.168.233.1 to pcD , and 192.168.233.3/24 with the gateway 192.168.233.1 but im not able to ping
please help

malware – Sending meaningless Addresses requests to a series of malicious IPs

i was testing somethings on browsers and i faced a case that when i browse meaningless addresses like abc/ signortest/ word/
the request sent to ip addresses hosted on linode! that some of them was reported malicious.
and i receive two different answers.(pictures attached)

  1. 4001
  2. 503 Service Unavailable

how i can understand what’s going on?

enter image description here
enter image description here
enter image description here

api design – What’s the best way to collect custom data (email addresses) in Prosody?

I’m using Prosody as the engine for an XMPP-based game service and app I’m developing, and need a way for users to sign up for the service. While signing up, it would be nice to have a CAPTCHA or other spam-blocker and some way to collect valid email addresses.

I’m aware of mod_register_ibr (which implements the registration part of XEP-0077, but that only saves a username and password without allowing for custom properties. The way I see it, I have three options:

  1. Have a two-step registration process, where one first registers on Prosody using mod_register_ibr and then enters additional info through another XEP-0077 endpoint exposed by my gaming service. (This can be combined into one step on the frontend/client so it doesn’t seem cumbersome to the user).
  2. Have a non-XMPP way for people to register: for example through a webpage or REST API. This could run the appropriate prosodyctl commands on the server to register the user in Prosody, or manipulate the database directly if it’s possible and I figure out how.
  3. Write a custom Lua module which reimplements XEP-0077 but asking for additional info as well this time. (Caveat: I’d have to figure out how to incorporate this info in Prosody’s database or set up a custom database or table for that).

Which of these would you recommend, in terms of how neat/non-complex it is as well as how long it would take to implement? Or does anyone have any better suggestions?

PS: I think this is a more appropriate place to post this question than StackOverflow, but correct me if I’m wrong!

ubuntu – computer has multiple ip addresses on the network (but one in ifconfig)

One of my ubuntu machines seems to have two IP addresses despite only being configured with one.

bagend has one IP address configured 192.168.86.56 (DHCP, nothing fancy going on with eth0:0, proof below)

shire can reach bagend on two different ip addresses: .56 and .50

I cleared the arp cache on shire with ip -s -s neigh flush all however it comes back that way again:

amir@shire:~$ arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.86.1             ether   70:3a:cb:4c:de:46   C                     enp7s0
192.168.86.56            ether   32:f7:ed:d4:5e:1b   C                     enp7s0
192.168.86.50            ether   32:f7:ed:d4:5e:1b   C                     enp7s0
192.168.86.28            ether   a8:a1:59:0e:29:74   C                     enp7s0

It’s a bit confusing for my logs (seeing an unknown IP). Is this a temporary situation? I power cycled the (unmanaged) switches cleared the arp cache and it still persists.

Snapshot of ifconfig:

amir@bagend:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.86.56  netmask 255.255.255.0  broadcast 192.168.86.255
        inet6 fe80::293d:71eb:8d8a:fe5c  prefixlen 64  scopeid 0x20<link>
        ether 32:f7:ed:d4:5e:1b  txqueuelen 1000  (Ethernet)
        RX packets 161687  bytes 40450735 (40.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7891  bytes 1065578 (1.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 24

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 702  bytes 65780 (65.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 702  bytes 65780 (65.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Monarch wallet won’t release Bitcoin to Coinbase. No longer supports Bip84 addresses

Monarch wallet won’t release Bitcoin to Coinbase. It says that Monarch no longer supports Bip84 addresses. Please use a legacy or segwit address to continue.

How can I move BTC out of this wallet?

I started a Trust wallet and can’t send BTC to that one either.

I left coins in the Monarch wallet in 2018. At that time, I could move coins in and out if the wallet.

Do I need to buy monarch coins, or something like that? Or some other form of gas?

Please help.

magento2 – Magento 2 – How to get Addresses collection

In Magento 2, I try to get addresses collection from table ‘customer_address_entity’, filter by updated_at field.

I know I can get addresses for customer with this :

$customer = $this->_customerRepository->getById($customerId);
$addresses = $customer->getAddresses();

I don’t want to load every customer, is there a way to get addresses collection like this,
but instead of ‘_customerFactory’ is there a ‘_addressFactory’ method ?:

$collection = $this->_customerFactory->create()->getCollection()
                ->addAttributeToSelect("*")
                ->addAttributeToFilter("updated_at", array("gteq" => $start))
                ->addAttributeToFilter("updated_at", array("lteq" => $end))
                ->load();

i want to know the difference of non-hardened and hardened addresses in hd wallets

I know that with non-hardened, we are not able to spend the money we gather from selling. I want to know the exact difference between hardened and non-hardened and also please give me information about the length of the addresses generate for each coin and metrics which are important in length of this address.