On Thursday, Feb 20, 2003, at 02:01 US/Eastern, Martin Costabel wrote:
Bill Bumgarner wrote:
[]
I would think that answering 'n' -- disabling passive -- would work much better with firewalls. It is certainly a requirement for NAT translating routers (airport base stations and cable/dsl routers, included).
This is the world upside down. You are the first person I heard of saying that -P works for them and passive mode doesn't.

Note that I cannot verify this myself. Although I am behind a NAT translating router at home and behind a firewall that blocks most ports at work, I can use either setting, and both of them are working.
Right. Your words make perfect sense, the situation does not.

Except that the flag passed to curl is '-P -' which is documented as "to make it pick the machine's default".

Now -- I know that I have to turn on PASV in System Preferences to make Finder/Omni/Navigator actually download an ftp URL successfully. And that makes perfect sense.

Now, I present 'curl with verbosity acts I and II'. The first is without '-P -' and the second is with. First fails. Second doesn't. I'm behind a standard LinkSys Cable/DSL router. Same behavior when on other side of NAT'ing airport base station.

[bumbox:/tmp] bbum% curl -v -f -L -s -S -O ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.bz2
* About to connect() to www-126.ibm.com:21
* Connected to www-126.southbury.usf.ibm.com (129.33.28.113) port 21
> USER anonymous
> PASS [EMAIL PROTECTED]
* We have successfully logged in
> PWD
* Entry path is '/'
> CWD pub/jikes/1.18
> EPSV
* About to connect() to www-126.ibm.com:1058
* socket error: 60
* Connected the data stream with PASV!
curl: (7) socket error: 60
* Closing connection #0
[bumbox:/tmp] bbum% curl -P - -v -f -L -s -S -O ftp://www-126.ibm.com/pub/jikes/1.18/jikes-1.18.tar.bz2
* About to connect() to www-126.ibm.com:21
* Connected to www-126.southbury.usf.ibm.com (129.33.28.113) port 21
> USER anonymous
> PASS [EMAIL PROTECTED]
* We have successfully logged in
> PWD
* Entry path is '/'
> CWD pub/jikes/1.18
> EPRT |1|192.168.1.101|63691|
* Server does not grok EPRT
> LPRT 4,4,192,168,1,101,2,248,203
> PORT 192,168,1,101,248,203
* Ordered connect of the data stream with PORT!
> TYPE I
> SIZE jikes-1.18.tar.bz2
> RETR jikes-1.18.tar.bz2
* Connection accepted from server
* Getting file with size: 536498
* Connection #0 left intact
* Closing connection #0



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Reply via email to