![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Replay Attack | Ashvin Gaur | Security | 3 | 05-27-2008 04:22 AM |
| anonymous ftp attack? | dennisheazle | Security | 2 | 04-07-2008 05:11 PM |
| Need ideas how to attack this problem | frequency8 | High Level Programming | 5 | 06-16-2007 02:24 PM |
| winzip.exe virus attack | thaduka | Security | 1 | 02-05-2006 09:01 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Bruteforce attack on my pc & IPFW
since putting my pc online, it keeps getting slower and i dig the logfile to have such a surprise:
Quote:
how do i block this IP 200.41.81.228 from trying to knock my online pc? my system: FreeBSD testing.net 6.2-STABLE-JE FreeBSD 6.2-STABLE-JE #0: Sat Apr 21 01:07:18 UTC 2007 root@server:/usr/obj/usr/src/sys/GENERIC i386 thank you Last edited by rdns; 10-15-2007 at 10:39 AM. |
| Forum Sponsor | ||
|
|
|
|||
|
Probably the simplest way is not to block individual IPs but to switch SSH to a higher and obscure port number, switch to an exclusive public key authentication model, and only allow explicit blocks of IP to access if possible. Blocking IPs are usually futile because these IPs most often do not represent the real cracker's IP. They just crack into many vulnerable systems and use those as shields to break in others' systems for one-time only and so the list is essentially infinite, and you will see new IPs emerge every day. They have many of these victim hosts at their disposal so if you block one they simply switch to another.
|
|
|||
|
thanks! cbkihong,
i'm willing to change the sshd port meanwhile i'm learning on IPFW and managed to get IPFW up but while configuring the rules, I stucked at here: Quote:
just a simple question: do i need to change Quote:
2. odns to my ISP DNS server? let say from ifconfig, my ethernet is "bge0" and my DNS IP is 202.188.1.1 and 202.188.2.2 thanks for advice |
|
||||
|
fail2ban
Quote:
You can configure how many retries someone has after a password-failure and how long they are banned (two hours in my case). It continually scans your /var/log/auth.log and acts. Check out Main Page - Fail2ban for more info. Quote:
|
|
|||
|
Cool, but...
I've looked at fail2ban a couple of times.
The one problem I can possibly see is if someone spoofed the address of a computer that you usually use to access the server. Is it theoretically possible to create a DoS situation then? If not, let me know. Say they keep failing using your address. Are they not effectively banning you from accessing your server. Maybe not, just trying to verify one way or the other. |