Dear all,
Is there any possibilty of providing some set of url access to
some set of machines using acl's.I tried creating a file for allowed
machines and allowed sites and gave http_access allow allowedmachines
allowedsites but it's not working and i can access all the sites which are
not in allowedsites list.
i made entries in squid.conf
acl allowed-machines src path to the machine ip's file
acl allowed-sites url_regex
http_access allow allowed-machines allowed-sites.
thanks in advance
--
K.Vasudeva
National Centre For Biological Sciences
Tata Institute of Fundamental Research
UAS_GKVK Campus
Bellary Road
Bangalore - 560 065
Phone: 080-3636421-31 Extn 3010
Fax : 080-3636662
Email:vasu@ncbs.res.in
vasu_k(a)vsnl.net
Kunal Gangakhedkar wrote:
> In this case, what you need to do is advance the arg pointer.
> Something like
>
> for( i =0 ; i < 4; i++)
> {
> if((*(arg + i) = (char *)malloc(n * sizeof(char))) == NULL)
LHS should be *(arg + i * sizeof(char *))
As pointers(arg is pointer to pointer) are NOT 1 byte long.
Size depends on system. Generally 4 byte.
Amish.
may i know luggerz
where r the ymessenger images stored in linux
dont tell me MesSeNger/images... i couldn't find where
is that
=====
upendra gandhi CIW ASSOCIATE (Server Admin.Internetworking Professional, Security Professional)
http://home.graffiti.net/upengan78 upengan78(a)hotmail.com pengan78(a)linuxfreemail.com
upengan78(a)epatra.com upengan78(a)graffiti.net upengan1978(a)netscape.net
upengan78(a)hotpop.com
"THE LIVING GOD IS WITHIN YOU" Dearest 'swami vivekananda'
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
I have very little experience about linux networking.
I want to connect two commuters. One is configuerd as domain controller with
windows 2000
Active directory with domain name milky way IP add 198.165.10.2 same DNS
address and second is with mandrake 8.1.
Tell me how I will conect two PCs
Tell with the simple langauge with proper instructions with staiate method
OR
Tell me how I will configur linux as a samba server with peer-to peer madel
in the simple sets of instructions.
Halo,
I am having RH7.2 installed on machine. On this machine samba is also configured for windows connectivity. >From this machine i need to access folders on unix machine. For this i added two lines in /etc/rc.d/rc.local
umount /n_exp_ob
umount /n_imp_ob
smbmount //raman/exp_ob /n_exp_ob
smbmount //raman/imp_ob /n_imp_ob
Here raman is unix machine name. n_exp_ob & n_imp_ob are linux machine folders where unix machine folders mounted.
exp_ob and imp_ob are unix machine folders.
Folders are getting mounted correctly, but after some time I am getting following messages on screen continuously and machine stop working.
smb_proc_readdir_long: name=\*, result=-2, rcls=1, err=2
Anybody know solution for this.
Regards
Unmesh
Further to my previous note on Microsoft's DotNet running on linux,
This is an article which appeared in PCQuest website. It gives details of
how to run
C# and .Net on Linux.
http://www.pcquest.com/content/linux/handson/102082102.asp
Regards
Saswata
----- Original Message -----
From: "Saswata Banerjee & Associates" <scrap(a)saswatabanerjee.com>
To: <linuxers(a)mm.ilug-bom.org.in>
Sent: Tuesday, September 24, 2002 8:24 AM
Subject: Re: [ILUG-BOM] Microsoft vs. Government of Peru
> I was at microsoft tech ed yesterday
>
> I saw the microsoft response to the problem.
> They have already come out with a version of Microsoft DotNet which is
> desinged to work on FreeDBS (as a first step) and later on other linux /
> unix OS. They are giving the codes free, with a license that allows use
for
> non-commercial applications. This will allow software developed for
> Microsoft DotNet platform (win xp, etc) to "RUN FROM" linux based servers.
> It already mostly supports access from non-microsoft OS.
>
> The thing is called ROTOT and is in beta, so I expect they will add more
> features to it later. I think this way they are going to tell govts. like
> peru that they are also in open source, they are not proprietory (they
spent
> an hour drilling THAT into our heads) and give a larger user platform to
vb
> developers.
>
> Apparently, there are already 2 open source (non-microsoft) initiatives
that
> have ported dotnet framework to linux in Europe. The MS guys were trouting
> these as evidence of their "potentially cross-platform capabilities"
>
> Regards
> Saswata
>
> ----- Original Message -----
> From: "Ram Baji Rao" <ramrao(a)bajirao.com>
> To: <linuxers(a)mm.ilug-bom.org.in>
> Sent: Wednesday, September 11, 2002 10:46 AM
> Subject: [ILUG-BOM] Microsoft vs. Government of Peru
>
>
> > Edgar Villanueva, a legislator from Peru, has put a proposal for Peru
> > government agencies to standardize on Free Software for their own
> > internal use.
> >
> > This proposal worries Microsoft!
> >
> > Some government bodies around the world, e.g. in California and Peru,
> > have adopted an aggressive attitude towards restricting the use of
> > proprietary(read Microsoft) software and favouring open source.
> >
> > Open source appeals to government bodies because of its high
> > functionality, very low cost and easy compliance with licensing laws.
> >
> > Of course, Microsoft will try to persuade governments to avoid open
> > source software. They realize that , when governments choose Microsoft
> > as their foundation they are likely to select the whole suite of
> > products to go with it rather than fight incompatibilities.
> >
> > In July 2002 the UK Government also announced a new policy on the use of
> > open source software which favors a pragmatic approach.
> >
> > Back to the Peru case: Villanueva's point is that: Everybody has to deal
> > with the government. If a government uses Microsoft software, its
> > citizens will probably have to use the same software to communicate with
> > it. A government web site that only supports Microsoft Internet Explorer
> > would lock citizens into that Microsoft product. In contrast, government
> > sites using open standards and avoiding patented software would allow
> > citizens to choose between many different kinds of software to access
> > the site.
> >
> > Free Software, also called Open Source, is itself a kind of open
> > standard - its source code is its own reference. Developers of
> > proprietary software can use that reference to create interoperating
> > programs, without infringing on the actual Open Source code. Thus, when
> > a government uses Open Source, it assures its citizens a choice to
> > purchase both proprietary and Open Source software for communicating
> > with their government. The people's choice will be based on factors like
> > functionality, quality, and convenience, rather than on customer
> > lock-in.
> >
> > Read more about this interesting happening at
> > www.theregister.co.uk/content/4/26616.html
> >
> > Also see:
> > www.SincereChoice.com
> >
> > Ram
> >
> >
> > _______________________________________________
> > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
> >
> >
>
Hi!
I'm planning to install Dos for using MASM (for real mode assembly)
but i don't hav ny Dos partitions.
I only hav /boot swap nd / like this :
============================================================
Disk /dev/hdc: 255 heads, 63 sectors, 526 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 6 48163+ 83 Linux -> /boot
/dev/hdc2 7 526 4176900 5 Extended
/dev/hdc5 7 15 72261 82 Linux swap
/dev/hdc6 16 526 4104576 83 Linux -> /
==============================================================
i wud like to resize / to make room for Dos.
is this possible?
theres a tool called resize2fs , but havent used it
i guess u gotta b really careful with tools like this ...
Can ny1 guide pls?
--
Nikhil
----- Forwarded message from Atit Narhariprasad Pathak <pathakatit(a)rediffmail.com> -----
Date: 28 Sep 2002 10:54:17 -0000
From: Atit Narhariprasad Pathak <pathakatit(a)rediffmail.com>
Reply-To: Atit Narhariprasad Pathak <pathakatit(a)rediffmail.com>
Subject: Gudance required
To: tahir(a)ncst.ernet.in
[snip]
My name is Atit Pathak, I B.Sc. graduate.I am working in
management institute as Lab. Asst. of Computer Center. I have
knowledge of Installation of software, Maintaining LAN Netwok, NT
Admin.I learn everything here without doing any courses.
Now i want to learn Linux and get a good job on same. Please guide
me for what should i do? As now i am learning linux by book.
Pls. give reply and guide me.
Thanking you,
Atit Pathak
----- End forwarded message -----
This person is not on the mailing list. Those who reply, please cc to
the poster also.
Thanks
--
Tahir Hashmi (VSE, NCST)
http://staff.ncst.ernet.in/tahir
tahir AT ncst DOT ernet DOT in
We, the rest of humanity, wish GNU luck and Godspeed
In perl, we have japhs. Here are two examples:
@a=split(q,,,qq,hgNbueCe nxe\nWf agr ryUpr\,,);for($i=015;;){if($i>=@a
){last};$_=$a[$i++].$a[$i-0xe];y;[A-Ma-mN-Zn-z];[N-Zn-zA-Ma-m];;print}
@q=split(q??,qq?,JAPH \nacehklnorstubsqrfcnorkjpfdjpmfehi\
ljpag?);$i=0x13;while($i<=@q){print$q[ord($q[$i++])-0141]}
Equivalent to:
print"JustAnotherPerlHacker,\n";
Now Philip will tell me the ',' should not be there.
This one's from ASR, I forget whose sig it was in:
$q=q($@@@#$$@#$$$#@%$@#@$#@@@#@#$$$$#$#$@$%$@@$#$#$@$#$@$$%$$$$#$@#@$@$#@$@#$#
$@$);@c=split//,'0etianmsurwdkgohvf0l0Pjbxcyzq';$f=1;$s=0;for$c(split//,$q){if
($c ne'$'&&$c ne"@"){print $f?uc($c[$s]):$c[$s]if$c[$s];$s=$f=0;}else{$s*=2;$s
++;$s++if$c eq'@';}print" "if$c eq'%';}print "$c[$s],\n";#probably too general
and Dave Brown posted this one in the same froup:
print "xx/yy? ";$_=<>;m,([0-9]+)\s*/\s*([0-9]+),;$j=$1;$b=$2;
$d=eval;$f=$d-int $d;$t=$f*$b;print int $d,$t&&" $t/$b","\n";
It's supposed to be some kind of math tutor. Now that I read it
carefully, I think I see what he's doing. He said:
=item
Someone commented that even though Perl actually compiled and ran
that, I had obviously just fallen asleep on the keyboard and
that's what came out.
=cut
--
Satya. <URL:http://satya.virtualave.net/>
A transistor protected by a fast-acting fuse will protect the fuse by
blowing first.
Allocate memory for arg[] before gets().
Use malloc().
Mandar
On Thu, 26 Sep 2002 Nikhil Joshi wrote :
>Hi!
>
>I've tried this simple prog to encrypt a file using XOR
>
>But it gives "Segmentation Fault " in 'interactive' mode (pls see
>the
>source code)
>
>it runs perfectly well in DOS (using Turbo C++ 3.0)
>
>Can ny1 help pls ?
>
>--
>Nikhil Joshi
>