Host File Question

Host File Question

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Host File Question Bgreer5050 03-01-2007
Posted by Bgreer5050 on March 1, 2007, 8:47 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
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






Posted by Walter Roberson on March 1, 2007, 8:59 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
>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?"

Posted by Bullseye on March 10, 2007, 6:55 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> 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.


Posted by Sebastian Gottschalk on March 10, 2007, 7:25 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Bullseye 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.

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?

Posted by Bullseye on April 2, 2007, 1:23 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Sebastian Gottschalk wrote:

> Bullseye 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


Similar ThreadsPosted
Limewire file question January 9, 2006, 2:05 pm
Is there such thing as a multi-host security certificate? July 25, 2007, 6:50 pm
Generic Host Process for Win32 Services, Port 32729 September 26, 2005, 12:41 pm
'Hijack This' log file May 7, 2004, 12:12 pm
Does MD5 include the file name? September 12, 2006, 5:54 pm
Obscure file - siae3123.exe May 22, 2004, 1:27 pm
snort file logging name December 18, 2004, 5:31 am
the favourities file of Firefox December 21, 2004, 4:39 pm
tcpdump file recovery August 30, 2005, 9:11 am
Tracing a copied file... October 16, 2005, 6:22 am

The site map in XML format XML site map

Contact Us | Privacy Policy