Re: [Hampshire] apache block invalid IP address

2010-07-15 Thread John Cooper
On 15/07/10 16:03, Vic wrote: > >> It could be the spammer has a malformed request. > > That might be so - but wouldn't[2] give rise to what you're seeing. HTTP > goes over TCP, so Apache *must* have known the IP address it was talking > to when the request was made. The fact that you're not seei

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Vic
> I don't need debugging tools. I just avoid writing code with bugs in. Yeah, alright Dan. I'm sure we can all take that seriously. Vic. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Daniel Pope
On 15/07/10 14:08, Vic wrote: perl -e 'print reverse <>' output.csv Yes, but because Python is more legible I stand a better chance of understanding what it does when I come to re-read it. Not like that gibberish. That's just prejudice. Well, postjudice. I have personal experience of trying

Re: [Hampshire] Open source network backup with de-dupe.

2010-07-15 Thread Keith Edmunds
On Thu, 15 Jul 2010 20:56:01 +0100, james.dut...@gmail.com said: > Say you change one byte in a large file. rsync will not send the > entire file again, it will only send the changes. That's what BackupPC does. However, Chris is right: you cannot *know* that two files are the same unless you com

Re: [Hampshire] Open source network backup with de-dupe.

2010-07-15 Thread James Courtier-Dutton
On 15 July 2010 20:44, Chris Dennis wrote: > On 15/07/10 15:39, James Courtier-Dutton wrote: >> >> Take 1 central site PC called "A" >> Take two remote sites PC called "B" and "C". >> >> B has already sent a full backup to A. >> C wishes to send a full backup to A, but lots of the data on C is the

Re: [Hampshire] Open source network backup with de-dupe.

2010-07-15 Thread Chris Dennis
On 15/07/10 15:39, James Courtier-Dutton wrote: Take 1 central site PC called "A" Take two remote sites PC called "B" and "C". B has already sent a full backup to A. C wishes to send a full backup to A, but lots of the data on C is the same as B. C generates HASHs of its files, and only sends t

Re: [Hampshire] apache block invalid IP address

2010-07-15 Thread Vic
> It is the IP address field Yes, but it's not an IP address. IPv4 addresses[1] have four numbers with dots between them. Fewer than four numbers indicates a range - which is meaningless in an Apache log file... > It could be the spammer has a malformed request. That might be so - but wouldn't[

Re: [Hampshire] apache block invalid IP address

2010-07-15 Thread John Cooper
On 15/07/10 15:42, Vic wrote: > >> Hi, I'm seeing user registration attempts on one of my forums with an IP >> address of "." > > Well, that's not an IP address. There's something odd going on in your > logging. I've never seen this, and I've been unable to find out what it > means; which versio

Re: [Hampshire] apache block invalid IP address

2010-07-15 Thread Vic
> Hi, I'm seeing user registration attempts on one of my forums with an IP > address of "." Well, that's not an IP address. There's something odd going on in your logging. I've never seen this, and I've been unable to find out what it means; which version of Apache do you have, and what log form

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Lisi
On Thursday 15 July 2010 15:20:39 Victor Churchill wrote: > On 15 July 2010 14:42, Jack Knight wrote: > > On 15/07/10 14:08, Vic wrote: > perl -e 'print reverse<>'output.csv > >>> > >>> Yes, but because Python is more legible I stand a better chance of > >>> understanding what it does when I

Re: [Hampshire] Open source network backup with de-dupe.

2010-07-15 Thread James Courtier-Dutton
On 15 July 2010 15:14, Keith Edmunds wrote: > Hi James > > You're being unrealistic. > >> The documentation gives no explanation of what WAN bandwidth it will use. > > How can it? It depends on how much data you backup; more accurately, it > depends on how much data has changed since the last back

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Victor Churchill
On 15 July 2010 14:42, Jack Knight wrote: > On 15/07/10 14:08, Vic wrote: >> perl -e 'print reverse<>'output.csv >>> >>> Yes, but because Python is more legible I stand a better chance of >>> understanding what it does when I come to re-read it. Not like that >>> gibberish. >>> > P

[Hampshire] apache block invalid IP address

2010-07-15 Thread John Cooper
Hi, I'm seeing user registration attempts on one of my forums with an IP address of "." How can I block (403) either an IP address of "." or an invalid IP address using the .htaccess file? . - - [01/Jul/2010:22:06:04 -0600] "GET /cgi-bin/user_register.pl HTTP/1.0" 200 4541 "http://silverwing.org

Re: [Hampshire] Open source network backup with de-dupe.

2010-07-15 Thread Keith Edmunds
Hi James You're being unrealistic. > The documentation gives no explanation of what WAN bandwidth it will use. How can it? It depends on how much data you backup; more accurately, it depends on how much data has changed since the last backup. > It reads as if it gets all the data into a central

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread James Courtier-Dutton
On 15 July 2010 14:03, Pierre Cazenave wrote: > > tac input.csv > output.csv > > tac == cat backwards :) > I like that one. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk ---

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Jack Knight
On 15/07/10 14:08, Vic wrote: perl -e 'print reverse<>'output.csv Yes, but because Python is more legible I stand a better chance of understanding what it does when I come to re-read it. Not like that gibberish. That's just prejudice. Having spent some time this week trying t

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Chris Aitken
> You've got it easy, with A&L not only is it in reverse order, but the > recent > items section sorts things differently within a day to the final statement. > I > have to go through and reorder them for the running balance. Not that I'm > planning to be with them much longer anyway. There's also

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Vic
>> perl -e 'print reverse <>' output.csv > > Yes, but because Python is more legible I stand a better chance of > understanding what it does when I come to re-read it. Not like that > gibberish. That's just prejudice. Having spent some time this week trying to debug some Python, I have come to t

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Pierre Cazenave
On 15/07/2010 12:38, Daniel Pope wrote: On 15/07/10 12:32, Chris. Aubrey-Smith wrote: I was blithely informed that there was no problem, since I could buy a piece of software which would turn the CSV files back the right way up. cat >flip_csv.py

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Daniel Pope
On 15/07/10 12:49, Vic wrote: perl -e 'print reverse <>' output.csv Yes, but because Python is more legible I stand a better chance of understanding what it does when I come to re-read it. Not like that gibberish. Dan -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://m

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Paul Tansom
** Ian Park [2010-07-15 12:43]: > On 15/07/10 12:32, Chris. Aubrey-Smith wrote: > > I thought my recent experiences with Lloyds TSB might be of interest. > > > > Last Tuesday, Lloyds changed their on-line banking system. The most > > noticeable change is that statements now appear upside-down

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Chris. Aubrey-Smith
> > On 15/07/10 12:32, Chris. Aubrey-Smith wrote: > > Hi, all! > > > > I thought my recent experiences with Lloyds TSB might be of interest. > > > > Please post to: Hampshire@mailman.lug.org.uk > Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire > LUG URL: http://www.hantslug

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Jack Knight
On 15/07/10 12:44, Daniel Pope wrote: On 15/07/10 12:41, James Courtier-Dutton wrote: python flip_csv.pyoutput.csv > Yes, but how much does that cost and does it have to have windows... ;-) For that I will charge a mere £125 ex VAT consultancy fee, but I would recommend you pay another £450

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Ian Park
Hmmm, Smile (the Co-op internet bank) are even more confusing: if you grab a "recent items" statement, that comes with the most recent at the top; if you grab a "complete" statement (when Smile thinks a page is full), that comes with the most recent at the bottom. Ian -- Ian Park 17 Pyle Hill New

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Vic
> cat >flip_csv.py < > import sys > lines = sys.stdin.readlines() > lines.reverse() > for l in lines: > sys.stdout.write(l) > > END > python flip_csv.py output.csv perl -e 'print reverse <>' output.csv Vic. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lu

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Daniel Pope
On 15/07/10 12:41, James Courtier-Dutton wrote: python flip_csv.pyoutput.csv > Yes, but how much does that cost and does it have to have windows... ;-) For that I will charge a mere £125 ex VAT consultancy fee, but I would recommend you pay another £450 ex VAT for me to set up a virtual app

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread James Courtier-Dutton
On 15 July 2010 12:38, Daniel Pope wrote: > On 15/07/10 12:32, Chris. Aubrey-Smith wrote: >> >> I was blithely >> informed that there was no problem, since I could buy a piece of >> software which would turn the CSV files back the right way up. > > cat >flip_csv.py < > import sys > lines = sys.std

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread James Courtier-Dutton
On 15 July 2010 12:32, Chris. Aubrey-Smith wrote: > Hi, all! > > I thought my recent experiences with Lloyds TSB might be of interest. > > Last Tuesday, Lloyds changed their on-line banking system. The most > noticeable change is that statements now appear upside-down, with the latest > transa

Re: [Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Daniel Pope
On 15/07/10 12:32, Chris. Aubrey-Smith wrote: I was blithely informed that there was no problem, since I could buy a piece of software which would turn the CSV files back the right way up. cat >flip_csv.py

[Hampshire] On-line Banking (Not entirely O.T.)

2010-07-15 Thread Chris. Aubrey-Smith
Hi, all! I thought my recent experiences with Lloyds TSB might be of interest. Last Tuesday, Lloyds changed their on-line banking system. The most noticeable change is that statements now appear upside-down, with the latest transaction at the top. For those of us who were brought up to perfor

Re: [Hampshire] Open source network backup with de-dupe.

2010-07-15 Thread James Courtier-Dutton
On 14 July 2010 19:56, Adrian Bridgett wrote: > On Wed, Jul 14, 2010 at 19:45:00 +0100 (+0100), Keith Edmunds wrote: >> On Wed, 14 Jul 2010 12:25:10 +0100, james.dut...@gmail.com said: >> >> > Does anyone know of any open source backup programs that do de-dupe >> > for the express purposes of redu