Hernan Garcia http://hernangarcia.com Most recent posts at Hernan Garcia posterous.com Mon, 21 May 2012 06:08:00 -0700 Architecting WordPress on #AWS http://hernangarcia.com/architecting-wordpress-on-aws http://hernangarcia.com/architecting-wordpress-on-aws
Media_http3bpblogspot_wifho

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Mon, 21 May 2012 05:35:00 -0700 An Anomaly in the μTorrent network http://hernangarcia.com/an-anomaly-in-the-torrent-network http://hernangarcia.com/an-anomaly-in-the-torrent-network

An Anomaly in the μTorrent network

This article is based on observations in the ARAKIS system, which is built on top of a network of honeypots.

1. Introduction

In recent weeks we continued to observe significant increase of uTorrent (uTP based) network activity. Some parts of recorded traffic triggered high-level alerts in the ARAKIS system informing about possible nodes infection. What is more, according to traffic data, among other things, two of the ARAKIS honeypot sensors were involved in a conversation, which is very unlikely. This means that IP adresses that those packet contained were incorrect (or forged). In this report we summarize findings from our analysis of this activity.

OSSTMM 3 methodology gives the following definition of an anomaly:


Anomaly is any unidentifiable or unknown element which has not been controlled and cannot be accounted for in normal operations. [...] An anomaly may be an early sign of a security problem. Since unknowns are elements which cannot be controlled, a proper audit requires noting any and all anomalies.

[...]

In PHYSSEC, an anomaly can be dead birds discovered on the roof of a building around communications equipment.

[...]

In COMSEC telecommunications, an anomaly can be a modem response from a number that has no modem.

In SPECSEC, an anomaly can be a local signal that cannot be properly located nor does it do any known harm.

2. What is uTP exactly?

uTP protocol uses UDP protocol for transportation and complements it with connection-oriented features. It encapsulates standard BitTorrent packets. This means, that regular BitTorrent traffic takes place inside a communication channel created in the uTP layer. This channel has some features typical to TCP channels, including connection-orientation and congestion control. Standard BitTorrent packets rely on such TCP facilities as received data acknowledgements, regulation of window size, etc., in this case however these facilities are provided by uTP. Why do we need another protocol for that, when you can use TCP instead? UDP/uTP/BT stack is also responsible for bandwidth congestion control. When user is downloading data from HTTP or FTP server, the download speed is limited on the server side. Distributed BitTorrent network doesn’t have such limitations. That’s why it often happens that when a user downloads large amount of data, BitTorrent traffic consumes a large portion – or whole – of network bandwidth and effectively denies access to other networking applications. One possible solution is to apply built-in restrictions on the client side. These are not very sophisticated functions however and users often forget about them too. uTP on the other hand allows BitTorrent nodes to dynamically adjust bandwith congestion at the protocol level and also provides some additional functions, like support clients using low bandwidth or sharing ADSL line with a web browser.

Read more at cert.pl

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Fri, 11 May 2012 16:35:24 -0700 En forma de lancha #PDE http://hernangarcia.com/en-forma-de-lancha-pde http://hernangarcia.com/en-forma-de-lancha-pde
Photo

--
(c) 2012 Nitido Inc. - Proprietary and Confidential. All rights reserved.

Hernan Garcia
Nitido, Inc.
hgarcia@nitido.com
office: +58 212 961 58 31
mobile: +58 426 516 79 94
international: +1 647 430 3417
____
This electronic transmission (including any and all attachments) is intended solely for the use of the individual or entity to which it is addressed and may contain information that is privileged and/or confidential. If you are not the intended recipient of this electronic transmission, you are hereby notified that any disclosures, copying or distribution, or the taking of any action in reliance upon the contents of this electronic transmission is strictly prohibited, and you are further requested to purge this electronic transmission and all copies thereof from your computer systems.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Fri, 11 May 2012 06:55:38 -0700 Caracas Caracas! http://hernangarcia.com/caracas-caracas http://hernangarcia.com/caracas-caracas
Img-20120511-00132

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Thu, 10 May 2012 13:13:00 -0700 Do the best! Always! http://hernangarcia.com/do-the-best-always http://hernangarcia.com/do-the-best-always

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Wed, 09 May 2012 10:03:26 -0700 3 Problems AWS Needs to Address - Jacob Elder http://hernangarcia.com/3-problems-aws-needs-to-address-jacob-elder http://hernangarcia.com/3-problems-aws-needs-to-address-jacob-elder

To my surprise, this actually got a response. Someone monitoring the @awscloud account opened a trouble ticket to my email address asking for clarification. The exchange was friendly and hopefully, and I think it’s worth sharing here.

It’s a pretty compelling situation: cloud service offerings and web browser technology have advanced to the point where S3 and CloudFront should be all one needs to deliver an incredibly performant and cost-effective user experience, letting small startups compete in the time-to-first-render game on an even playing field with the likes of Google and Yahoo. Instead, developers are forced to settle for ugly workarounds and outright hacks due to a few crucial shortcomings.

My team at Boundless is has been working on a cutting edge single-page HTML5 app. We are hosting it on S3 and CloudFront, and its underlying API lives on EC2. Without getting into too much detail, the architecture is a lot like #newtwitter.

1. S3 Restricts Response Headers

Despite initial appearences, and without much justification from Amazon, the S3 API severely restricts which headers can be attached to an object.

  • Cache-Control
  • Expires
  • Content-Disposition
  • Content-Type
  • Content-Language
  • Content-Encoding

Users can apply their own metadata, but it will always be prefixed with x-amz-meta. CSS3 brings the ability to embed arbitrary fonts on the web. Fonts are the clothes words wear, and CSS3 is why the web is looking so sharp lately. The difficulty is that W3 puts fonts under a same-origin restriction. Thus, embedding these fonts requires these additional headers:

  • Access-Control-Allow-Headers
  • Access-Control-Allow-Origin

And the complete CORS specification has yet more headers to contend with:

  • Access-Control-Max-Age
  • Access-Control-Allow-Methods
  • Access-Control-Allow-Credentials

This leaves CloudFront users who wish to embed fonts with a handful of undesirable options.

  1. Serve the entire domain through CloudFront. This is fine unless there’s anything on your domain which shouldn’t be cached, and I’m sure things get even more complicated if you throw SSL into the mix.
  2. Skip S3 and serve everything from EC2. S3 has eleven nines of durability. Go ahead, reproduce that with a couple of NginX boxes.
  3. Insert some proxy servers to add the headers. I think what you mean is, add yet another hop in your network while increasing your attack footprint and your EC2 bill.
  4. Mix fonts into stylesheets using data: URIs. Now every time you adjust a
    tag, your visitors have to download your fonts again. You could break your CSS into multiple files, but this is in direct opposition to one of the tenants of website optimization: minimize the number of HTTP requests. Also, 7-bit encoding means your fonts are now 37% fatter on the wire.

Here is a forum post from 2009 bringing this to Amazon’s highly dismissive attention. What really irks me about this is that Amazon chose to bless a few headers instead of letting the end-user decide what is best for our customers.

2. S3 and CloudFront Won’t Compress Anything

RFC2616 allows that a client may suggest to a server that it would like to have the response encoded as something other than raw bytes before transmission. One common encoding is gzip, and lots of HTTP traffic includes a header like Accept-Encoding: gzip. Most web servers will comply with this suggestion, reducing plain text like HTML, CSS, and JavaScript by well over 50%.

Two notable exceptions to “most web servers” are S3 and CloudFront. A possible workaround involves Content-Encoding being among the allowed HTTP headers for S3 objects. The image below has been compressed with gzip -9 before uploading, and has Content-Encoding: gzip set in S3.

Success Kid

If you can see Success Kid, this hack will work on your browser.

This exploits the fact that most browsers usually send Accept-Encoding: gzip, or they will handle Content-Encoding: gzip in the response even if they didn’t request it. Users of IE7 and previous versions will see a broken image icon. wget or curl will also result in corruption unless those tools are explicitly configured to always use compression. This is really a quasi-violation of RFC2616 Section 14.3, but it does sort of work.

If you want to be compliant, you most choose between S3 and compression. CloudFront, at least, will cache both compressed and raw versions of each object depending on the clients which have requested it.

3. CloudFront’s TCP Stack Lacks Tuning

I have harped on this issue before, but Amazon CloudFront exhibits one of the smallest initial TCP congestion windows in the CDN marketplace. They’re at 2. Consensus is growing that it should be closer to 10. Rather than making an argument for it here, I’ll let some Googlers do it for me.

An Argument for Increasing TCP’s Initial Congestion Window”, Nandita Dukkipati, Tiziana Refice, Yuchung Cheng, Jerry Chu, Tom Herbert, Amit Agarwal, Arvind Jain, Natalia Sutin, ACM SIGCOMM Computer Communications Review, vol. 40 (2010), pp. 27-33.
[ccr.sigcomm.org] [pdf] [search]

The @awscloud guys are apparently considering my request. If I get any answers back, I will be sure to post them here.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Sun, 06 May 2012 13:15:00 -0700 Todo lo que usted necesita saber sobre el video de moda "Caracas, ciudad de despedidas" | EDDCCS http://hernangarcia.com/todo-lo-que-usted-necesita-saber-sobre-el-vid http://hernangarcia.com/todo-lo-que-usted-necesita-saber-sobre-el-vid

A continuación, el texto del periodista Telmo Almada.

Acerca de "Caracas Ciudad de Despedidas", sólo diré:

1. Muy negativo que se hayan desatado tantas reacciones de indignación. Peor aún la oleada de insultos. "CCDD" no es un documental sobre la emigración de jóvenes venezolanos. Es un video casero, realizado por adolescentes tardíos (muy tardíos), jugando a retratarse a si mismos, en lo que, notablemente, es un círculo muy reducido de amistades ¿Tanta alharaca por tonterías de muchachos?

2. Es también muy negativo que, tras la primera oleada de odio, haya aparecido también una corriente de opiniones en contraflujo, que intenta reivindicar a estos muchachos. Si es cierto que se trata de estudiantes de comunicación audiovisual, demuestran haber adquirido muy poca destreza. Peor aún, son tan inconscientes de sus propias limitaciones, que ni siquiera atinan a percibir, en su verdadera dimensión, el contenido de su propio discurso. Esto explica que no hayan sabido adelantarse a las repercusiones que se desataron. De nuevo, cosas de adolescentes tardíos.

Parece ser que la ola a contracorriente, que ensalza las supuestas virtudes de este "home video", tiene que ver con el hecho de que el llamado sistema nacional de medios públicos ha desatado una feroz ola de agresiones y odio contra los autores y protagonistas del video (cosa rara, tratándose del mencionado sistema). En ese caso, parecería más adecuado un debate sobre uso de los recursos del Estado para promover el odio, en lugar de la defensa de unos mozalbetes que apenas hicieron la tarea.

3. Lo que sería una calamidad, es que este video casero, por haber dado lugar a tan innumerables análisis semánticos, terminara por ser recordado como una especie de testimonio de una generación. Es un error atribuir a este video mayores pretensiones que las que tuvieron sus autores. Pretensiones se ve que tuvo muy pocas. Es posible que no haya tenido ninguna.

Entonces… ¿Tanta alharaca?

Por último: con todos los chistes que se han hecho sobre el asunto, sí estoy de acuerdo.

Telmo Almada
Periodista

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Sun, 06 May 2012 08:32:00 -0700 Draw Something Loses 5M Users a Month After Zynga Purchase - Forbes http://hernangarcia.com/draw-something-loses-5m-users-a-month-after-z http://hernangarcia.com/draw-something-loses-5m-users-a-month-after-z
A new report shows that in the past month, Draw Something has lost nearly 5M Daily Active Users (DAUs), bringing the total down to 10M from 15M when Zynga first made the purchase. A drop that severe has assuredly set off some alarm bells.
Read more at forbes.com

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Wed, 02 May 2012 11:42:00 -0700 Gustavo Dudamel versus los envidiosos e intolerantes | El Diario de Caracas http://hernangarcia.com/gustavo-dudamel-versus-los-envidiosos-e-intol http://hernangarcia.com/gustavo-dudamel-versus-los-envidiosos-e-intol

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Mon, 30 Apr 2012 07:03:00 -0700 Black To Black - #awesome cover by @ClaudiaSMusic http://hernangarcia.com/black-to-black-awesome-cover-by-claudiasmusic http://hernangarcia.com/black-to-black-awesome-cover-by-claudiasmusic

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Mon, 30 Apr 2012 05:11:00 -0700 You Know I'm No Good - #awesome cover by @ClaudiaSMusic http://hernangarcia.com/you-know-im-no-good-awesome-cover-by-claudias http://hernangarcia.com/you-know-im-no-good-awesome-cover-by-claudias

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Sun, 29 Apr 2012 09:18:00 -0700 In love with you - Erykah Badu feat. Stephen Marley http://hernangarcia.com/in-love-with-you-erykah-badu-feat-stephen-mar http://hernangarcia.com/in-love-with-you-erykah-badu-feat-stephen-mar

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Thu, 26 Apr 2012 17:24:00 -0700 Ah! These things no one reads! http://hernangarcia.com/ah-these-things-no-one-reads http://hernangarcia.com/ah-these-things-no-one-reads

Google Drive:

When you upload or otherwise submit content to our Services, you give Google (and those we work with) a worldwide license to use, host, store, reproduce, modify, create derivative works (such as those resulting from translations, adaptations or other changes we make so that your content works better with our Services), communicate, publish, publicly perform, publicly display and distribute such content.

Dropbox:

We may need your permission to do things you ask us to do with your stuff, for example, hosting your files, or sharing them at your direction. This includes product features visible to you, for example, image thumbnails or document previews. It also includes design choices we make to technically administer our Services, for example, how we redundantly backup data to keep it safe. You give us the permissions we need to do those things solely to provide the Services. This permission also extends to trusted third parties we work with to provide the Services, for example Amazon, which provides our storage space (again, only to provide the Services).

Decisions, decisions…

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Thu, 26 Apr 2012 06:39:00 -0700 Prohibirán venta y consumo de alcohol en estadios de fútbol del país http://hernangarcia.com/prohibiran-venta-y-consumo-de-alcohol-en-esta http://hernangarcia.com/prohibiran-venta-y-consumo-de-alcohol-en-esta

El diario deportivo Líder reseñó el seminario “Jugando Seguro” que se desarrolló en la ciudad de San Cristóbal, con la presencia del Ministro del Poder Popular para Interior y Justicia, Tarek El Aissami.

Dicho encuentro cerró con la determinación del ministerio y de los dueños de los 18 clubes de primera división, de prohibir la venta y consumo de alcohol en todos los estadios venezolanos donde se practica el fútbol.

"Esta iniciativa busca dar soluciones en materia de seguridad para enfrentar el flagelo de la violencia, dentro de los recintos deportivos en general pero enfocados en este particular en el balompié rentado", detalla la nota publicada en el portal de Líder.

Al margen de la iniciativa de eliminar por completo las bebidas alcohólicas, el ministro El Aissami dio a conocer otras medidas para erradicar los focos violentos dentro de las instalaciones futbolísticas del país, como reuniones entre los involucrados con la celebración del encuentro 72 horas antes del mismo y cada coso tendrá un jefe de seguridad que se encargue de la ejecución a rajatabla de las normas que se establezcan en las reuniones pautadas previo a cada cotejo.

En el mismo marco de ideas, fue creado el Comité de Seguridad en el Fútbol que será comandado por el viceministro para la Prevención y Seguridad Ciudadana el general Nestor Reverol.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Sun, 22 Apr 2012 20:36:00 -0700 ...better things ahead... http://hernangarcia.com/better-things-ahead http://hernangarcia.com/better-things-ahead

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Thu, 19 Apr 2012 07:51:08 -0700 Beauty http://hernangarcia.com/beauty http://hernangarcia.com/beauty

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Thu, 19 Apr 2012 03:30:00 -0700 AWS Marketplace: Sell your server software http://hernangarcia.com/aws-marketplace-sell-your-server-software http://hernangarcia.com/aws-marketplace-sell-your-server-software

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Wed, 18 Apr 2012 14:21:00 -0700 “No matter how busy you may think you are, you must find time for reading, or surrender yourself to self-chosen ignorance.” http://hernangarcia.com/no-matter-how-busy-you-may-think-you-are-you http://hernangarcia.com/no-matter-how-busy-you-may-think-you-are-you

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Tue, 17 Apr 2012 09:26:00 -0700 Is GMAIL down? http://hernangarcia.com/is-gmail-down http://hernangarcia.com/is-gmail-down

Screen_shot_2012-04-17_at_11

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia
Tue, 17 Apr 2012 07:25:00 -0700 WordPress Plugins - W3 Total Cache http://hernangarcia.com/wordpress-plugins-w3-total-cache http://hernangarcia.com/wordpress-plugins-w3-total-cache

The most complete WordPress performance framework.

Recommended by web hosts like: MediaTemple, Host Gator, Page.ly and WP Engine and countless more.

Trusted by countless sites like: stevesouders.com, mattcutts.com, mashable.com, smashingmagazine.com, makeuseof.com, yoast.com, kiss925.com, pearsonified.com, lockergnome.com, johnchow.com, ilovetypography.com, webdesignerdepot.com, css-tricks.com and tens of thousands of others.

W3 Total Cache improves the user experience of your site by improving your server performance, caching every aspect of your site, reducing the download times and providing transparent content delivery network (CDN) integration.

An inside look:

Benefits:

  • At least 10x improvement in overall site performance (Grade A in YSlow or significant Google Page Speed improvements) when fully configured
  • Improved conversion rates and "site performance" which affect your site's rank on Google.com
  • "Instant" subsequent page views: browser caching
  • Optimized progressive render: pages start rendering quickly
  • Reduced page load time: increased visitor time on site; visitors view more pages
  • Improved web server performance; sustain high traffic periods
  • Up to 80% bandwidth savings via minify and HTTP compression of HTML, CSS, JavaScript and feeds

Features:

  • Compatible with shared hosting, virtual private / dedicated servers and dedicated servers / clusters
  • Transparent content delivery network (CDN) integration with Media Library, theme files and WordPress itself
  • Mobile support: respective caching of pages by referrer or groups of user agents including theme switching for groups of referrers or user agents
  • Caching of (minified and compressed) pages and posts in memory or on disk or on CDN (mirror only)
  • Caching of (minified and compressed) CSS and JavaScript in memory, on disk or on CDN
  • Caching of feeds (site, categories, tags, comments, search results) in memory or on disk or on CDN (mirror only)
  • Caching of search results pages (i.e. URIs with query string variables) in memory or on disk
  • Caching of database objects in memory or on disk
  • Caching of objects in memory or on disk
  • Minification of posts and pages and feeds
  • Minification of inline, embedded or 3rd party JavaScript (with automated updates)
  • Minification of inline, embedded or 3rd party CSS (with automated updates)
  • Browser caching using cache-control, future expire headers and entity tags (ETag) with "cache-busting"
  • JavaScript grouping by template (home page, post page etc) with embed location control
  • Non-blocking JavaScript embedding
  • Import post attachments directly into the Media Library (and CDN)

Improve the user experience for your readers without having to change WordPress, your theme, your plugins or how you produce your content.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/1884931/elpradoprofilepic.jpg http://posterous.com/users/Q9eMpEVwuR Hernan Garcia hernangarcia Hernan Garcia