HNHacker News
TopNewBestAskShowJobs

simon_vetter

267 karma · joined January 30, 2013

submissionscomments
simon_vetter··on iOS Supporting IPv6-Only Networks
They're doing dual stack, not ipv6-only with nat64/dns64.
simon_vetter··on iOS Supporting IPv6-Only Networks
Requiring all apps to work on ipv6-only DNS64/NAT64 networks will let Apple do without 464xlat entirely, as no ipv4-only app will be left on the app store.
simon_vetter··on A Message to Our Customers
> Even if it existed, it would bring very little value to the users, as operating a radio device with modified firmware on public networks without recertification is prohibited in most jurisdictions of the world and privacy concerns in cellular networks are mostly related to what happens on the network side, not inside the device.

Not entirely true, publishing the code isn't the same as allowing its modification. Code signing can be used to limit which versions are allowed to run.

Reproducible builds of the source would allow one to ensure that the binary, certified version of the code their baseband processor is running is legit (i.e. not backdoored). It would also help audit the code and spot security holes.

simon_vetter··on How to Protect Your Infrastructure Against the Basic Attacker
This. At least, if you're not ready to accept incoming v6 connections (which really isn't hard to do), use connection tracking to let outbound v6 through and add the necessary icmpv6 accept rules.

ufw comes pre-installed on ubuntu and is dead simple to use, there's really no reason not to use it.

  # ufw allow 22/tcp
  # ufw enable
should be all you need to have connection tracking on both v6 and v4, have a tried and trusted icmpv6 accept list, and keep your v6 and v4 firewalls in sync.
simon_vetter··on Ask HN: What is your favorite FTP client?
I'd strongly recommend against using ftp in 2015. sftp [1] should do everything that ftp did in with a good level of security (encryption, server authentication and key based user auth). It uses ssh as transport protocol which means that if you have an ssh server set up, you don't need anything else.

To answer your question, lftp [2] on the command line, cyberduck [3] on osx. Both of these tools are capable of connecting to sftp servers, too.

Also, sshfs (+ osxfuse for osx) [4] is definitely worth a try.

[1] https://tools.ietf.org/html/draft-ietf-secsh-filexfer-13

[2] http://lftp.yar.ru/

[3] https://cyberduck.io/

[4] https://osxfuse.github.io/

simon_vetter··on Raspberry Pi Zero: the $5 computer
> * via Raspbmc, which I just found out has apparently ceased to exist...

Try OSMC [1], it's a massive improvement over Raspbmc and is being developed actively. Works like a charm. If I'm correct, the main Raspbmc dev went over to OSMC a while back.

[1] https://osmc.tv

simon_vetter··on A Linux botnet is launching crippling DDoS attacks in excess of 150Gbps
This is fairly common, if not ubiquitous.

Use key-based authentication, disable password auth in sshd_config and install sshguard.

simon_vetter··on ARIN Finally Runs Out of IPv4 Addresses
That's only a management interface tho, the modem will still happily forward ipv4.
simon_vetter··on ARIN Finally Runs Out of IPv4 Addresses
what icebraining said: use a nat64+dns64 at the edge of your network and make all your endpoints ipv6 only.

If you're an ISP, you could probably put multiple nat64 boxes in the core so that all your customers benefit from it and can gradually switch ipv4 off (since they can transparently reach ipv4 endpoints through the nat64 gateway).

Then there are a few applications that don't handle ipv6 properly (i.e. skype), and Apple's decision of mandating ipv6 support is meant to fix just that.

Then there is 4XLAT, ds-lite and others which allow for a single stack ipv6 network and carry ipv4 on top of it to the endpoints which need it.

simon_vetter··on ARIN Finally Runs Out of IPv4 Addresses
This. Running dual stack networks is harder and more expensive to manage, secure and troubleshoot.

The faster we get to single stack ipv6 only, the better.

simon_vetter··on iOS9 already driving IPv6 uptake
iOS8 has been reported to be dual stacked (v6 + v4 addresses) on the cellular side of things on Verizon and a bunch of other (mostly European) networks.

What Apple did with iOS9 is improve its address selection algorithm to prefer ipv6 in a majority of cases (if both the device and the server are dual stacked and unless v6 path latency is much greater than its v4 counterpart, v6 will be used).

In contrast, ios8 would prefer v4 over v6 when both endpoints were dual stacked.

Also, from what I've seen, iOS devices won't provision ipv6 addresses on their cellular interface unless their Carrier Profile says they should, so you might have encountered devices not getting ipv6 addresses even though they were connected to a dual stack network. Wifi always uses v6 if the network supports it.

simon_vetter··on Tech companies lobbying for CISA are abandoning their users' privacy
Add the score of the duplicate (being deleted) to that of the original story, and keep the highest rank of the two?
simon_vetter··on Locking the Web Open: A Call for a Distributed Web
Implementing other protocol handlers into existing web browsers and operating systems would be a good start IMO.

Taking ipfs/ipns [1] as an example, having handlers inside web browsers would allow people to link from http[s]:// to ipfs:// and vice versa in a seamless way, lowering the barrier to migrate.

From there on, there's nothing preventing you from distributing your application code (html/css/javascript/whathaveyou) over ipfs, and make use of WebRTC for user-to-user interactions.

Obviously http[s] is going to stick around for a while as it has its use cases (basically anything that deals with a centralized service, from online banking to search engines to apis), but having a secondary, peer to peer means of distributing content and applications would be a major plus.

[1] http://ipfs.io (they have a working implementation in Go with an HTTP gateway as well as a FUSE filesystem)

simon_vetter··on Hulbee – A Safe, Smart, Innovative Search Engine

  hulbee.ch uses an invalid security certificate. The 
  certificate is only valid for the following names: 
  *.hulbee.com, hulbee.com
simon_vetter··on Comcast Automatically Enabling IPv6 in San Francisco
I would recommend sshguard [1] as a fail2ban replacement. It does much of what fail2ban used to do out of the box and has supported ipv6 for a long, long time.

It is packaged in debian, ubuntu and probably other major distros these days.

[1] http://www.sshguard.net/

simon_vetter··on Spying on US citizens
From the placement of the LEDs and the board's relative size compared to your hand, I'm assuming that this is the main board of the device.

Coming off that board, I see two large wires (red and black) running to a battery connector and two smaller, black wires running to what looks like a temperature sensor.

Your hand is holding a heatsink for the board's power electronics. The smaller protruding black knobs aligned with the LEDs are most likely push buttons, according to the layout of the device [1].

A temperature sensor in an UPS (what I believe the box is) is very common, as it would require ambient temperature readings for optimal charge and safety concerns. You will also find them in hard drives, TV sets, switching power supplies, etc. You can buy them in bulk on ebay [2], for cheap.

Is that sensor what you believed to be a microphone? Or did I miss something else?

[1] https://instagram.com/p/32-Yn5q3ab/?taken-by=navrajchohan [2] http://www.ebay.com/itm/10-pcs-Thermistor-Temperature-Sensor...

EDIT: added ebay link.

simon_vetter··on The next version of Safari will let users block ads on iPhones and iPads
> Anything that is moving, distracting

This. It's really hard to stay focused on an article or piece of text longer than a few sentences with flickering images, autoplaying videos (with sound), and recently those pesky javascript overlay popups.

Blocking ads doesn't just make for a faster web experience, it also allows you to have proper attention spans necessary to read and digest two pages of text, and that's true for any kind of audience, tech-savvy or not.

Obviously, privacy invasion, constant and pervasive tracking, malware distribution, profiling and exploitation of personal data in jurisdictions with poor consumer protection laws and over which you have no control or say are all alarming and dangerous.

When people started raising concerns and calling this out a few years back, ad networks (and the tech industry they are living on) came forward with DNT, "voluntary opt outs", privacy policies and "personalized contents and ads".

Most people would probably agree that all these options are equally laughable as they merely try to appease concerns rather than addressing them.

Regardless of my personal opinion, is it really surprising to see people of all kinds start using tools making their experience better? For most people, the web is merely a medium, just like paper books.

simon_vetter··on National IPv6 launch day in Finland
I've used a Time Capsule just fine in bridge mode when cabled to a CPE sending out router advertisements. If you use it as a bridge, you might want to make sure the TC firewall is disabled (or at least lets multicasts through).
simon_vetter··on National IPv6 launch day in Finland
On the contrary, there are advantages in having your apps/clients support ipv6 even if your backend is not ready to offer v6 connectivity:

1) your app/client will work just fine on ipv6-only networks with NAT64 gateways, making for a better experience for your customers (less breakage on such networks) and will help network operators transitioning to v6,

2) if it does any kind of p2p (think rtp, webrtc, bittorrent, sip, etc.), it will take advantage of nat-free v6 paths for client to client communications, regardless of which address family it uses to talk to the backend.

simon_vetter··on Ask HN: Are there forgotten servers out there?
Same experience here. Servers get ordered, racked, provisioned and left powered on waiting for a sysadmin to make use of them... which quite often doesn't ever happen, because team priorities change over time, people move on/get fired, entities go through reorgs, etc.

They sit there idling and unattended, burning power and disks, until some script kiddie finds whatever default root password was used or how to exploit some random apache/ssh flaw.

At that point the possibilities are endless: bitcoin miners are quite unnoticeable in most environments, but DDOS/spam zombies, proxies, bittorrent seedboxes, botnet C&C, "warez" and http servers serving drive by exploits are fairly common.

Protip: ask your datacenter provider to power your servers down (be it VMs or dedicated gear) after racking them up. Powering them back up when you really need them will only take you a minute and you'll save big on power, bandwith, security and peace of mind.

simon_vetter··on “We are only collecting the list of applications you have installed.”
Note that he could be living in a jurisdiction where the law provides better protection for electronic communications (email being one of them), thus preventing his ISP from reading/analyzing/reselling his emails.
simon_vetter··on Filter all ICMP and watch the world burn
icmp in ipv6 does much more than its ipv4 counterpart and most importantly:

1) L2 address resolution (neighbor discovery), which ARP used to do in ipv4,

2) full network autoconfiguration (global scope addresses, default route(s), DNS resolver), which DHCP used to do in ipv4 (although DHCPv6 is still an option),

3) multicast group management (MLD), which igmp used to do in ipv4,

4) path mtu discovery (through 'packet too big' messages this article references). Routers fragment packets exceeding the link MTU in ipv4, they notify the source of the lower mtu in ipv6.

ping, TTL exceeded, destination (host, route or port) unreachable and parameter problem were mostly carried over from ipv4.

Blocking 1, 2 (and to some extent 3) on a local network will most likely break ipv6 connectivity entirely while blocking the others will only break it in subtle, hard to debug ways (especially with ECMP and traffic engineering where multiple routes for a given destination can be used).

I've found that explaining this before asking network admins to unblock icmpv6 filters is a good way to succeed (although it can be hard, i'll give you that).

People aren't used to filter ARP or link local broadcast in ipv4 (which DHCP uses), so telling them that they need to allow icmpv6 to let stations merely configure themselves is a bit of a mentality change.

At the same time, developers of firewall management tools like ufw understood this problem a while ago and insert a working, good, tried and tested icmpv6 accept list as first rule which you can't mess with.

Telling people to use ufw is usually much better than teaching them ip[6]tables.

simon_vetter··on Have you heard 'the hum'? Mystery of Earth's low droning noise solved?
Any decent size transformer (or AC motor) in or near your house would hum at 60Hz (plus a bunch of harmonics). The big one on that utility pole down the street seems like a perfect candidate.
simon_vetter··on D-Link patch doesn’t address all bugs listed in their own security advisory
You can disable their http/https/telnet interfaces and stick to ssh with key auth for administrative tasks. That alone should help.

Also, they come with upnp and other unnecessary daemons disabled which greatly reduces their attack surface.

simon_vetter··on Simple way to create your anonymous page
"We collect information from you when you register on our site. When registering on our site, as appropriate, you may be asked to enter your name, email address or other details to help you with your experience." [1]

"We do not use an SSL certificate because we only provide articles and information" [1]

Also, no mention of the likelihood of law enforcement coming to your door and serving you warrants/NSLs to get customer information.

Marketing your product as anonymous seems really misleading to me. Also please at the very least enable SSL.

[1] http://www.confify.com/legal/privacy_policy

simon_vetter··on Leave Facebook if you don't want to be spied on, warns EU
I'd argue that facebook is as big a threat as gmail, especially when you see how younger generations use it to communicate. Also, keep in mind that facebook tracks and collects your moves all over the internet (hint: look for the little 'like' button on every newspaper/forum/random website and take a look at your cookies from time to time) even if you don't have an account with them. De-anonymization and identification with so-called metadata (cookies, ip addresses, phone numbers, etc) is extremely easy to perform these days.

You can't trust users to make sane choices when it comes to privacy in the exact same way that you can't expect drivers to decide if a car is safe to drive or not. Joe Sixpack isn't going to use browser privacy extensions, clear their cookies, use tor, etc.

Some entity (probably a government/administration of some kind, but I can see NGOs doing that too) needs to be tasked with enforcing privacy laws in the same way that (at least in most of Europe) you are required to have your car inspected for safety and maintenance every few years.

EDIT: Across the EU, the Commission for the Protection of Privacy [1] would be that entity. There are additional government instances in various member states, like CNIL [2] in France.

[1] http://www.privacycommission.be/en/european-union [2] http://www.cnil.fr/ - http://www.cnil.fr/english/

simon_vetter··on Show HN: SSL Decoder – An open-source alternative for the SSL Labs server test
Use these services as tcp load balancers and terminate SSL on your backends.

Using a LB to offload SSL termination might seem like a good idea (you save a bit of CPU, really not more than a few percent in practice), but you expose your customer traffic to capture/inspection between the LB and your backends. This network can span multiple hops or even datacenters.

Also, when the next openssl vuln hits, you can patch your setup in no time and do not need to wait for the LBs to be patched at your vendor's will.

simon_vetter··on Ask HN: How do you work efficiently on remote servers?
have a buildbot/jenkins set up which runs your test suite on a buildslave automatically when you push to a git branch?

I would still run my editor locally (your pick. I use vim almost exclusively).

simon_vetter··on Show HN: SSL Decoder – An open-source alternative for the SSL Labs server test
If your hostname is dual stacked it only checks for ipv4 afaik.
simon_vetter··on GitHub hit by DDoS attack
If the reason you're using github is its tools and (nice) interface, why not start your deploy by syncing github to your private repo, then have capistrano always pull from there? Less code paths to test and no need to define env[FALLBACK]. Also, it's probably faster.
Page 1 of 2Next →