Host File Question

Host File Question

am 02.03.2007 02:47:12 von Bgreer5050

Is there a way to use wild cards with the host file? I want to use the host
file to prevent internet access by having the user automatically directed to
a specific internal ip address no matter what url he puts in.

Thanks

Re: Host File Question

am 02.03.2007 02:59:44 von roberson

In article ,
Bgreer5050 wrote:
>Is there a way to use wild cards with the host file? I want to use the host
>file to prevent internet access by having the user automatically directed to
>a specific internal ip address no matter what url he puts in.

If you are talking about the Windows LMHOSTS or unix /etc/hosts
then the answer is NO.

But in this newsgroup, you could be talking about any of 193
incredibly obscure host files, so the best we can answer is,
"Could you be more specific about the equipment and software
version?"

Re: Host File Question

am 11.03.2007 00:55:21 von bullseye

On Mar 1, 6:47 pm, "Bgreer5050" wrote:
> Is there a way to use wild cards with the host file? I want to use the host
> file to prevent internet access by having the user automatically directed to
> a specific internal ip address no matter what url he puts in.
>
> Thanks

No, you cannot add wildcards to the Hosts File, as it blocks sites by
specific domain. However, you CAN use wildcards with a PAC file,
which can be used in cooperation with your Hosts file. For example,
on my system, I use the MVPS Hosts File and the BlockAdverts (merged
with MVPS). I then use eDexter which has a PAC file that can be
edited and wildcards added. If you look at the PAC file in Notepad,
it looks almost identical to the Adblock file (used with Firefox). It
is really effective and blocks almost all of the gargabe out there.
You can read about the eDexter program and download the program (very
small) at: http://www.pyrenean.com/edexter.php
I have used this combination for a long time and is a good way to have
all your bases covered.

Re: Host File Question

am 11.03.2007 01:25:50 von unknown

Post removed (X-No-Archive: yes)

Re: Host File Question

am 02.04.2007 07:23:24 von bullseye

Sebastian Gottschalk wrote:

> Bullseye wrote:
>
> > On Mar 1, 6:47 pm, "Bgreer5050" wrote:
> >> Is there a way to use wild cards with the host file? I want to
> use the host >> file to prevent internet access by having the user
> automatically directed to >> a specific internal ip address no matter
> what url he puts in.
> > >
> >> Thanks
> >
> > No, you cannot add wildcards to the Hosts File, as it blocks sites
> > by specific domain. However, you CAN use wildcards with a PAC file,
> > which can be used in cooperation with your Hosts file. For example,
> > on my system, I use the MVPS Hosts File and the BlockAdverts (merged
> > with MVPS). I then use eDexter which has a PAC file that can be
> > edited and wildcards added. If you look at the PAC file in Notepad,
> > it looks almost identical to the Adblock file (used with Firefox).
> > It is really effective and blocks almost all of the gargabe out
> > there. You can read about the eDexter program and download the
> > program (very small) at: http://www.pyrenean.com/edexter.php
> > I have used this combination for a long time and is a good way to
> > have all your bases covered.

Sebastian Gotmilk said:

> Or you could simple filter at the DNS or your relevant Application
> Layer protocol.
>
> What an idiot would even consider using the HOSTS file for such a
> purpose?

You apparently were a neglected child and have an enormous inferiority
complex, thus feeling you have to make yourself feel worthy by putting
down any and every idea that is not your own. My advice, go to your
corner and suck your thumb. Does that make you feel like a big man when
you call people names and degrade any idea that doesn't agree with
yours? As for the hosts file idea, if I am an idiot, so be it, as it
works like a charm. I have not had one bit of malware on my system
since I've been using that method. But, according to you (in theory),
that shouldn't happen. Also, if I am an idiot, at least I'm an idiot
honestly trying to help people solve their problems rather than trying
to prove how 'smart' I am in a sorry attempt to cover my own
shortcomings and complete lack of social skills. Wow - maybe some day
I can grow up and I, too, can be a complete a-hole all wrapped up in
myself with a complete disregard for others. One can only hope.

--


--
Posted via a free Usenet account from http://www.teranews.com

Re: Host File Question

am 13.04.2007 02:43:31 von Terry

On 02 Apr 2007 05:23:24 GMT, "Bullseye" wrote:

>Sebastian Gottschalk wrote:
>
>> Bullseye wrote:
>>
>> > On Mar 1, 6:47 pm, "Bgreer5050" wrote:
>> >> Is there a way to use wild cards with the host file? I want to
>> use the host >> file to prevent internet access by having the user
>> automatically directed to >> a specific internal ip address no matter
>> what url he puts in.
>> > >
>> >> Thanks
>> >
>> > No, you cannot add wildcards to the Hosts File, as it blocks sites
>> > by specific domain. However, you CAN use wildcards with a PAC file,
>> > which can be used in cooperation with your Hosts file. For example,
>> > on my system, I use the MVPS Hosts File and the BlockAdverts (merged
>> > with MVPS). I then use eDexter which has a PAC file that can be
>> > edited and wildcards added. If you look at the PAC file in Notepad,
>> > it looks almost identical to the Adblock file (used with Firefox).
>> > It is really effective and blocks almost all of the gargabe out
>> > there. You can read about the eDexter program and download the
>> > program (very small) at: http://www.pyrenean.com/edexter.php
>> > I have used this combination for a long time and is a good way to
>> > have all your bases covered.
>
>Sebastian Gotmilk said:
>
>> Or you could simple filter at the DNS or your relevant Application
>> Layer protocol.
>>
>> What an idiot would even consider using the HOSTS file for such a
>> purpose?
>
>You apparently were a neglected child and have an enormous inferiority
>complex, thus feeling you have to make yourself feel worthy by putting
>down any and every idea that is not your own. My advice, go to your
>corner and suck your thumb. Does that make you feel like a big man when
>you call people names and degrade any idea that doesn't agree with
>yours? As for the hosts file idea, if I am an idiot, so be it, as it
>works like a charm. I have not had one bit of malware on my system
>since I've been using that method. But, according to you (in theory),
>that shouldn't happen. Also, if I am an idiot, at least I'm an idiot
>honestly trying to help people solve their problems rather than trying
>to prove how 'smart' I am in a sorry attempt to cover my own
>shortcomings and complete lack of social skills. Wow - maybe some day
>I can grow up and I, too, can be a complete a-hole all wrapped up in
>myself with a complete disregard for others. One can only hope.
>

I would rather pay for information rather than being made a schmuck by
Sebastian.

I guess we just have to killfile him (or her)
>--