new groups

2020-04-21 Thread abd.homaei
0 C Iran P Tehran T Tehran F Irregular O Iran meetBSD I abdorrahman homaei M i...@meetbsd.ir U http://meetbsd.ir N *BSD

Re: socket I/O on openbsd

2020-04-21 Thread Janne Johansson
You're still not telling what it is, where it came from, what it does. Noone here can mind read you. We will not admit we can see what is on your monitor, so .. step up to the challenge and show your work. https://i.imgur.com/ArfmbAf.gif Den ons 22 apr. 2020 kl 08:09 skrev Gustavo Rios : > apx_

Re: timegm()

2020-04-21 Thread Theo de Raadt
William Ahern wrote: > On Tue, Apr 21, 2020 at 02:01:10PM +0200, Otto Moerbeek wrote: > > On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote: > > > > > > > > Acording to the man page: "timegm() is a deprecated interface that > > > converts [...]" > > > > > > O.K., deprecated. And what is

Re: MIdnight Commander won't run

2020-04-21 Thread Otto Moerbeek
On Wed, Apr 22, 2020 at 05:15:30AM +, slackwaree wrote: > That's why you never upgrade ... rather migrate. I still find it hard to > believe that obsd added a tool to upgrade the system. Strange, upgrading saves lots of time and work and works for a tonne of people. I suspect sysclean (a to

Re: socket I/O on openbsd

2020-04-21 Thread Gustavo Rios
apx_connect is an wrapper for connect. apx_shutdown is an wrapper for shutdown Em qua., 22 de abr. de 2020 às 02:09, Stuart Longland escreveu: > > On 22/4/20 11:48 am, Gustavo Rios wrote: > > Dear gentleman, > > > > i have the an ANSI C code that do the following: > > > > 0. open a socket > > 1.

Re: OpenBSD VPS hoster with unlimited/limited nonfiltered traffic

2020-04-21 Thread slackwaree
Try EDIS, cheap unbeatable prices. You pay like 8EUR a month with a decent VM with 2TB traffic. Only caveat that you need to install OBSD on yourself. They used to have BSDs on the selectable KVM machine list but they removed it, doesn't mean that you can't install your custom OS. Network is ver

Re: MIdnight Commander won't run

2020-04-21 Thread slackwaree
That's why you never upgrade ... rather migrate. I still find it hard to believe that obsd added a tool to upgrade the system. BSDs unlike linux is a complete system. With all new releases you get new packages and a new kernel together. Dist upgrading always broke tons of stuff in linux too, ro

Re: socket I/O on openbsd

2020-04-21 Thread Stuart Longland
On 22/4/20 11:48 am, Gustavo Rios wrote: > Dear gentleman, > > i have the an ANSI C code that do the following: > > 0. open a socket > 1. write data to the socket > 2. close the writing end of the socket > 3. read data from the socket > 4. close the read end of the socket > > The the step number

Re: timegm()

2020-04-21 Thread William Ahern
On Tue, Apr 21, 2020 at 02:01:10PM +0200, Otto Moerbeek wrote: > On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote: > > > > > Acording to the man page: "timegm() is a deprecated interface that > > converts [...]" > > > > O.K., deprecated. And what is the alternative? > > > > Thanks for a

Re: MIdnight Commander won't run

2020-04-21 Thread Amit Kulkarni
> Upgraded my router from 6.5 to 6.6. Followed the upgrade guide and installed > most, not all, of > the file sets. I did not install the games set or several of the X sets. Install all X sets, and then retry. mc uses X with some library somewhere to display it on screen. > > I ran pkg_add -u

socket I/O on openbsd

2020-04-21 Thread Gustavo Rios
Dear gentleman, i have the an ANSI C code that do the following: 0. open a socket 1. write data to the socket 2. close the writing end of the socket 3. read data from the socket 4. close the read end of the socket The the step number 4 returns an error, why ? Here it is (Only the relevant part

MIdnight Commander won't run

2020-04-21 Thread Jay Hart
Upgraded my router from 6.5 to 6.6. Followed the upgrade guide and installed most, not all, of the file sets. I did not install the games set or several of the X sets. I ran pkg_add -u and also used sysclean to find and remove all unneeded files. Afterwards, trying to run 'mc' results in: tan

Re: Has anyone launched Steam for Linux on openbsd?

2020-04-21 Thread Michael Joy
Switching full-time to OpenBSD this week. As long as there's a functional mupen64plus I'm happy. On Wed, 22 Apr 2020, 00:40 , wrote: > Hello, > > > Nikita Stepanov wrote: > > > Has anyone launched Steam for Linux on openbsd? > You might want to checkout > > Information for > https://openbsd.mi

Re: Has anyone launched Steam for Linux on openbsd?

2020-04-21 Thread mail
Hello, > Nikita Stepanov wrote: > > Has anyone launched Steam for Linux on openbsd? You might want to checkout https://openbsd.mirror.netelligent.ca/pub/OpenBSD//snapshots/packages/amd64/depotdownloader-2.3.3.tgz Comment: Steam depot downloader utilizing the SteamKit2 library Description: Stea

Re: UNIX crash course

2020-04-21 Thread Edgar Pettijohn
On Tue, Apr 21, 2020 at 09:17:50PM +0300, Pekka Niiranen wrote: > Hello Sirs, > > That is very comprehensive list of books, but I have > not found any concise example of "OpenBSD development environment". > There are KNF settings for vim and emacs in github but not much more. > > OpenBSD is in co

Re: UNIX crash course

2020-04-21 Thread Louis Fredrickson
I'd start by using OpenBSD as a desktop to download and build the source itself. There's the wonderful release(8) that leaves you with install media too. Then you have the source tree inside a human friendly environment that you have proven "got work done". Privsep is *all through* OpenBSD stuff, i

Re: iked and rdomain

2020-04-21 Thread Marko Cupać
On 2020-04-17 14:37, Florian Weber wrote: Good afternoon, is it possible to have only traffic which is routed through a specific rdomain being encryped, i.e. have an enc interface in another rdomain and only the whole traffic that runs in that rdomain gets encryped? I have just recently implem

Re: UNIX crash course

2020-04-21 Thread Pekka Niiranen
Hello Sirs, That is very comprehensive list of books, but I have not found any concise example of "OpenBSD development environment". There are KNF settings for vim and emacs in github but not much more. OpenBSD is in constant flux so I would like to know which of its various services controlled

Re: List a package's dependencies

2020-04-21 Thread Kevin Chadwick
On 2020-04-20 22:47, Marc Espie wrote: > Nope, it's definitely the wrong place to fix things. > > You should fix your pipes (change the timeouts or whatever). > > If worse comes to worst, pkg_add could *possibly* retry running ftp(1), > but that makes little sense. I agree ftp/tcp should be re-

Re: sndioctl double behaviour

2020-04-21 Thread Mihai Popescu
On Tue, Apr 21, 2020 at 6:41 PM Alexandre Ratchov wrote: > On Tue, Apr 21, 2020 at 06:13:42PM +0300, Mihai Popescu wrote: > > Hi, > > > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > > "strange" behaviour. > > Watching youtube in chromium, tried this: > > > > $ sndioctl o

Re: Double fault trap in rtable_l2

2020-04-21 Thread Hinnerk van Bruinehsen
Hi, I guess I hit the same issue on a production box. At first I thought it may be related to faulty memory, but the description fits my issue. Same (minimal) trace. I encountered it first after applying the latest syspatch (just the last one, fixing a iseemingly unrelated check for drm). The box

Re: sndioctl double behaviour

2020-04-21 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 06:13:42PM +0300, Mihai Popescu wrote: > Hi, > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > "strange" behaviour. > Watching youtube in chromium, tried this: > > $ sndioctl output.level=1 > default: can't open control device > > After closing / r

Re: sndioctl double behaviour

2020-04-21 Thread Theo de Raadt
Looks broken. Mihai Popescu wrote: > Hi, > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > "strange" behaviour. > Watching youtube in chromium, tried this: > > $ sndioctl output.level=1 > default: can't open control device > > After closing / restarting chromium, and s

sndioctl double behaviour

2020-04-21 Thread Mihai Popescu
Hi, It's clear OpenBSD is moving to sndioctl. I used it, but I got some "strange" behaviour. Watching youtube in chromium, tried this: $ sndioctl output.level=1 default: can't open control device After closing / restarting chromium, and starting youtube I can run same command many times: $ sndi

Re: A shell script to create chroot jails

2020-04-21 Thread Zhi-Qiang Lei
Hi Raf, Thanks a lot for your help. Now I’ve updated it regarding to your great advices. Would you mind to take a look again? https://gist.github.com/siegfried/907904752b1b5db760782f476f44fca4 Sincerely yours, Siegfried zhiqiang@gmail.com > On Apr 20, 2020, at 5:40 AM, Raf Czlonka wrote

Re: timegm()

2020-04-21 Thread Roderick
On Tue, 21 Apr 2020, Otto Moerbeek wrote: O.K., deprecated. And what is the alternative? The paragraph above it (discussing timelocal()) suggests it's mktime(). Thanks. I would preffer to reimplement timegm if it disappears than going trhough the locale: it should be one or two lines with

Re: timegm()

2020-04-21 Thread Otto Moerbeek
On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote: > > Acording to the man page: "timegm() is a deprecated interface that > converts [...]" > > O.K., deprecated. And what is the alternative? > > Thanks for any hint > Rodrigo > The paragraph above it (discussing timelocal()) suggests it

timegm()

2020-04-21 Thread Roderick
Acording to the man page: "timegm() is a deprecated interface that converts [...]" O.K., deprecated. And what is the alternative? Thanks for any hint Rodrigo

OpenBSD 6.6 inside bhyve with NIC pci passthru: no data

2020-04-21 Thread Anatoli
Hi All, Is anyone using PCI passthru of network adapters with OpenBSD 6.6 inside bhyve? I tried different combinations: * Host: FreeBSD 12.1R and 13C * CPUs: Intel i7 7600U, 8550U, AMD Opteron 6300 and Ryzen 1200 * NICs: Intel PRO/1000 (onboard) & RTL8111/8168/8411 (onboard and PCIe slot) The be

Re: Unbound Notice: "sendto failed: No buffer space available"

2020-04-21 Thread Ben Jahmine
I deployed two changes in my PF config. (1) Bigger Queue I rearranged some queues and gave the queue holding the DNS traffic more bandwidth and a higher qlimit on the affected interface. bnd_flows = "1024" bnd_qlimit = "1024" guest_local = "850M" queue guest_local parent guest_root bandwidth $

RE: sndioctl and USB HID keyboard

2020-04-21 Thread zeurkous
theo wrote: > You don't know your place. Your opinion is well-considered. --zeurkous. -- Friggin' Machines!

RE: sndioctl and USB HID keyboard

2020-04-21 Thread zeurkous
theo wrote: > wrote: > >> > usbhidaction runs as root, given /dev/uhidN permissions, it's clearly >> > not intended to run "high level" user commands. >> >> The keys, however frivolous memight find them, are clearly to apply to >> the output belonging to the terminal that the kbd is attached to. >

Re: sndioctl and USB HID keyboard

2020-04-21 Thread Theo de Raadt
You don't know your place. wrote: > Morning Theo, > > theo wrote: > > Alexandre Ratchov wrote: > >> Hi, > >> > >> mixerctl is still the appropriate tool here, sndioctl is not inteded > >> to be run as root. > >> > >> usbhidaction runs as root, given /dev/uhidN permissions, it's clearly > >>

Re: sndioctl and USB HID keyboard

2020-04-21 Thread Theo de Raadt
wrote: > > usbhidaction runs as root, given /dev/uhidN permissions, it's clearly > > not intended to run "high level" user commands. > > The keys, however frivolous memight find them, are clearly to apply to > the output belonging to the terminal that the kbd is attached to. You are welcome to