Bitcoin Forum
April 28, 2024, 11:27:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BIP324 (P2P encryption) was merged  (Read 158 times)
Kruw (OP)
Member
**
Offline Offline

Activity: 378
Merit: 95

assumevalid=0 and mempoolfullrbf=1


View Profile WWW
October 03, 2023, 12:47:31 PM
Merited by hugeblack (4), nutildah (3), ABCbits (2)
 #1

This is an exciting non consensus level upgrade that makes Bitcoin much more robust against nation state level attacks.  Before, it was transparent to your ISP that you are using Bitcoin because of how it talks to other nodes.  With the new v2 P2P protocol version, your traffic is encrypted and uses a pseudorandom pattern.

Quote from: BIP324 "Goals" Section
This proposal aims to achieve the following properties:

    Confidentiality against passive attacks: A passive attacker having recorded a v2 P2P bytestream (without timing and fragmentation information) must not be able to determine the plaintext being exchanged by the nodes.
    Observability of active attacks: A session ID identifying the encrypted channel uniquely is derived deterministically from a Diffie-Hellman negotiation. An active man-in-the-middle attacker is forced to incur a risk of being detected as peer operators can compare session IDs manually, or using optional authentication methods possibly introduced in future protocol versions.
    Pseudorandom bytestream: A passive attacker having recorded a v2 P2P bytestream (without timing information and fragmentation information) must not be able to distinguish it from a uniformly random bytestream.
    Shapable bytestream: It should be possible to shape the bytestream to increase resistance to traffic analysis (for example, to conceal block propagation), or censorship avoidance.[4]
    Forward secrecy: An eavesdropping attacker who compromises a peer's sessions secrets should not be able to decrypt past session traffic, except for the latest few packets.
    Upgradability: The proposal provides an upgrade path using transport versioning which can be used to add features like authentication, PQC handshake upgrade, etc. in the future.
    Compatibility: v2 clients will allow inbound v1 connections to minimize risk of network partitions.
    Low overhead: the introduction of a new P2P transport protocol should not substantially increase computational cost or bandwidth for nodes that implement it, compared to the current protocol.

https://github.com/bitcoin/bitcoin/pull/28331

You can use Bitcoin privately without giving up custody: https://mempool.space/tx/d465033214fd2309dcce5a90c45fcaa788aa4394ee36debe07aad8d8a37907d2
^ Participate in coinjoin transactions like this with Wasabi Wallet ^
Nostr: npub1pww7030g95nv9ptfpgfu69jpfxj6pm33xxueztsupwekce45wx4sm6en60
1714303643
Hero Member
*
Offline Offline

Posts: 1714303643

View Profile Personal Message (Offline)

Ignore
1714303643
Reply with quote  #2

1714303643
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714303643
Hero Member
*
Offline Offline

Posts: 1714303643

View Profile Personal Message (Offline)

Ignore
1714303643
Reply with quote  #2

1714303643
Report to moderator
1714303643
Hero Member
*
Offline Offline

Posts: 1714303643

View Profile Personal Message (Offline)

Ignore
1714303643
Reply with quote  #2

1714303643
Report to moderator
Faisal2202
Sr. Member
****
Offline Offline

Activity: 1190
Merit: 465


#SWGT CERTIK Audited


View Profile WWW
October 03, 2023, 04:34:23 PM
 #2

Did not know about this upgrade, but now due to this topic, I realize how important BPI324 is. As I did some research on my own. And found out it is still under development from 2019 and if it really has that much potential then I hope it will be completed soon. But the funny thing is, I am not a Core user or a node user, or have to do anything with validations, conformation, miner, etc. Just saying.

But still, it will help the overall ecosystem of BTC and it will help the users like me. I will bookmark this, for further knowledge that others will post here.

hugeblack
Legendary
*
Offline Offline

Activity: 2492
Merit: 3612


Buy/Sell crypto at BestChange


View Profile WWW
October 04, 2023, 11:29:00 AM
Last edit: October 04, 2023, 11:42:30 AM by hugeblack
 #3

we finally has a https-like encryption to Bitcoin  Grin

The most important development in my opinion is that by relying on the session ID, we will have guaranteed that there is no malicious man-in-the-middle by matching the ID with the real user, in addition to the possibility of adding future authentication pairs and increasing the risk of knowing about the passive attack.

Did not know about this upgrade, but now due to this topic, I realize how important BPI324 is. As I did some research on my own. And found out it is still under development from 2019 and if it really has that much potential then I hope it will be completed soon. But the funny thing is, I am not a Core user or a node user, or have to do anything with validations, conformation, miner, etc. Just saying.

But still, it will help the overall ecosystem of BTC and it will help the users like me. I will bookmark this, for further knowledge that others will post here.


 1) You or anyone can submit a BIP proposal and some discussion about it is captured and published in the Bitcoin Core GitHub and only then needs approval and implementation.
 2) Approval may take some time and many stages of experimentation and implementation, for example https://github.com/bitcoin/bitcoin/pull/28374
 3) Then it will either be withdrawn or rejected. For example, in the past there was earlier BIP-151, which was withdrawn when BIP324 was added.
 4) according to Improvement, whether it is compatible with the old nodes and here is a softfork or not, and we need a hardfork that will determine the execution time.
 5) it is implemented in some wallets to reach a large part of Softwares

For example, even the BIP 39 upgrade (mnemonic backup aka wallet seeds) is not used by Bitcoin Core.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Hamza2424
Legendary
*
Offline Offline

Activity: 952
Merit: 1030


#SWGT CERTIK Audited


View Profile WWW
October 04, 2023, 02:09:37 PM
 #4

That's good news, now there's less reliance towards Tor and VPN to hide Bitcoin traffic. Although looking at https://bip324.com, which now redirect to https://github.com/bitcoin/bitcoin/issues/27634 shows there are few unmerged PR.

we finally has a https-like encryption to Bitcoin  Grin

With small exception lack of SSL/TLS certificate due to Bitcoin decentralized nature.

Hmm, on the stairs of Privacy, A good development but in mitigating this risk VPN & Tor can be considerable still, using a full node on the priority can be more helpful and people ignore the mixing service most of the time while going through the transaction Mixers can boost your privacy rate, I don't think so their service costs much.

I think it's very important for privacy-conscious Bitcoin users to be aware of the risks of data breaches. Any sort of data breach can be used to track a user's Bitcoin transactions and identify their holdings. This could have serious privacy implications, so safety comes first, as it could allow attackers to target users for theft or other forms of harm. Don't let be yourself a target.  Cheesy

DaveF
Legendary
*
Online Online

Activity: 3458
Merit: 6241


Crypto Swap Exchange


View Profile WWW
October 04, 2023, 02:20:54 PM
 #5

With small exception lack of SSL/TLS certificate due to Bitcoin decentralized nature.

That is always going to be the issue isn't it.

Either you have to trust someone and at that point you loose decentralization or you have to accept the fact that some things may be very difficult to the point of not being able to be done in a way that the average user can deal with.

Perhaps a namecoin like decentralized registry? But, that would
1) cost money
2) add a ton of complexity
3) add more bloat to the code
4) add more tx to the mempool / require more storage for the blockchain.

So although it would work, it's about as far from a good idea as you can get.

-Dave



█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1498
Merit: 7294


Farewell, Leo


View Profile
October 04, 2023, 08:52:37 PM
Merited by ABCbits (3)
 #6

This is good, but it shouldn't be considered equivalent to Tor. If Bitcoin is "banned" or whatever-- forbidden in general in your country, then you should absolutely not choose that over Tor. Just because the ISP cannot see the content you're sending over, it doesn't mean it can't figure out which IP addresses belong to Bitcoin nodes and make out you're running Bitcoin. This is trivial to do by recursively finding all reachable bitcoin nodes with getaddr.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
franky1
Legendary
*
Offline Offline

Activity: 4200
Merit: 4447



View Profile
October 05, 2023, 12:03:02 AM
 #7

nodes still ping/announce themselves in cleartext useragent data. advertising that they are a bitcoin node publicly..(they will still be accepting v1 connections).. meaning ISP's can still see who has a node. its just ISPs wont (for users that enable this feature) see what block/tx data is being relayed on the outbound but still able to see the data on the inbound

also the funny part is for some who complain(falsely) about bitcoin being broke because of data broadcast amounts per month/computational resources used by a node, this feature actually uses more data and computation resources. so this also means if devs are happy to send more bloat per message, then the concern for network data loads/computation is not a big deal, compared to what certain people pretend..


I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
Weezenhofnar
Copper Member
Member
**
Offline Offline

Activity: 502
Merit: 63

3JGWcqUePDp5LqRNkTHuxcq8AX9iqu1HFz


View Profile WWW
October 05, 2023, 12:24:01 PM
 #8

"Wow, this upgrade is totally mind-blowing!  It's like Bitcoin leveling up to superhero status against nation state snooping! The old way, your ISP could sniff out your Bitcoin moves, but now, with v2 P2P protocol, it's all super-secret squirrel stuff.  Encrypting traffic and going all pseudorandom - that's some next-level ninja tech right there!  Love how Bitcoin keeps evolving, making it tough for the big players to mess around. Kudos to the devs!
DaveF
Legendary
*
Online Online

Activity: 3458
Merit: 6241


Crypto Swap Exchange


View Profile WWW
October 05, 2023, 02:07:11 PM
 #9

IMO relying on external system (namecoin) should be avoided. Storing such registration data (e.g. self-signed cert and associated IP) should be stored on blockchain, even if it bloat Bitcoin mempool.

I was not saying use namecoin, but incorporate something LIKE namecoin naming system into BTC so you could get ETFbitcoin.btc and sign something that shows your node(s) are yours.
But, the code bloat would be BEYOND crazy so it's not worth it at the moment.

I'm sure there is a way to do this and that people are working on it as we discuss it. But, who knows how long it will take.

Tossing ideas around is still fun.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Kruw (OP)
Member
**
Offline Offline

Activity: 378
Merit: 95

assumevalid=0 and mempoolfullrbf=1


View Profile WWW
October 05, 2023, 02:55:19 PM
 #10

"Wow, this upgrade is totally mind-blowing!  It's like Bitcoin leveling up to superhero status against nation state snooping! The old way, your ISP could sniff out your Bitcoin moves, but now, with v2 P2P protocol, it's all super-secret squirrel stuff.  Encrypting traffic and going all pseudorandom - that's some next-level ninja tech right there!  Love how Bitcoin keeps evolving, making it tough for the big players to mess around. Kudos to the devs!

Yes, I suppose I could have made the OP text more exciting, but P2P networking is not an area I'm especially knowledgeable in.

You can use Bitcoin privately without giving up custody: https://mempool.space/tx/d465033214fd2309dcce5a90c45fcaa788aa4394ee36debe07aad8d8a37907d2
^ Participate in coinjoin transactions like this with Wasabi Wallet ^
Nostr: npub1pww7030g95nv9ptfpgfu69jpfxj6pm33xxueztsupwekce45wx4sm6en60
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!