Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ncftp with proxy?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Mon Nov 17, 2003 11:16 pm    Post subject: ncftp with proxy? Reply with quote

hi,
my problem:
i am behind a proxy server and i don't have a public ip address. the only way to get out is either via ssh (i have an outside box wich allows almost everything) or via proxy (http://proxy.informatik.xxxxx.de)

how do i setup ncftp to work with this proxy? i could of course open a ssh-tunnel for each specific ftp-connection, but this is unefficient. how do i configure my ~/.ncftp/firewall file that it simply uses the proxy server?

greez,

pi-cubiq
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Tue Nov 18, 2003 10:42 am    Post subject: Reply with quote

Isn't the information in ~/.ncftp/firewall enough? It's more like a man page than a config file! Maybe you haven't had a look there yet, try looking there and editing the file.

Also, you mention the proxy is http://whatever. NcFTP's firewall file makes it clear that it doesn't support HTTP -> FTP proxies. I think if your proxy is http based then you might not be able to use ncftp. Do you know the proxy program that's being used?
Back to top
View user's profile Send private message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Tue Nov 18, 2003 11:05 am    Post subject: Reply with quote

the proxy should be squid.
i also tried to use our socks proxy (it's a socks5 w/o username and pw), but i couldn't manage it either. i was able to view the directory structure with konqueror displayed as html page: no modification possible!
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Tue Nov 18, 2003 11:09 am    Post subject: Reply with quote

If the proxy is squid then you can't use ncftp with it (as ~/.ncftp/firewall makes clear). Also, since there's no metion of socks either there or on www.ncftp.com, I'd assume it doesn't support socks.

You might need to use a socks wrapper, emerge -s socks points towards tsocks.
Back to top
View user's profile Send private message
mog
Apprentice
Apprentice


Joined: 05 Jul 2003
Posts: 253
Location: Auckland [NZ]

PostPosted: Tue Jan 13, 2004 2:15 am    Post subject: Reply with quote

how can I load tsocks at startup so that it socksifies the entire system without having to change to bourne shell? I successfully can tsocksify some app but not the entire system which is very anoying.
_________________
To thine own self be true.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum