General :: Squid 2.6 : Acl Which Should Apply To Ip Range?

Feb 7, 2011

i have squid 2.6 installed on centos i created acl which should apply to this ip range i.e 192.168.1.10-192.168.1.15 and excluded 192.168.1.13 how can i do

View 14 Replies


ADVERTISEMENT

Networking :: How To Apply Delay Pools On Squid

Mar 7, 2011

I am using squid 2.6 on my cent os 5.We r using 4 Mb/s link. I want to assign bandwidth allowcation to my boss like 512 Kb/s and 256 kb/s to its assistant.both are using class c IP address. How can I allocate bandwidth of their IP address.

View 1 Replies View Related

Networking :: Add More Than One IP Range In Squid.conf?

Mar 3, 2011

I am going to configure squid in my linux box.I have different kinds of ranges in my office.The default is as under

Code:

acl our_networks src 192.168.1.0/24 192.168.2.0/24
http_access allow our_networks

can I add my own ranges as

Code:

acl our_networks src 10.1.60.0/24 10.1.70.0/24 10.0.80.0/24 10.1.90.0/24 10.1.100.0./24

http_access allow our_networks we have divided according to floors ,like 1st floor ip range is 10.1.60.0 2nd floor 10.1.70.0 ,third 10.1.80.0 and so on. All IP ping each others successfully.

View 3 Replies View Related

Ubuntu Networking :: Specifying IP Address Range In ACL In SQUID Proxy

Feb 24, 2010

I need to create two Access Control Lists for my networks using SQUID proxy. The ip address range from 165.165.42.10 to 165.165.42.50 for one network and from 165.165.42.60 to 165.165.42.90 for another network. How can I make it?

View 2 Replies View Related

General :: Squid Access / Permission Denied Error From Squid Occur?

Dec 29, 2010

I am using squid to controlling access to the internet all is working fine expect one of the user who is using outside organization portal to connect internet. But whenever he tries to enter in the portal by typing (EXAMPLE)url. Permission denied error from squid occur.

How can i allow this portal in squid. So squid will allow this to access.

View 1 Replies View Related

Networking :: What Are Short Range Link And Long Range Links In Routing

Jun 23, 2009

get me understand the short range and the long range links from routing (and routing protocols') point of view.

View 6 Replies View Related

Software :: Gnuplot - Combining A Linear Range And Log-scale Range In The Same X-axis?

Apr 24, 2011

I want to plot a set of data in only one plot.The problem is that some points of the data should be better plotted in a linear scale (lets say 0 to 100,000) but there are other data points that, exceding the value 100,000, would be better plotted in a logarithmic scale, as they goes in the range 100,000 to 500,000,000. Let's say the data is:

Code:

X Y
0 100
10000 80
20000 75

[code]....

Is there a way to plot all these points in the same plot in only one X-axis showing two different ranges in that axis: linear: 0-100,000 logarithmic: 100,000 - 1,000,000,000?The axis would be read, for example, as:

Code:
|-----|-----|-----|-----|-----|-----|-----|-----|-----|
0 20k 40k 60k 80k 100k 1M 10M 100M 1G

(The abbreviations k-M-G are not the important point. Just shown for clarity)

View 2 Replies View Related

Programming :: Bash Script To Ping A Range Or Own IP-range?

Apr 11, 2011

I want to build a bash script, which can ping a range IP adresses which will be filled in by the admin. If there is no IP-adress filled in, then the script must ping the subnet where the system is logged on. So if my ip is 192.168.1.6, then the script must ping from 192.168.1.1 till 192.168.1.255 Or else, if there is given a beginning and ending ip it must ping that!

The first part of the bash script is to ping a given range (see below). But there is one problem, how can I tell the script to ping from $begin till $end, [..] is of course wrong! But what must be filled in there???

echo "Enter beginning IP-adres:"
read begin
echo "Enter ending IP-adres:"
read end
ping -c 1 $begin [..] $end

The second part is to find my own ip and ping the whole range.. How to do that? I only can find my own IP, but I cant ping the whole range,, how to do that?

#!/bin/bash
ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' |
cut -d: -f2 | awk '{ print $1 }'

View 11 Replies View Related

General :: Apply Patch To Gnome On Ubuntu?

Jun 20, 2010

My system has been crashing, and I think it may have something to do with Gnome since the crashes only occur when I'm using it. I checked the log file after a crash and it reported...

Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion `entry != NULL && entry->lock_count > 0' failed

so I went to the Ubuntu launchpad and searched for it, and here it is. Someone has already submitted a patch and the bug status has been changed to "fix released."From reading the comments, I've learned the fix is only in Gnome 2.30, and Ubuntu 10.04 uses 2.28 (I think, maybe 2.26) (If it is possible to update to a new version of Gnome, please let me know). Luckily, someone also submitted a patch on the bug report as a temporary fix. Unfortunately, I don't know how to apply the patch. I couldn't find much information regarding it online, and the only stuff I did find applied to using Gnome's git hub.

View 1 Replies View Related

General :: Colors - Apply ICC Profile To Whole Desktop?

Apr 15, 2011

I have a monitor with oversaturated red (HP LP2475w). I am able to apply ICC profile to various apps like GIMP and Firefox and Gnome. But I'd like to apply it to everything - because e.g. Flash animations in Firefox are rendered by Flash and don't use ICC. So, can I apply it to whole X?

View 2 Replies View Related

General :: File Permissions Apply To Symlinks?

Jun 27, 2011

Let's say you have this structure:

+ directory
-- file1
-- file2
-- file3 -> /tmp/file3

file3 is a link to another file3 somewhere else on the system.

Now let's say I chmod 777 the directory and all contents inside it. Does my file3 in /tmp receive those permissions? Also, let's say we have the same situation but reversed.

/tmp/file3 -> /directory/file3

If I apply the permissions on the file being linked to, how does that effect the link?

View 2 Replies View Related

General :: Ubuntu 10.04 - Apply A Patch To Kernel?

Aug 18, 2011

I am trying to compile the iscsi-target software SCST. It wants me to apply a patch to my Linux kernel in order to allow for certain performance gains. The problem is I still new to Linux development. Where do I begin? How do I apply the patch? Do I need to recompile the kernel? I am running Ubuntu 10.04.3 amd64

Kernel version 2.6.32-28-server

View 1 Replies View Related

General :: Apply A Command To All Pdf Files In A Directory?

Jul 29, 2011

i want to apply this command

Code:

pdftotext article.pdf - | grep DOI

to all the pdf's in a directory and save each line of output to a text file. i.e. i want to collect each line containing "DOI" from every pdf in a text file. I am unable to understand bash scripting enough to write a for loop for this.

View 1 Replies View Related

General :: Apply Umask Settings To An Account That Doesn't Log In?

Aug 4, 2011

On my Ubuntu 11.04x64 server, I have service accounts running which do not log in and do not have home directories. These service accounts are responsible for running processes which are invoked as services.When these services created new files, I need them to be created with the permissions 664 (UMASK 002).I edited the /etc/profile umask setting to reflect this. I see that now my user account creates files which reflect this new umask setting, but the service accounts do not when I manually created files using their accounts (sudo -u serviceaccount touch newfile).

View 1 Replies View Related

General :: Use A Global Variable To Apply A Condition Within A Script

Feb 28, 2011

I'm trying to use a global variable to apply a condition within a script.

The idea is to use this variable set to e.g. 1 or 2 to run a different part of the script accordingly. I can set the global variable with e.g.

Code:
export WL0=1

run my part of script, increment it by 1 with e.g.

Code:
WL0=$((WL0+1))

but if I re-run the script my WL0 is still set to 1!

I've also tried to add an

export $WL0 at the very end of my script (after the math) but this doesn't change the global variable apparently.

View 15 Replies View Related

General :: Udev Rules To Automatically Apply 666 Permission?

Apr 3, 2010

my linux box the device node for my printer is by default setup as the following: crw-rw---- 1 root lp 189, 1 Apr 3 07:45 /dev/bus/usb/001/002 This causes cups to not print at all. The Hp backend (HPLIP) fails because of these permissions. How do I change it so that it's crw-rw--rw 1 root lp 189, 1 Apr 3 07:45 /dev/bus/usb/001/002. Ie I would like 666 file permission on that node.

View 2 Replies View Related

General :: Ubuntu 10.04 - Unable To Apply Extra Graphics Effect

Jun 30, 2010

I'm having problem in Ubuntu 10.04 in applying extra graphics effect.I thing I have done some wrong setting in compiz setting manager and now I'm not able to set to default.Whenever now I'm trying to apply extra effects from appearance window it shows Desktop effects could not be enabled.

View 3 Replies View Related

General :: Patch Management - Acquire And Apply Patches On RHEL4.4?

Aug 17, 2010

I am running 6 servers on RHEL4.4 with oracle databases and application on HP ML370 hardware. Since initial installation, I have not applied any patch updates. I would like to start practising Patch Management and would like to know how to start and how to do it. For security reasons, I am not allowed to connect the servers to RHN or RHS hence will appreciate other options of acquiring patch updates in bundled form say on a monthly basis.

View 5 Replies View Related

Server :: Tools - Squid Accounts - To Create - Change - Modify Users Of Squid And To View Their Logs

May 23, 2010

My squid server works fine in fedora 11 system . Is there any web like interface for admins to create,change,modify users of squid and to view their logs.

View 1 Replies View Related

CentOS 5 Server :: Squid Proxy Configuration SQUID 2.6.STABLE21

Jan 17, 2011

I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.

View 1 Replies View Related

General :: Moniter Out Of Range Error / Fix This?

Jul 30, 2010

I just installed Debian lenny 5.0.5 and when i start it up the monitor just displays a 'out of range' error. im using a Radeon HD 5570 graphics card and a lG W2353V-PF monitor.

what do i have to do to fix this problem?

View 2 Replies View Related

General :: Monitor Resoluti8on - All Out Of Range

Mar 28, 2010

the electric went off and when it come back on my monitor picture was all out of range. I changed the resolution to bring the picture back in and now the words are almost unreadable.

View 1 Replies View Related

General :: Moving Files By Specifying Range

Apr 9, 2010

I'm trying to move files from one directory to another. I only want the files that start with a capital and within a certain range. Say all files that start with a capital between A-K. I've googled this and they all say to use: [A-M]*. But it moves all files A-M regardless if they are uppercase or lowercase.

View 7 Replies View Related

General :: Out Of Range 92.6khz/58hz

Jun 29, 2011

I have just installed UBUNTU 11.04 and found when booting that "out of range " statement came up, after a few moments it completes the boot, but as I have several distros it doesn't open the selection screen.

View 1 Replies View Related

General :: Specific Range Of Records?

Feb 24, 2010

I am having a log file where there is some discontinuous of dates are there but if i go for range of date to find the records, if is some date is missing the result is displaying full file list( Start date to end of file ) How could i restrict the result upto the mentioned date range.

Code:
$cat sample.log
Jan 03 -error yyyy-1234

[code]...

View 6 Replies View Related

General :: Find Any Domain Name That Resolves To IP Within A Given Net Range?

Feb 12, 2010

For example, given the range:172.128.0.0 - 172.191.255.255I need to find some domain that resolves to an IP-adress within the range. Is it possible ? I'm using a Linux system.

View 3 Replies View Related

General :: How To Get Bash Shell History Range

Oct 4, 2010

How can I get/filter history entries in a specific range?I have a large history file and frequently usehistory | grep somecommandNow, my memory is pretty bad and I also want to see what else I did around the time I entered the command.For now I do this:get match, say 4992 somecommand, then I do history | grep 49[0-9][0-9]this is usually good enough, but I would much rather do it more precisely, that is see commands from 4972 to 5012, that is 20 commands before and 20 after. I am wondering if there is an easier way? I suspect, a custom script is in order, but perhaps someone else has done something similar before.

View 2 Replies View Related

General :: Awk Script To Select Range From File?

Nov 25, 2009

I have a file generated in every event occurred. In this file i have a entries like bellow

<without blank line after Summary>

Summary: Adapter at hardware path 0/6/1/0 :Received an interrupt indicating that a
primitive was transmitted

and sometimes like bellow

<with blank line after Summary>

Summary: Adapter at hardware path 0/6/1/0 :Received an interrupt indicating that a primitive was transmitted What I need is to extract the Summary from the file. I have the following awk script. But it only works if there is no blank line after Summary.

cat server.event.txt|awk '/^Sum/,/^$/'

But I need up to second blank lines after Summary.

View 8 Replies View Related

General :: Copy Range Of Files In Directory?

Mar 29, 2010

I want to know how to copy a range of files from one directory to another.

For example say I list the contents of a directory, how would i copy files 5-15 to another directory?

View 3 Replies View Related

General :: Find Files In Date Range?

May 31, 2010

ls -l /tmp/empty_file*
-rw-r--r-- 1 root root 0 2010-05-30 08:00 /tmp/empty_file
-rw-r--r-- 1 root root 0 2010-05-30 12:00 /tmp/empty_file1

This looks good, the files expected to be seen are output: find /usr ( -newer /tmp/empty_file -a ! -newer /tmp/empty_file1 ) -print

But this shows me files that should not be output and likewise when I replace ls with tar it is tarring a whole bunch of stuff I do not want: find /usr ( -newer /tmp/empty_file -a ! -newer /tmp/empty_file1 ) -exec ls -l {} ;

In the end I would like to replace the "ls" with "tar cvvfp some.tar {} ;", but can't figure out what is going wrong here.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved