#perl - Sat 10 Mar 2007 between 00:17 and 00:21



actionrabeldable checks perldoc for pf
rabeldablechecks perldoc for pf
hobbshaha
revdiablomadflojo: You just pasted part of your code. You did not make a standalone example. Unless I missed something
merlynheh - that's an openbsd packet filter
JasonKingmadflojo, the previous paste doesn't standalone - it doesn't have the File::Path and File::Copy uses in it - doesn't have the assignment to $filedir, etc..
rabeldablethanks merlyn
merlynyou can quickly add IPs to block
rabeldablei'd rather not use any additional modules or apps
madflojoahh
i getcha
rabeldableI just want to keep a running list
madflojouhm
so..
revdiablomadflojo: By standalone I mean a chunk of code that you can put into a new file and run it, and it has the same problem as your bigger program
merlynjifty SVN - someone checked in a Keynote presentation :)
maybe you just want a database then
see DBD::SQLite
JasonKingmadflojo, it died on the -d test didn't it.
rabeldableIt should not get too big, I can probably even keep it in memory
merlynor DBM::Deep - the sequel (sponsored by Stonehenge)
madflojono but actually i think the directory might have existed
let me check
hobbsor Pg, which has an ipv4 datatype with cidr functions :)
revdiablohobbs: God, yes. I love postgresql's data types.
merlyneven better!
JasonKingThis is where I pretend to be surprised that he is only checking now.
revdiabloJasonKing: We are debugging through the end of a straw. ;)
merlynand it blows!
JasonKing:)
madflojoheh
so
it didnt die
and
ls: /home/madflojo/Downloads/usenet_mp3/queued/Other/Eminem_s/The_Marshall_Mathers_LP/: No such file or directory
the directory doesnt exist
so that means that if statement is not acting like I thought it was supposed to..
revdiablomadflojo: Please to be making a standalone example. It really will be the best thing you can do.
JasonKingAgreed.
rabeldableso here is the pseudo code -> apache starts, opens file, reads blocked IP's into hash, at anytime when a bad IP gets blocked an entry gets added to has and to file
madflojoaiight

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive