Fail2Ban configs

I was fed up with all the dictionary attacks on POP3. So I decided to lookup configuring Fail2ban on that port.

First off, always remember to save your iptables: service iptables save

Next, I located the jail.local file saved under /etc/fail2ban. This file is a copy of the original /etc/fail2ban/jail.conf which I want to leave untouched.

Based on the following code, I will modify it to follow the current filters in my jail.local file. So that:

[courierauth]

enabled = true
port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s
filter = courierlogin
logpath = /var/log/mail.log

Will turn into this:

[pop3]
enabled = true
port = smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s
filter = courierlogin
action = iptables[name=POP3, port="smtp,ssmtp,imap2,imap3,imaps,pop3,pop3s" protocol=tcp]
sendmail-whois[name=POP3, dest=anna@ffdepot.com, sender=fail2ban@ffdepot.com]
logpath = /var/log/maillog
maxretry = 3
ignoreip = 184.7.254.24 202.62.124.147 200.74.244.86 127.0.0.1

The newly revised code is enabled and scans the default mail ports. It creates a jail called POP3 and scans the appropriate mail log specified by logpath. The maxretry before banning is set to 3 tries. Fail2ban will then email the whois info of the IP to me, similar to what it does for SSH attempts today. The filter calls on /etc/fail2ban/filter.d/courierlogin.conf which contains the regex format which Fail2ban uses to scan mail log entries:

failregex = LOGIN FAILED, .*, ip=\[\]$

Once the jail.local file is saved, restart the Fail2ban server:


fail2ban-server -x
fail2ban-client reload
fail2ban-client status

Which responds with the corresponding number of jails, which includes one called POP3.

Afterwards, I reloaded my iptables again:

service iptables restart

Then to view the iptables: iptables -nL
Stay tuned this weekend to see if this new config pays off.

Observations and propagations

4/22/2011 Super Parfait Raspberry Dianthus first bloom of the yearIt seems that both of the dianthus specimens I moved to the lily bed are Super Parfait Raspberry. I suspect that the remaining dianthus still struggling in the purple bed is also a Super Parfait Raspberry (it comes with a marker with the name Raspberry). It appears that these Super Parfaits are intolerant of heat and the harsh Texas climate. The picoteed dianthus sitting in the corner of the purple bed has escaped identification. I am uncertain about labeling it a Telstar purple picotee since I only planted it last year. It stands to reason that it is a more recent cultivar, probably a Floral Lace dianthus. However, the foliage tends toward the lighter green of chinensis, rather than the barbatus blue and this particular specimen seems to trudge uncomfortably through our hot Texas summer. However I decided to take a cutting. With luck and some rooting hormone, I hope to duplicate it.

4/22/2011 Victoria Blue salvia first bloom of the yearMy hopes of the bicolor salvia coccinea returning are fulfilled. The purple bed is dotted by dozens of seedlings. Some of them even made it into my planter boxes. I potted a few seedlings with the intention of filling some holes in the front yard beds. I can’t wait to see them bloom. Meanwhile, the first Victoria Blue salvia bloom in the front yard bed grabbed our attention. There are 3 specimens growing back from rootstock, surprising given the extreme winter weather we experienced. The Seabreeze salvia farinacea that I’m growing from seed seem less vigorous however. They are now being overshadowed by the Lady in Red coccinea plants. I suspect the Ladies will be ready for hardening in a week, while the Seabreezes continue to struggle. Perhaps I should have gone with the traditional Mealy Cup Sage seeds, which tend to have finer foliage, lower habit and vigorous nature than the Victorias or Seabreezes.

4/22/2011 Purple Flash Ornamental Pepper in the wildI was thrilled to find a seedling start of last year’s ornamental pepper, Purple Flash, growing next to the purple bed border. I am awaiting for it to get some height and strength before relocating it into position. My other ornamental pepper starts have begun to look livelier. In comparison to the Purple Flash, Calico seems a little weaker, less vigorous. The Calicos also appear less variegated in this stage, though here and there, they are flecked with white. Also timid from the start are the Jupiter sweet bell peppers. While the Thai chili peppers have grown fuller with their transfer outside, the bells have been flagging, attacked by unknown predators. I’ve planted the Red Rubin basil among them in hopes of deterring insects, but I feel I may have to resort to an insecticidal soon. Maybe I should replant the oregano and/or thyme in the bed to offer the peppers extra protection.

4/22/2011 Scented Geranium Prince RupertThe peppers aren’t the only plants under siege. The hostas again have become prime targets in the front yard shade bed. I’ve dusted the ground underneath them with Bayer Advanced multi-pest killer, but I think I had better results with Ortho’s EcoSense insecticidal spray Unfortunately, I believe the line has been discontinued, so I’m trying their Elementals line. I’ve been wishing for a companion planting of heucheras or scented geraniums that will protect the hostas, but it may already be too late since the damage is extensive. I should have begun sooner with a systemic solution.

If the scented geranium didn’t grow so tall, I would be more likely to plant them into the shade bed. But my last specimen grew up to 4 feet tall, and seem likely candidates for back of the garden planting. I’m thinking common sage might also provide some benefits, though I determined that the Tricolor I purchased last week has already displayed some damage. I’ve taken a couple of cuttings along with a Pesto Basil cutting to root and propagate under grow lights.

4/22/2011 Compact White Ballerina Gaura first wave of bloomsI’ve returned the garlic chives back indoors, and made additional sowings in all 6 of my current pots. I’ve also begun a pot of common chives. It seems the chives respond well to regulated temperatures, and keeping them under clear plastic covers has encouraged more seed starts. I’ve also laid down a thin layer of soilless mix, and they responded even better. Taking a cue from this, I spread more of the mix on top of the marigold seeds. Even though they are said to be vigorous, I’d estimate only 25-30% of the unprotected starts germinated.

The petunias respond extremely well to being uncovered for a few weeks. They struggled under the humidity dome for so long, and now they have quadrupled in size. I’m more conservative with the iceplants after losing the first batch of starts. Now that half of the crop are at least half an inch in size, I’ve put them out into the regular tray while keeping the weakest under cover.

All the seedings responded well to a lower grow light positioning. The impatiens in particular has shown remarkable growth. I’m debating on hardening them outside soon, with planting in the shade bed when they’ve grown strong. I wish the columbines were just as vigorous. It seems the red columbines tend to be more hearty than the blues; all of the reds germinated in this second run of columbines, where only half of the blues sprouted. In the garden setting, it seems that I am down to 4 of the remaining six columbines that survived the hardening period. I suspect that these are all reds as well.

4/22/2011 Oertel's Rose Yarrow first bloom of the yearFor future reference, annual phlox don’t respond well to indoor lighting. Even the specimen I brought indoors struggled under growlights, losing much of its foliage, but not its bloom power. I plan on replanting it into the blue garden, that is, if the yarrows don’t take over. The yarrows have begun to bloom; they are twice the size they were last year, and show no signs of stopping.

Alas I lost a variegated felicia, perhaps due to lack of sun. The side of the blue bed it was located in hardly received any light, though I imagine that will change with summer. I’ve been on the lookout regularly at the home improvement stores for more specimens of felicia and verbena in hopes of finding my faves again. Meanwhile, I’ve planted out one of three Blue Knoll Chrysanthemums in the blue bed. I am trying to determine space within the lines of violas to plant the other two.

Lobster-Crab Shells and Cheese

2 4oz lobster tails
4oz fontina cheese
4oz gruyere
4-6oz aged white cheddar
1/2 cup of heavy cream
1/4 cup of milk
16oz medium pasta shells
2-4oz butter
2-4 tablespoons flour
6oz white crab meat (usually shredded but chunk okay)
1 tablespoons of fresh or dried basil (optional)
garlic powder
pepper (white pepper optimal)

Cut lobster tails in half and let marinade in melted butter for 10-20 minutes. Fire up the grill and heat until flames burn down, and coals are grey and hot. Place tails meat side down and grill for 2-3 minutes. Turn over tails, drizzle any remaining butter into the meat, and grill for another 2-3 minutes. Lobster tails should be a nice opaque white/pink to indicate doneness.

Boil pasta shells until al dente, about 9-10 minutes, drain. Prepare the butter-flour roux in a sauce pan, mixing over medium heat, keeping the roux at a pale, creamy color. Add the cream until heated through. Meanwhile, chop into cubes or shred all cheeses (easier to shred if cheese is hardened). Stir in cheese slowly in batches, making sure that each batch is melted and incorporated thoroughly before adding the next batch. Add milk to thin the cheese sauce if necessary. Reduce heat to medium-low, continue to stir so that cheese sauce doesn’t burn. Season with garlic powder and pepper to taste.

Transfer pasta to bowl. Pour cheese sauce over pasta. Mix crab meat into pasta, fold until shells are coated with sauce and crab meat.

Remove lobster from tails and chop into chunks, then use as a topping on the pasta. Sprinkle chopped basil leaves for color and flavoring over the pasta.

Yellow salvia, variegated herbs & geraniums

4/20/2011 Basil PestoVisited NHG on Saturday…missed the daylily show but bought what I came for: a yellow salvia greggii, Moonglow. The specimen I purchased is laden with unopened buds, so I can’t wait to see it bloom!

I also spotted a variegated basil at NHG, named Pesto Perpetuo–awesome colors, but I wonder how I will propagate it. Internet reading indicates that this is a variant of Greek basil, suggested to be a perennial. Only time will tell if this basil will endure our extreme Texas climate. Thoughts of preserving it sends me on a hunt for seeds, but it’s one I’ve rarely seen available on my regular online seed retailers. I should buy some rooting hormone…

I’ve also purchased a 4″ pot of salvia officinalis Tricolor, another herb purportedly perennial, here in Texas. It’s another sage to add to my current catalog of salvias, one with more functionality than my other salvias. This will be the fifth type I am currently growing; the others being greggii, x jamensis, coccinea, farinacea, and sinaloensis. I am considering taking some cuttings for use as an ornamental plant.

Round out my variegated plant purchases is a scented geranium, Prince Rupert.  It’s listed as pelargonium crispum French Lace on Dave’s Garden. My first geranium specimen, Orange Fizz, reached a height of almost four feet before it perished during our fierce winter this past year. I should have kept the root stock to see if it might have come back, but unfortunately it was ill-placed in the purple bed. I am reading up on the care of this newest geranium in the hopes of propagating its return.