core dump libcap

2014-12-24 Thread Djamel FERRAG
Hi, I'm trying to compile libpcap 1.62 on my openbsd 5.6 box since several days without success, this is output from make and gdb gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap-bpf.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c

hotplugd attach into /etc/examples?

2014-12-24 Thread frantisek holop
now that there is a dedicated place for examples, i think it would be easier to get started with hotplugd/attach with a file instead of copy pasting from the manual page... the only difference from the man page example is simple logging with logger(1) (to help add new devices), and commenting out

Re: hotplugd attach into /etc/examples?

2014-12-24 Thread Ingo Schwarze
Hi, frantisek holop wrote on Wed, Dec 24, 2014 at 11:10:31AM +0100: now that there is a dedicated place for examples, You misunderstand. The point of creating /etc/examples was not to create a new place for documentation. The point was to be able to delete lots of junk from /etc/ without

Re: core dump libcap

2014-12-24 Thread ilyes aiouaz - gmail
Bonjour Djamel, Est ce que tu as essayé de l'installer via pkg_add avant d'utiliser les ports ? Ilyès Aiouaz Email : ilyes.aio...@gmail.com Mobile : +213 (0)560 08 41 67 Le 24/12/2014 11:42, Djamel FERRAG a écrit : Hi, I'm trying to compile libpcap 1.62 on my openbsd 5.6 box

Re: core dump libcap

2014-12-24 Thread Ted Unangst
On Wed, Dec 24, 2014 at 11:42, Djamel FERRAG wrote: Hi, I'm trying to compile libpcap 1.62 on my openbsd 5.6 box since several days without success, this is output from make and gdb Bad system call (core dumped) #0 0x051f3b0299fa in dup3 () at stdin:2 You've managed to install

Re: hotplugd attach into /etc/examples?

2014-12-24 Thread frantisek holop
Ingo Schwarze, 24 Dec 2014 11:34: now that there is a dedicated place for examples, You misunderstand. The point of creating /etc/examples was not to create a new place for documentation. The point was to be able to delete lots of junk from /etc/ without being held back by the

Re: ksh background loop behavior

2014-12-24 Thread Raf
On Wed, Dec 24, 2014 at 02:09:08AM EST, Philippe Meunier wrote: Hello, Hi Philippe, I have a small ksh script that uses ps(1) inside a background loop to monitor some process while the script does some other stuff in the foreground. Here is a simplified version of the script that monitors

Re: core dump libcap

2014-12-24 Thread Djamel FERRAG
The idea behind is to install snort and actually the version provided by openbsd ports lacks some features. Le 24 décembre 2014 à 11:33, ilyes aiouaz - gmail ilyes.aio...@gmail.com a écrit : Bonjour Djamel, Est ce que tu as essayé de l'installer via pkg_add avant d'utiliser les ports ?

Re: Relayd, how to relay-to based on path

2014-12-24 Thread Sebastian Benoit
Harald Klimach(har...@klimachs.de) on 2014.11.30 11:32:33 +0100: Hello, I am trying to substitute a nginx proxy by relayd and would like to forward connections to different backends, based on the path in the request. In the Paper Recent work in OpenBSD relayd from 2013 there is an example

Weird executable in /bin/ - i386 snapshots Dec 10

2014-12-24 Thread Adam Wolk
Hi all, I was doing a cursory look around my i386 laptop installation of OpenBSD snapshot from Dec 10 obtained from ftp://ftp.icm.edu.pl/ and noticed an unusual executable /bin/[ It has the same timestamp as all other binaries installed with the Dec 10 snapshot. Does anyone know if this is

Re: core dump libcap

2014-12-24 Thread Otto Moerbeek
On Wed, Dec 24, 2014 at 02:08:07PM +0100, Djamel FERRAG wrote: The idea behind is to install snort and actually the version provided by openbsd ports lacks some features. SIGSYS means you system has been updated incompletely and incorrectly. It is in a state where it produces excutables that

Re: Weird executable in /bin/ - i386 snapshots Dec 10

2014-12-24 Thread Joe Gidi
man 1 test On December 24, 2014 8:55:15 AM EST, Adam Wolk adam.w...@koparo.com wrote: Hi all, I was doing a cursory look around my i386 laptop installation of OpenBSD snapshot from Dec 10 obtained from ftp://ftp.icm.edu.pl/ and noticed an unusual executable /bin/[ It has the same timestamp as

Re: Weird executable in /bin/ - i386 snapshots Dec 10

2014-12-24 Thread Otto Moerbeek
On Wed, Dec 24, 2014 at 02:55:15PM +0100, Adam Wolk wrote: Hi all, I was doing a cursory look around my i386 laptop installation of OpenBSD snapshot from Dec 10 obtained from ftp://ftp.icm.edu.pl/ and noticed an unusual executable /bin/[ It has the same timestamp as all other binaries

interesting question about shells

2014-12-24 Thread Gregory Edigarov
Hi, an interesting question has just come to my head: do you know of any shell that could complete from the terminal output of any of the previous command? like for example: i want it to complete from a result of ls, so I give the ls command, look at its output, then for example i type 'cat

Re: Weird executable in /bin/ - i386 snapshots Dec 10

2014-12-24 Thread Vivek Vinod
I asked the exact same thing elsewhere... ‎http://daemonforums.org/showthread.php?t=8778 Sent from my BlackBerry 10 smartphone.   Original Message   From: Otto Moerbeek Sent: Wednesday 24 December 2014 19:33 To: Adam Wolk Cc: misc@openbsd.org Subject: Re: Weird executable in /bin/ - i386

Re: interesting question about shells

2014-12-24 Thread Christian Weisgerber
On 2014-12-24, Gregory Edigarov ediga...@qarea.com wrote: an interesting question has just come to my head: do you know of any shell that could complete from the terminal output of any of the previous command? That would require serious contortions since the stdout/stderr output of commands

Re: interesting question about shells

2014-12-24 Thread Francois Pussault
From: Gregory Edigarov ediga...@qarea.com Sent: Wed Dec 24 15:56:02 CET 2014 To: misc@openbsd.org Subject: interesting question about shells Hi, an interesting question has just come to my head: do you know of any shell that could complete

[solved]Re: bind: Permission denied

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 03:26:21AM +, Maurice McCarthy wrote: Have a look at the documentation installed with the port. $ pkg_info -L cmus will list all the files installed. There maybe something in /usr/local/share/doc/pkg-readmes Check the configuration files to see if you need to

Adding a new keymap

2014-12-24 Thread Henrique Lengler
Hi, I would like to install a custom keymap on my system but I don`t know how since I cant find this information on the internet. I already used it on linux it is a kbd keymap. I get it here http://github.com/nandoflorestan/teclado-br Hom cat I add it to my system? Will I need to convert it

systrace

2014-12-24 Thread Dan Becker
asking for a friend Is the systrace policy format fully documented anywhere? There's a quick explanation on systrace(1) but there's no dedicated page for the format -- --Dan

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
On Wed, Dec 24, 2014 at 03:06:11PM -0200 or thereabouts, Henrique Lengler wrote: Hi, I would like to install a custom keymap on my system but I don`t know how since I cant find this information on the internet. I already used it on linux it is a kbd keymap. I get it here

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 05:25:46PM +, Maurice McCarthy wrote: man setxkbmap man kbd So why does wsconsctl exist? Would not be better if I use it? Regards, -- Henrique Lengler

Re: interesting question about shells

2014-12-24 Thread Gregory Edigarov
On 12/24/2014 06:19 PM, Christian Weisgerber wrote: On 2014-12-24, Gregory Edigarov ediga...@qarea.com wrote: an interesting question has just come to my head: do you know of any shell that could complete from the terminal output of any of the previous command? That would require serious

Re: systrace

2014-12-24 Thread Ted Unangst
On Wed, Dec 24, 2014 at 09:12, Dan Becker wrote: asking for a friend Is the systrace policy format fully documented anywhere? There's a quick explanation on systrace(1) but there's no dedicated page for the format The explanation may be quick, but as far as i know it is also complete.

Re: athn(4) WPA2-PSK software crypto CPU loading

2014-12-24 Thread Jonathan Thornburg
In http://marc.info/?l=openbsd-miscm=141928659802658w=1 I asked about the CPU overhead of doing wifi WPA2 crypto on a slow CPU. I have received two very useful off-list replies, which I'll summarize here for the archives: One person has a very similar setup to the one I described (athn(4),

Re: athn(4) WPA2-PSK software crypto CPU loading

2014-12-24 Thread Jonathan Thornburg
In http://marc.info/?l=openbsd-miscm=141928659802658w=1 I asked Should I be worried about the CPU loading of software WPA2 crypto running on the (relatively slow) ALIX Geode processor? That is, is the software crypto likely to limit the available wifi data rate? In

Re: Weird executable in /bin/ - i386 snapshots Dec 10

2014-12-24 Thread Adam Wolk
On Wed, Dec 24, 2014, at 04:30 PM, Vivek Vinod wrote: I asked the exact same thing elsewhere... ‎http://daemonforums.org/showthread.php?t=8778 I also tried man [ before I emailed, then couldn't find the source file in cvs - though that was my stupidity. Generally I never noticed the file

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
On 2014-12-24 17:31, Henrique Lengler wrote: On Wed, Dec 24, 2014 at 05:25:46PM +, Maurice McCarthy wrote: man setxkbmap man kbd So why does wsconsctl exist? Would not be better if I use it? Regards, Yes, it is likely better. Don't know if it changes X though. I'm not great with

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
See also http://www.openbsd.org/faq/faq7.html

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 07:56:37PM +, Maurice McCarthy wrote: Yes, it is likely better. Don't know if it changes X though. I'm not great with OpenBSD but had to go through some of the tortures you are having yourself, so I'm doing my best to help as I can. Regards Moss and Merry

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
It is really torturing. I can't find anything on the internet about how can I add a keymap to wscons. OpenBSD really lacks in its documentation. Regards, Always try the man pages first and the online faq. You will find the documentation 1000x better than anywhere else! That said it is still

Re: athn(4) WPA2-PSK software crypto CPU loading

2014-12-24 Thread Christian Weisgerber
Jonathan Thornburg: I have no experience with that configuration, but I had a broadly comparable setup where a Soekris net5501 (same CPU as the ALIX) did IPsec for a .11g network. What was the bandwidth of that network? .11g, 54 Mbit/s. Something like 2 Mbyte/s throughput into the

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
$ man wsconsctl.conf WSCONSCTL.CONF(5) File Formats Manual WSCONSCTL.CONF(5) NAME wsconsctl.conf — wsconsctl variables to set at system startup DESCRIPTION wsconsctl.conf contains a list of wsconsctl(8) variable assignments that is read at system startup by rc(8) during the boot

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 08:10:51PM +, Maurice McCarthy wrote: Always try the man pages first and the online faq. You will find the documentation 1000x better than anywhere else! That said it is still a steep learning curve. :-) but worth it, so far as I'm concerned. I'm saying that I did

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 08:15:53PM +, Maurice McCarthy wrote: $ man wsconsctl.conf WSCONSCTL.CONF(5) File Formats Manual WSCONSCTL.CONF(5) NAME wsconsctl.conf ??? wsconsctl variables to set at system startup DESCRIPTION wsconsctl.conf contains a list of wsconsctl(8) variable

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
Many keymaps can be set during the installation: http://www.openbsd.org/faq/faq4.html#InstQuestions 4.5.2 - The Install Questions Now we start getting the questions that will define how the system is set up. You will note that in most cases, all the questions are asked up front, then the

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 08:21:31PM +, Maurice McCarthy wrote: Many keymaps can be set during the installation: I'm talking about add a new keymap. Not choose one that already exists. Looks like anyone know how the keymaps had been added to openbsd, they are just there. Regards, --

Re: Adding a new keymap

2014-12-24 Thread Maurice McCarthy
Ah, I am misunderstanding the question. I don't have an OpenBSD system in front of me. (At work over Christmas.) But I'll see if I can work something out. Regards Moss man xkbcomp If you have the data to compile a new map.

Re: Adding a new keymap

2014-12-24 Thread Ted Unangst
On Wed, Dec 24, 2014 at 15:06, Henrique Lengler wrote: Hi, I would like to install a custom keymap on my system but I don`t know how since I cant find this information on the internet. I already used it on linux it is a kbd keymap. I get it here

Re: Simple sendmail configuration

2014-12-24 Thread Ulrich Grassberger
Hi, On 12/20/14 21:48, Vijay Sankar wrote: I would like to try to help -- but not sure that I have understood your problem correctly, so here is a guess. To clarify: Out of the box OpenBSD5.6 uses /usr/share/sendmail/cf/openbsd-localhost.mc as the config source for its mail system. This

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 03:31:47PM -0500, Ted Unangst wrote: Add it to src/sys/dev/pckbc/wskbdmap_mfii.c and build a new kernel. WTF Where this src is located? -- Henrique Lengler

Re: Adding a new keymap

2014-12-24 Thread Adam Wolk
On Wed, Dec 24, 2014, at 10:04 PM, Henrique Lengler wrote: On Wed, Dec 24, 2014 at 03:31:47PM -0500, Ted Unangst wrote: Add it to src/sys/dev/pckbc/wskbdmap_mfii.c and build a new kernel. WTF Where this src is located? -- Henrique Lengler In the CVS source tree:

Re: Adding a new keymap

2014-12-24 Thread Dmitrij D. Czarkoff
Henrique Lengler said: I would like to install a custom keymap on my system Are you talking about X11 or console keymap? The former is defined in /usr/X11R6/share/X11/xkb/symbols/, the latter – in /usr/src/sys/dev/pckbc/wskbdmap_mfii.c. -- Dmitrij D. Czarkoff

Re: Adding a new keymap

2014-12-24 Thread Henrique Lengler
On Wed, Dec 24, 2014 at 11:11:20PM +0100, Dmitrij D. Czarkoff wrote: Henrique Lengler said: I would like to install a custom keymap on my system Are you talking about X11 or console keymap? The former is defined in /usr/X11R6/share/X11/xkb/symbols/, the latter ??? in

Re: Adding a new keymap

2014-12-24 Thread Mats O Jansson
I assume you want to create a keyboard map for brazilian dvorak i console mode Create a script that create a custom map. When the script is working it can be converted to source code. The script should look something like # Set encoding in a known state wsconsctl

A christmassy related issue with traceroute

2014-12-24 Thread Mike
Hi All, While performing an install and catching up with some Christmas spirited news, I heard that someone had put a Christmas song in DNS records for our enjoyment. Alas, I was disappointed to see that the OpenBSD traceroute seems to munge the output. :( To test, run traceroute -m 255

Re: Simple sendmail configuration

2014-12-24 Thread Bryan Steele
On Wed, Dec 24, 2014 at 09:59:27PM +0100, Ulrich Grassberger wrote: Hi, On 12/20/14 21:48, Vijay Sankar wrote: I would like to try to help -- but not sure that I have understood your problem correctly, so here is a guess. To clarify: Out of the box OpenBSD5.6 uses

Re: A christmassy related issue with traceroute

2014-12-24 Thread Daniel Dickman
On Wed, Dec 24, 2014 at 7:26 PM, Mike lesniewskis...@gmail.com wrote: Hi All, While performing an install and catching up with some Christmas spirited news, I heard that someone had put a Christmas song in DNS records for our enjoyment. Alas, I was disappointed to see that the OpenBSD

openiked status

2014-12-24 Thread jungle Boogie
Hello All, The website for openiked[0] indicates it's under active development but I'm just curious to know if this is still a developing project or if it has been pretty much met all the goal?. Best, jungle [0] http://www.openiked.org/ -- --- inum: 883510009027723 sip:

Re: openiked status

2014-12-24 Thread Theo de Raadt
The website for openiked[0] indicates it's under active development but I'm just curious to know if this is still a developing project or if it has been pretty much met all the goal?. Almost 10K of lines changed in the last year, so quite active. It is /sbin/iked (Would be difficult to make

Re: A christmassy related issue with traceroute

2014-12-24 Thread Theo de Raadt
Alas, I was disappointed to see that the OpenBSD traceroute seems to munge the output. :( Guess you don't understand internet.