Operating System - HP-UX
1827245 Members
2286 Online
109716 Solutions
New Discussion

Restricting Multiple FTP session for each user

 
ln_unix
Frequent Advisor

Restricting Multiple FTP session for each user

HI ALL,

I have a question whose answer i am not able to get from anywhere,will anybody pls help me????
The question is----->

HOW CAN I RESTRICT A USER TO HAVE MORE THAN 1 FTP SESSION AT SAME TIME IN HP-UX?????

WAITING FOR YOUR REPLIES!!!!!!!!!!!!!!
Thanx a lot in advance...........
4 REPLIES 4
F Verschuren
Esteemed Contributor

Re: Restricting Multiple FTP session for each user

I do not think this is poseble whit the standart hp ftp.

normaly this is configured in the ftpaccess but a man ftpaccess does not show a way...
Dennis Handly
Acclaimed Contributor

Re: Restricting Multiple FTP session for each user

Any reason you want to do this? Are you worried about overloading the LAN traffic with large files?

I know I've seen some limit like this when I go to a specific site and the session gets hung. It mentions "no more than one session from that IP".
Steven Schweda
Honored Contributor

Re: Restricting Multiple FTP session for each user

Things depend on your FTP server, but on my
11.11 system, "man ftpaccess" says:

[...]
limit class n times message_file

Limit class to n users at specified times, displaying
message_file if user is denied access. The limit check is
performed at login time only. If multiple limit commands apply
to the current session, the first applicable one is used.
Failing to define a valid limit, or a limit of -1, is equivalent
to unlimited. The format for times can any of the following:
Any Any week day
Fr Friday
Any0900-1300 Any day of week between 9.00 - 13.00 hrs.
Th|Any0900-1300 Either Thursday or between 9.00 - 13.00.
[...]


This looks to me as if it could be made to
serve. You might need to define a class for
each limited user, or some such thing.
Steven E. Protter
Exalted Contributor

Re: Restricting Multiple FTP session for each user

Shalom,

ITRC downloades does this. Limits to two or three downloads.

ITs a lot easier to do this without wuftpd, but as noted above, doable none the less.

Proftpd has been ported to HP-UX in the http://software.hp.com site, Search for Internet Express and pick your OS.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com