problems download specific file types
From: Cory C. Albrecht (coryalbrecht_at_hotmail.com)
Date: 08/01/04
- Previous message: Nicole: "Re: The ideal way to install packages ?"
- Next in thread: erik van westen: "Re: problems download specific file types"
- Reply: erik van westen: "Re: problems download specific file types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 01 Aug 2004 08:05:24 GMT
Hello all,
Does anybody know if there are nay settings (network, pppd, how I built
my kernel, etc...) that would cause problems with open BSD downloading
Windows *.exe files?
I have my OpenBSD machine which uses pppd to connect to my dial-up ISP
set up as a firewall using PF with NAT to allow a Windows XP machine to
connect to the Internet. With either machine I can surf the web and FTP
files no problemo as long as they are _not_ Windows *.exe files. If they
are, regardless of whether I am using
IE/Netscape/Mozilla/Firefox/wget/ncftp on the winXP machine or
Mozilla/wget/ncftp/lynx on the OpenBSD machines, I can only get a few
10s of kB of an *.exe file and then nothing. The TCP connection never
times out, just stays there for ever until my ISP drops the connection
(six hours was the longest time).
This isn't just an issue with one website or with one FTP server - it
happens with any one I try. I've even tried logging on to a remote
account, downloading the *.exe to there, and then trying to get it from
there to here. No joy - still only a few 10s of kB and then nothing. If
I gzip the *.exe file on the remote host
I can see how fouling up /etc/pf.conf or routing between my WinXP and
OpenBSD machines would prevent the WinXP machine from downloading files,
but you would expect that to affect _every_ type of file, not just *.exe
files. And nor would that explain the OpenBSD machine having the exact
same problem.
Even if I disable pf and flush all rules, the problem still continues on
the OpenBSD machine. I have turned settings for pppd on and off and back
and forth so many times I'm dizzy, increased the allowed idle time,
removed all active filters, nothing seems to make any difference at all.
If I take the modem out of the OpenBSD machine and place it in the WinXP
machine set it up to gatewat for the OpenBSD machine there is no problem
whatsoever downloading anything.
Does anybody have even the slightest idea what might be causing this
problem? What woudl prevent OpenBSD from downloading *.exe files but
allow everything else?
Thanks in advance.
Files:
/etc/pf.conf
ext_if="ppp0"
int_if="fxp0"
nat pass on $ext_if from fxp0:network to any -> ($ext_if)
pass in all
pass out all
block in log on $ext_if proto { tcp, udp } from any port { 135, 137,
138, 139, 445 }
block in log on $ext_if proto { tcp, udp } to any port { 135, 137, 138,
139, 445 }
block out log on $ext_if proto { tcp, udp } from any port { 135, 137,
138, 139, 445 }
block out log on $ext_if proto { tcp, udp } to any port { 135, 137, 138,
139, 445 }
/etc/ppp/options
/dev/cua02 57600 crtscts
defaultroute
netmask 255.255.255.0
192.168.1.2:192.168.1.3
ipcp-accept-local
ipcp-accept-remote
demand
idle 300
#active-filter "not (port 135 and 137 and 138 and 139 and 445)"
noauth
/etc/ppp/peers/nonline (for "pppd call nonline")
/dev/cua02 57600 crtscts
defaultroute
netmask 255.255.255.0
192.168.1.2:192.168.1.3
ipcp-accept-local
ipcp-accept-remote
demand
idle 300
#active-filter "not (port 135 and 137 and 138 and 139 and 445)"
name bytor
remotename nonline
noauth
connect "/usr/sbin/chat -v -f /etc/ppp/peers/nonline.chat"
/etc/ppp/peers/nonline.chat
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "ATE1L3M1W1X4V1"
"OK" "ATDT489-2298"
ogin:--ogin: <myuserid>
word: <mypasswd>
If any other info/files might help somebody figure this out for me, let
me know and I will post it.
Thanks in advance.
- Previous message: Nicole: "Re: The ideal way to install packages ?"
- Next in thread: erik van westen: "Re: problems download specific file types"
- Reply: erik van westen: "Re: problems download specific file types"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|