forcing FTP-uploaded files to be of certain types only
- From: Mikhail Teterin <mi+mx@xxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 13:06:01 -0400
Hello!
We run an FTP server for the customers to upload their data (usually -- giant
core-files and database-dumps).
Sometimes they forget compress them, however, wasting many gigabytes of our
server's space...
How hard would it be to make the stock FreeBSD FTP-server to examine the
first, say, 100Kb of the uploaded file and interrupt transfer if the file is
of a prohibited or is not of an allowed type?
Anything under 100Kb is fine, I guess, and 100Kb is more than enough to detect
compression or lack thereof...
Thanks for ideas!
-mi
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: forcing FTP-uploaded files to be of certain types only
- From: Brian Candler
- Re: forcing FTP-uploaded files to be of certain types only
- From: David J. Orman
- Re: forcing FTP-uploaded files to be of certain types only
- Prev by Date: SCTP
- Next by Date: Re: forcing FTP-uploaded files to be of certain types only
- Previous by thread: Traffic shaping part 3
- Next by thread: Re: forcing FTP-uploaded files to be of certain types only
- Index(es):
Relevant Pages
|