• ipv6

    From zeneca@3:770/3 to All on Sun Jul 11 11:34:52 2021
    Hello,
    I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
    but still port 22 (ssh) is hold by tcp6.
    netstat show
    tcp6 ..22[ssh] ..1/init

    ?
    no more inet6 on ifconfig
    when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
    fail by port already in use?
    Any idea?
    many thanks in advance
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Falken@1:123/115 to zeneca on Sun Jul 11 07:33:42 2021
    Re: ipv6
    By: zeneca to All on Sun Jul 11 2021 11:34 am

    Hello,
    I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
    but still port 22 (ssh) is hold by tcp6.
    netstat show
    tcp6 ..22[ssh] ..1/init

    ?
    no more inet6 on ifconfig
    when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
    fail by port already in use?
    Any idea?
    many thanks in advance

    I don't know how Raspbian maages it, but some distributions apply sysctl.conf and then load the
    networking modules, which overwrites the sysctl instructions.

    Use sysctl -a | grep ipv6 once the system is up and running to check the variables are set as you
    want them to be.


    --
    gopher://gopher.richardfalken.com/1/richardfalken
    --- SBBSecho 3.14-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
  • From Martin Gregorie@3:770/3 to zeneca on Sun Jul 11 13:14:03 2021
    On Sun, 11 Jul 2021 11:34:52 +0200, zeneca wrote:

    Hello,
    I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
    but still port 22 (ssh) is hold by tcp6.
    netstat show tcp6 ..22[ssh] ..1/init

    ?
    no more inet6 on ifconfig when I try starting sshd (/etc/ini.d/ssh or
    service ssh restart ) it fail by port already in use?
    Any idea?
    many thanks in advance

    After reconfiguring a server like sshd, you need to restart it for the
    change to take effect: sudo systemctl restart sshd

    and then: sudo systemctl status sshd

    to check that the changed configuration is OK and sshd gas restarted
    correctly.

    Have you done that?


    --
    Martin | martin at
    Gregorie | gregorie dot org
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to Martin Gregorie on Sun Jul 11 16:49:56 2021
    Martin Gregorie <martin@mydomain.invalid> wrote:
    After reconfiguring a server like sshd, you need to restart it for the
    change to take effect: sudo systemctl restart sshd

    and then: sudo systemctl status sshd

    to check that the changed configuration is OK and sshd gas restarted correctly.

    If you just edited sysctl.conf, that setting won't take effect until you
    reboot or do 'sysctl -p'. And then restart sshd.

    Theo
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From zeneca@3:770/3 to All on Sun Jul 11 19:57:00 2021
    Le 10/07/2021 à 21:33, Richard Falken a écrit :
    Re: ipv6
    By: zeneca to All on Sun Jul 11 2021 11:34 am

    > Hello,
    > I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
    > but still port 22 (ssh) is hold by tcp6.
    > netstat show
    > tcp6 ..22[ssh] ..1/init
    >
    > ?
    > no more inet6 on ifconfig
    > when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
    > fail by port already in use?
    > Any idea?
    > many thanks in advance

    I don't know how Raspbian maages it, but some distributions apply sysctl.conf and then load the
    networking modules, which overwrites the sysctl instructions.

    Use sysctl -a | grep ipv6 once the system is up and running to check the variables are set as you
    want them to be.


    I did and they look ok.
    Ifconfig without ipv6 seems that the changes are taken in account.
    Presently I am more thinking about a process started with ipv6 as parameter.
    --
    gopher://gopher.richardfalken.com/1/richardfalken

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From zeneca@3:770/3 to All on Sun Jul 11 20:37:26 2021
    Le 11/07/2021 à 17:49, Theo a écrit :
    Martin Gregorie <martin@mydomain.invalid> wrote:
    After reconfiguring a server like sshd, you need to restart it for the
    change to take effect: sudo systemctl restart sshd

    and then: sudo systemctl status sshd

    to check that the changed configuration is OK and sshd gas restarted
    correctly.

    If you just edited sysctl.conf, that setting won't take effect until you reboot or do 'sysctl -p'. And then restart sshd.

    Theo

    I did that and ifconfig without ipv6 seems to indicate it took in in
    account.
    I more thinking of a process (init)(sshd) that start with a ipv6 parameter.
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Brian Gregory@3:770/3 to zeneca on Mon Jul 12 19:09:10 2021
    On 11/07/2021 10:34, zeneca wrote:
    Hello,
    I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
    but still port 22 (ssh) is hold by tcp6.
    netstat show
    tcp6 ..22[ssh] ..1/init

    Isn't that where closed connections go to wait for timeout?



    ?
    no more inet6 on ifconfig
    when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
    fail by port already in use?
    Any idea?
    many thanks in advance

    What are you trying to achieve?

    What commands are you using and what is the actual output you are seeing?

    --
    Brian Gregory (in England).

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From zeneca@3:770/3 to All on Tue Jul 13 07:53:11 2021
    Le 11/07/2021 à 11:34, zeneca a écrit :
    Hello,
    I have disabled ipv6 on my Raspberry, by configuring /etc/sysctl.conf,
    but still port 22 (ssh) is hold by tcp6.
    netstat show
    tcp6 ..22[ssh] ..1/init

    ?
    no more inet6 on ifconfig
    when I try starting sshd (/etc/ini.d/ssh or service ssh restart ) it
    fail by port already in use?
    Any idea?
    many thanks in advance
    First many thanks to everybody who answered.
    The problem is solved, it was due to me! installing tinyssh who to port
    22 and kept running from the init process with tcp6.
    I removed tinyssh and hop it worked.
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)