Game controller / gamepad recommendation

2020-01-21 Thread Raf Czlonka
Hi all, I'm in a search for a game controller / gamepad for OpenBSD and found an old article on OpenBSD Journal[0] regarding (support for) an Xbox 360 one. Good ol' Logitech has two gamepads - one wired[1] and one wireless[2] - and, according to the comments linked in a reddit thread[3] I found,

Re: OpenBSD PPPOE

2020-01-21 Thread Peter J. Philipp
On Wed, Jan 22, 2020 at 09:49:18AM +0800, Peter Wong wrote: > Yes, my ISP operate pppoe with vlan. How to configure my fxp0 using vlan id > 500? > > > Regards, > -- > Peter Wong > 016-396 3326 Hi Peter Wong, My PPPoE router uses VLAN id #7 (IEEE 802.1q protocol), thi

Re: dig -p 5353 foo.bar core dumped

2020-01-21 Thread Theo de Raadt
I am considering backtracking on the pressure towards just doing "dns", and opening up "inet" also, because the other pledges are pretty tight. We are trying to protect the program, not the network. Stuart Henderson wrote: > On 2020-01-21, Dieter Rauschenberger wrote: > > Hi misc, > > > > on my

Re: Suricata from packages

2020-01-21 Thread b2s2d
On 2020-01-21 18:49, Stuart Henderson wrote: On 2020-01-21, b2...@zonbie.net wrote: To START suricata in live mode - Do this (as root): #suricata -v -c /etc/suricata/suricata.yaml -i em0 & Well, that's one way. Or you can use the OS mechanisms. To STOP suricata: pgrep suricata and kill -9

Re: Suricata from packages

2020-01-21 Thread Stuart Henderson
On 2020-01-21, b2...@zonbie.net wrote: > To START suricata in live mode - > Do this (as root): > > #suricata -v -c /etc/suricata/suricata.yaml -i em0 & Well, that's one way. Or you can use the OS mechanisms. > To STOP suricata: pgrep suricata and kill -9 the pid returned. Why pgrep then kill wh

Re: Fwd: tap(4) performance tuning on (amd64)

2020-01-21 Thread Tom Smyth
Hello Claudio, All, On Wed, 22 Jan 2020 at 01:01, Claudio Jeker wrote: > Surprised by the 20% better performance of the threaded version. I wonder > if the single threaded version max out the performance of a single CPU. > My tests running tcpbench just between two interfaces show no > measurab

Re: OpenBSD PPPOE

2020-01-21 Thread Peter Wong
Yes, my ISP operate pppoe with vlan. How to configure my fxp0 using vlan id 500? Regards, -- Peter Wong 016-396 3326 On Wed, Jan 22, 2020 at 6:10 AM Joe Cook wrote: > Hi, > > In my experience, PPPoE operates on a VLAN and not directly on an > interface like fxp0. >

Re: Fwd: tap(4) performance tuning on (amd64)

2020-01-21 Thread Claudio Jeker
On Tue, Jan 21, 2020 at 09:17:20PM +, Tom Smyth wrote: > in testing tap(4) performance on the same box with the following config > using claudios userlandbridge (tbridge) in between two tap interfaces > each tap was also added their own standard bridge(4) along with 1 physical > interface. >

Re: Suricata from packages

2020-01-21 Thread Eric Zylstra
> On Jan 21, 2020, at 1:45 PM, Stuart Henderson wrote: > > On 2020-01-18, Eric Zylstra wrote: >> >> >>> On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot wrote: >>> >>> On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: OpenBSD 6.6 Generic.MP amd64 Stable. I in

Re: Suricata from packages

2020-01-21 Thread Eric Zylstra
The pkg-readme was perfect. Concise and all I need to know. Two minutes and I’m good to go. Thanks all! EZ Sent from my iPhone > On Jan 21, 2020, at 3:59 PM, Stuart Henderson wrote: > > On 2020/01/21 15:40, Eric Zylstra wrote: >> >> On Jan 21, 2020, at 1:45 PM, Stuart Henderson w

Re: OpenBSD PPPOE

2020-01-21 Thread Todd C . Miller
On Mon, 20 Jan 2020 22:42:51 -0700, peterwkc wrote: > /etc/hostname.pppoe0 > pppoedev fxp0 authproto pap authname "" authkey "" up > dest 0.0.0.1 > !/sbin/route add default -ifp pppoe0 0.0.0.1 > > Not able to get a connection. What wrong with it? Try using authproto chap instead of pap and see if

Re: Suricata from packages

2020-01-21 Thread Stuart Henderson
On 2020/01/21 15:40, Eric Zylstra wrote: > > > > On Jan 21, 2020, at 1:45 PM, Stuart Henderson wrote: > > > > On 2020-01-18, Eric Zylstra wrote: > >> > >> > >>> On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot > >>> wrote: > >>> > >>> On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wr

Re: Suricata from packages

2020-01-21 Thread b2s2d
On 2020-01-18 07:08, Eric Zylstra wrote: On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot wrote: On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: OpenBSD 6.6 Generic.MP amd64 Stable. I installed suricata using pkg_add. Having trouble with starting it. $ doas rcctl start suricata

Fwd: tap(4) performance tuning on (amd64)

2020-01-21 Thread Tom Smyth
in testing tap(4) performance on the same box with the following config using claudios userlandbridge (tbridge) in between two tap interfaces each tap was also added their own standard bridge(4) along with 1 physical interface. iperf3client--ix0--bridge0--tap0--tbridge--tap1--bridge1--ix1---iper

Re: Suricata from packages

2020-01-21 Thread b2s2d
On 2020-01-18 07:08, Eric Zylstra wrote: On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot wrote: On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: OpenBSD 6.6 Generic.MP amd64 Stable. I installed suricata using pkg_add. Having trouble with starting it. $ doas rcctl start suricata

Re: Suricata from packages

2020-01-21 Thread Stuart Henderson
On 2020-01-18, Eric Zylstra wrote: > > >> On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot wrote: >> >> On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: >>> OpenBSD 6.6 Generic.MP amd64 >>> Stable. >>> >>> I installed suricata using pkg_add. Having trouble with starting it. pkg_add

Re: less --no-init and multiline $PS1

2020-01-21 Thread Stuart Henderson
On 2020-01-21, Bodie wrote: > > Here I am thinking what can be so useful to see after each command run > on multiple lines of PS1... Some people put the path on a separate line to avoid annoying shell behaviour when they're in a deep path..

Re: dig -p 5353 foo.bar core dumped

2020-01-21 Thread Stuart Henderson
On 2020-01-21, Dieter Rauschenberger wrote: > Hi misc, > > on my intranet i have unbound and nsd running, both on the same > machine. unbount is listening on port 53, nsd is listening on port > 5353 on 127.0.0.1. If i run > > dig @127.0.0.1 -p 53 foo.bar > > everything is fine. But if I want to qu

Re: dig -p 5353 foo.bar core dumped

2020-01-21 Thread Jordan Geoghegan
On 2020-01-21 11:32, Paul de Weerd wrote: On Tue, Jan 21, 2020 at 11:25:33AM -0800, Jordan Geoghegan wrote: | dig doesnt core dump for me, it just prints this warning: ";; Error, | only port 53 supported". I wonder why the error isnt being printed | for OP. Interesting. Are you on -current?

Re: dig -p 5353 foo.bar core dumped

2020-01-21 Thread Paul de Weerd
On Tue, Jan 21, 2020 at 11:25:33AM -0800, Jordan Geoghegan wrote: | dig doesnt core dump for me, it just prints this warning: ";; Error, | only port 53 supported". I wonder why the error isnt being printed | for OP. Interesting. Are you on -current? I updated to the latest snapshot yesterday and

Re: Suricata from packages

2020-01-21 Thread Eric Zylstra
> On Jan 18, 2020, at 9:08 AM, Eric Zylstra wrote: > > > >> On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot > > wrote: >> >> On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: >>> OpenBSD 6.6 Generic.MP amd64 >>> Stable. >>> >>> I installed suricata us

Re: dig -p 5353 foo.bar core dumped

2020-01-21 Thread Jordan Geoghegan
On 2020-01-21 11:05, Paul de Weerd wrote: On Tue, Jan 21, 2020 at 06:58:02PM +0100, Dieter Rauschenberger wrote: | Hi misc, | | on my intranet i have unbound and nsd running, both on the same | machine. unbount is listening on port 53, nsd is listening on port | 5353 on 127.0.0.1. If i run | |

Re: dig -p 5353 foo.bar core dumped

2020-01-21 Thread Paul de Weerd
On Tue, Jan 21, 2020 at 06:58:02PM +0100, Dieter Rauschenberger wrote: | Hi misc, | | on my intranet i have unbound and nsd running, both on the same | machine. unbount is listening on port 53, nsd is listening on port | 5353 on 127.0.0.1. If i run | | dig @127.0.0.1 -p 53 foo.bar | | everything

Re: less --no-init and multiline $PS1

2020-01-21 Thread Bodie
On 19.1.2020 12:44, Richard Ulmer wrote: Hi, when using a $PS1, which has more than one line, `less --no-init` cuts of some lines at the top, when it quits. This is especially annyoing when using `git diff` and `git show`. For example, `echo "foo\nbar" | less --no-init --quit-if-one-screen` wi

Re: OpenBSD PPPOE

2020-01-21 Thread jrmu
Can you provide me with some more information? Perhaps run dmesg or check /var/log/messages ? You may also want to reboot your PC and test ping to see where the network error lies. jrmu On Mon, Jan 20, 2020 at 10:42:51PM -0700, peterwkc wrote: > Dear All, > > I would like to setup my openbsd a

dig -p 5353 foo.bar core dumped

2020-01-21 Thread Dieter Rauschenberger
Hi misc, on my intranet i have unbound and nsd running, both on the same machine. unbount is listening on port 53, nsd is listening on port 5353 on 127.0.0.1. If i run dig @127.0.0.1 -p 53 foo.bar everything is fine. But if I want to query nsd direct with dig @127.0.0.1 -p 5353 foo.bar dig cor

Re: less --no-init and multiline $PS1

2020-01-21 Thread Richard Ulmer
Hi Theo, "Theo de Raadt" wrote: > The diff is clearly a layer violation, trying to interpret and dance > for an event which happens after less terminates. I didn't think about it this way, but now agree with you that my patch should be disregarded. I thought about a solution which doesn't viola

Re: OpenBSD PPPOE

2020-01-21 Thread Mihai Popescu
$man pppoe or http://man.openbsd.org/pppoe

new support

2020-01-21 Thread Jiri Navratil
0 C Czech Republic T Prague Z 16500 O JIRI NAVRATIL (R) I Jiri Navratil A Novosuchdolska 581/5a M j...@navratil.cz U https://nocloud.cz/ B +420 777 224 245 N Using OpenBSD on physical i386, amd64 and arm64 hardware. N Providing nocloud solutions on physical HW with OpenBSD. N Teaching Unix operatin

Re: Suricata from packages

2020-01-21 Thread Eric Zylstra
> On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot wrote: > > On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: >> OpenBSD 6.6 Generic.MP amd64 >> Stable. >> >> I installed suricata using pkg_add. Having trouble with starting it. >> >> $ doas rcctl start suricata >> …fails. No inf

OpenBSD PPPOE

2020-01-21 Thread peterwkc
Dear All, I would like to setup my openbsd as router. /etc/hostname.fxp0 up /etc/hostname.pppoe0 pppoedev fxp0 authproto pap authname "" authkey "" up dest 0.0.0.1 !/sbin/route add default -ifp pppoe0 0.0.0.1 Not able to get a connection. What wrong with it? -- Sent from: http://openbsd-ar

Re: tap(4) performance tuning on (amd64)

2020-01-21 Thread Tom Smyth
Thanks Claudio, the program now seems to run without exiting ... Ill do some tests and get back to you later Tom Smyth On Tue, 21 Jan 2020 at 03:09, Claudio Jeker wrote: > > On Tue, Jan 21, 2020 at 02:44:35AM +, Tom Smyth wrote: > > Claudio, > > Thanks for this, > > I compiled it on Openbs

Re: tap(4) performance tuning on (amd64)

2020-01-21 Thread Tom Smyth
Thanks Claudio, Ill investigate a little further On Tue, 21 Jan 2020 at 03:09, Claudio Jeker wrote: > > On Tue, Jan 21, 2020 at 02:44:35AM +, Tom Smyth wrote: > > Claudio, > > Thanks for this, > > I compiled it on Openbsd 6.6 (stable) amd64 > > > > it compiled without error > > > > the binar