News for hackers. Stuff that matters.
Re:Build a burner phone with Twilio and Kotlin by WisNorCan on Tuesday July 18, 2017 @12:03PM (#14797596)
The challenge for Twilio is that phone #s are a fixed quantity. The same #s have been circulating across lots of different companies including being used by spammers and in marketing campaigns and published across the Internet. Make sure to search the Internet for any phone # you acquire from Twilio before buying it. It may already have substantial call spam/undesirable organic traffic associated with it.

On the flip side, there are already companies out there specializing in monetizing misdials. They specifically look for phone #s that have been retired recently with a lot of volume and then take those calls and resell as leads for cars, insurance, etc.

Re:Build a burner phone with Twilio and Kotlin by gregorymichael on Tuesday July 18, 2017 @12:35PM (#14797909)
Greg from Twilio here.

Agreed on the challenge of working with a fixed number of phone numbers (and I say this as someone who recently moved to NYC and would love to own a 212 number).

In the industry, phone numbers that have a high-volume of unwanted traffic are called "dirty numbers." Think of a number used by someone who signed up for every sweepstakes they came across for 40 years, or maybe a number that's particularly cute (you probably don't want to have a cellphone tied to XXX-867-5309).

If we sold them, dirty numbers would be worse-than-useless for (almost all) of our customers. So, whenever a phone number is released by a Twilio customer, we reserve it for a minimum of two months before it can be purchased by another account. We also monitor each reserved number until it reaches an acceptably low number of phone calls.

If you do find yourself getting unwanted calls, you can use the <Reject>TwiML verb[^1] to create a blacklist - your account won’t receive or be charged for those calls.

[1]: https://www.twilio.com/docs/api/twiml/reject

Re:Build a burner phone with Twilio and Kotlin by etjossem on Tuesday July 18, 2017 @12:46PM (#14798003)
SendGrid engineer here.

We have a similar challenge in working with the fixed number of IPv4 addresses we're able to get our hands on. We offer our customers dedicated IP addresses for outbound email, but there are sometimes situations where a customer doesn't want to hold onto one forever.

We want to make sure mailbox providers (like Gmail and Hotmail) have time to realize the IP is not in use, rather than mistakenly associating it with the old customer. It makes sense to hold onto it for a while after the customer releases it before allowing another customer to purchase it. We call this the "cooldown period."

Re:Build a burner phone with Twilio and Kotlin by linkregister on Tuesday July 18, 2017 @01:08PM (#14798201)
Gmail primarily uses domains for reputation, according to their docs (and in practice). I never had to deal with much IP management when sending to Gmail or G Suite recipients.

Microsoft does use the range of black holes, e.g. Spamhaus, including using their own, so etjossem is right about having to cool down a bad IP before requesting whitelisting. Almost all ESPs and black holes will reject whitelisting requests without a sufficient cool down period anyway.

Gmail is certainly ahead of its time. I haven't tried sending with IPv6 addresses but the Gmail documentation claims it will work.

Re:Build a burner phone with Twilio and Kotlin by wiml on Tuesday July 18, 2017 @01:25PM (#14798355)
Just from looking at my own mail servers and mail headers, Gmail will happily both send and receive mail over IPv6, and has for years. Same with Outlook. Oddly, despite Apple's push for IPv6 support, iCloud doesn't seem to have an IPv6-capable MX.
Re:Build a burner phone with Twilio and Kotlin by etjossem on Tuesday July 18, 2017 @01:20PM (#14798301)
You're spot on about Google; they've moved forward from this approach and lean more heavily on domain-based information now. But they're a rare exception, and they have very little to go on when the domain is just "sendgrid.com" (i.e. the customer hasn't set up whitelabel yet). So we want to make sure we're always giving customers new or cooled IPs!
Re:Build a burner phone with Twilio and Kotlin by linkregister on Tuesday July 18, 2017 @06:09PM (#14800442)
I'm surprised you willingly burn your own domain's reputation. Other email-as-a-service companies require a validated domain with SPF and DKIM in the DNS TXT records or use a burnable subdomain, e.g. freeaccount12345.sendgrid.com; or even better, 12345.sendgridfreeaccount.com.
Re:Build a burner phone with Twilio and Kotlin by etjossem on Tuesday July 18, 2017 @06:29PM (#14800553)
Yep, we use burnable subdomains if you haven't whitelabeled.
Re:Build a burner phone with Twilio and Kotlin by Sir_Substance on Tuesday July 18, 2017 @02:31PM (#14798932)
Hey Greg, uneducated but interested inquirer here: Once you're inside a phone network, phone numbers can be as long as you like, can't they?

Could Twilio not arrange for a new "country code" to be assigned, possibly to an industry working group of some kind, and then make the numbers ~64 digits long? Then there should be more than enough to go around and to discard dirty numbers, and the numbers could always be made larger in the future if needed?

Re:Build a burner phone with Twilio and Kotlin by walrus01 on Tuesday July 18, 2017 @08:30PM (#14801208)
No, because 98% of peoples' phone systems out there expect a destination number in a specific format. You can't just have a NANPA area phone number that is arbitrarily long or has extra digits in it.

https://en.wikipedia.org/wiki/North_American_Numbering_Plan

If you are way, way bigger than Twilio you can create a country code. Country codes exist for special purposes like the Iridium satellite phone network. But you cannot just create a country code for arbitrary purposes and expect it to work with the world's PSTN/SS7 infrastructure, any more than you can choose an arbitrary non-RC1918 /8 of IP space and start using it on the public Internet.

Re:Build a burner phone with Twilio and Kotlin by deftnerd on Wednesday July 19, 2017 @07:11AM (#14803449)
Maybe Twillio isn't big enough by themselves, but if you add in Google Voice, Plivo, all the internet VoIP providers, and all the Cable Company VoIP services, you are big enough.

Is there a VoIP trade association they are all members of? If so, the trade association would be big enough to push for a new country code for the special purpose of software-based telephony just like Iridium has one for satellite-based telephony.

If that fails, Iridium is struggling. That hypothetical trade association could acquire the country code from Iridium with special agreements to ensure that Iridium still can lease numbers for no-cost for satellite-phone purposes.

Re:Build a burner phone with Twilio and Kotlin by walrus01 on Wednesday July 19, 2017 @07:22PM (#14808858)
You're wrong that Iridium is "struggling", they're in the process of launching and commissioning their next generation satellite system. It is used so extensively by the US DoD, NATO militaries, aircraft based phone systems and maritime systems that it's quite well positioned. It is the only real LEO truly global coverage satellite phone network that includes high latitude polar regions. The globalstar bent-pipe network architecture and coverage is a joke.
Re:Build a burner phone with Twilio and Kotlin by CodeWriter23 on Tuesday July 18, 2017 @03:33PM (#14799374)
The problem with that idea is I'm pretty sure an incoming call with a +988 (or other) country code is much more likely to be screened by Americans. I'd be like "I don't know anyone in that country". Not sure but I suspect Europeans may screen calls if not within their set of known Euro country codes.
Re:Build a burner phone with Twilio and Kotlin by Sleeep on Tuesday July 18, 2017 @05:36PM (#14800259)
I wouldn't pick it up because I'd be worried about fees for taking an international call. I don't know if there are actually fees though the uncertainty would stop me.
Re:Build a burner phone with Twilio and Kotlin by influx on Tuesday July 18, 2017 @03:01PM (#14799134)
I wonder if someone is going to end up buying out the Cook Island country code (+682) similar to the .ck top level domain.
Re:Build a burner phone with Twilio and Kotlin by woqe on Tuesday July 18, 2017 @03:19PM (#14799269)
A bit off topic, but if you would like a 212 number, you can pick up one from https://212areacode.com for < $200.00.
Re:Build a burner phone with Twilio and Kotlin by walrus01 on Tuesday July 18, 2017 @08:28PM (#14801200)
Or if you're in the local area, you can find somebody with a POTS 212 number or cellphone and pay them cash. Porting a number to a voip service is basically as simple as the bill payer writing "authorized to port to NEWSIPTRUNKINGPROVIDERNAME 2017-07-18" plus a signature on a one page scanned piece of paper.
Re:Build a burner phone with Twilio and Kotlin by gregorymichael on Tuesday July 18, 2017 @06:46PM (#14800647)
This is awesome and completely on topic. Thanks!
Re:Build a burner phone with Twilio and Kotlin by theprop on Tuesday July 18, 2017 @10:07PM (#14801630)
I got a 212 number for no extra cost from MagicJack.
Re:Build a burner phone with Twilio and Kotlin by smoyer on Wednesday July 19, 2017 @07:53AM (#14803598)
At Penn State, we run our own phone system and have the 867 local exchange (in the 814 area code). If you dial 867-5309 from a phone on campus, it plays "Jenny" for you - an Easter Egg in a phone system!
Re:Build a burner phone with Twilio and Kotlin by captn3m0 on Tuesday July 18, 2017 @10:11PM (#14801643)
If you're confused about 212 numbers, this is a good read: https://mobile.nytimes.com/2015/03/25/nyregion/as-manhattan-...
Re:Build a burner phone with Twilio and Kotlin by WisNorCan on Tuesday July 18, 2017 @07:48PM (#14801013)
Hi Greg -

Why not disclose prior call patterns before selling the # rather than putting the burden on developers to flag spam to receive credits?

Saving a couple of cents by getting reimbursed for the call doesn't actually solve the issue when your team is wasting their time picking up the phone only for it to be a misdial or spammer.

Re:Build a burner phone with Twilio and Kotlin by gregorymichael on Wednesday July 19, 2017 @04:38PM (#14807692)
Good question.

Wholeheartedly agree that the burden is ours -- not the developer's -- to make sure a number is clean before you buy it. We monitor inbound activity for two months before making a number available for sale. <Reject> is not for spam that comes with a number when you buy it -- it's for all the stuff that happens after you put that number out in the wild.

More than that though, we can't reveal historical patterns because we'd be violating the privacy of whoever previously owned the number.

Re:Build a burner phone with Twilio and Kotlin by Nexxxeh on Tuesday July 18, 2017 @08:56PM (#14801312)
Is it actually a problem though? I'm not a high volume consumer of numbers, but I've not had any spam on the handful of numbers I have.

The same can't be said for my physical POTS/cellular numbers.

Anecdote of one, and everything, but has anyone actually impactful levels of spam from an insufficiently cooled number that they wouldn't have had from any number in the area code?

Re:Build a burner phone with Twilio and Kotlin by kevinburke on Wednesday July 19, 2017 @01:05AM (#14802098)
I think the idea is that all of the numbers to be sold meet an acceptably low bar of incoming text messages/calls before Twilio offers them.
Re:Build a burner phone with Twilio and Kotlin by edoceo on Tuesday July 18, 2017 @01:56PM (#14798633)
This hardly works when people scrape Twilio to find vacant numbers to spoof on caller ID.
Re:Build a burner phone with Twilio and Kotlin by ben_jones on Tuesday July 18, 2017 @12:16PM (#14797713)
Odds are you won't be able to figure that out. Furthermore downstream providers will often treat traffic differently, including but not limited to ratelimiting and dropping of SMS, if the number was abused by a previous owner. The things that people gloss over in an IPO...
Re:Build a burner phone with Twilio and Kotlin by WisNorCan on Tuesday July 18, 2017 @12:29PM (#14797838)
Agree you won't be able to figure it out 100%. A couple of lines codes counting # of websites that reference the phone # will prevent some potential catastrophic results, but not all.
Re:Build a burner phone with Twilio and Kotlin by softawre on Tuesday July 18, 2017 @12:31PM (#14797857)
Couldn't you test that though? I mean, test if your SMSs are dropped, or if you get ratelimited somewhere?
Re:Build a burner phone with Twilio and Kotlin by toomuchtodo on Tuesday July 18, 2017 @01:25PM (#14798350)
You have to acquire (at a cost) a number first to do that.
Re:Build a burner phone with Twilio and Kotlin by Splines on Tuesday July 18, 2017 @02:28PM (#14798913)
Slightly OT question - if I want a particular phone number, whats the preferred method of doing this? I.e., is there a way to be notified when someone gives up a certain number?
Re:Build a burner phone with Twilio and Kotlin by c22 on Tuesday July 18, 2017 @07:22PM (#14800865)
When I got my prime phone number I wrote a script that hooked into Google voice and Broadvoice's number requisition forms and looked through all the available numbers for suitable candidates every hour. I had the advantage of having many numbers that could meet my criteria, though. If there's just one specific number you want you might try calling it and seeing if you can negotiate a transfer?