If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I've asked this on Ettercap's forum, but anyone who has visited there knows its mostly filled with spam ads for porn and pharmaceuticals. I've also tried to Google for "ettercap filters" but my tutorials are are the first things to come up. So, here I ask you guys.

I'm pretty sure the filter I wrote should work, but I always get the error "filter engine: Cannot open file ./logfile.log" Below is a printout of the code and all of the error messages. Any ideas on what is wrong? It's a Debian box I'm working on. Thanks.

I don't know how helpful this is, but I've seen similar problems with files locking on apache servers. If ettercap is writing to that logfile.log is may not allow your filter to be accessing the data from that file at the same time. I don't know how that applies here though because it seem like the filter would be allowed access to that file.

If not that, is it possible to just bypass that ./logfile.log and log your filter directly to DATA.data? (again, not familiar with all workings of ettercap)

"Experience is the hardest teacher, it gives the test first and the lesson after." Anonymous

While not an expert on this, what you have in your code should work. I will see if I can find something else and also bounce this it off a few peoples.

Just to ask the stupid question:

1. Do you need to "touch" the logfile.log before running Ettercap?

\"We\'re the middle children of history.... no purpose or place. We have no Great War, no Great Depression. Our great war is a spiritual war. Our great depression is our lives. We\'ve all been raised by television to believe that one day we\'ll all be millionaires and movie gods and rock stars -- but we won\'t. And we\'re learning slowly that fact. And we\'re very, very pissed off.\" - Tyler (Brad Pitt) Fight Club.