TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Save money on wifi using user agent switching

89 点作者 jclouds-fan大约 13 年前

12 条评论

drostie大约 13 年前
I was staying with my brothers at a hotel in Amsterdam and I had brought my laptop; the hotel offered free unencrypted WiFi for guests. Since it's in a big city, as you might imagine, you don't want the neighbors stealing all of your bandwidth, so even though it was free for us, there was a sign-in page -- you had to go downstairs and request that the desk official give you a token, then use that token to register with the system.<p>So I thought that, since I had permission to access this network anyway, I would break in -- just to see if I could. And I'd tell them about my results the next morning as we turned in our keys and headed off.<p>Actually since there wasn't any encryption there isn't much to say after that -- it was obvious that their system wasn't too sophisticated, so I just guessed "they check MAC addresses, don't they?"<p>Using the airotools-ng package for Ubuntu, I set my wireless card into "monitor mode", which (I'm not an expert) I guess is a fancy way of saying "it stopped ignoring everything it saw flying through the air in my hotel room." Normally your computer treats all of these other signals as noise relative to its own goal of connecting to the Internet -- but it's absolutely trivial to start listening to it. With the tool airodump-ng, I was able to see all of the routers at my hotel and MAC addresses of real users connecting to those routers. So I put one of those into my "Connect to the Internet" dialog box under "Cloned MAC address," and hey look, I just saved the desk clerk some time.<p>I mentioned that I'd done it the next day to the desk clerk as I checked out -- that any competent neighbor could steal their wireless access. I'll never forget his response: "yes, but they're all incompetent."<p>A similar experience: when I first came to live at my present household, I knew that we had shared WiFi but I didn't know the password -- and the guy who did know had just stepped into the shower. But it was using "WEP", a very old encryption policy which is vulnerable whenever you are transmitting data. So I fired up these same tools, found out that I was lucky -- he'd left a download running when he stepped into the shower or so -- and I captured a couple thousand data transactions. I didn't have to wait for him to finish showering before I had broken into my own Internet.<p>I'm always surprised by this sort of thing. The other day I had accidentally clobbered my sudo permission when reconfiguring Wireshark (something which can also listen to Internet traffic) to be more secure, and suddenly had no more root permissions. In about half an hour I had downloaded a live CD and burned it and broken into my own box with chroot magic to usurp root permissions to re-add myself to that group. (I have an encrypted disk, and I couldn't have done this without being able to decrypt it. However, most people that I know don't use disk encryption, so the point still stands.)<p>The lesson to take away: If some half-geek amateur like me can do these things, the professional inbreakers must have absolutely terrifying skills.
评论 #3659982 未加载
patio11大约 13 年前
Word to the wise: "circumventing the access restriction was easy to do, Your Honor, so I assumed it was OK" is not something you ever want to have to say.<p>There exist wifi systems where setting a cookie "paid=1" will save you $15. You might think there are no legal consequences for "writing a text file on your own computer." I strongly suggest not testing that.
评论 #3659937 未加载
评论 #3659931 未加载
评论 #3660944 未加载
评论 #3660071 未加载
CWIZO大约 13 年前
I'm looking forward to the day when I stay in a 100$/night hotel and I don't have to pay for my fricking internet. Every motel/hostel has it for free as it should. To me charging for internet (in hotels/resturatns) in 2012 is the same as charging for using the shower or lights.
评论 #3660186 未加载
评论 #3659946 未加载
评论 #3659963 未加载
评论 #3659950 未加载
评论 #3660199 未加载
dfc大约 13 年前
Ugh, a bit.ly link? Can someone change the URL to point to the actual address of the page?<p><a href="http://viktorpetersson.com/2011/09/25/how-to-get-50-discount-on-swisscoms-hotspot-and-possibly-also-others/" rel="nofollow">http://viktorpetersson.com/2011/09/25/how-to-get-50-discount...</a><p>I love that people get up in arms about the change to google's privacy policy but have no trouble funneling traffic through bit.ly and other link shorteners...
评论 #3660099 未加载
评论 #3660139 未加载
评论 #3659969 未加载
donall大约 13 年前
I had a similar experience on a US Airways flight last December. The Kindle Fire browser allows the user to choose whether to optimise for mobile or desktop, and this resulted in two different prices.<p>In relation to the legal questions raised elsewhere on this thread, I'm guessing that it's a non-issue when it's a built-in feature of the device. I think the argument could be logically extended to using plug-ins that switch user agent strings?
评论 #3660269 未加载
rb2k_大约 13 年前
When I feel particularly nerdy, I try to go the DNS2TCP[0] or iodine[1] route. DNS is pretty much always open in those networks.<p>[0] <a href="http://hsc.fr/ressources/outils/dns2tcp/index.html.en" rel="nofollow">http://hsc.fr/ressources/outils/dns2tcp/index.html.en</a> [1] <a href="http://code.kryo.se/iodine/" rel="nofollow">http://code.kryo.se/iodine/</a>
评论 #3660479 未加载
Tichy大约 13 年前
wouldn't it be cheaper to get a mobile router and a mobile flatrate for the country? Where I live 15€ would buy 1gb for a month.<p>I have wondered about easily obtaining prepaid cards for travel, might be a business opportunity if there is no good solution yet?
评论 #3659951 未加载
评论 #3659999 未加载
评论 #3659967 未加载
jiggy2011大约 13 年前
I'm surprised there's still much money in selling wifi internet access.<p>People who want to use their internet on the move are very likely to have a smartphone or at least a dongle and 3G is usually fast enough.<p>Here in the UK the train services used to provide free wifi to travelers but recently they decided to charge for it and give the option of a free trial.<p>On my last journey I tried the free trial and found that it was just as slow as it had always been but was now £5 an hour.<p>I would have been seriously disappointed if I had paid for that service. Luckily I could just use my mobile phone tethering and get nice fast access.<p>Surely a better model would be to provide access for free but use some DNS redirection of the popular ad services to redirect the ads to ones of your choice and reap the benefits of those clicks.<p>I also let a lady in the carriage use my connection for a few minutes to check her emails so it's not like you necessarily need your own connection either.
davidchua大约 13 年前
Isn't this fraud and an open admission of guilty?
评论 #3659968 未加载
评论 #3659910 未加载
评论 #3659902 未加载
评论 #3659885 未加载
评论 #3659988 未加载
评论 #3659886 未加载
wazoox大约 13 年前
I'm using regularly the same trick to use free tethering with my phone. As I didn't buy some incredibly expensive option that explicitly allows it, simply declaring my firefox as a mobile browser allow to bypass the artificial limitation.<p>I certainly don't abuse it; simply from time to time you need some internet access (to check an email, to download some piece of software, to google for a technical problem) and I wouldn't pay 39 euros/month for a 3G "key" that I'd use maybe once a month, no thanks.
pornel大约 13 年前
I'd suggest using Opera with Turbo proxy instead — it'll compress all textual content and re-encodes images as WebP. That's likely to give you bigger savings than just a UA switch.<p>And if you can't trust Norwegian folk with your data, then you can roll your own "Turbo" with Ziproxy or at least SOCKS proxy over gzipped connection.
apaprocki大约 13 年前
Airlines which offer wi-fi connections usually offer a cheaper rate when signing in with a phone-based browser user-agent as well.