Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 12-22-2021, 01:18 PM   #1
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 114

Rep: Reputation: 1
export socks5 proxy for pkg_add and syspatch ?

I have en openbsd 6.7 box, behind an socks5 proxy.

Im having some issues exporting env varible, so I can pkg_add and syspatch?

export http_proxy=socks5://user:pass@

pkg_add vim ftp: Malformed proxy URL: socks5://user:pass@ ftp: Malformed proxy URL: socks5://user:pass@ empty
Can't find vim
The issue is the same with socks5h..

Is this not possible beghind an socks5 proxy, but only using an "normal" http(s) proxy?

Last edited by LBM; 12-22-2021 at 01:21 PM.
Old 12-22-2021, 06:59 PM   #2
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 271

Rep: Reputation: 140Reputation: 140
Originally Posted by LBM View Post
I have en openbsd 6.7 box...
Support for 6.7 ended with the release of 6.9 on May 1, 2021. The most recent release is 7.0.
... behind an socks5 proxy.
pkg_add uses ftp(1) by default, which does not support SOCKS proxies. An alternate to ftp(1) can be provisioned -- see the FETCH_CMD environment variable in the pkg_add(1) man page.

Last edited by jggimi; 12-22-2021 at 07:01 PM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] OpenBSD 6.5 Syspatch 001 released hitest *BSD 9 07-24-2019 01:12 PM
socks5 proxy with bash? Dr_Death_UAE Linux - General 1 09-20-2009 11:00 AM
Programm that works simultaneously as a socks5 and http proxy axelfc Linux - Software 0 01-25-2006 01:26 PM
I want to download ftp-site files via wget and socks5 proxy server. jiawj Red Hat 2 10-28-2004 04:32 PM
"socks5" -> "http" proxy protocol, or ssh tunnel to sock5 ? I'm beyond http p vmicho Linux - Networking 2 12-16-2003 06:32 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration