So it looks like I found a real error in Windows 7.
The issue is this: That config file is in the Program Files folder so modifying it requires administrative privileges. Simple enough (although Notepad++'s error wasn't so useful...). I zip over to the Notepad++ executable, right click, go to properties, the compatibility tab, and tell it to "Run with Administrative privileges." Really not complicated unless you're an end user. Click OK and save the settings. Zip back over to my .ovpn file, right click, and use the context menu "Edit with Notepad++" selection to open the file and this pops up.
Maybe it's the way Notepad++ adds itself to the context menu, IDK, but this seems like a really old-school error. And the first such one I've found in Win7. Just thought I'd give everyone a heads up. :)
I am a student studying computer science (programming) and networking. These are my notes.
Thursday, March 1, 2012
Friday, January 13, 2012
Sideways and slantways and longways and backways and squareways and frontways and any other ways that you can think of.
So this is hilarious. I've updated a DNS entry on Afraid.org to point at a new server I've rented. So I'm waiting for the address to propogate. It's like watching the pot waiting for the water to boil (assuming you don't have an inductive stovetop). Plus I'm extremely impatient when it comes to this kind of stuff. Anyway...
I update the record. Great! Now let's go see if it's updated. "ping foo.bar.com" I write. It resolves. To the old address. That's fine, I'll check my email. Nothing new. "ping foo.bar.com." Nada. OK, I'm bored already, let's check with a tool online. Using an online ping tool, I hit foo.bar.com at its new address. Yay! :) "ping foo.bar.com" WTF. Still on the old address. Well now this is silly. Check my DNS servers and they're set to Google. "ping google.com" Hmm, pings are really high for a DNS server (around 150ms) but just to be sure... "ping 8.8.8.8" (Google's public DNS address). Still around 130ms. Alright, I'll just be clever. I like the reliability of Google's DNS but also the speed of the local DNS. I'm used to being in the USA where latency is low enough no matter where you are. Let's go see...
I update the record. Great! Now let's go see if it's updated. "ping foo.bar.com" I write. It resolves. To the old address. That's fine, I'll check my email. Nothing new. "ping foo.bar.com." Nada. OK, I'm bored already, let's check with a tool online. Using an online ping tool, I hit foo.bar.com at its new address. Yay! :) "ping foo.bar.com" WTF. Still on the old address. Well now this is silly. Check my DNS servers and they're set to Google. "ping google.com" Hmm, pings are really high for a DNS server (around 150ms) but just to be sure... "ping 8.8.8.8" (Google's public DNS address). Still around 130ms. Alright, I'll just be clever. I like the reliability of Google's DNS but also the speed of the local DNS. I'm used to being in the USA where latency is low enough no matter where you are. Let's go see...
These are my current settings and guess what?
This is how I got them :)
Yota, my WiMAX provider, cheap as they are, decided to point EVERYONE'S DNS at Google. Which would be fine!... If everyone were located in the US close to Google's servers. :/ Basically this means that Yota doesn't have to pay for purchasing or operating a single DNS server in the entire country. Which is pretty impressive really. I just wish Google would catch on and co-locate a DNS server here at an exchange or something.
Anyway I just thought it was funny. In the US, I'm used to always having to configure my router and/or clients to point at Google's DNS (it's more reliable AND returns legitimate "record not found" entries). Here, with Yota, I have to change it to something more local. It's hilarious.
Wednesday, December 7, 2011
Quick notes on travel
On January 5, 2012 I'll be on a flight to Managua, Nicaragua. I've learned a lot along the way. This post will reflect the small bits of knowledge I've picked up along the way.
First, check the State Dept. site for the entry requirements for the country you're visiting. Delta checks your paperwork at check-in and if you're missing anything needed for entry, they'll refuse to let you board the flight.
If possible, find a good website dedicated to the country you're visiting as well (for Nicaragua, that's definitely NicaLiving.com).
ALWAYS do your research. Even after about a month of research, I learned this morning (even AFTER purchasing my ticket!) that Managua will only accept ONE checked bag because of my arrival date during a tourist season. Only found out because I read the full and very detailed Delta Contract of Carriage ( http://www.delta.com/legal/contract_of_carriage/index.jsp ). I don't believe I actually saw that directly linked from ANYWHERE during my ticket purchase. I'm going to ask at the desk if I can check both bags... this ought to be interesting :)
Also, you CAN take an uninterruptible power supply (UPS) on flights with you depending on your airline. Or should be able to. Most modern UPS's use (and are clearly labelled) "SEALED, NON-SPILLABLE BATTERY." Including my APC's lead-acid battery. :) Called some Hazmat hotline I found in a travel doc and the guy pointed me to this document. Hopefully you'll be able to find it if the link dies. It's called "Shipping batteries safely by air" and it's important to remember that the UPS makers don't want to have to spend extra worrying about whether their shipment method follows all the necessary regulations, etc. So for me at least, it'll work as long I'm under the 50 lb. checked luggage weight limit! :P
For Nicaragua, you should have at least USD$50 in cash on you and proof that you can support yourself during your stay... I don't know what that means so I'm just going to bring printed bank statements and hope that's enough. Certainly I'll be posting on here again if it's not! The USD$50 is for your visa, "tourist card," and the guy to help you through customs. At least in Managua, they can be a real pain.
Be sure your baggage is tough. I can't tell you how many stories I've read about people with crappy baggage that fell apart after a couple trips abroad. My bag is a Zuca Pro. Lifetime warranty, can be used as a seat (good for check-in and security lines at some airports), metal frame, great wheels, really tough, fits in overhead bins, and it's $65 cheaper in pink!
I'll add pictures later but hopefully this helps someone out! Please feel free to leave a comment or email me if you have a question.
First, check the State Dept. site for the entry requirements for the country you're visiting. Delta checks your paperwork at check-in and if you're missing anything needed for entry, they'll refuse to let you board the flight.
If possible, find a good website dedicated to the country you're visiting as well (for Nicaragua, that's definitely NicaLiving.com).
ALWAYS do your research. Even after about a month of research, I learned this morning (even AFTER purchasing my ticket!) that Managua will only accept ONE checked bag because of my arrival date during a tourist season. Only found out because I read the full and very detailed Delta Contract of Carriage ( http://www.delta.com/legal/contract_of_carriage/index.jsp ). I don't believe I actually saw that directly linked from ANYWHERE during my ticket purchase. I'm going to ask at the desk if I can check both bags... this ought to be interesting :)
Also, you CAN take an uninterruptible power supply (UPS) on flights with you depending on your airline. Or should be able to. Most modern UPS's use (and are clearly labelled) "SEALED, NON-SPILLABLE BATTERY." Including my APC's lead-acid battery. :) Called some Hazmat hotline I found in a travel doc and the guy pointed me to this document. Hopefully you'll be able to find it if the link dies. It's called "Shipping batteries safely by air" and it's important to remember that the UPS makers don't want to have to spend extra worrying about whether their shipment method follows all the necessary regulations, etc. So for me at least, it'll work as long I'm under the 50 lb. checked luggage weight limit! :P
For Nicaragua, you should have at least USD$50 in cash on you and proof that you can support yourself during your stay... I don't know what that means so I'm just going to bring printed bank statements and hope that's enough. Certainly I'll be posting on here again if it's not! The USD$50 is for your visa, "tourist card," and the guy to help you through customs. At least in Managua, they can be a real pain.
Be sure your baggage is tough. I can't tell you how many stories I've read about people with crappy baggage that fell apart after a couple trips abroad. My bag is a Zuca Pro. Lifetime warranty, can be used as a seat (good for check-in and security lines at some airports), metal frame, great wheels, really tough, fits in overhead bins, and it's $65 cheaper in pink!
I'll add pictures later but hopefully this helps someone out! Please feel free to leave a comment or email me if you have a question.
Labels:
air travel,
airlines,
battery,
delta,
international,
luggage,
managua,
nicaragua,
shipping,
travel,
visa
Sunday, October 30, 2011
A brief overview of technology rebate experiences
So recently I built two very similar PC's for my own personal research. As part of the cost savings process, I bought multiple components with mail-in rebates (MiR's). This is a record of my experience.
Let's start with the good. My first check already came in from XFX. Yay!
My order for this part was placed September 4, 2011 and the check is dated October 7. If I recall correctly it couldn't have arrived later than the 15th. That means a maximum gap of just 6 weeks between these dates and I'm slow to mail this stuff! Please also note that XFX mails actual checks and not just those shitty prepaid cards from AmEx. They also don't hold your check hostage like a certain other company I'm about to mention...
OCZ offers their customers 6-8 week shipping for their AmEx cards... OR customers could just forfeit $2-3 of the value and receive it in 5-8 business days! :) Yeah. Right.
Notice something? Yes, I might have taken a week to get my documentation mailed. That's not what I meant! There's a 3 week and 5 day gap between OCZ receiving my documentation and going into "Reward Card processing." The funny part? XFX and OCZ's rebates use the same URL. Hmmm... I'd like to know whether OCZ pays for these added "features" or if XFX pays for speedy processing.
Of course since OCZ also owns PC Power & Cooling the rebates are just as wonderful a process:
Gee, thanks for continuing to hold onto my cash for me OCZ! UPDATE: And just like that, I received my first OCZ rebate the very next day after posting this.
Then there's Corsair... Yep, I was REALLY getting around with those rebates. I'm such an avaricious whore.
Seeing as today is October 30, 2011 I'm rather surprised by how much this sucks. Notably the Corsair site never leads you to an OCZ logo the way the XFX site does. That is, Corsair uses a different rebate processor than both OCZ and XFX. The acknowedged receiving the documentation on October 11 but have to do anything with it. Shit's like watching grass grow (but at least I can smoke that!).
Of course for all the problems the above suppliers might or might not have with the rebate process, no one can compete with Xigmatek...
(click for full size)
That's right. I've not received a check, an email, there's no website... Yep, I'm in the woods here :) I'm lucky I remembered that I sent this one in! FUN FACT: For a while at least (I've not looked at my rebate form) there was a personal email address to check with for updates on a rebate. Mmmmm, efficiency!
Anyway that's all I got for now folks but I hope you enjoyed the ride and appreciated my research.
BONUS TIME!!!
I bought that product on September 23. They still have a couple weeks to beat their record! :)
Tuesday, October 11, 2011
The fail of Google
When I was browsing for houses in Nicaragua online it kept offering to translate the pages via a toolbar at the top of Chrome's rendering. It's actually kind of annoying so I decided to read the "About Google Translate" section under the Options button and boy was I surprised. Here's the link if supplied.
https://www.google.com/support/chrome/bin/answer.py?answer=173424&hl=en-US
Here's what the page looks like to me today:
For a company that's supposed to be exceptionally expert at helping me find information their "help" site certainly isn't helpful. There's not even an immediately available way to report a dead link! Web design 101 FAIL. Congratulations Google. You aren't even good at what you're good at anymore.
https://www.google.com/support/chrome/bin/answer.py?answer=173424&hl=en-US
Here's what the page looks like to me today:
For a company that's supposed to be exceptionally expert at helping me find information their "help" site certainly isn't helpful. There's not even an immediately available way to report a dead link! Web design 101 FAIL. Congratulations Google. You aren't even good at what you're good at anymore.
Friday, June 10, 2011
Hackers Gonna Hack!
Holy crap! Will it ever end? Is there a safe website in the world?!
http://www.theregister.co.uk/2011/06/10/codemasters/
http://www.theregister.co.uk/2011/06/10/spain_anonymous_arrests/
http://www.theregister.co.uk/2011/06/10/rsa_chief_security_officer/
http://www.theregister.co.uk/2011/06/09/banks_replacing_tokens/
http://www.theregister.co.uk/2011/06/09/citibank_hack_attack/
http://www.theregister.co.uk/2011/06/08/data_breach_bill/
http://www.theregister.co.uk/2011/06/08/password_re_use_survey/
http://www.theregister.co.uk/2011/06/08/sony_brazilian_site_suspended/
http://www.theregister.co.uk/2011/06/06/lockheed_martin_securid_hack/
http://www.theregister.co.uk/2011/06/06/lulzsec_fbi_affiliates_hack/
http://www.theregister.co.uk/2011/06/03/sony_pictures_hacked/
http://www.theregister.co.uk/2011/06/02/nato_warned_over_anonymous/
http://www.theregister.co.uk/2011/06/02/friendster_password_hack_fears/
http://www.theregister.co.uk/2011/06/01/military_contractor_2nd_rsa_securid_hack/
http://www.theregister.co.uk/2011/05/31/pbs_hacked/
http://www.theregister.co.uk/2011/06/10/ico_tmobile_data/
http://www.theregister.co.uk/2011/06/10/codemasters/
http://www.theregister.co.uk/2011/05/27/lockheed_securid_hack_flap/
http://www.theregister.co.uk/2011/05/25/more_sony_hacks/
http://www.theregister.co.uk/2011/05/24/comodo_reseller_hacked/
http://www.theregister.co.uk/2011/05/24/sony_playstation_breach_costs/
http://www.theregister.co.uk/2011/05/23/sony_bmg_greece_hacked/
http://www.theregister.co.uk/2011/05/21/sony_subsidiary_hacked/
http://www.theregister.co.uk/2011/05/20/norway_military_computer_attack/
http://www.theregister.co.uk/2011/05/20/sony_phishing/
http://www.theregister.co.uk/2011/05/18/sony_playstation_account_hijacking/
http://www.theregister.co.uk/2011/05/17/french_piracy_monitor_hacked/
http://www.theregister.co.uk/2011/05/17/oz_cop_vuln_seize/
http://www.theregister.co.uk/2011/05/16/hacker_duo_sentenced/
http://www.theregister.co.uk/2011/05/16/square_enix_website_hack/
http://www.theregister.co.uk/2011/05/14/playstation_network_attack_from_amazon/
http://www.theregister.co.uk/2011/05/13/veracode_playstation_hack_analysis/
http://www.theregister.co.uk/2011/05/10/supposed_anonymous_hack/
http://www.theregister.co.uk/2011/05/08/sony_psn_saga_snowballs/
http://www.theregister.co.uk/2011/05/05/lastpass_password_reset/
http://www.theregister.co.uk/2011/05/04/sony_implicates_anonymous/
http://www.theregister.co.uk/2011/05/03/sony_hack_exposes_more_customers/
http://www.theregister.co.uk/2011/05/03/korea_hack_bank/
http://www.theregister.co.uk/2011/04/28/latvia_hack_attack/
http://www.theregister.co.uk/2011/04/18/esa_hack_follow_up/
http://www.theregister.co.uk/2011/04/18/esa_website_hack/
http://www.theregister.co.uk/2011/04/18/byzantine_hades_cyber_espionage/
http://www.theregister.co.uk/2011/04/13/wordpress_hack_attack/
http://www.theregister.co.uk/2011/04/11/barracuda_networks_attack/
http://www.theregister.co.uk/2011/03/29/oz_govt_email_hack/
http://www.theregister.co.uk/2011/03/30/comodo_gate_latest/
http://www.theregister.co.uk/2011/03/18/fbi_hollywood_celeb_hack_probe/
Culminating in...
http://www.theregister.co.uk/2011/06/10/spain_anonymous_arrests/
Have hackers been getting better, more mischievous, or more public? Are we just getting better at detecting hacks? Are there more or more public white hat hackers? Has everyone suddenly realized how much important information lives in the cloud and finally started reporting on hacking?
WTF is going on?
Personally, I think it's a combination but mostly people are being more vigilant about hacking attempts (and detecting footprints from successful intrusions) and the hackers are getting better and more brazen.
UPDATE:
Here's another from today: http://kotaku.com/5810939/the-latest-victim-of-the-account-hacking-horde-is-epic-games
UPDATE 2:
Aaaaaand another: http://kotaku.com/5811372/i-guess-it-was-bethesdas-turn-to-get-hacked
http://www.theregister.co.uk/2011/06/10/codemasters/
http://www.theregister.co.uk/2011/06/10/spain_anonymous_arrests/
http://www.theregister.co.uk/2011/06/10/rsa_chief_security_officer/
http://www.theregister.co.uk/2011/06/09/banks_replacing_tokens/
http://www.theregister.co.uk/2011/06/09/citibank_hack_attack/
http://www.theregister.co.uk/2011/06/08/data_breach_bill/
http://www.theregister.co.uk/2011/06/08/password_re_use_survey/
http://www.theregister.co.uk/2011/06/08/sony_brazilian_site_suspended/
http://www.theregister.co.uk/2011/06/06/lockheed_martin_securid_hack/
http://www.theregister.co.uk/2011/06/06/lulzsec_fbi_affiliates_hack/
http://www.theregister.co.uk/2011/06/03/sony_pictures_hacked/
http://www.theregister.co.uk/2011/06/02/nato_warned_over_anonymous/
http://www.theregister.co.uk/2011/06/02/friendster_password_hack_fears/
http://www.theregister.co.uk/2011/06/01/military_contractor_2nd_rsa_securid_hack/
http://www.theregister.co.uk/2011/05/31/pbs_hacked/
http://www.theregister.co.uk/2011/06/10/ico_tmobile_data/
http://www.theregister.co.uk/2011/06/10/codemasters/
http://www.theregister.co.uk/2011/05/27/lockheed_securid_hack_flap/
http://www.theregister.co.uk/2011/05/25/more_sony_hacks/
http://www.theregister.co.uk/2011/05/24/comodo_reseller_hacked/
http://www.theregister.co.uk/2011/05/24/sony_playstation_breach_costs/
http://www.theregister.co.uk/2011/05/23/sony_bmg_greece_hacked/
http://www.theregister.co.uk/2011/05/21/sony_subsidiary_hacked/
http://www.theregister.co.uk/2011/05/20/norway_military_computer_attack/
http://www.theregister.co.uk/2011/05/20/sony_phishing/
http://www.theregister.co.uk/2011/05/18/sony_playstation_account_hijacking/
http://www.theregister.co.uk/2011/05/17/french_piracy_monitor_hacked/
http://www.theregister.co.uk/2011/05/17/oz_cop_vuln_seize/
http://www.theregister.co.uk/2011/05/16/hacker_duo_sentenced/
http://www.theregister.co.uk/2011/05/16/square_enix_website_hack/
http://www.theregister.co.uk/2011/05/14/playstation_network_attack_from_amazon/
http://www.theregister.co.uk/2011/05/13/veracode_playstation_hack_analysis/
http://www.theregister.co.uk/2011/05/10/supposed_anonymous_hack/
http://www.theregister.co.uk/2011/05/08/sony_psn_saga_snowballs/
http://www.theregister.co.uk/2011/05/05/lastpass_password_reset/
http://www.theregister.co.uk/2011/05/04/sony_implicates_anonymous/
http://www.theregister.co.uk/2011/05/03/sony_hack_exposes_more_customers/
http://www.theregister.co.uk/2011/05/03/korea_hack_bank/
http://www.theregister.co.uk/2011/04/28/latvia_hack_attack/
http://www.theregister.co.uk/2011/04/18/esa_hack_follow_up/
http://www.theregister.co.uk/2011/04/18/esa_website_hack/
http://www.theregister.co.uk/2011/04/18/byzantine_hades_cyber_espionage/
http://www.theregister.co.uk/2011/04/13/wordpress_hack_attack/
http://www.theregister.co.uk/2011/04/11/barracuda_networks_attack/
http://www.theregister.co.uk/2011/03/29/oz_govt_email_hack/
http://www.theregister.co.uk/2011/03/30/comodo_gate_latest/
http://www.theregister.co.uk/2011/03/18/fbi_hollywood_celeb_hack_probe/
Culminating in...
http://www.theregister.co.uk/2011/06/10/spain_anonymous_arrests/
Have hackers been getting better, more mischievous, or more public? Are we just getting better at detecting hacks? Are there more or more public white hat hackers? Has everyone suddenly realized how much important information lives in the cloud and finally started reporting on hacking?
WTF is going on?
Personally, I think it's a combination but mostly people are being more vigilant about hacking attempts (and detecting footprints from successful intrusions) and the hackers are getting better and more brazen.
UPDATE:
Here's another from today: http://kotaku.com/5810939/the-latest-victim-of-the-account-hacking-horde-is-epic-games
UPDATE 2:
Aaaaaand another: http://kotaku.com/5811372/i-guess-it-was-bethesdas-turn-to-get-hacked
Wednesday, May 11, 2011
Fun Fact of the Day
I read somewhere a few weeks ago that Erlang took up 500K for a new "thread." I also read from the same source that programs could easily chew up massive (read: 16GB "server memory" costing ~$500 today from Newegg) amounts of memory. Well, using back of the envelope calculations I figured out that (assuming a 1MB thread size instead of 512KB) a server receiving 1Gbps would need:
Gbit = 1024 Mbit
Mbit ~= 1000Kbit
Kbit ~= 1000 Bits
1,024,000,000 bits downstream
DIVIDED BY
8 bits per byte
EQUALS
128,000,000 MegaBytes downstream
128,000,000
DIVIDED BY
650 Bytes (roughly the size of a request packet in a DOS attack with a long string name attached to the URL)
EQUALS
196,923 (and some change) <-- This approximates the number of request packets coming in
Now we're going to assume each request creates it's own thread so that we don't have to worry about privacy or code or variables spilling over from other users...
196,923 packets incoming
MULTIPLIED BY
1024 (1 MegaByte and roughly double the minimum space required to open a new thread)
EQUALS
201,649,230 (and some change)
Of course all this assumes that our packet queue takes up 0 memory and our processor is able to handle the memory allocations, etc. and we aren't even beginning to count things like memory overhead from pointers BUT it's the best estimation I've seen. And it indicates that I can very easily handle 1 Gbps DDoS attack on my server by writing it in extremely lightweight Erlang.
The design of my implementation of the server will GREATLY influence the amount of memory it chews up with each request and the stability of the server and where the performance bottlenecks will be. I believe designing to survive a DDoS attack would be an excellent choice for most servers and should be attempted.
Gbit = 1024 Mbit
Mbit ~= 1000Kbit
Kbit ~= 1000 Bits
1,024,000,000 bits downstream
DIVIDED BY
8 bits per byte
EQUALS
128,000,000 MegaBytes downstream
128,000,000
DIVIDED BY
650 Bytes (roughly the size of a request packet in a DOS attack with a long string name attached to the URL)
EQUALS
196,923 (and some change) <-- This approximates the number of request packets coming in
Now we're going to assume each request creates it's own thread so that we don't have to worry about privacy or code or variables spilling over from other users...
196,923 packets incoming
MULTIPLIED BY
1024 (1 MegaByte and roughly double the minimum space required to open a new thread)
EQUALS
201,649,230 (and some change)
Of course all this assumes that our packet queue takes up 0 memory and our processor is able to handle the memory allocations, etc. and we aren't even beginning to count things like memory overhead from pointers BUT it's the best estimation I've seen. And it indicates that I can very easily handle 1 Gbps DDoS attack on my server by writing it in extremely lightweight Erlang.
The design of my implementation of the server will GREATLY influence the amount of memory it chews up with each request and the stability of the server and where the performance bottlenecks will be. I believe designing to survive a DDoS attack would be an excellent choice for most servers and should be attempted.
Subscribe to:
Posts (Atom)









