lyrics.html nit.

2016-08-03 Thread Gerald Hanuer
Hello misc@, In lyrics.html 6.0: "Black Hat" Black Hat, don't them let put you in the light To Black Hat, don't let them put you in the light And to all who make the release possible, cheers! "Puffy becomes better,so much better all the time" Regards, Gerald Hanuer

Re: lyrics.html nit.

2016-08-03 Thread Theo Buehler
On Wed, Aug 03, 2016 at 07:20:34AM +, Gerald Hanuer wrote: > Hello misc@, > > In lyrics.html > 6.0: "Black Hat" > > Black Hat, don't them let put you in the light > To > Black Hat, don't let them put you in the light Fixed, thanks! > > > And to all who make the release possible, cheers!

Re: mss and obsd

2016-08-03 Thread Peter J. Philipp
Hi, The maximum payload in ping.c (all source has been run through cat -n) is: 92 #define MAXPAYLOAD (IP_MAXPACKET - MAXIPLEN - 8) /* max ICMP payload size */ which consists of: 90 #define MAXIPLEN60 This is the maximum IP len since the value is leftshifted by 2 and

Re: Weird cursor problem

2016-08-03 Thread bytevolcano
Greetings Anton, On Wed, 3 Aug 2016 03:36:39 +0300 li...@wrant.com wrote: > Wed, 3 Aug 2016 07:10:51 +1000 bytevolc...@safe-mail.net > > > ... > > > > It still happens regularly on 5.9 (with all errata up to and > > including July applied) as well. I felt that this was quite random > > actually

PC Engines APU NIC (RTL8111E) performance

2016-08-03 Thread Momtchil Momtchev
Hello, Does anyone with a working knowledge of re(4) have any idea why the PC Engines APU NICs perform so poorly in OpenBSD? Throughput is 300 to 320 MBit/s with about 30 pf rules, NAT and 1 states when running 5.9. This is much less than an APU running Linux or FreeBSD or an

Re: SSH key encryption when using FDE

2016-08-03 Thread Nick Holland
On 08/02/16 21:02, Hugo Osvaldo Barrera wrote: > On Tue, Aug 2, 2016, at 22:01, Nick Holland wrote: >> On 08/02/16 01:48, Remi Locherer wrote: ... >> > I still makes sense to encrypt your ssh keys. Think of a bug in a >> > browser >> > that allows a server reading your files. >> >> right. >> >>

Some shell scripts I've wrote

2016-08-03 Thread Walter Alejandro Iglesias
Hello, Not what you asked for, but taking in care some people here complain about not having a "desktop wireless connection app" as they got used by the popular OSs, I'll share (shamelessly) what I improvised to solve my specific needs with the aim to encourage others to write their own

Re: Some shell scripts I've wrote

2016-08-03 Thread Walter Alejandro Iglesias
Sorry! I have an entry in vimrc for my mail that replaces '>>' for '> >'. That screwed the code, it was a bad idea. Here the corrected code: = #!/bin/sh # ~/bin/wifi.sh - occasional wireless connection in OpenBSD [

Re: BL460c G1 issues

2016-08-03 Thread YASUOKA Masahiko
On Tue, 24 May 2016 16:02:21 -0400 Steve Shockley wrote: > I have an HP BL460c blade I'm using with OpenBSD. I was able to get > 5.8 to install by disabling ACPI; since I'm lazy I didn't submit a bug > report. I tried to upgrade to 5.9 (and -current), but booting

Re: SSH key encryption when using FDE

2016-08-03 Thread Predrag Punosevac
Stuart Henderson wrote: > On 2016-08-03, Hugo Osvaldo Barrera wrote: > > Doesn't the fact that ssh-agent is running somehow make the keys > > accessible anyway? > > If it's running and you haven't told it to forget the keys one > way or another: yes. > > Some screen lockers

write all files in /mnt to usb using dd

2016-08-03 Thread Teng Zhang
hi, i want to write all files in /mnt to usb,so i issued the command: doas dd if=/mnt of=/dev/rsd1c bs=5M but it failed. I'm not pretty understand the way to operate dd, so could you please tell me how can i operate it to write the files to usb? Some information about my system: the files

Re: write all files in /mnt to usb using dd

2016-08-03 Thread Ted Unangst
Teng Zhang wrote: > hi, i want to write all files in /mnt to usb,so i issued the command: > > doas dd if=/mnt of=/dev/rsd1c bs=5M > > but it failed. I'm not pretty understand the way to operate dd, so > could you please tell me how can i operate it to write the files to > usb? The tool you

Re: SSH key encryption when using FDE

2016-08-03 Thread Rubén Llorente
Nick Holland wrote: > Now, I suspect (nb: I am not a cryptographer or SSH coder. But I sat at > a table with one once, and was completely in awe) the key has to be held > in unlocked form in RAM, so perhaps a very serious breach that allowed > the raw access of system

Re: Some shell scripts I've wrote

2016-08-03 Thread Scott Bonds
I count myself among those who have taken a stab at automating wifi roaming in userland: https://github.com/bonds/winot To be clear, winot is far, far from production ready, its more of an excuse for me to play with Haskell at this point. But I've started adding to the Further Reading and

Re: SSH key encryption when using FDE

2016-08-03 Thread Stuart Henderson
On 2016-08-03, Hugo Osvaldo Barrera wrote: > Doesn't the fact that ssh-agent is running somehow make the keys > accessible anyway? If it's running and you haven't told it to forget the keys one way or another: yes. Some screen lockers allow you to run another program; one thing

Re: Some shell scripts I've wrote

2016-08-03 Thread Steven Dee
Cool. Maybe a good complement for . On Wed, Aug 3, 2016 at 11:30 AM Walter Alejandro Iglesias < roque...@gmail.com> wrote: > Sorry! > > I have an entry in vimrc for my mail that replaces '>>' for '> >'. That > screwed the code, it was a bad idea. Here the

Re: resolv.conf with dhcp when upgrading with bsd.rd

2016-08-03 Thread Solène Rapenne
Le 2016-08-03 22:11, Ossi Herrala a écrit : On Mon, Aug 01, 2016 at 02:14:27PM +0200, Solène RAPENNE wrote: When upgrading with bsd.rd, dhclient will use this dhclient.conf with unbound stopped, the system won't resolve names and won't download packages through http. How can I use dhcp and

Re: resolv.conf with dhcp when upgrading with bsd.rd

2016-08-03 Thread Solène Rapenne
Le 2016-08-01 14:57, j...@wxcvbn.org a écrit : Solène RAPENNE writes: Hello, Using -current with unbound as a local dns resolver. dhclient.conf is set to supersede the dhcp nameserver to use my unbound server /etc/dhclient.conf send host-name "solene"; supersede

Re: Thinking about writing something I'm calling wifid

2016-08-03 Thread Bryan Everly
Hi everyone, I'm looking for feedback before I burn time on this project so please let me know what you think. I'm thinking about building a daemon that I'll write in C (looked at the httpd code in /usr.sbin/httpd as a reference) that essentially monitors your network connectivity in the

Re: resolv.conf with dhcp when upgrading with bsd.rd

2016-08-03 Thread Ossi Herrala
On Mon, Aug 01, 2016 at 02:14:27PM +0200, Solène RAPENNE wrote: > When upgrading with bsd.rd, dhclient will use this dhclient.conf with > unbound stopped, the system won't resolve names and won't download packages > through http. > > How can I use dhcp and keep 127.0.0.1 as domain name server

Re: ksh, PS1 and PWD

2016-08-03 Thread Fred
On 08/04/16 00:25, Fred wrote: On 08/03/16 23:19, Uwe Werler wrote: Hello list, maybe this can be done better (~/.kshrc): _pwd(){ local _len="25" local _sym="/<.." [[ ${PWD} == ${HOME}* ]] && { PWD="~${PWD#${HOME}}"; _sym="~${_sym#/}"; } [[ ${#PWD} -gt $_len ]] && { typeset

Re: resolv.conf with dhcp when upgrading with bsd.rd

2016-08-03 Thread trondd
On Wed, August 3, 2016 5:07 pm, Solène Rapenne wrote: > Le 2016-08-03 22:11, Ossi Herrala a écritÂ: >> On Mon, Aug 01, 2016 at 02:14:27PM +0200, Solène RAPENNE wrote: >> >>> When upgrading with bsd.rd, dhclient will use this dhclient.conf with >>> unbound stopped, the system won't resolve

Re: ksh, PS1 and PWD

2016-08-03 Thread Fred
On 08/03/16 23:19, Uwe Werler wrote: Hello list, maybe this can be done better (~/.kshrc): _pwd(){ local _len="25" local _sym="/<.." [[ ${PWD} == ${HOME}* ]] && { PWD="~${PWD#${HOME}}"; _sym="~${_sym#/}"; } [[ ${#PWD} -gt $_len ]] && { typeset -R"$_len" local _pwd=$PWD;

ksh, PS1 and PWD

2016-08-03 Thread Uwe Werler
Hello list, maybe this can be done better (~/.kshrc): _pwd(){ local _len="25" local _sym="/<.." [[ ${PWD} == ${HOME}* ]] && { PWD="~${PWD#${HOME}}"; _sym="~${_sym#/}"; } [[ ${#PWD} -gt $_len ]] && { typeset -R"$_len" local _pwd=$PWD; PWD="${_sym}/${_pwd#*/}"; } print $PWD }

Re: ksh, PS1 and PWD

2016-08-03 Thread lists
Thu, 4 Aug 2016 00:19:44 +0200 Uwe Werler > Hello list, > > maybe this can be done better (~/.kshrc): > [..] > > PS1='\h:$(_pwd)\\$ ' > > Any hints? > > Thanks in advance. Hi Uwe, The best advice as always: simplicity. Check in ksh(1), parameter PS1: man ksh -

Re: Weird cursor problem

2016-08-03 Thread lists
Wed, 3 Aug 2016 21:02:20 +1000 [...] > It would be helpful if I could get the synaptics driver running first. ;) > The problem is I am unsure what kind of driver my touchpad uses, and > xinput reveals this: > > $ xinput > + Virtual core pointer