News for hackers. Stuff that matters.
Re:Show HN: What every browser knows about you by throwanem on Friday April 01, 2016 @04:24PM (#11408267)
Scanning the visitor's /24 without notice, warning, or opportunity to opt out is a dick move. Our IDS probably just lit up like a Christmas tree.
Re:Show HN: What every browser knows about you by dsl on Friday April 01, 2016 @04:45PM (#11408471)
Yup. I have a honeypot on my home network that hits Twilio when it gets poked at. So the author at least got my phone to light up.
Re:Show HN: What every browser knows about you by tlrobinson on Friday April 01, 2016 @06:19PM (#11408997)
At least you know it's working!

But yeah, I echo the other commenter wanting to know more about how you set that up.

Re:Show HN: What every browser knows about you by ndmrs on Friday April 01, 2016 @05:23PM (#11408703)
That sounds awesome, care to share a few more details?
Re:Show HN: What every browser knows about you by dsl on Friday April 01, 2016 @07:18PM (#11409258)
I actually locked myself out except for console access, so some of this is from memory/Googling:

1. Connect Raspberry Pi to local LAN and get wifi setup (I VLAN wireless traffic, so I have it listening/connected to both)

2. Change iptables default policy to DROP

3. Add relevant ALLOW rules to make sure basic stuff like DHCP still works. I added an allow rule to talk to another machine that runs a PHP script that talks to Twilio

4. Spend about a week adding custom DROP rules for any normal broadcast traffic on your network (Bonjour, random auto-discovery stuff, etc)

5. If you have properly excluded everything "normal" you should be able to run "iptables -vL" about 24 hours apart and the packet count next to the INPUT chain policy will not have incremented (remember we have a default of DENY)

6. Add a final rule of 'iptables -A INPUT -m limit --limit 2/min -j LOG --log-prefix "ZOMG: " --log-level 4'

7. Write a bash script to monitor syslog, parse the log, forward to the before-mentioned script on another host

Re:Show HN: What every browser knows about you by rvdm on Saturday April 02, 2016 @11:35AM (#11411867)
Very smart!

Just my 2 cents, but I feel like there might be some commercial demand for something like this if you'd ever consider packaging it.

Re:Show HN: What every browser knows about you by obituary_latte on Friday April 01, 2016 @07:56PM (#11409442)
>I actually locked myself out

Hate it when that happens to me...every week.

Re:Show HN: What every browser knows about you by Capira on Friday April 01, 2016 @04:46PM (#11408481)
Sorry! Didn't think about that. It is fixed.
Re:Show HN: What every browser knows about you by msane on Friday April 01, 2016 @05:03PM (#11408590)
You should leave it in, if the whole point is to demonstrate the capabilities.

It's incredible that a webpage can do that.

Re:Show HN: What every browser knows about you by dikaiosune on Friday April 01, 2016 @05:20PM (#11408692)
I think a button would be more appropriate. Not everyone reads HN on a network they control and port scanning one's neighbors can lead to some unpleasant conversations.
Re:Show HN: What every browser knows about you by Too on Saturday April 02, 2016 @01:26AM (#11410363)
Maybe it's good that more conversations around this are started so that eventually this critique is upstreamed loud enough to the browser vendors.
Re:Show HN: What every browser knows about you by toomuchtodo on Friday April 01, 2016 @05:58PM (#11408903)
> It's incredible that a webpage can do that.

How so? Any site you navigate to knows your IP, and can take action based on that.

Re:Show HN: What every browser knows about you by kevincox on Friday April 01, 2016 @06:11PM (#11408951)
This isn't based on external IP. This is using JavaScript to make requests inside your LAN.
Re:Show HN: What every browser knows about you by hobs on Friday April 01, 2016 @06:33PM (#11409065)
Yeah I feel like samy.pl demonstrated this years ago, freaked me out and I have been running noscript ever since :D
Re:Show HN: What every browser knows about you by mavhc on Saturday April 02, 2016 @03:34AM (#11410637)
Weirdly it's wrong for me, there's LAN IPs on the list that don't exist, and it's missing ones that do. Firefox on Ubuntu, with uBlock Origin, over WiFi.
Re:Show HN: What every browser knows about you by IE6 on Friday April 01, 2016 @05:13PM (#11408658)
Agreed - good on OP to raise awareness.
Re:Show HN: What every browser knows about you by gregsadetsky on Friday April 01, 2016 @09:08PM (#11409719)
You should also fix the copy. You have "To prevent your browser from accessing your Device Orientation use NoScript." appear twice, the second time under "Network Scan".

Congrats on the page!

Re:Show HN: What every browser knows about you by Capira on Saturday April 02, 2016 @12:10AM (#11410180)
Thanks for the bug report! It is fixed ;)