Weblog entry #97 for Steve

Things to do ...
Posted by Steve on Tue 11 Apr 2006 at 10:30
Tags: none.

Today I will be mostly implementing an online TODO list.

Tonight the first item upon my TODO list is to organise the hire of a van so I can go to Ikea and buy a new office desk.

In other news it is sad to see that Greylisting is losing effectiveness. I guess it was only a matter of time, but it is a shame as the greylisting approach was so simple and elegant.

Yesterday my server seemed to come under attack from about 20 IPs doing a massive spidering of my site. What was really strange was the format of the incoming requests, as logged by Apache:

.. "GET / HTTP/1.1                      "  ..

Notice the massive amount of whitespace after 'HTTP/1.1'? Weird huh?

Still it did mean that dropping the IP address became simple enough:

for i in `grep 'HTTP/1.1   ' access.log | awk '{print $1}'`; 
 do
    iptables -A INPUT -p tcp --source ${i} -j DROP
done

Update: There was probably a sort -u in there to make sure I only dropped unique IP addresses once.

 

Comments on this Entry

Posted by Anonymous (213.164.xx.xx) on Tue 11 Apr 2006 at 15:43
Any chance that articles and weblog entries etc. can have more descriptive titles?

I currently have a bunch of DA bookmarks all named "Debian GNU/Linux System Administration Resources" :/

[ Parent | Reply to this comment ]

Posted by Steve (212.20.xx.xx) on Tue 11 Apr 2006 at 15:45
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Sure.

Added to my todo list.

Steve

[ Parent | Reply to this comment ]

Posted by Steve (212.20.xx.xx) on Tue 11 Apr 2006 at 16:14
[ Send Message | View Steve's Scratchpad | View Weblogs ]

PS. Note that if you're logged into this site you can create your own bookmarks stored here.

For example my bookmarks.

(I know this isn't the same as storing your own bookmarks, but it is worth knowing if you're unaware of it.)

Steve

[ Parent | Reply to this comment ]

Posted by Steve (82.41.xx.xx) on Tue 11 Apr 2006 at 20:16
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Thinks should be much better now.

I've added proper titles to :

  • Weblog entries for a user.
  • Single weblog entries.
  • Poll pages
  • "Submit a poll"
  • "Submit an article"
  • "Hall of fame"

More will be added when I notice them. There is still the problem that page titles are still long, so it might truncate titles on tabs, but that is a seperate problem.

Steve

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Wed 12 Apr 2006 at 10:58
Cool! Thanks!

[ Parent | Reply to this comment ]

Posted by rbochan (24.59.xx.xx) on Wed 12 Apr 2006 at 13:42
[ Send Message | View Weblogs ]
Is there a way, or a plan to implement editing a post/reply once it's up?

...Rob

The American Dream isn't an SUV and a house in the suburbs; it's Don't Tread On Me.

[ Parent | Reply to this comment ]

Posted by Steve (212.20.xx.xx) on Wed 12 Apr 2006 at 13:49
[ Send Message | View Steve's Scratchpad | View Weblogs ]

There are no plans at all to allow the general editing of comments.

There are too many ways in which this could be abused to implement it. I can see some mitigating circumstances, such as only allowing edits if there are no current replies, or for a brief time period.

But honestly I find that comment editting comes from two seperate desires:

  • To correct typos/bad command lines.
  • To fix a broken argument.

Whilst those are both valid reasons they are things that can be fixed with a followup comment if desired.

(You say posts too. I'm not too sure how to read that, but generally articles and weblog entries are already editable by their authors.)

Steve

[ Parent | Reply to this comment ]

Posted by rbochan (24.59.xx.xx) on Wed 12 Apr 2006 at 15:05
[ Send Message | View Weblogs ]
Fair enough. By posts, I was referring to replies, not blogs/articles. I see your point about abuse. I'm just a piss poor typist at times, especially when I'm too early into my coffee ;o)

...Rob

The American Dream isn't an SUV and a house in the suburbs; it's Don't Tread On Me.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Mail Filtering

Quick Site Search