Piano Society
Free Classical Keyboard Recordings
It is currently Tue Jul 29, 2014 1:44 pm

All times are UTC - 1 hour




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Denial-of-Service
PostPosted: Sat Sep 08, 2007 5:16 pm 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
Someone obviously didn't like my trick where you must take a ticket before downloading music and launched a Denial-of-Service attack against the site. Good enough, my profession is computer security so I have taken actions against it. Sorry for the downtime.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 08, 2007 7:50 pm 
Offline
Site Admin

Joined: Wed Jun 14, 2006 12:38 pm
Posts: 8463
Uh oh - I think that happened just as I was on the site about to listen to myself. Just when I clicked on me, it went dead. ( no jokes about sounding so terrible that I killed the site :lol: - unless I really did? :shock: )

_________________
"Simplicity is the highest goal, achievable when you have overcome all difficulties." ~ Frederic Chopin

my videos: http://www.youtube.com/user/monicapiano


Top
 Profile  
 
 Post subject: Re: Denial-of-Service
PostPosted: Sat Sep 08, 2007 10:58 pm 
Offline

Joined: Thu Jul 13, 2006 12:34 pm
Posts: 1278
robert wrote:
Someone obviously didn't like my trick where you must take a ticket before downloading music and launched a Denial-of-Service attack against the site. Good enough, my profession is computer security so I have taken actions against it. Sorry for the downtime.


That's pretty sad. I guess some people have too much time on their hands.

We can also have a giggle at someone who thought they could get the best of you. :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 09, 2007 5:23 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
pianolady wrote:
Uh oh - I think that happened just as I was on the site about to listen to myself. Just when I clicked on me, it went dead. ( no jokes about sounding so terrible that I killed the site :lol: - unless I really did? :shock: )

So it was you! 8)

No, it was someone loading the MySQL database with huge quires using PHP but I am not sure how he/she did it.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 09, 2007 11:36 pm 
Offline

Joined: Thu Jul 13, 2006 12:34 pm
Posts: 1278
Oh Monica, how could you?! :lol:


Top
 Profile  
 
 Post subject: Re: Denial-of-Service
PostPosted: Wed Sep 12, 2007 1:28 pm 
robert wrote:
Someone obviously didn't like my trick where you must take a ticket before downloading music and launched a Denial-of-Service attack against the site. Good enough, my profession is computer security so I have taken actions against it. Sorry for the downtime.


Well done. I've seen the statistics stopped at the 5th of the month (as happened in august also).
There are many possibilities, among them:
1) the fifth is a diabolic day
2) too many download of CoccoBill LvB variations and the system went over

All best,
Sandro


Top
  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 1:38 pm 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
Hehe, or a C-program cannot open files more than 2 GB. ;)

I'll have Chris write a shell script instead using bzcat on bzipped-files.

Or perhaps I should write a wrapper which once a day cleans up the access_log from useless information. It would shrink the log about 10 times.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject: Re: Denial-of-Service
PostPosted: Wed Sep 12, 2007 3:43 pm 
Quote:
2) too many download of CoccoBill LvB variations and the system went over


Don't dare! My motto is ars gratia artis (art for art's sake). :lol: :lol: :lol:


Top
  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 4:46 am 
Offline
Site Admin

Joined: Mon Jun 12, 2006 11:45 am
Posts: 9495
Location: Netherlands
robert wrote:
Hehe, or a C-program cannot open files more than 2 GB. ;)

I'll have Chris write a shell script instead using bzcat on bzipped-files.

Hear hear ... I won't let you torture me like that :P

I'm not even going to try and do this stuff from a shell script. You have no idea of the amount of
sorting and processing going on within stats. It would probably hang the system when attempted
from a script. Maybe I'll have a go at coding it in Java (assuming it does not have the 2GB restriction, which I am not sure about).

robert wrote:
Or perhaps I should write a wrapper which once a day cleans up the access_log from useless information. It would shrink the log about 10 times.

That would help. Obviously stats only needs the lines that pertain to audio files.

But surely Apache must have some way of customizing the access log contents ?

_________________
Nothing is always absolutely so -- Sturgeon's law
Chris Breemer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 5:07 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
techneut wrote:
robert wrote:
Hehe, or a C-program cannot open files more than 2 GB. ;)

I'll have Chris write a shell script instead using bzcat on bzipped-files.

Hear hear ... I won't let you torture me like that :P

I'm not even going to try and do this stuff from a shell script. You have no idea of the amount of
sorting and processing going on within stats. It would probably hang the system when attempted
from a script. Maybe I'll have a go at coding it in Java (assuming it does not have the 2GB restriction, which I am not sure about).

robert wrote:
Or perhaps I should write a wrapper which once a day cleans up the access_log from useless information. It would shrink the log about 10 times.

That would help. Obviously stats only needs the lines that pertain to audio files.

But surely Apache must have some way of customizing the access log contents ?

:)

I am sure Apache has that but I think it would be easier for me to implement a wrapper than try to fool around with Apache.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 6:05 am 
Offline
Site Admin

Joined: Wed Jun 07, 2006 6:27 pm
Posts: 1842
Location: Sweden
Done! Statistics back.

_________________
Pianist profile of Robert


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 6:19 am 
Offline
Site Admin

Joined: Mon Jun 12, 2006 11:45 am
Posts: 9495
Location: Netherlands
robert wrote:
Done! Statistics back.

Huzzah for Taco Man :lol:

_________________
Nothing is always absolutely so -- Sturgeon's law
Chris Breemer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 6:48 am 
Quote:
Quote:
Done! Statistics back.

Huzzah for Taco Man :lol:


What a pair! :lol:


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 1 hour


Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group