On Tue, 21 Jun 2005, Sorin Savastre wrote:

> Utilizatorii unui server administrat de mine au reclamat ca nu pot
> trimite mail catre un anumit server. Mesajul de eroare este urmatorul:
> timed out while receiving the initial SMTP greeting

        E pentru ca anumiti disperati blocheaza in firewall cu DROP 
pachetele spre 113/tcp. E o timpenie avind in vedere ca multe aplicatii 
fac cereri colo (mail, servere irc, altele). Macar sa le blocheze cu 
REJECT.

        Fii anten:

14:24:33 blackblue (Mituc):~>time { echo -e helo bre\\nmail from: 
[EMAIL PROTECTED] to:[EMAIL PROTECTED] | nc 84.234.98.82 25; }
220 joker.tds.ro ESMTP Sendmail 8.9.3/8.9.3; Tue, 21 Jun 2005 11:03:43 GMT
250 joker.tds.ro Hello [EMAIL PROTECTED] [213.157.176.7], 
pleased to meet you
250 [EMAIL PROTECTED] Sender ok
250 [EMAIL PROTECTED] Recipient ok
221 joker.tds.ro closing connection

real    0m0.213s
user    0m0.003s
sys     0m0.004s


14:24:39 blackblue (Mituc):~>sudo iptables -I INPUT -p tcp -m tcp 
--dport 113 -j DROP

14:25:04 blackblue (Mituc):~>time { echo -e helo bre\\nmail from: 
[EMAIL PROTECTED] to:[EMAIL PROTECTED] | nc 84.234.98.82 25; }
220 joker.tds.ro ESMTP Sendmail 8.9.3/8.9.3; Tue, 21 Jun 2005 11:04:43 GMT
250 joker.tds.ro Hello blackblue.iasi.rdsnet.ro [213.157.176.7], pleased 
to meet you
250 [EMAIL PROTECTED] Sender ok
250 [EMAIL PROTECTED] Recipient ok
221 joker.tds.ro closing connection

real    0m30.125s
user    0m0.002s
sys     0m0.003s

        Rau ati venit in lumea lui security through stupidity. iptables 
-t mangle -I PREROUTING -j DROP pentru toti cei [care].

-- 
Any views or opinions presented within this e-mail are solely those of
the author and do not necessarily represent those of any company, unless
otherwise expressly stated.

--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui