|
You are currently browsing the motyka.org weblog archives
for December, 2005.
Amelia’s First ChristmasPosted In: Amelia, Everyday life — December 31, 2005 @ 12:04 pm — PeterThe holidays went off without a hitch and we enjoyed a nice visit from my mother and father. Despite it being a rather hectic week, everyone had a great time We have another 4 day weekend ahead of us and some nice weather to get outside for a walk. Shortly after I wrap up this post, we’ll be bundling Amelia, saddling up Iris, and heading for the park. While the weather we’re having is definitely abnormal, it sure is nice to get Amelia and Iris outside for some fresh air.
Happy HolidayPosted In: Everyday life — December 25, 2005 @ 10:20 pm — PeterMerry <insert respective holiday here>! Today was an unseasonably warm beautiful day and the whole family, sans felines, went out for a walk. We visited both parks in our neighborhood and Amelia snoozed the entire time in her comfy sling. It seems we’ll be having this nice weather for the coming week. My parents will be happy to have some reprieve from the icky cold weather the Chicagoland area is having. Funny, I can’t possibly count the number of warnings that we received about the arctic temperatures we’d suffer in Denver. All I have to say is, I wore a t-shirt outside today! Amelia June was subjected to another photo shoot yesterday to model the adorable sweater and hat set that Chris and Amy sent us. She tolerated a few pictures, but then proceeded to wail loudly hoping we’d stop. It’s her fault! If she weren’t so damn cute, we wouldn’t be forced to take so many pictures!
Canned SpamPosted In: Technology — December 23, 2005 @ 9:17 pm — PeterWe’ve been bit by a spammer using our contact page maliciously to send roughly 1000 email messages trying to sell software. I suspected something was up when I received email messages containing MIME headers in the message body, but I brushed it off assuming I was protected because the “TO:” value is hard coded in the PHP script. Shortly after, nicely formatted messages started rolling in that were hawking cheap software and were seemingly originating from our server. After inspecting the headers of one of the messages, I realized the contact page was being exploited and quickly locked it down using chmod. After a bit of research, I see how the form was being exploited. The PHP mail function simply inserts text willy-nilly that is passed to it into the respective area of an email message. The spammer was packing the message body with MIME content that allowed for the specification of “BCC:” values. Oops, I really should have validated this input before passing it along to PHP mail(). Here is a great article the explaining the risks involved with using PHP mail() and other form mail processing technologies: http://securephp.damonkohler.com/index.php/Email_Injection I was tempted to wrap the form fields of the contact page with some regex to rid us of the annoying spammer, but that didn’t seem like a good solution. The article above mentioned a module for Apache web server called mod_security that acts as an application firewall preventing malformed data from reaching scripts and applications. After a bit more reading, I determined this module was right up my alley. I quickly installed it and devised the following rule to protect the contact page from MIME header injection: Dec 23 18:47:16 eudora kernel: Free swap = 0kB These log entries are from a postmortem analysis after our server became so overloaded that it would not respond to any sort of network connections. Perhaps I’ll resize the swap file, but I’d prefer to get a server with more RAM and CPU resources… Anyone want to donate some hardware to our lovely website? I’m hoping this server is still available for sale… For the time being, I’ve trimmed the mod_security ruleset down to what I see being the most important lines of defense. Already our site seems to be more responsive and hopefully will remain safe against spammers and script kiddies.
Baby dazePosted In: Everyday life — December 18, 2005 @ 9:20 pm — PeterMs. Mia pants is doing great! She had her first well-baby visit on Friday and all of her vital statistics are on track. She has already surpassed her birth weight by a few ounces and tipped the scale at 8 pounds 6 ounces. There has been no shortage of dirty diapers and her appetite is great. Tomorrow is my last day of baby vacation, Tuesday starts a 4 day stint of working from home, then back to the office on Tuesday, December 27th. The 27th is also the day that my folks will be paying us a short visit to get to know Amelia. It will be a hectic week, but I’m sure we’ll manage. Left on the agenda for tonight is a trip up to Walgreens to pick up some digital photo prints. Walgreens’ photo printing service is great, if you haven’t tried it yet. From what I can tell, the service is provided by Snapfish based on some data from the email headers attached to the email messages from Walgreens. Received: from mta.snapfish.com (20.pod2.snapfish.com [64.147.179.20]) Without further ado, new pictures of Amelia!
Love…Posted In: Everyday life — December 15, 2005 @ 2:11 pm — StephanieSaying that my life has changed, or that my heart has stretched and grown to enormous proportions to accomodate the great love I feel, just doesn’t come close to capturing my feelings. The feeling is intense, and so overwhelming, that sometimes I find myself in tears just looking at her. My daughter and my husband are my life. I could cheerfully kill anyone who dared to harm them. They are precious to me, and I have no idea how I ever existed without the two of them. She has her daddy’s ears and chin, mama’s nose and cheeks, and beautifully-shaped eyes all her own. Amelia prefers being swaddled, loves chest to chest contact, and makes “ahhh ahhh” noises when she’s hungry. She sleeps just fine in her daddy’s sling, even while Iris incessantly barks at the mail lady. Mia hates being bathed, LOUDLY lets you know when she has a dirty diaper, and seems unconcerned about the constant parade of cats sneaking peeks into her co-sleeper. She and I have staring contests, which go on until she falls asleep or my attention is dragged away by something else. Peter and I are trying to soak it all in, to absorb this newborn sweetness while we can. She’s going to grow and change so fast. While I am incredibly excited about watching her grow up into an amazing woman, there is a deep well of sadness in knowing she’ll never be my tiny baby girl again. I will post her birth story at some point in the future. Right now, meeting Amelia’s needs and bonding with her is, of course, my highest priority. Now I have to wake up a little sleeping duckie (daddy dressed her in yellow duckies today) to fill her tummy up with mama milk. She’s on her daddy’s chest behind me–such a gorgeous sight. I am the luckiest woman alive… « Previous Entries |




