Re: Raspberry pi for network vpn

2024-03-27 Thread xuser

Thank you that will most likly work

On Sat, 23 Mar 2024, Ignatios Souvatzis wrote:


Sorry, but vlan or not is independent of forwarding. You can have, if you
insist, forward between two different networks on the same cable and
interface without vlans.

But I read you want some sort of VPN. Your VPN software will create a
virtual interface.

Forwarding to/from your other interfaces is normally done by your OS kernel.

Hth
    -is



Re: Raspberry pi for network vpn

2024-03-27 Thread xuser

Yes that was one problem.
Thank you

On Fri, 22 Mar 2024, Dave B wrote:


On Fri, Mar 22, 2024 at 03:44:08PM +, xuser wrote:

Does any one know how to forward packets from one alias to another?
The raspberry pi has one ethernet socket.


If you already have all needed routes set up just right, but
by chance haven't already done this (or equivalent):

   sysctl -w net.inet.ip.forwarding=1

it might be the missing piece of the puzzle.

Best, -D



Re: Raspberry pi for network vpn

2024-03-27 Thread xuser

Does a vlan have to connect to another?


On Fri, 22 Mar 2024, Vitaly Shevtsov wrote:


maybe vlan?

пт, 22 мар. 2024 г., 18:51 Justin Parrott :
  the packet filter can probably forward packets.

On Fri, Mar 22, 2024 at 11:44 AM xuser  wrote:
  Does any one know how to forward packets from one alias to
  another?
  The raspberry pi has one ethernet socket.



--
Justin Allen Parrott




Re: Raspberry pi for network vpn

2024-03-27 Thread xuser

It does not seem to work on one interface

On Fri, 22 Mar 2024, Justin Parrott wrote:


the packet filter can probably forward packets.

On Fri, Mar 22, 2024 at 11:44 AM xuser  wrote:
  Does any one know how to forward packets from one alias to
  another?
  The raspberry pi has one ethernet socket.



--
Justin Allen Parrott



Re: missing struct authdes_cred

2024-03-27 Thread Enrico Weigelt, metux IT consult

On 27.03.24 12:03, Robert Swindells wrote:

Hi,


NetBSD provides versions of the Xserver both in the base operating
system and in pkgsrc, what are you trying to do?


add NetBSD build to xorg CI.


The SECURE_RPC option is not defined for the base build so the error
you list will not occur, haven't checked pkgsrc.


It happens when building master xorg branch.


> That struct is not provided by NetBSD.

Indeed, meanwhile found out AUTH_DES had been dropped on NetBSD quite
some time ago, so we have to add a check in meson file:

https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1441


--mtx

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287


Re: missing struct authdes_cred

2024-03-27 Thread Robert Swindells


"Enrico Weigelt, metux IT consult"  wrote:
> while trying to compile Xserver (master branch), I'm encountering an
> error:
>
> ../os/rpcauth.c: In function ‘authdes_ezdecode’:
> 1431../os/rpcauth.c:110:52: error: invalid use of undefined type ‘struct
> authdes_cred’
> 1432  110 | return (((struct authdes_cred *)
> r.rq_clntcred)->adc_fullname.name);
> 1433  |
>
> Does this struct really not exist on NetBSD, or am I just missing
> something ?

NetBSD provides versions of the Xserver both in the base operating
system and in pkgsrc, what are you trying to do?

The SECURE_RPC option is not defined for the base build so the error
you list will not occur, haven't checked pkgsrc.

That struct is not provided by NetBSD.

If you want to build any unmodified upstream parts of Xorg then maybe
look at the patches for the equivalent package in pkgsrc or the change
history of things under xsrc/external/mit.


missing struct authdes_cred

2024-03-27 Thread Enrico Weigelt, metux IT consult

Hello folks,


while trying to compile Xserver (master branch), I'm encountering an
error:


../os/rpcauth.c: In function ‘authdes_ezdecode’:
1431../os/rpcauth.c:110:52: error: invalid use of undefined type ‘struct
authdes_cred’
1432  110 | return (((struct authdes_cred *)
r.rq_clntcred)->adc_fullname.name);
1433  |

Does this struct really not exist on NetBSD, or am I just missing
something ?


thx
--mtx

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287


Re: changed major shlib versions in netbsd-9

2024-03-27 Thread Martin Husemann
On Tue, Mar 26, 2024 at 06:06:42PM -0400, Greg Troxel wrote:
> So:
> 
>   - this was thought about and believed within the rules
>   - I should just delete the destdir and continue
>   - we believe that I will then have no problems

Yes!

(If this would cause problems, you had them before but subtely hidden 
and at runtime)

Martin