Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #2019
| From | Joe Beanfish <joebeanfish@nospam.duh> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: Dropping connection attempts to port 25 |
| Date | 2013-03-12 13:21 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <khna4t$juu$1@dont-email.me> (permalink) |
| References | <khkqrs$msg$1@news.albasani.net> |
On Mon, 11 Mar 2013 14:48:29 +0000, Clark Smith wrote: > Somebody keeps trying to connect to my sendmail server, without success, > but filling my logs in the process. Since, according to the sendmail > logs, the connection seems to be coming from a specific IP address <ip>, > I added the following IPTables rules: > > iptables -A INPUT -s <ip> -j DROP iptables -A OUTPUT -d <ip> -j DROP > > However, I can still see further connection attempts in the sendmail > logs. > > Any ideas on how to get IPTables to drop such attempts before > they get to sendmail? Try -I instead of -A to ensure your new rule is first and not circumvented by some later rule.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Find similar | Unroll thread
Dropping connection attempts to port 25 Clark Smith <noaddress@nowhere.net> - 2013-03-11 14:48 +0000
Re: Dropping connection attempts to port 25 Richard Kettlewell <rjk@greenend.org.uk> - 2013-03-11 14:58 +0000
Re: Dropping connection attempts to port 25 Clark Smith <noaddress@nowhere.net> - 2013-03-11 15:12 +0000
Re: Dropping connection attempts to port 25 Richard Kettlewell <rjk@greenend.org.uk> - 2013-03-11 16:24 +0000
Re: Dropping connection attempts to port 25 Octothorpe <Octothorpe@invalid.com> - 2013-03-11 16:38 -0400
Re: Dropping connection attempts to port 25 Richard Kettlewell <rjk@greenend.org.uk> - 2013-03-12 10:16 +0000
Re: Dropping connection attempts to port 25 Dale Dellutri <ddelQQQlutr@panQQQix.com> - 2013-03-11 14:58 +0000
Re: Dropping connection attempts to port 25 Clark Smith <noaddress@nowhere.net> - 2013-03-11 15:15 +0000
Re: Dropping connection attempts to port 25 David Hough <noone$$@llondel.org> - 2013-03-12 07:29 +0000
Re: Dropping connection attempts to port 25 Joe Beanfish <joebeanfish@nospam.duh> - 2013-03-12 13:21 +0000
csiph-web