Re: Can OpenBSD connect to MS L2TP VPN?

2018-09-03 Thread Максим
Hello. I recently managed to make a connection to MIkrotik L2TP server using xl2tp package. I'm not sure it would be the same as for Windows but you could try. The problem may be how to set the domain part of the login: DCDOMAIN\user (DCDOMAIN\\user, user@dsdomain.local?..) The only problem was

Re: Equipment for OBSD based firewall

2018-09-03 Thread Peter N. M. Hansteen
On 09/04/18 01:17, Bogdan Kulbida wrote: > Ladies and gentlemen, > > I need to build a pf OBSD firewall for a small office. What minimally > feasible equipment would you recommend in order to achieve this goal? 'minimally feasible' hardware for a small office firewall includes most (i386 or

Re: Lesser evil

2018-09-03 Thread Peter N. M. Hansteen
On 09/03/18 20:42, - - wrote: > I am running OpenBSD on my desktop, which is suitable for 99% of my > needs. However I have to run certain proprietary software, which is > available on Linux, Mac OSX and Windows. > > I cannot decide which of the three would be a "lesser evil" to run in >

Re: Equipment for OBSD based firewall

2018-09-03 Thread Joel Wirāmu Pauling
But - The thing that isn't mentioned here is basically Power Cost and Consumption vs PPS(Packet Processing Speed). IMNSHO running on anything that doesn't ; A) Have passive Cooling B) Is older than a couple of years (in intel/amd terms anything with a TDPW above 65W) - is probably not a great

Re: Equipment for OBSD based firewall

2018-09-03 Thread Bogdan Kulbida
Ingo, I so much enjoyed reading your answer. Thanks a lot for sharing. -Bogdan On Mon, Sep 3, 2018 at 20:04 Ingo Schwarze wrote: > Hi Bogdan, > > Bogdan Kulbida wrote on Mon, Sep 03, 2018 at 04:17:51PM -0700: > > > I need to build a pf OBSD firewall for a small office. What minimally > >

Re: Equipment for OBSD based firewall

2018-09-03 Thread Ingo Schwarze
Hi Bogdan, Bogdan Kulbida wrote on Mon, Sep 03, 2018 at 04:17:51PM -0700: > I need to build a pf OBSD firewall for a small office. What minimally > feasible equipment would you recommend in order to achieve this goal? I seriously doubt that you can find anything in the trash that isn't

Re: Equipment for OBSD based firewall

2018-09-03 Thread Tracey Emery
https://pcengines.ch On September 3, 2018 5:17:51 PM MDT, Bogdan Kulbida wrote: >Ladies and gentlemen, > >I need to build a pf OBSD firewall for a small office. What minimally >feasible equipment would you recommend in order to achieve this goal? > >Thank you! >-- >--- >Best regards, >Bogdan

Re: Equipment for OBSD based firewall

2018-09-03 Thread Bogdan Kulbida
Thank you. Much appreciated. On Mon, Sep 3, 2018 at 17:03 Tracey Emery wrote: > https://pcengines.ch > > > > > On September 3, 2018 5:17:51 PM MDT, Bogdan Kulbida > wrote: >> >> Ladies and gentlemen, >> >> I need to build a pf OBSD firewall for a small office. What minimally >> feasible

Re: Equipment for OBSD based firewall

2018-09-03 Thread Shawn Webb
On Mon, Sep 03, 2018 at 04:17:51PM -0700, Bogdan Kulbida wrote: > Ladies and gentlemen, > > I need to build a pf OBSD firewall for a small office. What minimally > feasible equipment would you recommend in order to achieve this goal? Hey Bogdan, The PC-Engines APU devices are wildly popular

Re: Equipment for OBSD based firewall

2018-09-03 Thread Jordan Geoghegan
On 09/03/18 16:17, Bogdan Kulbida wrote: Ladies and gentlemen, I need to build a pf OBSD firewall for a small office. What minimally feasible equipment would you recommend in order to achieve this goal? Thank you! I've ran multiple office networks on octeon devices. I've found the Edgerouter

Re: network connectivity problem (ifconfig, arp, ...)

2018-09-03 Thread Daniel Jakots
On Mon, 03 Sep 2018 22:58:49 +0200, Vincent wrote: > I've found an article It's always better to rely on the FAQ rather than on a third party article who may have not kept the information up to date. It's not always possible because not everything is in the FAQ but in this case, it is:

Re: Lesser evil

2018-09-03 Thread STeve Andre'
On 09/03/18 14:42, - - wrote: Hello all, I am running OpenBSD on my desktop, which is suitable for 99% of my needs. However I have to run certain proprietary software, which is available on Linux, Mac OSX and Windows. I cannot decide which of the three would be a "lesser evil" to run in

Equipment for OBSD based firewall

2018-09-03 Thread Bogdan Kulbida
Ladies and gentlemen, I need to build a pf OBSD firewall for a small office. What minimally feasible equipment would you recommend in order to achieve this goal? Thank you! -- --- Best regards, Bogdan Kulbida Founder and CEO, Konstankino LLC +1.802.793.8295

Re: resize /usr

2018-09-03 Thread Ken M
On Mon, Sep 03, 2018 at 06:11:24PM -0500, ed...@pettijohn-web.com wrote: > > This obviously isn't the officially recommended way to do it, but it works > here. > > I put everything in my $HOME and use symlinks to trick the build system into > thinking it's in /usr/ports, etc. Thus, no need to

Re: resize /usr

2018-09-03 Thread edgar
On Sep 3, 2018 4:33 PM, Ken M wrote: > > On Mon, Sep 03, 2018 at 03:59:07AM +0200, Ingo Schwarze wrote: > > Hi Ken, > > > > How exactly to distribute space among partitions really depends on what > > you want to use the machine for.  The disk you are showing above can be > > called terribly

Re: Change Windows10 disk to OpenBSD, but not sure what disklabel and fdisk mean

2018-09-03 Thread Chris Bennett
OK I see that i needed to use fdisk -v Any need to preserve any existing stuff? (and how if so?) Primary GPT: Disk: sd0 Usable LBA: 34 to 1953525134 [1953525168 Sectors] GUID: 0b27fac9-4c45-460c-b321-f6ba7ccacfb9 #: type [ start: size ]

Re: Lesser evil

2018-09-03 Thread Roderick
On Mon, 3 Sep 2018, Christopher Turkel wrote: It always depends on your needs. I use LibreOffice for my work so I'm ste. I am happy that TeX is enough for my needs and do not need strange OS. And in extreme cases he will have to use Windows / MacOS / Linux. It is a reality: there is not a

Re: Lesser evil

2018-09-03 Thread Christopher Turkel
It always depends on your needs. I use LibreOffice for my work so I'm ste. On Mon, Sep 3, 2018 at 3:39 PM Sal A Nimi wrote: > On September 3, 2018 3:20:11 PM EDT, Fabio Almeida > wrote: > >If you really need it, go with what's best for it. > > > >Today, to be honest, in your situation I'd run

Re: resize /usr

2018-09-03 Thread Ken M
On Mon, Sep 03, 2018 at 03:59:07AM +0200, Ingo Schwarze wrote: > Hi Ken, > > How exactly to distribute space among partitions really depends on what > you want to use the machine for. The disk you are showing above can be > called terribly small nowadays (though i admit that i used disks in >

Re: network connectivity problem (ifconfig, arp, ...)

2018-09-03 Thread Alexander Hall
On Mon, Sep 03, 2018 at 10:58:49PM +0200, Vincent wrote: > Hello stefan, > > Hum... it could be similar situations. > > I've found an article combining the "join" and the trunk: > https://dataswamp.org/~solene/2018-08-30-openbsd-trunk.html For me, it's as simple as this: ==>

Re: make(1) and multiple outputs

2018-09-03 Thread Philip Guenther
On Mon, Sep 3, 2018 at 5:23 AM Marc Espie wrote: > Our make is perfectly happy generating several targets with one rule. > > The only thing we're actually missing wrt % is suffixes rules with > multiple results. > > See any Makefile that generates .h and .c file from .y, for instance >

clone of openbsd by dd

2018-09-03 Thread Tuyosi T
hi all . i do backup hard disk by booting archlinux's install USB memory and dd . because one liner ' while true ; do ; sleep 10 ; killall -USR1 dd ; done ' is effective on another screen ( alt + F2 ) . so i know the progressive state of dd on original screen ( alt + F1) . reversely i do

Re: network connectivity problem (ifconfig, arp, ...)

2018-09-03 Thread Vincent
Hello stefan, Hum... it could be similar situations. I've found an article combining the "join" and the trunk: https://dataswamp.org/~solene/2018-08-30-openbsd-trunk.html I'll do same setup and will see Thanks. V. On 3 September 2018 20:26:27 CEST, Stefan Sperling wrote: >On Mon,

DRM without X

2018-09-03 Thread Thomas de Grivel
Hello misc, Is there any way to use the DRM drivers without X11 ? -- Thomas de Grivel

Re: Lesser evil

2018-09-03 Thread Sal A Nimi
On September 3, 2018 3:20:11 PM EDT, Fabio Almeida wrote: >If you really need it, go with what's best for it. > >Today, to be honest, in your situation I'd run Windows, Linux will have >probably half the performance, and the "compromises" you cited. >Besides, you can also run Linux on Windows

Re: Lesser evil

2018-09-03 Thread Fabio Almeida
If you really need it, go with what's best for it. Today, to be honest, in your situation I'd run Windows, Linux will have probably half the performance, and the "compromises" you cited. Besides, you can also run Linux on Windows almost natively nowadays, so, the choice is clear. Install a good

Lesser evil

2018-09-03 Thread - -
Hello all, I am running OpenBSD on my desktop, which is suitable for 99% of my needs. However I have to run certain proprietary software, which is available on Linux, Mac OSX and Windows. I cannot decide which of the three would be a "lesser evil" to run in respect with security and privacy.

Re: network connectivity problem (ifconfig, arp, ...)

2018-09-03 Thread Stefan Sperling
On Mon, Sep 03, 2018 at 07:46:09PM +0200, vincent delft wrote: > Hello, > > I'm running -current and enjoy the new "join" feature of hostname.if. > > Nevertheless, I have sometime issues to have an internet connection. > > The context: > I have wifi and cable possibilities to connect the same

Re: Change Windows10 disk to OpenBSD, but not sure what disklabel and fdisk mean

2018-09-03 Thread Jordan Geoghegan
If you don't care what's on the Windoze 10 drive, just do a fresh install and allow the OpenBSD installer to use/partition the whole disk. On 09/03/18 10:17, Chris Bennett wrote: Hi, I've gotten tired and paranoid about having Windows 10 on my hard drive in a laptop, but I'm not sure what

Can OpenBSD connect to MS L2TP VPN?

2018-09-03 Thread Sacha El Masry
Hi, I've searched the internet every way I could think of, but cannot find an easy answer to whether it's possible for OpenBSD as a client to connect to a Microsoft (Windows Server-provided) L2TP VPN? Obviously, there are countless guides to setting up OpenBSD as a server, to which Windows,

network connectivity problem (ifconfig, arp, ...)

2018-09-03 Thread vincent delft
Hello, I'm running -current and enjoy the new "join" feature of hostname.if. Nevertheless, I have sometime issues to have an internet connection. The context: I have wifi and cable possibilities to connect the same network. Normaly I prefer the network connection, so at my desk I plug the

Re: Change Windows10 disk to OpenBSD, but not sure what disklabel and fdisk mean

2018-09-03 Thread noah pugsley
You don't care about windows, and all your data is on usb drives, yes? Why not just do a fresh full disk install and copy your data? Sent from mobile.   Original Message   From: Chris Bennett Sent: Monday, September 3, 2018 10:19 To: misc@openbsd.org Subject: Change Windows10 disk to OpenBSD,

Change Windows10 disk to OpenBSD, but not sure what disklabel and fdisk mean

2018-09-03 Thread Chris Bennett
Hi, I've gotten tired and paranoid about having Windows 10 on my hard drive in a laptop, but I'm not sure what partitions to keep or ditch. I am running off of USB flash drives, which are pesky to keep in and slow. Thanks, Chris Bennett Here are some outputs: disklabel # /dev/rsd0c: type:

Re: cc: dereference NULL pointer inside switch brackets and no exception

2018-09-03 Thread Jacqueline Jolicoeur
> No ? "Contrary to popular belief, dereferencing a null pointer in C is undefined. It is not defined to trap, and if you mmap a page at 0, it is not defined to access that page." http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html

Re: cc: dereference NULL pointer inside switch brackets and no exception

2018-09-03 Thread Andreas Kusalananda Kähäri
On Mon, Sep 03, 2018 at 01:53:41PM +0200, Denis Buga wrote: > int main() > { > char * ptr = NULL; > switch( *ptr ) > { > default: > fprintf(stderr, > > "where is exception ? default label exist for" > "exclusive value, not for non-existent ! " > > "it can be security issue, when dereferencing NULL

ipsec-related panic?

2018-09-03 Thread Joao Pedras
Greetings all. I have been playing around with GRE tunnel over IPSec. A couple of times I have seen either of the endpoints panic about 5GB into a large transfer using ssh between 2 nodes which live within the networks connected by this tunnel. These transfers aside, there isn't much going on in

Re: cc: dereference NULL pointer inside switch brackets and no exception

2018-09-03 Thread Daniel Dickman
On Mon, Sep 3, 2018 at 7:53 AM, Denis Buga wrote: > int main() > { > char * ptr = NULL; > switch( *ptr ) > { > default: > fprintf(stderr, > > "where is exception ? default label exist for" > "exclusive value, not for non-existent ! " > > "it can be security issue, when dereferencing NULL " > "in

Re: Issue with OpenSMTPD, procmail and comsat

2018-09-03 Thread d . rauschenb
Hi Gilles, the following diff turns off the noise in /var/log/{messages,daemon} but this is a hack and not a solution. -dra Index: comsat.c === RCS file: /cvs/src/libexec/comsat/comsat.c,v retrieving revision 1.48 diff -u -p -r1.48

Re: how to install perl modules w/ dependencies that mix packages & CPAN

2018-09-03 Thread Solene Rapenne
Jonathan Thornburg wrote: > What's the "OpenBSD way" to install Perl modules which don't exist > as packages? > > The usual Perl idiom for "install module foo & all of its (recursive) > dependencies" is "cpan install foo", but this fetches all dependencies > from CPAN, ignoring any OpenBSD

Re: how to install perl modules w/ dependencies that mix packages & CPAN

2018-09-03 Thread Marc Espie
On Fri, Aug 31, 2018 at 05:52:57PM -0700, Jonathan Thornburg wrote: > What's the "OpenBSD way" to install Perl modules which don't exist > as packages? > > The usual Perl idiom for "install module foo & all of its (recursive) > dependencies" is "cpan install foo", but this fetches all

Re: make(1) and multiple outputs

2018-09-03 Thread Marc Espie
On Fri, Aug 31, 2018 at 09:23:33AM +0200, Kristaps Dzonsons wrote: > Short: is there a way to manage multiple outputs from a single command > with OpenBSD's make(1)? > > Longer story. I have a site that generates a few hundred articles using > sblg(1). Each output article is indexNNN.html,

connecting to adsl

2018-09-03 Thread Frank White
Hi, I am trying to connect to adsl, but I have the following problems: Sep 3 12:06:34 myhost /bsd: pppoe0: received unexpected PADO Sep 3 12:07:31 myhost /bsd: pppoe0: received unexpected PADO Sep 3 12:08:28 myhost /bsd: pppoe0: host unique tag found, but it belongs to a connection in state 3

Re: Issue with OpenSMTPD, procmail and comsat

2018-09-03 Thread d . rauschenb
Hi Gilles, On Mon, Sep 03, 2018 at 02:27:26PM +0200, Gilles Chehade wrote: > On Mon, Sep 03, 2018 at 12:25:55PM +0200, d.rausch...@gmail.com wrote: > > On Sun, Sep 02, 2018 at 01:25:46PM +0200, Gilles Chehade wrote: > > > > From d...@ws.lan Mon Sep 3 12:12:34 2018 > > > can you try: > >

Re: Issue with OpenSMTPD, procmail and comsat

2018-09-03 Thread Gilles Chehade
On Mon, Sep 03, 2018 at 12:25:55PM +0200, d.rausch...@gmail.com wrote: > Hi Gilles, > > On Sun, Sep 02, 2018 at 01:25:46PM +0200, Gilles Chehade wrote: > > Can you provide me with the corrupt line procmail includes so I can > > check if it is invalid indeed ? > > The corrput line: > > From

cc: dereference NULL pointer inside switch brackets and no exception

2018-09-03 Thread Denis Buga
int main() { char * ptr = NULL; switch( *ptr ) { default: fprintf(stderr, "where is exception ? default label exist for" "exclusive value, not for non-existent ! " "it can be security issue, when dereferencing NULL " "in switch formally pass and we go to default label\n"); } } No ? 6.3

Re: Issue with OpenSMTPD, procmail and comsat

2018-09-03 Thread d . rauschenb
Hi Gilles, On Sun, Sep 02, 2018 at 01:25:46PM +0200, Gilles Chehade wrote: > Can you provide me with the corrupt line procmail includes so I can > check if it is invalid indeed ? The corrput line: >From d...@ws.lan Mon Sep 3 12:12:34 2018 The differenc I encountered is with .forward to

detaching xnf(4) not recognized

2018-09-03 Thread Sebastian Reitenbach
Hi, I'm toying with OpenBSD 6.3 image on AWS, trying to add/remove Elastic Network Interfaces (ENI). OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP So when I attach an ENI to a running instance, then the