GNU bug report logs - #13833
24.2.93; Proper SOCKS support

Previous Next

Package: emacs;

Reported by: Christopher Schmidt <christopher <at> ch.ristopher.com>

Date: Wed, 27 Feb 2013 11:09:01 UTC

Severity: wishlist

Found in version 24.2.93

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13833 in the body.
You can then email your comments to 13833 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13833; Package emacs. (Wed, 27 Feb 2013 11:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Schmidt <christopher <at> ch.ristopher.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 27 Feb 2013 11:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.93; Proper SOCKS support
Date: Wed, 27 Feb 2013 11:06:10 +0000 (GMT)
severity: wishlist

It would be great if all network primitives (open-network-stream and
friends) supported SOCKS.

        Christopher




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13833; Package emacs. (Sat, 03 Aug 2013 09:51:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13833: 24.2.93; Proper SOCKS support
Date: Sat,  3 Aug 2013 10:50:01 +0100 (BST)
Christopher Schmidt <christopher <at> ch.ristopher.com> writes:
> It would be great if all network primitives (open-network-stream and
> friends) supported SOCKS.

There is lisp/net/socks.el.  Unfortunately the implementation overwrites
open-network-stream using defalias.  That is terrible.  Maybe
add-function could be used here?

There is a dependency on nslookup (socks-nslookup-host).  I would prefer
to have SOCKS support without relying on a stand-alone third-party
application.

        Christopher





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13833; Package emacs. (Sat, 03 Aug 2013 16:37:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13833: 24.2.93; Proper SOCKS support
Date: Sat, 03 Aug 2013 12:35:56 -0400
>> It would be great if all network primitives (open-network-stream and
>> friends) supported SOCKS.
> There is lisp/net/socks.el.  Unfortunately the implementation overwrites
> open-network-stream using defalias.  That is terrible.

Yes, that's a bug.

> Maybe add-function could be used here?

You mean add-advice?  Yes, that would be better at least.


        Stefan




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Sat, 15 Mar 2025 12:06:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Schmidt <christopher <at> ch.ristopher.com>:
bug acknowledged by developer. (Sat, 15 Mar 2025 12:06:02 GMT) Full text and rfc822 format available.

Message #16 received at 13833-close <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13833-close <at> debbugs.gnu.org
Subject: Re: bug#13833: 24.2.93; Proper SOCKS support
Date: Sat, 15 Mar 2025 05:05:19 -0700
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> It would be great if all network primitives (open-network-stream and
>>> friends) supported SOCKS.
>> There is lisp/net/socks.el.  Unfortunately the implementation overwrites
>> open-network-stream using defalias.  That is terrible.
>
> Yes, that's a bug.
>
>> Maybe add-function could be used here?
>
> You mean add-advice?  Yes, that would be better at least.

Nothing has happened here within 11 years.  This bug is basically a
request to generally improve SOCKS support, which would absolutely be a
good thing.  However, it will be hard to make any progress on that
without a patch.  Meanwhile, some things have changed, and others have
improved.

I'm therefore closing this bug report now, until such a time that anyone
takes on the job of taking a look at improving our SOCKS support.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13833; Package emacs. (Mon, 17 Mar 2025 20:01:02 GMT) Full text and rfc822 format available.

Message #19 received at 13833 <at> debbugs.gnu.org (full text, mbox):

From: "J.P." <jp <at> neverwas.me>
To: 13833 <at> debbugs.gnu.org
Cc: christopher <at> ch.ristopher.com, stefankangas <at> gmail.com
Subject: Re: bug#13833: 24.2.93; Proper SOCKS support
Date: Mon, 17 Mar 2025 13:00:50 -0700
Stefan Kangas <stefankangas <at> gmail.com> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
>>>> It would be great if all network primitives (open-network-stream and
>>>> friends) supported SOCKS.
>>> There is lisp/net/socks.el.  Unfortunately the implementation overwrites
>>> open-network-stream using defalias.  That is terrible.
>>
>> Yes, that's a bug.
>>
>>> Maybe add-function could be used here?
>>
>> You mean add-advice?  Yes, that would be better at least.
>
> Nothing has happened here within 11 years.  This bug is basically a
> request to generally improve SOCKS support, which would absolutely be a
> good thing.  However, it will be hard to make any progress on that
> without a patch.  Meanwhile, some things have changed, and others have
> improved.
>
> I'm therefore closing this bug report now, until such a time that anyone
> takes on the job of taking a look at improving our SOCKS support.

Just leaving a breadcrumb for future people: Bug#53941 has a PoC patch
that demos a way to accomplish _some_ of this based on the option
`url-proxy-services'. IIRC, fundamental issues regarding a proxy's
propagation from a "proxified" app to new connections (from clicked-on
links, etc.) remains unaddressed. Pursuing this may mean devising a
clever way for sequestering user options to arbitrary boundaries that
don't quite align with connection-local scopes.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 Apr 2025 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.