#117318 ssh: Enabling IPv6 in sshd breaks IPv4 tunnels

Package:
openssh-server
Source:
openssh
Description:
secure shell (SSH) server, for secure access from remote machines
Submitter:
Jordi Mallach
Date:
2024-01-03 07:09:03 UTC
Severity:
normal
#117318#5
Date:
2001-10-27 19:12:18 UTC
From:
To:
Hello,

I enabled IPv6 in my server, and modified the init.d script to start with
"-6".

Now, trying to get my mail through an ssh tunnel to the server's port 110
doesn't work:

33162:jordi@nubol:~$ fetchmail -v
fetchmail: 5.9.3 querying localhost (protocol POP3) at Sat 27 Oct 2001 08:57:53 PM CEST: poll started
channel_open_failure: 2: reason 1 bla bla
fetchmail: socket error while fetching from localhost
The preconnect command is:
	preconnect "ssh -C -f jordi@fanelli -L 11110:fanelli:110 sleep 60"

Removing "-6" from the startup script makes the tunnel work again.

Thanks,
Jordi

#117318#10
Date:
2002-06-25 11:20:24 UTC
From:
To:
There are two ways to make ssh work with IPv4 and IPv6 at the same time:
Either change /etc/init.d/ssh to give the -6 option to sshd, or
recompile ssh without the --with-ipv4-default configure option (apt-get
source ssh; edit the ./configure line in debian/rules; dpkg-buildpackage
-b). In any case, a ListenAddress statement in sshd_config is not
needed.

A disadvantage of the first solution is that sshd won't support IPv4 any
more. Normally, on connection attempts IPv4 addresses are mapped to IPv6
(by the kernel, I think), so IPv4 connections still work. But when IPv4
addresses have to be explicitely handled by sshd (e.g. to open a tunnel,
cf. bug #117318), this will fail. Everything works, though, when all
addresses are given as IPv6, which unfortunately can not be done
numerically in tunnel specifications because of the colons; you need to
have a DNS record or an /etc/hosts entry on the remote machine for the
IPv6 address.

It would be very nice for the future if either
 - the --with-ipv4-default option could be dropped from the binary package,
 - there was a second binary package without it,
 - or /etc/init.d/ssh was at least "officially configurable" for IPv6.

Btw., there are at least five different bug reports filed about this
problem; how about uniting them? Of course, fixing would be even
better ... :)

Regards, Daniel

#117318#15
Date:
2003-04-02 01:06:17 UTC
From:
To:
Hi,

Does this still happen with ssh 3.6.1p1-1, currently in incoming (either
with -6 or without it - in general -6 shouldn't be needed any more)?

Thanks,

#117318#26
Date:
2015-02-16 06:12:45 UTC
From:
To:
Good Day,

    How is business? Can you please kindly let us have your most valuable

 quotation for the attached samples and list of items ASAP.

 your quick response will be appreciated.

 Best Regards
 Contact Person:
 Ms. Aisha Hassan  (Export Director)
 HOTTAOPT EXPORTS
 Address; 5-E 16th Comm. Street 1st
 floor Phase II Ext DHA
 Karachi
 Tel: 6342598, 6806531
 Fax: 0300-8234934
 E-mail: aisha_hassan@hottaopt.com
 Unified No.: 440022898
 Customer Service Unified No.: 420004888

#117318#31
Date:
2015-07-16 15:30:28 UTC
From:
To:
You Have Been Picked For A Donation , Email: ( gloriamackenzie12@gmail.com )  For More Details
#117318#36
Date:
2015-10-27 17:31:42 UTC
From:
To:
      Yahoo  Dear user,
   1969MB	  	  	 2000MB
   You have an incoming mail pending.   Click Here to receive pending mails.    NOTICE:  It will be permanently disabled if mails are not received.   Thanks,  Account Service
PT. MNC Sky Vision disclaimer:
The contents of this e-mail and its attachments, if any, are for the intended recipient(s) only and may contain proprietary, confidential or otherwise private information. If you are not the intended recipient or if you have inadvertently received this email, please note that any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on this e-mail or any attachments here to is prohibited and may be unlawful, and that you should delete this e-mail and its attachments, if any, and duly notify us of the miss delivery by e-mailing the sender.

#117318#41
Date:
2016-03-19 05:16:00 UTC
From:
To:

#117318#46
Date:
2016-05-14 13:58:02 UTC
From:
To:

#117318#51
Date:
2017-01-27 13:56:10 UTC
From:
To:
Dear Customer,

Your item has arrived at January 25, but our courier was not able to deliver the parcel.

Please check the attachment for complete details!

With many thanks,
Ross Small,
USPS Station Agent.

#117318#56
Date:
2018-07-22 11:26:29 UTC
From:
To:
Hello Dear
It is very urgent that I pass this important message to you. I will give you more details once I get a response  from you
Regards
Maria Peterson

#117318#61
Date:
2020-08-03 19:43:42 UTC
From:
To:
03 - August - 2020
117318@bugs.debian.org

Accompanying this email is your notification as one of the runner-ups in
this year's event.

Note: If you have previously received this notification and attended to it
already, then you should kindly disregard this one.
If you have issues of any kind while attending to this notification, just
reply to this email and we will help.

All the best,
Ruth Sunday
Information Unit
G20 Saudi Arabia 2020


Approved by
King of Saudi Arabia
Salman bin Abdulaziz Al Saudi
Chairman
G20 Saudi Arabia 2020

#117318#66
Date:
2020-11-03 18:40:49 UTC
From:
To:
Ich bin sicher, dass Sie und ich die gleichen Interessen haben werden!!! Ich habe dich bemerkt sofort und entschieden, Ihnen zu schreiben!!! Ich frage dich, sagen Sie mir deinen Namen und welchem Ort wohnst du??


Was ist Ihr Alter?? Ich würde gerne glauben, dass Sie meine Photo attraktiv fanden!!! Ich denke, dass es ein gegenseitiges Mitgefühl zwischen Ihnen und mir auftreten wird!!!


Alle Menschen aller Altersgruppen träumen davon einen Partner, mit der Sie chatten und verschiedene Themen besprechen können!!! Im Welt ist nicht genug Glück und Freimütigkeit!!! Absolut jeder will jemanden finden, die kümmert und schätzt!!!


Was denken du darüber?? Ich werde dir um mein Ziel sagen!!! Ich bin auf der Suche nach einen guten Mann oder nur einen ansprechend Gesprächspartner!!! Wenn Sie an einer guten Dialog wünschen, antworten Sie mir und sagen Sie mir mehr über Ihren Charakter!!!


Ich hoffe, dass ich mich nicht von Ihnen enttäuscht sein werde und du ein anständiger Mensch bist!!! Nenn mich Kateryna!!! Ich werde auf deinen Brief freuen!!!


Lassen Sie sich nicht entmutigen, wenn werde ich Ihnen nicht sofort beantworten, weil ich in dieser Zeit beschäftigt bin!!! Aber ich werde Ihnen später beantworten!!! Bitte antworten Sie mir!!!






Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Loading

  1.
  2.  0
  3.  +0
  4.
     *   TourStart here for a quick overview

#117318#71
Date:
2021-02-18 11:58:59 UTC
From:
To:
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

#117318#76
Date:
2021-09-17 09:05:04 UTC
From:
To:
Hi, You are Required to kindly get back to me via email : Amina-Medjahed@outlook.com or reply upon receipt of this message. Regards Mrs Amina Medjahed
#117318#81
Date:
2022-09-16 08:38:27 UTC
From:
To:
-- 
Good Day

How are you today? I Hope you are staying safe,

I am Mr Ratimir Vitalii from Ukraine. I am looking for a possible
tie-up with a business or individual in your country so that I can do
some investments there as my country's economy has been ravaged by the
Russian invasion which no one knows when it will come to an end. There
are no economic activities going on again in Ukraine since Russian
invasion started looking forward to your sincere reply.

Best Regard,
Mr Ratimir Vitalii

#117318#86
Date:
2022-11-08 05:16:24 UTC
From:
To:
Good Day,

I apologize for my cold outreach and please take no offense.

I trust you are well today

We are in custody of an inheritance attached to your surname, Contact Mr M. Tucker on: wu007032@gmail.com<mailto:wu007032@gmail.com>  with your full names for validation

#117318#91
Date:
2024-01-03 07:00:18 UTC
From:
To:
I am acutely aware of the profound luck that my family and I have been blessed with, especially considering the many less fortunate individuals in our world. It has always been a fundamental belief of mine that we must strive to leave this world better than we found it. To me, this isn't merely a choice but an obligation, one that some of us should bear more than others.

Reflecting on my journey, I recall a vivid memory from when I was five years old. I would eagerly offer my birthday and chore money to the homeless, deeply moved by their struggles. It was my earliest encounter with the stark realities faced by those less fortunate. As I grew older, I began to understand the stark disparities in life's rewards, where a few are privileged while countless others are left behind.

Throughout history, humanity has made remarkable strides in healthcare, education, and technology, improving the lives of many. Yet, I firmly believe that we must accelerate our progress for the greater good. While wealth can transform individual lives, it also presents a unique opportunity to effect profound and lasting change in society through anonymous philanthropy.

I'm Jared Isaacman, and you can learn more about me through this Forbes article:

www.forbes.com/sites/giacomotognini/2020/10/07/meet-the-new-billionaire-who-dropped-out-of-high-school-and-flies-fighter-jets-for-fun/

You might wonder why you're receiving this email from me. I've recently had a profound shift in perspective. Despite all my personal successes and the excitement of my adventurous life, I felt a growing emptiness. While I've consistently donated millions to various organizations each year, I've come to view it as detached and lacking the intimacy I seek in my giving.

Then, a rather unconventional idea crossed my mind: what if I directly assisted individuals I've never met? I discussed this radical notion with my advisors, who dismissed it as foolish. But I've heard such skepticism before, and I've never shied away from unconventional ideas. This concept will serve as a pilot test to explore the impact of intimate, person-to-person giving on our world.

Your email address was randomly selected from a data marketing firm, making you one of the ten individuals chosen to benefit from my anonymous grant. You will receive a substantial sum of money, to be spent entirely at your discretion. It's yours. My only request is that you pay this generosity forward.

To be eligible for this grant, you must share an open-minded perspective and believe in boundless possibilities, just as I do. If you're interested in accepting this grant, please provide your full name and address. I will get in touch with you to explain how you will receive this grant once I hear back from you.

Remember, luck is the intersection of opportunity and preparedness.

Jared Isaacman