Re: per_source on redhat 7.2

George Law <[email protected]> Tue, 1 Jul 2003 13:26:36 -0400
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
Steve G writes:
 > >I have per_source = 5 in both /etc/xinetd.conf and
 > >/etc/xinetd.d/wu-ftp, however it doesn't seem to make a
 > bit
 > >of difference.
 > 
 > The error message you are seeing comes from the cps
 > handler. cps was set low in the past and you may want to
 > bump it up. How many concurrent users do you allow? For
 > example, if you allow 10 concurrent users with 5 sessions
 > each, you could theoretically have 50 legitimate
 > connections per second.
 > 
 > The cps directive is processed before the per_source and
 > they are processed together. If either trigger, the
 > connection is rejected.
 > 

Steve,

I upped the cps to 125 because it was pretty low.  However, it still
doesn't make a bit of difference.  If per_source was working, why is
there 26 simultaneous connections from the same IP address?



Jul  1 13:14:26 XXX ftpd[27035]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:26 XXX ftpd[27038]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:26 XXX ftpd[27039]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:26 XXX ftpd[27037]: FTP LOGIN FAILED (cannot set guest privileges) for 217.187.4.126 [217.187.4.126], ftp
Jul  1 13:14:27 XXX ftpd[27040]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:27 XXX ftpd[27043]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:27 XXX ftpd[27042]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:27 XXX ftpd[27041]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:28 XXX ftpd[27036]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:29 XXX ftpd[27046]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:29 XXX ftpd[27045]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:29 XXX ftpd[27047]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:29 XXX ftpd[27048]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:29 XXX ftpd[27044]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:30 XXX ftpd[27052]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:30 XXX ftpd[27053]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:30 XXX ftpd[27057]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:31 XXX ftpd[27054]: anonymous([email protected]) of 217.187.4.126 [217.187.4.126] tried to create directory /pub/users/yyy/ftp/pub/030701191607p
Jul  1 13:14:31 XXX ftpd[27058]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:31 XXX ftpd[27059]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:31 XXX ftpd[27061]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:31 XXX ftpd[27060]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:32 XXX ftpd[27054]: anonymous([email protected]) of 217.187.4.126 [217.187.4.126] tried to create directory /pub/users/yyy/ftp/incoming/030701191608p
Jul  1 13:14:32 XXX ftpd[27081]: FTP LOGIN REFUSED (anonymous ftp denied on default server) FROM 217.187.4.126 [217.187.4.126], anonymous
Jul  1 13:14:32 XXX ftpd[27054]: anonymous([email protected]) of 217.187.4.126 [217.187.4.126] tried to create directory /pub/users/yyy/ftp/030701191609p
Jul  1 13:14:33 XXX ftpd[27082]: anonymous([email protected]) of 217.187.4.126 [217.187.4.126] tried to create directory /pub/users/zzzz/ftp/pub/030701191610p


-- 
Cordially,

				          George Law 
____________________________________________________________________
Systems Engineer                      Software Workshop Inc.
[email protected] 315.635-1968 (x-213)     "software that fits!" (TM)