Here's a posting from Joel Knight <[EMAIL PROTECTED]> that may
help:

[snip]

I have multiple Win9x boxes that access the net through a linux gateway
using ip_masq and diald. I also noticed the unrequested dialing out on
the
linux server. To me it appeared that whenever someone logged onto the
network, diald would dial out. I finally found an article on some
webboard
that explain a solution for this. I don't have that article any more,
but
I do have the solution.

If you goto Start / Run and type 'winipcfg' on the windows boxen and
look
for the box that says "NetBIOS uses DNS" (or something to that affect)
it
will most likely have a check mark in it. The article I had said that
this causes windows to use DNS to do netbios name lookups. This seems
to coincide with the reports of others on the list who say that they
fixed the problem by setting up a name server for their local net (which
I did not do).

Now, copy the following lines to a file call dns-fix.reg:


REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP]
"EnableDNS"="0"


Import dns-fix.reg into the registry by double clicking the file. Now
run
winipcfg again. The check mark should be gone. Reboot and see if windows
will bring your ppp link up any more.

Like I said, this solution fixed the problem for me. What I did was put
a
line into my autoexec.bat file that imports this registry file so that
if
I make any changes to Control Panel / Network, I don't have to remember
to
manually import it.
Good luck! :-)

On Thu, Dec 03, 1998 at 04:08:10PM -0800, Bill Perpelitt wrote:
> Thomas,
>
> I had a similar problem with some Win95 machines that had the
> "client for Microsoft Networks" loaded.  Apparently, the MS client
> tries to do a DNS lookup every x minutes whether it's needed or
> not.  There's probably a way to filter this in the filter file, but I was
> never able to do it completely.  I finally removed the Netbios service
> from my /etc/services file, which seemed to help.  I swear the MS
> client caught on to what I had done and still managed to get diald to
> dial out, but without Netbios packets.  I finally removed the MS client
> from the offending machine, and voila, no more phantom dials.
>
> Obviously, not a complete solution, especially for those needing MS
> peer functions or running Samba.  But it worked for me.
>
> I'd be interested in hearing other solutions that allow the MS client
> to be active.

-- 
 Joel Knight                                  [EMAIL PROTECTED]

[snip]

Matthew J. Bennett wrote:
> 
> I have diald running quite well, but I'm having problems figuring out
> the filtering rules.
> 
> It runs great on my linux network, I have a linux machine set up as my
> local gateway, which dials into my ISP, hiding my network behind
> IP masquerading and a firewall.  The problems started when I tried to
> configure my windows machine to access a disk on another linux box
> using samba.  Whenever I click on "network neighborhood" the windows
> machine issues calls to the nameserver at the ISP (my regular nameserver),
> which diald intercepts and dials up the link for me.
> 
> I've tried to filter out this behavior, and it seems to be possible, because
> a tcpdump shows that the origin of the nameserver request is the netbios-ns
> port, but the "ignore udp.source=udp.netbios-ns" filter is never
> run into, what triggers the link is the line "accept udp 30 udp.dest=udp.domain"
> (which happens to be after the ignore, but I've tried it before also).
> 
> Is it possible to filter out these requests without filtering out DNS
> requests entirely?
> 
> Has anyone developed a workaround for this situation? (maybe a caching
> nameserver on my gateway?  But I haven't figured that one out yet. Or is
> it possible to implement a hosts file on a win95 box?)
> 
> -----------------------------
> Matt Bennett                |
> [EMAIL PROTECTED]              |
> http://www.hazmat.com/~mjb/ |
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to