Sharedrop: Easy P2P file transfer powered by WebRTC – inspired by Apple AirDrop
github.com
github.com
Localsend can do that. Problem being when the other person did does not have that installed on their phone. It's really crazy how offline-first networking is still partitioned by iPhone/Android for so many years.
Pretty soon we're going to have satellite cell service via Starlink. So it will work, but it will be silly when your signals are going to space and back twice to travel a mile as the crow flies.
https://www.retevis.com/rb91-direct-frequency-digital-repeat...
It will be interesting to see how it actually works in real life and how the codec they use sounds like.
I suppose in that case there are mesh networking apps such as Briar? https://briarproject.org/
it's not exactly a "brick". airdrop/bluetooth still work albeit at a reduced range.
right? And it's almost unbelievable that a $150 bike can travel hundreds of miles in the wilderness, but a $30000 car becomes a brick the moment it runs out of gas.
It stays in the background and is fully transparent to your workflow.
Have made this using occasional threads like this one and update it when I find some new tool.
https://github.com/blenderskool/blaze
https://github.com/jchorl/sendfiles
https://github.com/midzer/filelove
https://github.com/a-wing/filegogo
https://github.com/jeremyckahn/secure-file-transfer
https://github.com/perguth/peertransfer
https://github.com/perguth/peermesh
https://github.com/Peer5/ShareFest
https://github.com/chidokun/p2p-file-transfer
https://github.com/leocompson/p2p-file-transfer
Works pretty good for my use cases.
EDIT: Oh, this was already mentioned... sorry.
I wonder if it's an IPv6 issue? My two devices might have shown up to the server as two different IPv6 addresses, not the same NATed IPv4 address.
- NAT bindings are usually not stable over long periods of time - Many NATs implement what's basically a stateful inspection firewall, which means that you actually need to send a packet out to the peer's address before it will be allowed to send a packet to you from the outside - In some nontrivial fraction of cases, you actually need to relay traffic through a third party.
The result is that you need some coordination protocol to set up the connection and that has to go through some service which is accessible from the endpoints; generally this means some type of service. So, yes WebRTC is designed this way, but it's basically a constraint of any system of this type.
For more on this than you wanted to know, see: https://educatedguesswork.org/posts/nat-part-1/ and following posts.
For P2P over the broader internet: Either use another channel to convey the token or use a native application that can speak UDP/TCP to do actual distributed P2P transfers.
The situation isn't pretty, but there's more than what WebRTC with its single-use sessions offers.
see https://webrtc.org/getting-started/peer-connections.
There is a youtube video on writing a webrtc chat app and (during development) the developer simply copies and pastes between two windows on the same computer. Webrtc file transfer, text chat and video chat all use this information. In addition if one is negotiating connections across NAT servers you use STUN or TURN servers (there are open ones) to establish NAT. Your local computer/phone/whatever will send need to tell the other side what your NAT address is and STUN will do that.
it's so funny how everyone have a favorite. They all use standardized hacks on top of hacks, just because ISP do not want to let you serve content and will fight for NAT, which is their only line of defense from everyone else messing with their precious IGMP multicast hacks so they can subsidize their TV business on your internet bill. it's all so funny.
but the best joke is how microsoft and apple both tried to "make things work" in the late 90s (?) with their special zero-conf-by-other-names trainwreak of network protocols.
There's no end in sight.
Ok. But for anyone else struggling with it, check the settings for AirDrop, which one of the following are your devices configured to use:
- Receiving off
- Contacts Only
- Everyone for 10 Minutes
I usually am not able to receive even from people supposedly in my contacts, even though mine is set to Contacts Only. But I don't mind that. I AirDrop about two or three times per month with others.
I take my device and their device and I flip receiver to "Everyone for 10 Minutes". Then I AirDrop the photos or files I want to and have no problem. Try this.
What are you trying to say? This is intriguing.
That tech have no authentication or authorization. (IGMP, PIM-SM, whatever)
it mostly consist of a switch or router on the edge NOT forwarding UDP to some class D ip, or something, past it. But all the ancillary protocols have hundreds of redirection attacks still available.
All that is besides the BGP stuff everyone document by now so it's only used as a last resort.
Go read a book on network security published after 2013. If you want to play with it in your home, no need to build a homelab. Your home modem probably have smaller versions of this using uPNP or PCP or something. Not really recalling the consumer version names. But on those you mostly can point ports routed to any device to any other device, started by any device in or out of the network. fun stuff.
the reason i don't remember any of the details is because all the perl scripts written in 2000 or so still work just fine.
What is the conspiracy? Concretely, what is it that I believe is "going on," what is "actually" "going on", and how does the "actually" "going on" part harm me or screw me... somehow?
The reason they use CG-NAT is because there is a complete shortage of IPv4 addresses.
you'd be surprised. Every resolution bump it gets back in fashion. And the infra is always left behind.
And there's only a shortage of ipv4 because ISPs drag their feet on ipv6. It's circular. They even talk about IPv6 nat, lol. For user safety now, i think.
remember when DSL didn't allow you to open listening ports? you had to buy "business DSL" for 10x more?
Amazon alone is sitting on billions of IPv4 addresses. They've snarfed up /10's, /8's, and partial /8's: https://toonk.io/aws-and-their-billions-in-ipv4-addresses/in...
Every single man woman and child in the US could get three unique IPv4 addresses each and Amazon would still have billions left over.
And then recently the DoD transferred 175M IPv4 addresses to a shell corporation in Florida nobody has ever heard of, an then that shell corp announced the largest # of IPv4 addresses in the world: https://arstechnica.com/information-technology/2021/04/penta...
The whole "IPv4 space is exhausted" is a load of shit to get people to feel guilty about having a class C and downsizing while Amazon, Google, and Microsoft snarf up more and more IPv4 space. It's exactly like "turn off your lights when you leave the room to reduce your carbon footprint" while a billionaire flies over you in his private jet in a 20 minute flight to the beach because he didn't want to sit in traffic.
All this could have been avoided if a)address space could not be sold or "leased" but had to be returned to APIC b)rules regarding a minimum percentage of your existing address space being announced/routable with actual devices at the other end...before more space will be allocated to you.
Now a single IP (let's go all dewey eyed and forget about other protocols), for TCP, can support more than 65000 ports. OK, let's suppose we are fixated on port 443. Slap a proxy on it. Now you are restricted by the characters in the alphabet (thanks to DNS) ... oh hang on ... you are restricted by UTF8 and company.
With Dynamic DNS you don't really need a fixed IP either, provided it has a reasonable lifetime. My Dad's home telephony is on the end of a UK Virgin Media residential connection, which gets you a DHCP assigned but largely unfiltered non RFC1918 address. Their new build at the time offered telephony from BT with no internet or no telephony and internet from Virgin. I ported his phone number from his old house and popped in a RaspPBX and used DDNS to get a stable hostname/unstable IP. A UPS ensures that the Pi stays up reliably.
At work, now that unlimited addresses are unavailable, a bit of consolidation is required. I have a HA Proxy that redirects inbound connections based on hostname, URLs and all sorts of things.
If your imagination is restricted to only one component that makes up an internet addressable service then sure IPv4 is a bit small. I do understand that getting thousands of services addressable on a single IPv4 is going to involve reading a few manuals. However HA Proxy and co are open source and just require some effort and a bit of hardware.
I could go on (at length 8) ...
The article says they are sitting on billions of dollars worth of IP addresses, which is a completely different thing. FWIW I don't think Amazon having 100million IPv4 addresses is that unreasonable given how many sites are on it.