Bluehost.com Web Hosting $6.95

Re[4]: how to block connections at TCP level?

This is a discussion on Re[4]: how to block connections at TCP level? within the mailing.postfix.users forums, part of the Mail Servers and Related category; >> Sadly, firewall CAN NOT refuse connection using DNSBL check on >> originating address. GAW> Well, "...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2004
Igor Lidin
 
Posts: n/a
Default Re[4]: how to block connections at TCP level?

>> Sadly, firewall CAN NOT refuse connection using DNSBL check on
>> originating address.


GAW> Well, "CAN NOT" is I think a little bit strong. It's certainly
GAW> possible, though no doubt not so practical.

>> When you block at this stage, some amount of traffic already
>> passed. Ideally (for me), postfix should refuse connections from, say,
>> dynamically allocated IPs using some blacklist.


GAW> No application can refuse TCP connections with the standard sockets API.

There are a plenty of TCP wrappers of any kind doing this, and they work using standard sockets API and are portable. At least, it is possible to deny (if not to refuse) connection - no answer to connection attempt. If such wrappers can do denial using cidr lists, why not to implement this additionally checking src IP against DNSBL?

Many kind of tcp daemons include this functionality to prevent access from unwished networks or to allow from wished ones. Yes, ok, I realize that this is not directly mail-related functionality, but "in a days of spam and worms" this becomes necessary.

>> Practically, I think,
>> at least some sort of DISCONNECT action in maps can be implemented to
>> reduce traffic amount used by useless connections.


GAW> Disconnecting an active SMTP connection without proper protocol
GAW> interaction will not have the effect you seem to wish it to have -- the
GAW> client will simply try again later (and perhaps not very much later at
GAW> all -- e.g. perhaps only milliseconds later if it's badly misbehaved).

I don't think so. If a spammer's mailer can not see SMTP server, it should go away. Hopefully. :) If it's so misbehaved to be a woody woodpecker, it will try again even if greeted with "554 Go avay, please, please". And will eat traffic (yes, they did).

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0