Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "0.0.0.0"
-
Holy fuck, this is starting to work!
Problem: I am highly anti google/facebook/few others and I'd rather null route those DNS requests.
The problem is that the pihole only can blacklist domains or wildcard domains but not words. So if Google would come up with a new name for some of their domains, I'd be fucked because I can't filter out the word Google through the pihole.
Today I fucking found the solution (still a work in progress but a PoC is nearly working):
Compiled a program which can monitor DNS queries/requests and logs them to a file.
Have a php (yes I write most of my cli tools in php) script tailing the log file and gathering the requested domains from it.
Then I can see if the domain contains the substring which I don't like (google as word for example) and echo it to the end of my hosts file with 0.0.0.0 in front of it if that's the case.
Holy fuck this seems to be working! 😍24 -
!Rant
Hello devRant!!
Just released a small little app to share links to your PC directly from your device (Linker).
It uses a Java server running on your PC so there are no middle-men. Everything is open source and on my GitHub.
It's currently in alpha. Basically:
1. Run server on your PC (no UI ATM so run in a console) - defaults: 0.0.0.0:8090
2. Add the server IP-Port in the Android app
3. Share a link from any app through linker
4. Magic 😎
Below are the links if anyone likes the idea and wants to try it out (UI is crap I know! - I had very little time to work on it)
Become tester:
https://play.google.com/apps/...
App:
https://play.google.com/store/apps/...15 -
A while ago I was asking wtf is this new trend with using 0.0.0.0 as a target address for connect()'ing TO.
Turns out, I was asking the right questions. This nonsense will soon be blocked in browsers, as it's a dumb security issue.
ref.: https://oligo.security/blog/...4 -
What's this new trend with connecting to 0.0.0.0...? Since when is 127.0.0.0/8 no longer enough?
Does 0/0 offer to the clients smth 127/8 doesn't?6 -
I've had my site up and working for a few months now (still need to finish building it properly the template project is still half default lol) but because I setup the Nginx server on a digital ocean droplet myself using both for the first time ever I obviously made some mistakes. It was up and running though just always spouting 'nginx[1755018]: nginx: [warn] conflicting server name "jessiejfoley.dev" on 0.0.0.0:443, ignored' whenever I 'nginx -t' or 'java.security.cert.CertificateException' on this server monitor app I have on my phone
But it was up and ssl seemed to be working so I ignored it
today I learned about https://sslshopper.com/ssl-checker...., which told me my intermediate certificates were not functioning properly, I was bored today and didn't wanna be too productive (else boss expects the progress I've made this week every week) and decided to finally go through and see about getting everything fixed properly starting by reinstalling the certs and double checking my commands.
2 hours later I still can't fix the cert errors so I decide to focus on the conflicting name error. Go through the nginx directory cleaning anything non essential or things I put there while trying to figure out how to get it up originally (learned as I was going lol bad practice I know, but it's just a practice site that'll eventually be a portfolio when I feel like making it properly and investing an adequate amount of time)
as soon as I get rid of jessiejfoley_dev.save.3 inside /etc/nginx/conf.d (my actual site is in sites-enabled) my server monitor app stops reporting the cert error and when I check the ssl checker everything is properly working now.
so the easiest problem to fix was actually the cause of all my problems. I'm and idiot and this shows I still have a LONG way to go to actually knowing what I'm doing at all.1 -
Thanks vscode devs for the feature where they automatically map the local ports to remote port that are needed to run the node based application and also to the devs those who write such a great extensions (remote development, gitlens, docker and kubernetes)
No more ng serve -host 0.0.0.0
No more remote_ip:4200 in browser.
These two steps were so much frustrating whole pulling or checking out another branch.
I just need to learn how to run maven from vscode where I have to add another project in dependency.(never worked on maven before and hate long nested xml). AFTER that never booting vm in GUI.4