You are not logged in. Login Now
 0-19   19-43   44-68   69-93   94-118   119-143   144-149    
 
Author Message
25 new of 149 responses total.
tod
response 19 of 149: Mark Unseen   Jan 3 18:11 UTC 2006

How about a throttle on outbound mail which limits users to 5 per day?
keesan
response 20 of 149: Mark Unseen   Jan 3 19:56 UTC 2006

Why does a spammer need multiple accounts if we don't have any limit on number
of outgoing mails per day?
Five per day is too low for normal users.  I get about 10 a day here and
answer them all.  Make it 25 at least.
tod
response 21 of 149: Mark Unseen   Jan 3 22:45 UTC 2006

Its just an arbitrary number but does the idea of a cap on number per day seem
reasonable?
cross
response 22 of 149: Mark Unseen   Jan 4 01:54 UTC 2006

I wonder how to implement it.  You'd have to maintain some sort of hash and
`expire' data from it every day.  That would be easy to implement, but I've
found that things like that tend to be fragile: I like to minimize moving
parts, if I can.  That's why I'd prefer something that just relied on groups
or something like that.
ric
response 23 of 149: Mark Unseen   Jan 4 14:34 UTC 2006

It's very difficult to control email on a system in which users can pipe
things to sendmail.  We're not talking about joe schmoe using elm to send
50,000 emails.  Presumably, direct queue injection via the sendmail binary
- or possibly SMTP from localhost via a perl script.

<ric goes to test something>
ric
response 24 of 149: Mark Unseen   Jan 4 14:39 UTC 2006

Grex does accept SMTP from localhost... I presume there are mail clients
(PINE?) that use SMTP rather than direct queue injection via sendmail...
cross
response 25 of 149: Mark Unseen   Jan 4 15:17 UTC 2006

You can control access to the SMTP port on the localhost interface using
PF.  Access to the sendmail binary can be controlled via group membership,
as I outlined in some post somewhere.
bhoward
response 26 of 149: Mark Unseen   Jan 4 15:20 UTC 2006

Re#20 Right now, they don't need multiple accounts but from the
debris left behind in their acccounts, it appears they are splitting
their target lists into smaller sets and setting each account to
work on a different subset.

I don't recall offhand if each account was pumping out the same
message so it is possible, they were using a different account to
send different messages.

Re#22 Perhaps the simplest way is to have exim maintain a hash
table.  Each time a mail is sent, you hash on the senders login,
retrieve a record containing a message count and a date stamp.  If
the time stamp is <= 24 hours old, just increment the message count
for the sender and refuse to accept the message for processing.  If
the time stamp is more than 24 hours old, the message count is reset
to 1 and the date stamp is set to the current time.

Today is the first day I've had a real chance to dig into how exim
works and may be extended so I lack the vocabulary to describe this
using proper exim terms.  However, it appears there are a few
different mechanisms one could use.
bhoward
response 27 of 149: Mark Unseen   Jan 4 15:21 UTC 2006

(25 slipped in ahead of my 26)
keesan
response 28 of 149: Mark Unseen   Jan 4 16:45 UTC 2006

Do the spammers use mail lists (available with Pine, don't know about other
mail programs)?  Is there anything specific they do which can be restricted
to paying members without seriously interfering with mail use by other normal
users?
other
response 29 of 149: Mark Unseen   Jan 5 16:23 UTC 2006

> If the time stamp is <= 24 hours old, just increment the message count > for the sender and refuse to accept the message for processing. If > the time stamp is more than 24 hours old, the message count is reset > to 1 and the date stamp is set to the current time.

26: Don't you mean "If the time stamp is more than 24 hours old *and the message count is higher than x*?

ric
response 30 of 149: Mark Unseen   Jan 5 18:32 UTC 2006

let's say I wanted to use grex to send spam.  

I'd create an account.

I'd upload a list of addresses... say 50,000 email addresses, one per line.
I'd create a text file with my spam message.
Then i'd run the following perl script:

##################################################
#!/usr/local/bin/perl

open(FH,"~/addresses.txt") or die;
while(<FH>) {
        chomp;
        system("cat ~/spam.txt | mail -s Spam $_");
}
close(<FH>);
##################################################

And poof.  50,000 spam messages go out.

That being said.. the only way I can think of to stop spam from happening 
on grex is to unplug grex or disable outgoing mail.

you could reduce spam by creating a waiting period for access to email.  
But I'd make it longer than 48 hours... a week, at least.

You could reduce it even more by allowing access to email ONLY to members.  
Then a spammer would have to give money to grex and (theoretically) be 
"verified" before they could send their spam.

A limitation of 50 outbound emails per day or even 100 outbound emails per 
day per account would also be useful, combined with an ASCII CAPTCHA on
newuser *AND* the delay for access to outbound mail.

If a spammer wants to manually create 100 accounts, wait a week for each, 
then send out 100 emails per day - each.... that'd be an awful lot of 
work to send 10,000 messages per day.  Easier to hack into someone's 
unsecure version of Wordpress.

If, on top of the last step, you do some mail logging that reports how 
many emails each user sends - per day - over a certain threshhold.. you 
could eliminate those user accounts pretty easily.

keesan
response 31 of 149: Mark Unseen   Jan 5 20:27 UTC 2006

Could grex automatically delete large mail lists, perhaps anything with more
than 100 @ signs in it?  
steve
response 32 of 149: Mark Unseen   Jan 6 00:14 UTC 2006

   That doesn't solve the problem.  Spammers typically send out N emails
with one person in each email.  Some don't of course, but the recent 
barrage of emails from AOL and .ro idiots does this, so that isn't a
solution.
tod
response 33 of 149: Mark Unseen   Jan 6 00:29 UTC 2006

Romania is a country, not an ISP.  Can you be a little more specific with
domain suffixes when you sling insults?
bhoward
response 34 of 149: Mark Unseen   Jan 6 01:38 UTC 2006

First, correcting an editing error by rewording slightly what I
said in #25:

Each time a mail is sent, you hash on the senders login, retrieve
a record containing a message count and a date stamp. If the time
stamp in the record is <= 24 hours old, just increment the message
count for the sender and refuse to accept the message for processing
if the message count is over the 24 message limit.  If the time
stamp in the record is more than 24 hours old, the message count
is reset to 1 and the date stamp is set to the current time.

Re#29 No, because the message count is a max of how many messages
they are allowed to send in a 24 hour period.  If the next message
sent pushes them over the max message count, that is only a problem
if it has been less than 24 hours since the timestamp of the first
message.

The idea is that the first message starts a 24 hour count down.
That count should be reset once 24 hours has past but we don't
actually need to check until the next time they send a message.
eprom
response 35 of 149: Mark Unseen   Jan 6 05:36 UTC 2006

I agree with a week long waiting period
bhoward
response 36 of 149: Mark Unseen   Jan 6 06:23 UTC 2006

Typed-in twice, and still dropping words.  
    "...if the message count is over the 24 message limit" 

should have read:
    "...if the message count is over the 24 hour message limit"
naftee
response 37 of 149: Mark Unseen   Jan 7 05:45 UTC 2006

El Senor Bruce da howard.
bhoward
response 38 of 149: Mark Unseen   Jan 8 02:33 UTC 2006

(somehow it seems like there ought to be a sudden snap
of castanets when he says that...)
mcnally
response 39 of 149: Mark Unseen   Jan 8 03:20 UTC 2006

 Or a flourish of mariachi guitar..
aruba
response 40 of 149: Mark Unseen   Jan 8 04:11 UTC 2006

Ole!
naftee
response 41 of 149: Mark Unseen   Jan 8 04:36 UTC 2006

everybody dance !
aruba
response 42 of 149: Mark Unseen   Jan 8 18:57 UTC 2006

Comcast is now blocking mail from Grex, which means I can't remind certain
members to renew their memberships.
keesan
response 43 of 149: Mark Unseen   Jan 8 23:38 UTC 2006

Are we still on the RBL list?
Can we try not letting new users send outgoing mail for the first week, and
if that does not work, then try other things?
 0-19   19-43   44-68   69-93   94-118   119-143   144-149    
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss