recover private key – is there a way to find the wallet that my address goes to ?//

I two years ago had a cash out from a casino and i went to myapp store and downloaded what I was coinbase wallet which it was the cold storage wallet that really has no ties beside a wallet connect to coinbase I later figured out. I was brand new to btc and knew nothing about 12 words that i was to immediately write down. I did make an account at wallet.coinbase.com/kristymoser2018 is what I thought was it. I later on saw the money come into my wallet from the casino and at that point it shut my phone down and erased eveything.. when I came back online I found out that I no longer had an account at wallet under the credentials I thought were right

I guess what I am asking is there any other way to figure out where the wallet is cause it still has the money in it and is there any program I can use that may help me figure out where it is and if my private key is in cloud storage?

I have tried to recreate the same scenarfio and have never been ABLE TO understand this

Keepalived and VIP MAC Address

iam using keepalived and ipvsadm installed on Redhat 7.4 and i have an issue. MY virtual IPs don’t have mac address associated. the issue that i have is that sometimes from the firewall the vip is not reacheable and i don’t get http trafic on my loabalancer even ip the VIP is reacheable from the loadbalancer master itself and from the backup node also but from firewall i don’t get any request.
Does the issue of not getting trafic is related to the absence of MAC address on Virtual IPs?

Thanks a lot
Bassem
enter image description here

address – If Cryptocurrency offers anonymity, why is it considered by forensic professionals to be the best currency for fighting illicit transactions?

I read about this in https://www.forbes.com/sites/stevenehrlich/2021/04/13/janet-yellen-bitcoin-and-crypto-fearmongers-get-pushback-from-former-cia-director/

I have categorized privacy and anonymity involved in Bitcoin transactions as (based on few cases that I have studied):

  1. Network layer
  2. Blockchain
  3. External

Networking: Use of full node, Tor, i2p, etc.

Blockchain: Information available publicly for every transaction like amount, type of transaction etc.

External: Lot of users share information about their bitcoin addresses or transactions on social media. Example: You can search for “blockchain.com/btc/tx” on Telegago to check lot of transactions shared in different telegram groups or channels.

In terms of it being digital this makes sense, and of course the public ledger would showcase all transactions, but aren’t the identities of those transacting hidden cryptographically?

It is mentioned in the paper: “(It) is easier for law enforcement to
trace illicit activity using Bitcoin than it is
to trace cross-border illegal activity using
traditional banking transactions, and far
easier than cash transactions.

Yes, its easier to trace digital payments compared to cash transactions. One of the reasons governments are moving towards to cashless economy. Demonetization that happened in India few years back and usage of digital payments since then is a great example. Although I am not sure about banking transactions because it varies from one bank to another and different places in the world. There are lot of other things used by criminals which exist since years but I consider them to be off-topic here so will not go in to details.

If Cryptocurrency offers anonymity, why is it considered by forensic professionals to be the best currency for fighting illicit transactions?

I am assuming its because of their confidence in the use of tools they find helpful in tracing Bitcoin transactions. Also we cannot blame the privacy or anonymity of Bitcoin transactions in every case because most of the cases involve things like address reuse, using KYC exchanges, information shared on social media etc.

Michael Morell (Former CIA Director) has mentioned few things that support my arguments about their confidence in the use of tools used for tracking:

Blockchain analysis is a highly effective crime fighting and intelligence gathering tool.

But that is not all. Perhaps even more interesting to Morell was how analytic firms such as Chainalysis, CipherTrace, and Elliptic can employ forensic and artificial intelligence tools to find illicit actors and activity on blockchains. In fact, he said that he was “literally blown away by how they find illicit activity…this is great intelligence work.”

I don’t trust everything shared by firms like Chainalysis and artificial intelligence is helpful but has its own issues when using for analyzing Bitcoin transactions. I have mentioned the details of an independent investigation related to Mt. Gox case: https://bitcoin.stackexchange.com/a/101959/. You will find the investigator had to assume lot of things for tracing Bitcoin transactions.

Will share few charts that looked interesting although as I mentioned above firms like Chainalysis have incentives in promoting their business and mislead people about privacy and anonymity in Bitcoin:

dest-illicit

risky-services

illicit-map

origin-darknet

dest-darknet

You can check other details here: https://go.chainalysis.com/rs/503-FAP-074/images/Chainalysis-Crypto-Crime-2021.pdf

Lastly, how do we improve privacy and anonymity involved in Bitcoin transactions? Quoting sipa from one of the Reddit post:

Nothing is “sufficient” for privacy. It’s a goal to work towards, but it is so multi-faceted that no single piece of technology can “solve” privacy. https://www.reddit.com/r/Bitcoin/comments/e65vdf/could_bitcoins_privacy_benefit_from_litecoins_eb/f9oxfyk/

I have mentioned the difference between privacy and anonymity, best practices for Bitcoin transactions and few other things in this answer: https://bitcoin.stackexchange.com/a/103255/

address – Nbitcoin’s BitcoinPubKeyAddress not recognizing native segwit addresses

I’m trying to build a transaction using Nbitcoin. When I run this line there is an error parsing the address. It runs fine with segwit addresses starting with a 1, but not native segwit.

Using System;
Using System.Text;
Using NBitcoin;

static void Main(string() args) {

    var wallet = new BitcoinPubKeyAddress("bc1q....", Network.Main); //throws error
}

Error: System.FormatException: ‘Invalid base58 data’

Is there a way to use native segwit with Nbitcoin? Thanks

wallet – bitaddress.org: is the public key the same as the Bitcoin address?

No, they’re not the same thing. Paper wallets are not generated differently as/in to comparison to normal wallets.

a bitcoin adress is part of a public key.

The address is at its most basic just a hash of the public key. The hash functions involved (RIPEMD-160 and SHA256) are cryptographic hash functions. They are often also referred to as one-way functions, which is exactly the reason why you cannot derive the public key from the address.

Oneway functions provide exactly that a = f(pk) so that given a you cannot derive pk.

So, an adress is basically the hash of a public key. x/x

Some good more indepth explanations of the differences here -> https://www.reddit.com/r/Bitcoin/comments/3filud/whats_the_difference_between_public_key_and/ctp3fc7/?st=jald5nmq&sh=620d5934

And, how the adress is derived from the public key is explained here ->

https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

networking – Accessing WSL2 From Public IP Address

I have installed WSL2 with Ubuntu 20.04 on Windows 10.

I have an Apache server running in WSL2, and this works fine when I use a browser in Windows (Chrome) to access it via WSL IP address.

As the WSL2 IP address may change, I’ve created the following Powershell script which restarts WSL, grabs the new WSL IP address, restarts the services (Apache and MySQL for the website itself, and also Cron to run “certbot” for SSL certificate renewal), then I set up port forwarding from Windows to the WSL IP for ports 80 and 443, ensure that the Windows Firewall is open for those ports, then update the hosts file for the domain to the new WSL IP address.

Write-Host "Shutting down WSL"

wsl --shutdown

Write-Host "Starting services..."

wsl sudo service mysql restart
wsl sudo service apache2 restart
wsl sudo service cron restart

$wsl_ip = wsl hostname -I

Write-Host "Port forwarding to $wsl_ip"

netsh interface portproxy reset
netsh interface portproxy add v4tov4 listenport=80 connectport=80 connectaddress=$wsl_ip
netsh interface portproxy add v4tov4 listenport=443 connectport=443 connectaddress=$wsl_ip
netsh interface portproxy add v4tov4 listenaddress=192.168.1.165 listenport=80 connectport=80 connectaddress=$wsl_ip
netsh interface portproxy add v4tov4 listenaddress=192.168.1.165 listenport=443 connectport=443 connectaddress=$wsl_ip
netsh interface portproxy show all

Write-Host "Open Firewall"
Remove-NetFirewallRule -DisplayName "Apache2 Port 80 TCP"
Remove-NetFirewallRule -DisplayName "Apache2 Port 443 TCP"
New-NetFirewallRule -DisplayName "Apache2 Port 80 TCP" -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow -EdgeTraversalPolicy Allow
New-NetFirewallRule -DisplayName "Apache2 Port 80 TCP" -Direction Outbound -Protocol TCP -LocalPort 80 -Action Allow
New-NetFirewallRule -DisplayName "Apache2 Port 443 TCP" -Direction Inbound -Protocol TCP -LocalPort 443 -Action Allow -EdgeTraversalPolicy Allow
New-NetFirewallRule -DisplayName "Apache2 Port 443 TCP" -Direction Outbound -Protocol TCP -LocalPort 443 -Action Allow

Write-Host "Updating hosts..."

$domain = "example.com"
$line = "$wsl_ip`t$domain"
$hostsPath = "$env:windirSystem32driversetchosts"
$items = Get-Content $hostsPath | Select-String $domain

if($items -eq $null)
{
    Add-Content $hostsPath $line
}
else
{
    foreach($item in $items)
    {
        (Get-Content $hostsPath) -replace $item, $line | Set-Content $hostsPath
    }
}

pause

I’ve tested the script and it does complete all the tasks correctly. The “hosts” file is updated, the firewall rules are added (this one could just be run once and needn’t be in this “restart server” script, but I’ve bundled all the steps together into this script).

The script shows all the portproxy rules and they are set up as expected (there’s not necessarily a reason for listening on all addresses and then also specifically listening on the Windows LAN IP – this is just paranonia and testing different things, when it wouldn’t work).

And the server itself is up and running, because if I browse to the WSL IP address (or use the domain name, thanks to the hosts entry – using the correct domain name matches the SSL certificate to not have to wave away browser warnings) or “localhost” then the website comes up just fine.

But If I try to browse to “127.0.0.1” or the Windows LAN IP address (192.168.1.165, as shown in the script) then I get “connection refused”.

Note that I’ve directly placed portproxy commands in the script for IP 192.168.1.165 to the WSL IP address (which works when used directly), so this portproxy is being explicitly refused (by the firewall? But I’ve added Firewall rules to open those ports, right?).

And if I try to use the public IP address (or real domain name) then the browser just spins until it says “timed out”. Which is interestingly different, as 127.0.0.1 and the LAN IP address are “connection refused” (returning immediately) but this is timing out from no response at all.

The server itself is in the DMZ and the public IP address is NAT’d to the LAN IP address, which is why I’m specifically trying to get that one working, as it should make it publicly accessible.

I did have this server up and running previously – with full public access and all was fine – but the server suffered a power outage, and now I can’t get it to work again.

It’s possible that there was some command or setting I did previously, that wasn’t saved and got lost in the power outage, but I can’t think what it could be.

Any ideas what could be making the LAN IP / 127.0.0.1 fail with “connection refused”, while “localhost” and the WSL2 IP works just fine?

Though 127.0.0.1 is less important, as it’s the LAN IP that needs to be working to get it publicly accessible, because that’s what the NAT sends packets to.

magento2 – Billing address in checkout same look as shipping

I have a question with billing address part from checkout. What i’m trying to do is to modify billing address to look like shipping address. Right now i have a select and a div wich contain information about selected address, but i want to be displayed in every address in divs, like in bellow picture.enter image description here

Is it possible to do this? I work on Magento 2.3