11-26-2009
Blocking File Uploads with Squid
Dear All
I want to block email attachments upload on internet through different mail servers. My requirement is that no user can send email attachments on yahoo, hotmail, gmail etc. I have RHEL-5 and squid 2.7. I have applied the undermentioned ACL but it in vain
ACL is
acl fileupload req_mime_type -i ^multipart/form-data$
http_access deny fileupload.
Waiting for ur valuable reply
Last edited by surfer24; 11-26-2009 at 05:22 AM..
This User Gave Thanks to surfer24 For This Post:
9 More Discussions You Might Find Interesting
1. Programming
There are many processes writing to log files at random times (they are all programmed in different manners and can not be altered). I am writing a new c program which should read from the log files whenever they are updated. At the moment it is just spooling, waiting for a change in file size, but... (2 Replies)
Discussion started by: cubathy
2 Replies
2. Linux
Is there any mechanism within vsftpd to hide partially uploaded files, ie give them a hidden file name. Pro ftp has this option with the hidden stor option in the configuration file.
If there is no such feature how do I go about requesting that the vsftpd developers create this option or is... (3 Replies)
Discussion started by: jhod22
3 Replies
3. Shell Programming and Scripting
hey all,
i am a shell scripting n00b so bear with me. i got a server that every night uploads one file to a remote server. the file is prodserver_date_time.
i would like to make a script, run by root on a daily cron job. i want it to determine if the file was received or not. no md5... (2 Replies)
Discussion started by: jweinraub
2 Replies
4. Shell Programming and Scripting
Hi,
In suhosin php hardening patch there is an option of scanning uploaded files via php or web.
upload verification_script
==============================
*
Type: String
*
Default:
This defines the full path to a verification script for uploaded files. The... (0 Replies)
Discussion started by: fed.linuxgossip
0 Replies
5. IP Networking
Does any one know how to block HTTP Tunnel in squid proxy server.
Pls reply (1 Reply)
Discussion started by: vishwanathhcl
1 Replies
6. Shell Programming and Scripting
Hey all. I am trying to write some scripts and need some assistance.
One:
I already have a script that appends lines to a file. I need a script that will remove those lines from that file, and have no idea how to go about doing this. Just need the command (if any) that can remove lines.
... (2 Replies)
Discussion started by: Dysruption
2 Replies
7. IP Networking
Hi i have created a proxy with squid and i need to block all domains of yahoo let's say . i have to configure squid.conf but idk how.. (1 Reply)
Discussion started by: g0dlik3
1 Replies
8. IP Networking
Hello,
I have a pretty useless satellite link at home (far from any civilization), so I wanted to set up caching in order to speed things up. My Squid 2.6 runs "3128 transparent" and is set up quite well on a separate machine.
I also have my dd-wrt router to move all port 80 traffic through... (0 Replies)
Discussion started by: theWojtek
0 Replies
9. Programming
among the below socket programming api's, please let me know which are blocking and non-blocking.
socket
accept
bind
listen
write
read
close (2 Replies)
Discussion started by: VSSajjan
2 Replies
LEARN ABOUT FREEBSD
acl_delete_entry_np
ACL_DELETE_ENTRY(3) BSD Library Functions Manual ACL_DELETE_ENTRY(3)
NAME
acl_delete_entry, acl_delete_entry_np -- delete an ACL entry from an ACL
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_delete_entry(acl_t acl, acl_entry_t entry_d);
int
acl_delete_entry_np(acl_t acl, int index);
DESCRIPTION
The acl_delete_entry() function is a POSIX.1e call that removes the ACL entry entry_d from ACL acl. The acl_delete_entry_np() function is a
non-portable version that removes the ACL entry at position index from ACL acl. Positions are numbered starting from zero, i.e. calling
acl_delete_entry_np() with index argument equal to zero will remove the first ACL entry.
RETURN VALUES
The acl_delete_entry() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
The acl_delete_entry() function fails if:
[EINVAL] Argument acl does not point to a valid ACL. Argument entry_d is not a valid descriptor for an ACL entry in acl. Argument
index is out of bounds.
SEE ALSO
acl(3), acl_copy_entry(3), acl_get_entry(3), posix1e(3)
STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17.
HISTORY
POSIX.1e support was introduced in FreeBSD 4.0. The acl_delete_entry() function was added in FreeBSD 5.0.
AUTHORS
The acl_delete_entry() function was written by Chris D. Faulhaber <jedgar@fxp.org>.
BSD
June 25, 2009 BSD