Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A CONS is an object which cares. -- Bernie Greenberg.


computers / comp.sys.raspberry-pi / Where to get the sources (openconnect) ?

SubjectAuthor
* Where to get the sources (openconnect) ?Markus Robert Kessler
+* Re: Where to get the sources (openconnect) ?Marco Moock
|+* Re: Where to get the sources (openconnect) ?Markus Robert Kessler
||`* Re: Where to get the sources (openconnect) ?Marco Moock
|| `- Re: Where to get the sources (openconnect) ?William Unruh
|`* Re: Where to get the sources (openconnect) ?Scott Alfter
| +* Re: Where to get the sources (openconnect) ?William Unruh
| |+- Re: Where to get the sources (openconnect) ?Markus Robert Kessler
| |+* Re: Where to get the sources (openconnect) ?The Natural Philosopher
| ||`* Re: Where to get the sources (openconnect) ?Scott Alfter
| || `- Re: Where to get the sources (openconnect) ?Anssi Saari
| |+* Re: Where to get the sources (openconnect) ?Marco Moock
| ||+* Re: Where to get the sources (openconnect) ?William Unruh
| |||`* Re: Where to get the sources (openconnect) ?Grant Taylor
| ||| `* Re: Where to get the sources (openconnect) ?jim whitby
| |||  `* Re: Where to get the sources (openconnect) ?David W. Hodgins
| |||   `- Re: Where to get the sources (openconnect) ?Grant Taylor
| ||`* Re: Where to get the sources (openconnect) ?Bud Frede
| || `- Re: Where to get the sources (openconnect) ?William Unruh
| |+- Re: Where to get the sources (openconnect) ?Grant Taylor
| |`- Re: Where to get the sources (openconnect) ?Scott Alfter
| +* Re: Where to get the sources (openconnect) ?Tauno Voipio
| |+* Re: Where to get the sources (openconnect) ?Marco Moock
| ||`- Re: Where to get the sources (openconnect) ?Grant Taylor
| |`- Re: Where to get the sources (openconnect) ?Grant Taylor
| `- Re: Where to get the sources (openconnect) ?Marco Moock
+- Re: Where to get the sources (openconnect) ?Jim Jackson
+- Re: Where to get the sources (openconnect) ?Grant Taylor
`* SOLVED: Where to get the sources (openconnect) ?Markus Robert Kessler
 `* Re: SOLVED: Where to get the sources (openconnect) ?William Unruh
  `* Re: SOLVED: Where to get the sources (openconnect) ?Markus Robert Kessler
   `* Re: SOLVED: Where to get the sources (openconnect) ?William Unruh
    +- Re: SOLVED: Where to get the sources (openconnect) ?David W. Hodgins
    `* Re: SOLVED: Where to get the sources (openconnect) ?Markus Robert Kessler
     `- Re: SOLVED: Where to get the sources (openconnect) ?William Unruh

Pages:12
Where to get the sources (openconnect) ?

<uueuq5$2kqfh$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9501&group=comp.sys.raspberry-pi#9501

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Followup: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_reply@dipl-ing-kessler.de (Markus Robert Kessler)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Where to get the sources (openconnect) ?
Followup-To: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Date: Mon, 1 Apr 2024 18:35:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <uueuq5$2kqfh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 01 Apr 2024 18:35:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="34fb549da6c6128f5873d4752149b203";
logging-data="2779633"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0yZtvPyXmliWQFwlVo6X9"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:65hTIlT28MjpT6sl08vFW7YT59k=
 by: Markus Robert Kessle - Mon, 1 Apr 2024 18:35 UTC

Hi all,

I am running several machines for connecting to our company intranet,
using openconnect VPN.

So far, it works. But:

The debian based systems, i.e. Ubuntu 23.10 and Raspbian OS show up
hundreds of routes after connect. And it's clear that they are brought to
my client via server-initiated 'push route ...' command.

Some of these routes are conflicting with machines in my home office net.

So, I'd like to skip getting such a huge amount of useless routes. I want
to set the routing by my own script, instead.

The funny thing is that a Redhat-based OS, Mageia 9 (64 and 32 bit), does
not behave like this, instead only the default route (10.0.0.0/8) is sent
through tun0.

So, maybe this is a matter of compilation?

Or something else to look after, to prevent openconnect from doing this?

Maybe someone can give a hint where to download the openconnect sources
for Ubuntu?

Thanks in advance!

Best regards,

Markus

Re: Where to get the sources (openconnect) ?

<uuf01e$2lb63$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9502&group=comp.sys.raspberry-pi#9502

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Mon, 1 Apr 2024 20:56:45 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <uuf01e$2lb63$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 01 Apr 2024 18:56:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1be2536f1209ebb964c2388730df914b";
logging-data="2796739"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19axqtZksjdS2fz2/8MEmhy"
Cancel-Lock: sha1:hRT8gmCg47j83ot2AEujPTSKSjA=
 by: Marco Moock - Mon, 1 Apr 2024 18:56 UTC

On 01.04.2024 um 18:35 Uhr Markus Robert Kessler wrote:

> I am running several machines for connecting to our company intranet,
> using openconnect VPN.

Invoked directly or via NetworkManager?

> So far, it works. But:
>
> The debian based systems, i.e. Ubuntu 23.10 and Raspbian OS show up
> hundreds of routes after connect. And it's clear that they are
> brought to my client via server-initiated 'push route ...' command.
>
> Some of these routes are conflicting with machines in my home office
> net.
>
> So, I'd like to skip getting such a huge amount of useless routes. I
> want to set the routing by my own script, instead.

NetworkManager has an option to ignore routes from the peer.
Connection settings --> IPv4/IPv6 settings --> Routes --> Ignore
automatically obtained routes

> The funny thing is that a Redhat-based OS, Mageia 9 (64 and 32 bit),
> does not behave like this, instead only the default route
> (10.0.0.0/8) is sent through tun0.

This is not a default route and if they don't add the routes from the
VPN server, this is either a setting or a serious bug.

> Maybe someone can give a hint where to download the openconnect
> sources for Ubuntu?

If you really need them:
https://www.infradead.org/openconnect/download.html

--
kind regards
Marco

Send spam to 1711989349muell@cartoonies.org

Re: Where to get the sources (openconnect) ?

<uuf20d$2kqfh$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9503&group=comp.sys.raspberry-pi#9503

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Followup: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_reply@dipl-ing-kessler.de (Markus Robert Kessler)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Followup-To: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Date: Mon, 1 Apr 2024 19:30:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uuf20d$2kqfh$2@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 01 Apr 2024 19:30:21 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="34fb549da6c6128f5873d4752149b203";
logging-data="2779633"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ZqNkvEwtqYhxVwR/X3LQS"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:UXPfxP23Z+9og4Nr2acDJiKvAc0=
 by: Markus Robert Kessle - Mon, 1 Apr 2024 19:30 UTC

On Mon, 1 Apr 2024 20:56:45 +0200 Marco Moock wrote:

> On 01.04.2024 um 18:35 Uhr Markus Robert Kessler wrote:
>
>> I am running several machines for connecting to our company intranet,
>> using openconnect VPN.
>
> Invoked directly or via NetworkManager?

Directly

>> So far, it works. But:
>>
>> The debian based systems, i.e. Ubuntu 23.10 and Raspbian OS show up
>> hundreds of routes after connect. And it's clear that they are brought
>> to my client via server-initiated 'push route ...' command.
>>
>> Some of these routes are conflicting with machines in my home office
>> net.
>>
>> So, I'd like to skip getting such a huge amount of useless routes. I
>> want to set the routing by my own script, instead.
>
> NetworkManager has an option to ignore routes from the peer. Connection
> settings --> IPv4/IPv6 settings --> Routes --> Ignore automatically
> obtained routes

Looks promising! Thanks!

So, openconnect does have a (commandline) option, which network manager
invokes to get rid of those routing infos?

I didn't find this switch in the man page yet. Do you know its name?

Thanks again!

Best regards,

Markus

Re: Where to get the sources (openconnect) ?

<slrnv0m48e.qnq.jj@iridium.wf32df>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9504&group=comp.sys.raspberry-pi#9504

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj@franjam.org.uk (Jim Jackson)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Mon, 1 Apr 2024 19:54:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <slrnv0m48e.qnq.jj@iridium.wf32df>
References: <uueuq5$2kqfh$1@dont-email.me>
Injection-Date: Mon, 01 Apr 2024 19:54:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2628a50632b21f2fe62071cf8a8d96f6";
logging-data="2820594"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Wvc0SCTHoOsNsgKXC7Kpi1PCRvnb4HQs="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:SfR6fLqMt70scjDTAUALuXL9ViI=
 by: Jim Jackson - Mon, 1 Apr 2024 19:54 UTC

On 2024-04-01, Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
> So, maybe this is a matter of compilation?
>
> Or something else to look after, to prevent openconnect from doing this?
>
> Maybe someone can give a hint where to download the openconnect sources
> for Ubuntu?

As long as you have the deb-src lines in your /etc/apt/sources.list etc
Then for any package

apt-get source package-name

gets you the source that was used to compile the binaries in the package.

e.g. see https://www.cyberciti.biz/faq/how-to-get-source-code-of-package-using-the-apt-command-on-debian-or-ubuntu/

Re: Where to get the sources (openconnect) ?

<uuf4md$2lb63$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9505&group=comp.sys.raspberry-pi#9505

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Mon, 1 Apr 2024 22:16:13 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uuf4md$2lb63$2@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me>
<uuf01e$2lb63$1@dont-email.me>
<uuf20d$2kqfh$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 01 Apr 2024 20:16:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1be2536f1209ebb964c2388730df914b";
logging-data="2796739"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/eNla4MTHIY8IKNXxN0YPT"
Cancel-Lock: sha1:Paa7cSuewvsM2w+G1ti6KdeX3Uk=
 by: Marco Moock - Mon, 1 Apr 2024 20:16 UTC

On 01.04.2024 um 19:30 Uhr Markus Robert Kessler wrote:

> So, openconnect does have a (commandline) option, which network
> manager invokes to get rid of those routing infos?

I dunno.

> I didn't find this switch in the man page yet. Do you know its name?

Sadly, no.
I currently have to invoke openconnect directly because they don't
support TOTP properly yet and it is PITA.
I recommend invoking it via NM whenever possible.

--
kind regards
Marco

Send spam to 1711992621muell@cartoonies.org

Re: Where to get the sources (openconnect) ?

<uuh6d6$393l4$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9507&group=comp.sys.raspberry-pi#9507

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Tue, 2 Apr 2024 14:57:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uuh6d6$393l4$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<uuf20d$2kqfh$2@dont-email.me> <uuf4md$2lb63$2@dont-email.me>
Injection-Date: Tue, 02 Apr 2024 14:57:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5599ded06c50439e06e2034b95078c58";
logging-data="3444388"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7Q3ImjarPpSTyfxrg0uoA"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:MKv52arxEdjzKliWbJQmslKetmE=
 by: William Unruh - Tue, 2 Apr 2024 14:57 UTC

On 2024-04-01, Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
> On 01.04.2024 um 19:30 Uhr Markus Robert Kessler wrote:
>
>> So, openconnect does have a (commandline) option, which network
>> manager invokes to get rid of those routing infos?
>
> I dunno.
>
>> I didn't find this switch in the man page yet. Do you know its name?
>
> Sadly, no.
> I currently have to invoke openconnect directly because they don't
> support TOTP properly yet and it is PITA.
> I recommend invoking it via NM whenever possible.

If you run openconnect on its own (no argument) it lists its options, so
is like a very brief man page but presumable up-to-date.

>

Re: Where to get the sources (openconnect) ?

<kiWON.134011$Vrtf.36559@fx39.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9508&group=comp.sys.raspberry-pi#9508

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.niel.me!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx39.iad.POSTED!not-for-mail
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
Organization: USS Voyager NCC-74656, Delta Quadrant
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: scott@alfter.diespammersdie.us (Scott Alfter)
Originator: scott@alfter.diespammersdie.us (Scott Alfter)
Lines: 25
Message-ID: <kiWON.134011$Vrtf.36559@fx39.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 02 Apr 2024 16:23:44 UTC
Date: Tue, 02 Apr 2024 16:23:44 GMT
X-Received-Bytes: 1788
 by: Scott Alfter - Tue, 2 Apr 2024 16:23 UTC

In article <uuf01e$2lb63$1@dont-email.me>,
Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
>On 01.04.2024 um 18:35 Uhr Markus Robert Kessler wrote:
>> So, I'd like to skip getting such a huge amount of useless routes. I
>> want to set the routing by my own script, instead.
>
>NetworkManager has an option to ignore routes from the peer.
>Connection settings --> IPv4/IPv6 settings --> Routes --> Ignore
>automatically obtained routes

The Cisco ASA at work pushes some routes to my computer when I connect to
it. One of them (for a remote office) uses the same 192.168.1.0/24 subnet
as my home network, so I lose access to my file server, printers, etc. at
home when I'm connected to the VPN. I'd been considering moving my home
network to a different subnet, but this would be easier...will have to look
into it.

I'd still need a route to 172.16.0.0/22. Would this have to be added
manually after connecting?

--
_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?

Re: Where to get the sources (openconnect) ?

<uui04k$3f9re$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9509&group=comp.sys.raspberry-pi#9509

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Tue, 2 Apr 2024 22:16:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uui04k$3f9re$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad>
Injection-Date: Tue, 02 Apr 2024 22:16:53 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d79dc05c99cd1136f59d0f2ecdf4fd9a";
logging-data="3647342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9ceHx8MaG8UDbhPak9ik7"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:7dUYpKEarViKDKZ+JHFCqk+ec5Y=
 by: William Unruh - Tue, 2 Apr 2024 22:16 UTC

On 2024-04-02, Scott Alfter <scott@alfter.diespammersdie.us> wrote:
> In article <uuf01e$2lb63$1@dont-email.me>,
> Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
>>On 01.04.2024 um 18:35 Uhr Markus Robert Kessler wrote:
>>> So, I'd like to skip getting such a huge amount of useless routes. I
>>> want to set the routing by my own script, instead.
>>
>>NetworkManager has an option to ignore routes from the peer.
>>Connection settings --> IPv4/IPv6 settings --> Routes --> Ignore
>>automatically obtained routes
>
> The Cisco ASA at work pushes some routes to my computer when I connect to
> it. One of them (for a remote office) uses the same 192.168.1.0/24 subnet
> as my home network, so I lose access to my file server, printers, etc. at
> home when I'm connected to the VPN. I'd been considering moving my home
> network to a different subnet, but this would be easier...will have to look
> into it.

?? 192.168.x.x is non-routable. Ie, unless you are directly connected to
the network you cannot access it. Is your home on the same physical net
as that remote office? Otherwise I do not see how tht could do anything
to your attachment to the home network.
>
> I'd still need a route to 172.16.0.0/22. Would this have to be added
> manually after connecting?
>

Re: Where to get the sources (openconnect) ?

<uuj51n$3qgde$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9512&group=comp.sys.raspberry-pi#9512

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_reply@dipl-ing-kessler.de (Markus Robert Kessler)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 08:46:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uuj51n$3qgde$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 03 Apr 2024 08:46:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e8a5e51ffa4afe5703119b6735c4ca10";
logging-data="4014510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cU8nWhoIpzEmYpvAM9Uvu"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:mC9EBpV5i0kelppl1ZgRuMhHZgA=
 by: Markus Robert Kessle - Wed, 3 Apr 2024 08:46 UTC

On Tue, 2 Apr 2024 22:16:53 -0000 (UTC) William Unruh wrote:

> On 2024-04-02, Scott Alfter <scott@alfter.diespammersdie.us> wrote:
>> In article <uuf01e$2lb63$1@dont-email.me>,
>> Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
>>>On 01.04.2024 um 18:35 Uhr Markus Robert Kessler wrote:
>>>> So, I'd like to skip getting such a huge amount of useless routes. I
>>>> want to set the routing by my own script, instead.
>>>
>>>NetworkManager has an option to ignore routes from the peer. Connection
>>>settings --> IPv4/IPv6 settings --> Routes --> Ignore automatically
>>>obtained routes
>>
>> The Cisco ASA at work pushes some routes to my computer when I connect
>> to it. One of them (for a remote office) uses the same 192.168.1.0/24
>> subnet as my home network, so I lose access to my file server,
>> printers, etc. at home when I'm connected to the VPN. I'd been
>> considering moving my home network to a different subnet, but this
>> would be easier...will have to look into it.
>
> ?? 192.168.x.x is non-routable. Ie, unless you are directly connected to
> the network you cannot access it. Is your home on the same physical net
> as that remote office? Otherwise I do not see how tht could do anything
> to your attachment to the home network.
>>
>> I'd still need a route to 172.16.0.0/22. Would this have to be added
>> manually after connecting?
>>

Since 172.16.* is part of the private space beyond the vpn, you have to
add this like

ip route add 172.16.0.0/22 dev tun0

or similar, depending on your vpn device.

Best regards,

Markus

Re: Where to get the sources (openconnect) ?

<uujalb$3rv5p$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9513&group=comp.sys.raspberry-pi#9513

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 11:22:35 +0100
Organization: A little, after lunch
Lines: 18
Message-ID: <uujalb$3rv5p$2@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 03 Apr 2024 10:22:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4f4768cce148621e7c21a5c709e1dd35";
logging-data="4062393"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yQiMWH48Hy5pn543C8gVs2dVcjiFUXSc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xoJ0NXFekN2YTgin/309WqHyej0=
In-Reply-To: <uui04k$3f9re$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Wed, 3 Apr 2024 10:22 UTC

On 02/04/2024 23:16, William Unruh wrote:
> ?? 192.168.x.x is non-routable. Ie, unless you are directly connected to
> the network you cannot access it. Is your home on the same physical net
> as that remote office? Otherwise I do not see how tht could do anything
> to your attachment to the home network.

192.168.x.x is routable.

It just isn't something that the Internet routes, by convention.
It can be routed via a VPN.

It is a good argument for changing his home IP network to something else.

--
A lie can travel halfway around the world while the truth is putting on
its shoes.

Re: Where to get the sources (openconnect) ?

<uuk706$2vuj$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9514&group=comp.sys.raspberry-pi#9514

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tauno.voipio@notused.fi.invalid (Tauno Voipio)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 21:26:14 +0300
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <uuk706$2vuj$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 03 Apr 2024 18:26:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="cbba0f6170453a56874e4c669e93b206";
logging-data="98259"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18twVFNcZ0vF98mdWg04jtIKispIjp2QPY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Kz9sVgWW02o1PbNkaUk62QYL46U=
In-Reply-To: <kiWON.134011$Vrtf.36559@fx39.iad>
Content-Language: en-US
 by: Tauno Voipio - Wed, 3 Apr 2024 18:26 UTC

On 2.4.2024 19.23, Scott Alfter wrote:
> In article <uuf01e$2lb63$1@dont-email.me>,
> Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
>> On 01.04.2024 um 18:35 Uhr Markus Robert Kessler wrote:
>>> So, I'd like to skip getting such a huge amount of useless routes. I
>>> want to set the routing by my own script, instead.
>>
>> NetworkManager has an option to ignore routes from the peer.
>> Connection settings --> IPv4/IPv6 settings --> Routes --> Ignore
>> automatically obtained routes
>
> The Cisco ASA at work pushes some routes to my computer when I connect to
> it. One of them (for a remote office) uses the same 192.168.1.0/24 subnet
> as my home network, so I lose access to my file server, printers, etc. at
> home when I'm connected to the VPN. I'd been considering moving my home
> network to a different subnet, but this would be easier...will have to look
> into it.
>
> I'd still need a route to 172.16.0.0/22. Would this have to be added
> manually after connecting?
>

The network 172.16.x.x to 172.31.x.x is one of the RFC1918 ranges
reserved for private networks, and as such it is non-routable in the
outside Net. It is probably fine to have inside of the VPN tunnel.
The same applies to the 192.168.x.x network (and 10.x.x.x).

The commercial VPNs like Cisco want to disable direct Internet access
of the client for the duration of the tunnel, to prevent sneak paths
to/from the public net and the internal tunneled network.

--

-Tauno Voipio

Re: Where to get the sources (openconnect) ?

<uukasm$304p$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9515&group=comp.sys.raspberry-pi#9515

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 21:32:37 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uukasm$304p$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me>
<uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad>
<uui04k$3f9re$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 03 Apr 2024 19:32:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="890a75905d4417034eb1f97ab7debdc8";
logging-data="98457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mRq/RlqwFkzVc2OW06JNk"
Cancel-Lock: sha1:W36lnUh88PxDzSm0x+Y7dQnaKRY=
 by: Marco Moock - Wed, 3 Apr 2024 19:32 UTC

On 02.04.2024 um 22:16 Uhr William Unruh wrote:

> ?? 192.168.x.x is non-routable.

It is routable, but won't be routed on the internet.
You can of course route it through a tunnel like here.

--
kind regards
Marco

Send spam to 1712089013muell@cartoonies.org

Re: Where to get the sources (openconnect) ?

<uukaus$304p$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9516&group=comp.sys.raspberry-pi#9516

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 21:33:48 +0200
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uukaus$304p$2@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me>
<uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 03 Apr 2024 19:33:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="890a75905d4417034eb1f97ab7debdc8";
logging-data="98457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TAM2X7fqb+6fE26REOIOT"
Cancel-Lock: sha1:4t45a19Su+hgYp0v4xDjsdWUTU8=
 by: Marco Moock - Wed, 3 Apr 2024 19:33 UTC

On 02.04.2024 um 16:23 Uhr Scott Alfter wrote:

> The Cisco ASA at work pushes some routes to my computer when I
> connect to it.

At least when using NetworkManager, you can control that behavior and
you can add settings to the connection that special routes will be
added when VPN comes up and removed when it comes down.

> One of them (for a remote office) uses the same
> 192.168.1.0/24 subnet as my home network, so I lose access to my file
> server, printers, etc. at home when I'm connected to the VPN. I'd
> been considering moving my home network to a different subnet, but
> this would be easier...will have to look into it.

Another reason to move to IPv6 - no more address conflicts.

--
kind regards
Marco

Send spam to 1712067824muell@cartoonies.org

Re: Where to get the sources (openconnect) ?

<uukb0l$304p$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9517&group=comp.sys.raspberry-pi#9517

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 21:34:45 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uukb0l$304p$3@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me>
<uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad>
<uuk706$2vuj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 03 Apr 2024 19:34:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="890a75905d4417034eb1f97ab7debdc8";
logging-data="98457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+S59IR3Yc4T2ktLmdWWIl5"
Cancel-Lock: sha1:ud3XOjjtk17qalqqwreIJjzRLMc=
 by: Marco Moock - Wed, 3 Apr 2024 19:34 UTC

On 03.04.2024 um 21:26 Uhr Tauno Voipio wrote:

> The commercial VPNs like Cisco want to disable direct Internet access
> of the client for the duration of the tunnel, to prevent sneak paths
> to/from the public net and the internal tunneled network.

This can always be overridden at the VPN client, so security must not
rely on that.

--
kind regards
Marco

Send spam to 1712172374muell@cartoonies.org

Re: Where to get the sources (openconnect) ?

<uuktcl$36o$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9518&group=comp.sys.raspberry-pi#9518

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.quux.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 19:48:21 -0500
Organization: TNet Consulting
Message-ID: <uuktcl$36o$1@tncsrv09.home.tnetconsulting.net>
References: <uueuq5$2kqfh$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 4 Apr 2024 00:48:21 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="3288"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uueuq5$2kqfh$1@dont-email.me>
 by: Grant Taylor - Thu, 4 Apr 2024 00:48 UTC

On 4/1/24 13:35, Markus Robert Kessler wrote:
> Some of these routes are conflicting with machines in my home office net.

Try adding more specific / host routes to things on your home network
via the NIC connecting to your home networking.

There are also multiple routing tables and policy based routing games
that can be played.

--
Grant. . . .

Re: Where to get the sources (openconnect) ?

<uuktmc$36o$2@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9519&group=comp.sys.raspberry-pi#9519

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.quux.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 19:53:32 -0500
Organization: TNet Consulting
Message-ID: <uuktmc$36o$2@tncsrv09.home.tnetconsulting.net>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 4 Apr 2024 00:53:32 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="3288"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uui04k$3f9re$1@dont-email.me>
 by: Grant Taylor - Thu, 4 Apr 2024 00:53 UTC

On 4/2/24 17:16, William Unruh wrote:
> ?? 192.168.x.x is non-routable.

192.168/16 is very much so routABLE.

It is just not routED on the global Internet (by convention).

Almost all IPs are routable. It gets very tricky to say why given IPs
are not capable of being routed. Beyond part of locally attached
networks and crap software, I can't think of think of any that can't be
made to be routed.

> Ie, unless you are directly connected to the network you cannot
> access it.

Lack of a route is very different than the lack of ability to route.

> Is your home on the same physical net as that remote office? Otherwise
> I do not see how tht could do anything to your attachment to the
> home network.

Do to vagaries of non-deterministic things, it's possible to have a
route to 192.0.2.0/24 through a VPN as well as through the local NIC.
Sometimes the most recent route to be configured is the route that is used.

Other times VPN clients play with policy based routing such that they
can intercept things ostensibly for white hat reasons.

--
Grant. . . .

Re: Where to get the sources (openconnect) ?

<uuku31$36o$3@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9520&group=comp.sys.raspberry-pi#9520

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.quux.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 20:00:17 -0500
Organization: TNet Consulting
Message-ID: <uuku31$36o$3@tncsrv09.home.tnetconsulting.net>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uuk706$2vuj$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 4 Apr 2024 01:00:17 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="3288"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uuk706$2vuj$1@dont-email.me>
 by: Grant Taylor - Thu, 4 Apr 2024 01:00 UTC

On 4/3/24 13:26, Tauno Voipio wrote:
> The commercial VPNs like Cisco want to disable direct Internet access
> of the client for the duration of the tunnel, to prevent sneak paths
> to/from the public net and the internal tunneled network.

That is very likely a configuration option on the VPN concentrator.

It may default to having the default route go through the VPN.

Start streaming things through the VPN and causing the VPN concentrator
to use a lot more bandwidth and the people that configured it may decide
that they want to change the configuration.

--
Grant. . . .

Re: Where to get the sources (openconnect) ?

<uukua6$36o$4@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9521&group=comp.sys.raspberry-pi#9521

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.quux.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 20:04:06 -0500
Organization: TNet Consulting
Message-ID: <uukua6$36o$4@tncsrv09.home.tnetconsulting.net>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uuk706$2vuj$1@dont-email.me>
<uukb0l$304p$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 4 Apr 2024 01:04:06 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="3288"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uukb0l$304p$3@dont-email.me>
 by: Grant Taylor - Thu, 4 Apr 2024 01:04 UTC

On 4/3/24 14:34, Marco Moock wrote:
> This can always be overridden at the VPN client, so security must
> not rely on that.

I agree that you /should/ be able to override it.

Though that's predicated on you having sufficient administrative access
to do so on the client device. Being an unprivileged user on a work
owned computer makes that difficult.

I've also used some VPNs that periodically (ever single digit minutes if
memory serves) checked the configuration and would disconnect if it was
not what the admins wanted.

--
Grant. . . .

Re: Where to get the sources (openconnect) ?

<uul5m2$djl7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9522&group=comp.sys.raspberry-pi#9522

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Thu, 4 Apr 2024 03:09:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uul5m2$djl7$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me>
Injection-Date: Thu, 04 Apr 2024 03:09:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c44298ec159bafce9d07f7565fef719d";
logging-data="446119"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/++q/6B8ux4tZrIuvkF5ME"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:xGvnpVD4tyf+ABRCxmY/CwWqfQ8=
 by: William Unruh - Thu, 4 Apr 2024 03:09 UTC

On 2024-04-03, Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
> On 02.04.2024 um 22:16 Uhr William Unruh wrote:
>
>> ?? 192.168.x.x is non-routable.
>
> It is routable, but won't be routed on the internet.
> You can of course route it through a tunnel like here.

But which? He says he has his home network on 192.168. and there is a
work network on 192.168. but it is a different network (ne home, one
work) and the work one takes precednce for him. Only one of them can be
active to his machine. which has to be setup in the routng tables.

>
>

Re: Where to get the sources (openconnect) ?

<uul6q9$8h7$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9523&group=comp.sys.raspberry-pi#9523

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.quux.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Wed, 3 Apr 2024 22:29:13 -0500
Organization: TNet Consulting
Message-ID: <uul6q9$8h7$1@tncsrv09.home.tnetconsulting.net>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me> <uul5m2$djl7$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 4 Apr 2024 03:29:13 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="8743"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uul5m2$djl7$1@dont-email.me>
 by: Grant Taylor - Thu, 4 Apr 2024 03:29 UTC

On 4/3/24 22:09, William Unruh wrote:
> But which? He says he has his home network on 192.168. and there is a
> work network on 192.168. but it is a different network (ne home, one
> work) and the work one takes precednce for him. Only one of them can
> be active to his machine. which has to be setup in the routng tables.

Traditional routing, read: non-policy-based-routing, dictates that the
best route wins. Directly attached routes always trump remote routes.

So for a remote route to be trumping a directly attached route,
policy-based-routing must be in use or something else to override very
low level routing / networking.

--
Grant. . . .

Re: Where to get the sources (openconnect) ?

<nnd$242c71d6$174b8950@7ae82f9f1ca9b0e9>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9524&group=comp.sys.raspberry-pi#9524

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
From: mr.spock@spockmnail.net (jim whitby)
Subject: Re: Where to get the sources (openconnect) ?
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me> <uul5m2$djl7$1@dont-email.me>
<uul6q9$8h7$1@tncsrv09.home.tnetconsulting.net>
MIME-Version: 1.0
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <nnd$242c71d6$174b8950@7ae82f9f1ca9b0e9>
Organization: XSUsenet
Date: Thu, 04 Apr 2024 05:53:00 +0200
Path: i2pn2.org!rocksolid2!i2pn.org!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.bawue.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp003.abavia.com!reader.xsusenet.com!not-for-mail
Lines: 31
Injection-Date: Thu, 04 Apr 2024 05:53:00 +0200
Injection-Info: reader.xsusenet.com; mail-complaints-to="abuse@xsusenet.com"
X-Received-Bytes: 2075
 by: jim whitby - Thu, 4 Apr 2024 03:53 UTC

On Wed, 3 Apr 2024 22:29:13 -0500, Grant Taylor wrote:

> On 4/3/24 22:09, William Unruh wrote:
>> But which? He says he has his home network on 192.168. and there is a
>> work network on 192.168. but it is a different network (ne home, one
>> work) and the work one takes precednce for him. Only one of them can be
>> active to his machine. which has to be setup in the routng tables.
>
> Traditional routing, read: non-policy-based-routing, dictates that the
> best route wins. Directly attached routes always trump remote routes.
>
> So for a remote route to be trumping a directly attached route,
> policy-based-routing must be in use or something else to override very
> low level routing / networking.

Verify the netmask(s) u use. If they are all /24 then a change in local
nwtwirk would be easiset change.

--
Jim Whitby

Newborn babies cannot cry tears for at least three weeks.
----------------------
Mageia release 9 (Official) for x86_64
6.6.22-server-1.mga9
----------------------

Re: Where to get the sources (openconnect) ?

<op.2loxiwb8a3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9525&group=comp.sys.raspberry-pi#9525

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dwhodgins@nomail.afraid.org (David W. Hodgins)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Thu, 04 Apr 2024 02:26:46 -0400
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <op.2loxiwb8a3w0dxdave@hodgins.homeip.net>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me> <uul5m2$djl7$1@dont-email.me>
<uul6q9$8h7$1@tncsrv09.home.tnetconsulting.net>
<nnd$242c71d6$174b8950@7ae82f9f1ca9b0e9>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 04 Apr 2024 06:29:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e89e9471ef192fc82b3e6cd06a715162";
logging-data="527400"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+vQvKcSbOJqG1ZTHhn35CY8eiZtsZLGho="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:Z7UHJI+7vixyK5YmGpTldO6QSps=
 by: David W. Hodgins - Thu, 4 Apr 2024 06:26 UTC

On Wed, 03 Apr 2024 23:53:00 -0400, jim whitby <mr.spock@spockmnail.net> wrote:

> On Wed, 3 Apr 2024 22:29:13 -0500, Grant Taylor wrote:
>
>> On 4/3/24 22:09, William Unruh wrote:
>>> But which? He says he has his home network on 192.168. and there is a
>>> work network on 192.168. but it is a different network (ne home, one
>>> work) and the work one takes precednce for him. Only one of them can be
>>> active to his machine. which has to be setup in the routng tables.
>>
>> Traditional routing, read: non-policy-based-routing, dictates that the
>> best route wins. Directly attached routes always trump remote routes.
>>
>> So for a remote route to be trumping a directly attached route,
>> policy-based-routing must be in use or something else to override very
>> low level routing / networking.
>
> Verify the netmask(s) u use. If they are all /24 then a change in local
> nwtwirk would be easiset change.

Just don't forget to change the shorewall rules.

Regards, Dave Hodgins

Re: Where to get the sources (openconnect) ?

<7ivPN.86565$mMj7.8864@fx01.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9526&group=comp.sys.raspberry-pi#9526

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.neodome.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx01.iad.POSTED!not-for-mail
From: frede@mouse-potato.com (Bud Frede)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Organization: Wossamotta U.
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me>
X-No-Archive: Yes
X-Clacks-Overhead: GNU Terry Pratchett
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Lines: 21
Message-ID: <7ivPN.86565$mMj7.8864@fx01.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 04 Apr 2024 10:29:23 UTC
Date: Thu, 04 Apr 2024 06:29:13 -0400
X-Received-Bytes: 1537
 by: Bud Frede - Thu, 4 Apr 2024 10:29 UTC

Marco Moock <mm+usenet-es@dorfdsl.de> writes:

> On 02.04.2024 um 22:16 Uhr William Unruh wrote:
>
>> ?? 192.168.x.x is non-routable.
>
> It is routable, but won't be routed on the internet.
> You can of course route it through a tunnel like here.

I always say that the RFC 1918 addresses are "not normally publicly
routed." :-)

As you say, they definitely _are_ routable, or a whole lot of home and
corporate networks would not be functional.

I saw a video not too long ago that pointed out that the use of these
addresses and NAT was made widespread by the Cisco PIX. It was a pretty
interesting look back at something new that now seems commonplace and
ordinary.

Re: Where to get the sources (openconnect) ?

<uumhr4$o1bc$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9527&group=comp.sys.raspberry-pi#9527

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Followup: alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: unruh@invalid.ca (William Unruh)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Followup-To: alt.os.linux.mageia
Date: Thu, 4 Apr 2024 15:43:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <uumhr4$o1bc$1@dont-email.me>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me> <7ivPN.86565$mMj7.8864@fx01.iad>
Injection-Date: Thu, 04 Apr 2024 15:43:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c44298ec159bafce9d07f7565fef719d";
logging-data="787820"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190T/f4tLcvN5R7ibzyhsSZ"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:sa+fLJH9V0KFGJPvx4otLsXyK/E=
 by: William Unruh - Thu, 4 Apr 2024 15:43 UTC

On 2024-04-04, Bud Frede <frede@mouse-potato.com> wrote:
> Marco Moock <mm+usenet-es@dorfdsl.de> writes:
>
>> On 02.04.2024 um 22:16 Uhr William Unruh wrote:
>>
>>> ?? 192.168.x.x is non-routable.
>>
>> It is routable, but won't be routed on the internet.
>> You can of course route it through a tunnel like here.
>
> I always say that the RFC 1918 addresses are "not normally publicly
> routed." :-)
>
> As you say, they definitely _are_ routable, or a whole lot of home and
> corporate networks would not be functional.

The key word is "publicly". Ie, once you get away from directly attached
networks (or internal routers you have specially set up within your
organization) and some outside router needs to be involved to get the
packet from here to there, then that router has no idea which of the
millions of networks with 192.168. to send the packet to.
In the case in question, there are two networks with the same 192.168.
network addresses. As mentioned the locally attached network should get
the nod. The claim is that it is not. Of course this is going by tun to
remote vpn. So if the local 192.168. addresses are being set up so that
those packets still get delivered through tun, then the "localy attached
network" could well be the remote one. Answer, tell your local machine
to deliver all 192.168 stuff not to tun but to a local router which
knows about your local 192.168.

>
> I saw a video not too long ago that pointed out that the use of these
> addresses and NAT was made widespread by the Cisco PIX. It was a pretty
> interesting look back at something new that now seems commonplace and
> ordinary.
>
>

Re: Where to get the sources (openconnect) ?

<uunogn$pe6$2@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=9528&group=comp.sys.raspberry-pi#9528

  copy link   Newsgroups: alt.os.linux.ubuntu comp.sys.raspberry-pi alt.os.linux.mageia
Path: i2pn2.org!i2pn.org!news.quux.org!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.os.linux.ubuntu,comp.sys.raspberry-pi,alt.os.linux.mageia
Subject: Re: Where to get the sources (openconnect) ?
Date: Thu, 4 Apr 2024 21:43:35 -0500
Organization: TNet Consulting
Message-ID: <uunogn$pe6$2@tncsrv09.home.tnetconsulting.net>
References: <uueuq5$2kqfh$1@dont-email.me> <uuf01e$2lb63$1@dont-email.me>
<kiWON.134011$Vrtf.36559@fx39.iad> <uui04k$3f9re$1@dont-email.me>
<uukasm$304p$1@dont-email.me> <uul5m2$djl7$1@dont-email.me>
<uul6q9$8h7$1@tncsrv09.home.tnetconsulting.net>
<nnd$242c71d6$174b8950@7ae82f9f1ca9b0e9>
<op.2loxiwb8a3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 5 Apr 2024 02:43:35 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="26054"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <op.2loxiwb8a3w0dxdave@hodgins.homeip.net>
 by: Grant Taylor - Fri, 5 Apr 2024 02:43 UTC

On 4/4/24 01:26, David W. Hodgins wrote:
> Just don't forget to change the shorewall rules.

You might not even need to do that.

Add two /25 routes using the local network. The shorewall, bein on a
separate system than the problematic VPN client, is probably perfectly
fine continuing to use the /24.

N.B. it's late at night and I'm not sure what will happen with broadcasts.

I'm confident that this can be made to work. Especially with host (/32)
routes.

--
Grant. . . .

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor