07-28-2004
How to block the IP after many times fail login?
Hi, there. I am using Red Hat 9 to run my web server. Recently I found lots tempts from different IP addresses tried to login into my system. I am not sure if they are the same person or not. Since this server is only for web hosting purpose for couple of my friends and myself, so it is very easy found out other people tried to get in.
My situation is like this: I have to run the ssh, but those tempts are really annoying. So could anyone show me how to block an IP address after 5 fail login, just for couple hours.
Thanks in advance,
HOUSCOUS
10 More Discussions You Might Find Interesting
1. AIX
Hi! I'm currently using AIX 4.3 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want to see whether user A has only 1 login while user B can have 2 logins (without logging off the first one).
Would I be able to... (7 Replies)
Discussion started by: ftengcheng
7 Replies
2. Shell Programming and Scripting
I am new to shellscript . PLease help me how can I write the following script.
$ who
ray pts/0 aug 31 01:18 ( 65.169.28.200 )
ray pts/1 sep 2 02:28 ( 65.169.28.200 )
bob pts/3 sep 2 02:31 ( 65.169.28.201 )
when run the command who |./ script , the script should... (3 Replies)
Discussion started by: LAY
3 Replies
3. BSD
Hello,
I have a small inquiry.
Sometimes, my good friend, Charlie Root, sends me security notifications that a possible breakin attempt has occured. It looks like this:
Oct 29 06:58:17 cigva sshd: reverse mapping checking getaddrinfo for 180.144.164.220.broad.sm.yn.dynamic.163data.com.cn ... (2 Replies)
Discussion started by: brightstorm
2 Replies
4. HP-UX
where I can set login fail ,lock time
thanks (2 Replies)
Discussion started by: alert0919
2 Replies
5. HP-UX
Hi,
I am a hobbyist with a very old machine I have been trying to get up and running. I have an HP 9000/C240 with 1G of RAM and 3-8.5G HD. It is configured with 1G SWAP/DUMP. Currently only one drive is in use via LVM. I have not gotten around to creating more volumes just yet.
It is running... (11 Replies)
Discussion started by: Dirk_
11 Replies
6. UNIX and Linux Applications
Is this possible to block particular user's email-client configuration on basis of pop/imap
settings in linux ,dovecot.conf or anywhere ?As you know when acl is defined in /etc/squid/squid.conf file according to its http_access users are able to access internet.
Before (1 Reply)
Discussion started by: sandeepvson
1 Replies
7. HP-UX
hi, i want to ask about why after im log in from CDE, it appears a pop up stated that i must go to Failsafe Session from the login screen's option menu and log in..... can anyone help??:) (2 Replies)
Discussion started by: ameer88
2 Replies
8. Red Hat
Hi all,
I got error, when i logged with webmin. please show me the way how can i login with webmin (4 Replies)
Discussion started by: mastansaheb
4 Replies
9. Solaris
Hi, I need some help regarding login issue. I have to use 8 server. The username is same at all. But when i was trying to access for particular 4 server. I got access denied error. Please help ....
Note: If i change my password by using root user. then I can able to enter into the same server.... (6 Replies)
Discussion started by: Mani_apr08
6 Replies
10. Programming
Hello,
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies
LEARN ABOUT REDHAT
rhn_check
RHN_CHECK(8) Red Hat Network RHN_CHECK(8)
NAME
rhn_check - check for queued actions on RHN and execute them
SYNOPSIS
/usr/sbin/rhn_check [-v] [--verbose]
DESCRIPTION
rhn_check is a client program that connects to the Red Hat Network backend servers and retrieves information associated with the queued
actions for this particular system. This script reads the digital server ID from /etc/sysconfig/rhn/systemid and uses that to identify the
machine to the Red Hat Network. Upon successfull authentication, rhn_check will start processing the queued actions sequentially.
ACTION TYPES
The following types of actions are currently processed by rhn_check:
action type description
() ()
refresh This action will refresh the hardware or software profiles of this
machine with Red Hat Network. This fucntion is called as
refresh(hardware) or refresh(rpmlist)
new_systemid This action is used by the RHn Backend to update the Digital
system ID of this machine with a new one.
update_packages This action will trigger rhn_check into running a package
update for a list of packages queued from the Red Hat Network.
rhn_check will use modules from the up2date client to download
the packages, solve dependencies and install the on the system.
FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto Red Hat Network. This file does
not exist otherwise.
/var/spool/up2date This directory is used by up2date to store package headers and RPM packages downloaded from Red Hat Network
SEE ALSO
man pages for up2date(8) and rhnsd(8).
AUTHORS
Cristian Gafton <gafton@redhat.com>
Preston Brown <pbrown@redhat.com>
()