Charlie Li on 17 Aug 2018 13:33:42 -0700
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Linux tip: Log IP addresses, not hostnames, for use by fail2ban...
|
- From: Charlie Li <ml+PLUG@vishwin.info>
- To: plug@lists.phillylinux.org
- Subject: Re: [PLUG] Linux tip: Log IP addresses, not hostnames, for use by fail2ban...
- Date: Fri, 17 Aug 2018 16:33:25 -0400
- Autocrypt: addr=ml+PLUG@vishwin.info; prefer-encrypt=mutual; keydata= xsFNBFe4p7sBEADHSqa7WkWYRhRiAYsECn4Ek29AkNS7SF4YAbZTzg+3xkPL5cM5zbNCR4U4 o99wC0Y5wQn9y9X9wM16k1AxBkeQ7Dgh+AjxYGnwDjyrVdx9fcId8dQvLV/xw4V2b5CtU0Et M9IE3MDOkgLtWJamTWIL/MfrNgWk5nRZDBhDcygkTO87t0Pi4WC/QQ3TrrDya6FbBPI7I5Y2 0arX2LAeXqJ6pF7uPfjqogKy3UL+t++9nTG6FNR2oftlts1AB+kGHXJf1GiewXLpPEJTGlXx P+XGhjALqJkFw6azELYKjZcd9zGEOWiKJKp2c2RUDdEJHy+cm6cJ8g7dabVA4ZXs5O7NzeMr on7xFbBx/l/0qHux+d7gS4Z+GJ9WGvzvuj4L8MLgA0eaNzn564RJ5FCtPpaulMhcSc78LhZs NCN3rq8VxsxNrIFTlvnLdLsTNITZOKXnyalE9WlM3cK6UlQaagShhO3FliI2hIOW7j4QWJZC Thynnnj5wIAOgKv1WKFwnKJsMfsohIME6uqmt5AcH5okXGZCcBJx30+enqsoEYOvg0pi5oY7 6F/bQdvHzY2prjeujo0oJhVSeRpv5tjEUBDjX525SPNqvr4uddHiavrFBkesOh7nnOjsEMZ1 i5Q6iZrQpteoafFZTld7tfLw8gMwyiSleKN+x7tJG1H3d1Bd7QARAQABzSFDaGFybGllIExp IDx2aXNod2luQHZpc2h3aW4uaW5mbz7CwYAEEwEIACoCGwMFCQPCZwAFCwkIBwIGFQgJCg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VXG8XTDXEJmAJsELG7txDPNZ9o FqGGsWKHymE=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed; d=vishwin.info; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type; s=fuccboi12; bh=1k48iWQmYeeXtRLAKpWrNhhVYCb2dZKA1 zKP43U+ACk=; b=IsKTJxvsEm5lG+dfUKq7kuiSh5qyPYvmER5DGH1s7R6bKTjJY GRA/lMRhJIOxfd27y3fzlYh9TYODf9no80gg+wweEVLJTOQ3IfP3Qc7a7VpgRhNj 09vBXx2951Cy09vCmRKs/wAtgDnbbGw3lp9PPSru5aY5IeSc9rkBlmUrdzHimtnW w4hCHdDAOCg8eI5PKHXGWe67alXkC4MtXrDgSxyBvgPS+LX3Bb40uYD0CGo8kedx ZX8cUSSt9lH0DZQBqciyYVyaIgGZzoEdDbZLO+5pWtOpWh7HJlv2qOZhFM6KuoUg /CH6YI7aUY5zEq31fkxpCRZiyG9en9fknEnVw==
- Openpgp: preference=signencrypt
- Organization: PLUG mailing list
- Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
- User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0
On 17/08/2018 15:42, Fred Stluka wrote:
> As you may have noticed, there's been a massive upswing in hacking
> attempts from China in the past couple weeks. My servers now get
> hit an additional hundreds or thousands of times per day. You may
> want to check your logs and beef up your security.
>
High amounts of cracking attempts from China have been the case for time.
> See my recently posted tip:
> - Log IP addresses for fail2ban
> http://bristle.com/Tips/Unix.htm#log_ip_addresses_for_fail2ban
>
You don't even need to go through all the trouble of fail2ban. Or even
dissecting fake reverse DNS entries.
rsk on this very mailing list has said multiple times, among other
things, to simply block all of China (and any other country you don't
expect traffic from, really) from initiating connections to your
machines. In fact, the lists at ipdeny.com makes that a bit too easy.
--
Charlie "LLD_IS_LD" Li
(This email address is for mailing list use only; replace local-part
with vishwin for off-list communication)
Attachment:
signature.asc
Description: OpenPGP digital signature
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug