core dump libcap
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 ./fad-getad.c if grep GIT ./VERSION /dev/null; then read ver ./VERSION; echo $ver | tr -d '\012'; date +_%Y_%m_%d; else cat ./VERSION; fi | sed -e 's/.*/static const char pcap_version_string[] = libpcap version ;/' version.h gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./inet.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./gencode.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./optimize.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./nametoaddr.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./etherent.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./savefile.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap-ng.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap-common.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_image.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c ./scanner.l Bad system call (core dumped) *** Error 140 in /usr/local/src/libpcap-1.6.2 (Makefile:447 'scanner.c') # flex -V flex 2.5.39 GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-unknown-openbsd5.6... Core was generated by `flex'. Program terminated with signal 12, Bad system call. Loaded symbols for /usr/bin/flex Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Reading symbols from /usr/lib/libc.so.77.3...done. Loaded symbols for /usr/lib/libc.so.77.3 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x051f3b0299fa in dup3 () at stdin:2 2 stdin: No such file or directory. in stdin got the same error using different versions of flex 2.5.4 2.5.35 2.5.39 Thanks in advance [demime 1.01d removed an attachment of type text/x-vcard which had a name of DjamelFERRAG.vcf]
hotplugd attach into /etc/examples?
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 (but leaving for reference) the sony camera example. i think it would be useful to somehow advertise these examples (perhaps a reference in their respective man files) as they are easy to overlook, especially for newcomers, and could save some d'oh moments... -f Index: etc/examples/attach === RCS file: etc/examples/attach diff -N etc/examples/attach --- /dev/null 1 Jan 1970 00:00:00 - +++ etc/examples/attach 24 Dec 2014 09:58:07 - @@ -0,0 +1,24 @@ +#!/bin/sh + +DEVCLASS=$1 +DEVNAME=$2 + +logger -i -t attach DEVCLASS=$DEVCLASS, DEVNAME=$DEVNAME + +case $DEVCLASS in +2) + # disk devices + disklabel=`/sbin/disklabel $DEVNAME 21 | \ + sed -n '/^label: /s/^label: //p'` + logger -i -t attach disklabel='$disklabel' +# case $disklabel in +# Sony*DSC*) +# mount -o nodev,nosuid /dev/$DEVNAMEi /mnt/camera +# ;; +# esac + ;; +3) + # network devices; requires hostname.$DEVNAME + sh /etc/netstart $DEVNAME + ;; +esac Index: usr.sbin/hotplugd/hotplugd.8 === RCS file: /cvs/src/usr.sbin/hotplugd/hotplugd.8,v retrieving revision 1.12 diff -u -p -r1.12 hotplugd.8 --- usr.sbin/hotplugd/hotplugd.821 Jan 2014 03:15:46 - 1.12 +++ usr.sbin/hotplugd/hotplugd.824 Dec 2014 09:58:10 - @@ -85,34 +85,6 @@ Script to execute on device attachment. .It /etc/hotplug/detach Script to execute on device detachment. .El -.Sh EXAMPLES -Sample -.Pa attach -script: -.Bd -literal -offset indent -#!/bin/sh - -DEVCLASS=$1 -DEVNAME=$2 - -case $DEVCLASS in -2) - # disk devices - disklabel=`/sbin/disklabel $DEVNAME 2\*(Gt1 | \e - sed -n '/^label: /s/^label: //p'` - case $disklabel in - Sony*DSC*) - # Sony DSC camera - mount -o nodev,nosuid /dev/$DEVNAMEi /mnt/camera - ;; - esac - ;; -3) - # network devices; requires hostname.$DEVNAME - sh /etc/netstart $DEVNAME - ;; -esac -.Ed .Sh SEE ALSO .Xr hotplug 4 .Sh HISTORY
Re: hotplugd attach into /etc/examples?
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 being held back by the substantial work of properly integrating the information into manual pages. i think it would be easier to get started with hotplugd/attach with a file instead of copy pasting from the manual page... I don't see the point at all. I strongly object to deleting useful examples from manual pages, except when they are excessive, which doesn't seem to be the case here. Besides, the filename /etc/examples/attach is wrong, but that's hardly relevant given that the whole direction seems questionable. i think it would be useful to somehow advertise these examples In general, i don't think so, i'd rather like the idea of getting rid of as many of them as possible. In those few cases where they are useful (/etc/examples/pf.conf being the canonical example of one that might be useful; right now, it is not), mentioning them in the manual might be useful, but i'd consider that the exception rather than the rule. Yes, i should put my money where my mouth is and all that, but i'm not going to work on it right now. Yours, Ingo Index: etc/examples/attach === RCS file: etc/examples/attach diff -N etc/examples/attach --- /dev/null 1 Jan 1970 00:00:00 - +++ etc/examples/attach 24 Dec 2014 09:58:07 - @@ -0,0 +1,24 @@ +#!/bin/sh + +DEVCLASS=$1 +DEVNAME=$2 + +logger -i -t attach DEVCLASS=$DEVCLASS, DEVNAME=$DEVNAME + +case $DEVCLASS in +2) + # disk devices + disklabel=`/sbin/disklabel $DEVNAME 21 | \ + sed -n '/^label: /s/^label: //p'` + logger -i -t attach disklabel='$disklabel' +#case $disklabel in +#Sony*DSC*) +#mount -o nodev,nosuid /dev/$DEVNAMEi /mnt/camera +#;; +#esac + ;; +3) + # network devices; requires hostname.$DEVNAME + sh /etc/netstart $DEVNAME + ;; +esac Index: usr.sbin/hotplugd/hotplugd.8 === RCS file: /cvs/src/usr.sbin/hotplugd/hotplugd.8,v retrieving revision 1.12 diff -u -p -r1.12 hotplugd.8 --- usr.sbin/hotplugd/hotplugd.8 21 Jan 2014 03:15:46 - 1.12 +++ usr.sbin/hotplugd/hotplugd.8 24 Dec 2014 09:58:10 - @@ -85,34 +85,6 @@ Script to execute on device attachment. .It /etc/hotplug/detach Script to execute on device detachment. .El -.Sh EXAMPLES -Sample -.Pa attach -script: -.Bd -literal -offset indent -#!/bin/sh - -DEVCLASS=$1 -DEVNAME=$2 - -case $DEVCLASS in -2) - # disk devices - disklabel=`/sbin/disklabel $DEVNAME 2\*(Gt1 | \e - sed -n '/^label: /s/^label: //p'` - case $disklabel in - Sony*DSC*) - # Sony DSC camera - mount -o nodev,nosuid /dev/$DEVNAMEi /mnt/camera - ;; - esac - ;; -3) - # network devices; requires hostname.$DEVNAME - sh /etc/netstart $DEVNAME - ;; -esac -.Ed .Sh SEE ALSO .Xr hotplug 4 .Sh HISTORY
Re: core dump libcap
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 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 ./fad-getad.c if grep GIT ./VERSION /dev/null; then read ver ./VERSION; echo $ver | tr -d '\012'; date +_%Y_%m_%d; else cat ./VERSION; fi | sed -e 's/.*/static const char pcap_version_string[] = libpcap version ;/' version.h gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./inet.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./gencode.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./optimize.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./nametoaddr.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./etherent.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./savefile.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap-ng.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap-common.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_image.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c ./scanner.l Bad system call (core dumped) *** Error 140 in /usr/local/src/libpcap-1.6.2 (Makefile:447 'scanner.c') # flex -V flex 2.5.39 GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-unknown-openbsd5.6... Core was generated by `flex'. Program terminated with signal 12, Bad system call. Loaded symbols for /usr/bin/flex Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Reading symbols from /usr/lib/libc.so.77.3...done. Loaded symbols for /usr/lib/libc.so.77.3 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x051f3b0299fa in dup3 () at stdin:2 2 stdin: No such file or directory. in stdin got the same error using different versions of flex 2.5.4 2.5.35 2.5.39 Thanks in advance [demime 1.01d removed an attachment of type text/x-vcard which had a name of DjamelFERRAG.vcf]
Re: core dump libcap
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 several parts of current. The dup3 system call was added after 5.6.
Re: hotplugd attach into /etc/examples?
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 substantial work of properly integrating the information into manual pages. i understand but disagree. for me /etc/examples is the same concept as /usr/local/share/examples the latter is a great way to not clutter up /etc/ at package install time, but at the same time it does not throw out the baby with the bathwater, and it gives me a file i can quickly start working on (together with the man page) instead of copy-pasting everything ab ovo from documentation, especially when many config files need minimal changes for common operation. example config files can be quite helpful and can save a lot of headache, googling and questions to mailing lists. i think hotplugd is special case, because without at least a skeleton attach script it is utterly useless, and i think there should have been a commented out script file from the beginning under /etc/hotplugd (and not /etc/hotplug). the patch i sent is just an idea, i was fairly sure it would never get it in its current form, but i wanted to start a discussion about it. copying the whole /etc/ structure inside /etc/examples seemed excessive for this, after all they are just examples. last but not least, a whole shell script inside a man page seems totally out of place for me, excessive or not. -f -- 2 wrongs don't make a right - but 3 lefts do!
Re: ksh background loop behavior
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 the startx process, as an example: #!/bin/ksh -ex while true; do ps -lww | egrep startx | egrep --line-buffered -v egrep; sleep 1; done ^^^ As you already got the answer you were looking for, I'll only add my 2p, albeit slightly off-topic. Obviously, I don't know what your exact reasons are to use the above construct but three processes seems a bit excessive since pgrep(1) can be used. Regards, Raf
Re: core dump libcap
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 ? 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 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 ./fad-getad.c if grep GIT ./VERSION /dev/null; then read ver ./VERSION; echo $ver | tr -d '\012'; date +_%Y_%m_%d; else cat ./VERSION; fi | sed -e 's/.*/static const char pcap_version_string[] = libpcap version ;/' version.h gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./inet.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./gencode.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./optimize.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./nametoaddr.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./etherent.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./savefile.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap-ng.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap-common.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_image.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c ./scanner.l Bad system call (core dumped) *** Error 140 in /usr/local/src/libpcap-1.6.2 (Makefile:447 'scanner.c') # flex -V flex 2.5.39 GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-unknown-openbsd5.6... Core was generated by `flex'. Program terminated with signal 12, Bad system call. Loaded symbols for /usr/bin/flex Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Reading symbols from /usr/lib/libc.so.77.3...done. Loaded symbols for /usr/lib/libc.so.77.3 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x051f3b0299fa in dup3 () at stdin:2 2 stdin: No such file or directory. in stdin got the same error using different versions of flex 2.5.4 2.5.35 2.5.39 Thanks in advance [demime 1.01d removed an attachment of type text/x-vcard which had a name of DjamelFERRAG.vcf] -- This email was Virus checked by ONA. Djamel FERRAG Chef de Projet Réseaux informatiques Office National de l'Assainissement Mob: +213 770894370 Fax: +213 21762040 [demime 1.01d removed an attachment of type text/x-vcard which had a name of DjamelFERRAG.vcf]
Re: Relayd, how to relay-to based on path
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 with: match request path /images relay-to 10.1.1.1 Basically I need that and a second statement with match request path /app relay-to 10.1.1.2 But, the relay-to option apparently is gone by now, and the filter need to be put into the protocol section. I tried to use to relays with the same listen on statement, but this results only in the second one overwriting the first one. Is it still possible with the new syntax to achieve conditional relays to different servers based on the request path? If so, how? I think, I somehow need to get some information from the protocol section into the relay to base the forward to decision on, but I have no clue how to achieve that. Thanks a lot for any pointers! Harald Hi, on case this was not answered yet: Use the following in your protocols section: match request path /some/path/** forward to extratable You need something like forward to extratable port www mode roundrobin \ check http / code 200 timeout 1000 in your relay section as well. /Benno
Weird executable in /bin/ - i386 snapshots Dec 10
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 normal and what this binary does or where it could came from? $ file /bin/\[ /bin/[: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, statically linked, stripped $ $ sha256 /bin/\[ SHA256 (/bin/[) = c7e1d47560e8d43f3430c2b7a83d92e9df2fc8d60102115b2544b72444d806d5 $ ls -l /bin total 16544 -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 [ -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 cat -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chgrp -r-xr-xr-x 1 root bin 111412 Dec 10 14:57 chio -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chmod -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 cksum -r-xr-xr-x 1 root bin 119604 Dec 10 14:57 cp -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 cpio -r-xr-xr-x 1 root bin 373556 Dec 10 14:57 csh -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 date -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 dd -r-xr-xr-x 1 root bin 107316 Dec 10 14:57 df -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 domainname -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 echo -r-xr-xr-x 1 root bin 168756 Dec 10 14:57 ed -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 eject -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 expr -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 hostname -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 kill -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 ksh -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 ln -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 ls -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 md5 -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 mkdir -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 mt -r-xr-xr-x 1 root bin 226100 Dec 10 14:57 mv -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 pax -r-xr-xr-x 1 root bin 262964 Dec 10 14:57 ps -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 pwd -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 rksh -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 rm -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 rmdir -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 sh -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha1 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha256 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha512 -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 sleep -r-xr-xr-x 1 root bin 140084 Dec 10 14:57 stty -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 sync -r-xr-xr-x 1 root bin 410420 Dec 10 14:58 systrace -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 tar -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 test $ strings /bin/\[ QRP1 [^_] [^] [^_] |Z;U |[^_] [^_] [^_] [^_] tB%u x ;u [^_] ,[^_] ,[^_] ,[^_] [^_] ,[^_] [^_] uT@B uH@B u@B u0@B u$@B [^_] [^_] [^_] [^_] [^_] t\0 gfff [^_] [^_] [^_] [^_] \[^_] [^_] l[^_] $^_] [^_] [^_] P^_] P^_] 0^_] `^_] L[^_] ,[^_] [^_] [^_] [^_] [^_] [^_] [^_] ,[^_] ,[^_] ,[^_] [^_] t2)u [^_] v69u [^_] 9G(u ,[^_] ,[^_] ,[^_] 0[^] [^_] ,[^_] [^_] [^_] L[^_] w |[^_] L[^_] L[^_] L[^_] L[^_] [^_] ,[^_] f DV ,[^_] ,[^_] [^_] [^_] f1|H f DQ [^_] [^_] [^_] [^_] [^_] P[^_] [^_] \[^_] ,[^_] [^_] [^_] %s: %s %s: out of range %s: bad number argument expected closing paren expected missing ] unknown operand getn binop nexpr _errx %s: fprintf __stack_smash_handler stack overflow in function %s syslog_r __vsyslog_r %d [%ld] Error %d /dev/console syslog%s: unknown facility/priority: %x libc Unknown signal: Unknown error: load_msgcat _catopen NLSPATH LC_ALL LC_MESSAGES LANG POSIX /usr/share/nls/%L/%N.cat:/usr/share/nls/%l.%c/%N.cat:/usr/share/nls/%l/%N.cat Undefined error: 0 Operation not permitted No such file or directory No such process Interrupted system call Input/output error Device not configured Argument list too long Exec format error Bad file descriptor No child processes Resource deadlock avoided Cannot allocate memory Permission denied Bad address Block device required Device busy File exists Cross-device link Not a directory Is a directory Invalid argument Too many open files in system Too many open files Text file busy File too large No space left on device Illegal seek Read-only file system Too many links Broken pipe Result too large Operation now in progress Operation already in progress Destination address required Message too long Protocol not available Protocol not supported Socket type not supported Operation not supported Protocol family not supported Address already in use Network is down Network is unreachable Connection reset by peer No buffer space available Socket is already connected Socket is not connected Operation timed out Connection refused File name too long Host is down No route to host Directory not empty Too many processes Too many users Disk quota exceeded Stale NFS file handle RPC struct is bad RPC version wrong RPC prog.
Re: core dump libcap
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 cannot be run. You *need* to fix that first, -Otto 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 ? 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 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 ./fad-getad.c if grep GIT ./VERSION /dev/null; then read ver ./VERSION; echo $ver | tr -d '\012'; date +_%Y_%m_%d; else cat ./VERSION; fi | sed -e 's/.*/static const char pcap_version_string[] = libpcap version ;/' version.h gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./inet.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./gencode.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./optimize.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./nametoaddr.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./etherent.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./savefile.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./sf-pcap-ng.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./pcap-common.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_image.c gcc -fpic -I. -DHAVE_CONFIG_H -D_U_=__attribute__((unused)) -g -O2 -c ./bpf_dump.c ./runlex.sh flex -Ppcap_ -oscanner.c ./scanner.l Bad system call (core dumped) *** Error 140 in /usr/local/src/libpcap-1.6.2 (Makefile:447 'scanner.c') # flex -V flex 2.5.39 GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-unknown-openbsd5.6... Core was generated by `flex'. Program terminated with signal 12, Bad system call. Loaded symbols for /usr/bin/flex Reading symbols from /usr/lib/libm.so.9.0...done. Loaded symbols for /usr/lib/libm.so.9.0 Reading symbols from /usr/lib/libc.so.77.3...done. Loaded symbols for /usr/lib/libc.so.77.3 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 0x051f3b0299fa in dup3 () at stdin:2 2 stdin: No such file or directory. in stdin got the same error using different versions of flex 2.5.4 2.5.35 2.5.39 Thanks in advance [demime 1.01d removed an attachment of type text/x-vcard which had a name of DjamelFERRAG.vcf] -- This email was Virus checked by ONA. Djamel FERRAG Chef de Projet R?seaux informatiques Office National de l'Assainissement Mob: +213 770894370 Fax: +213 21762040 [demime 1.01d removed an attachment of type text/x-vcard which had a name of DjamelFERRAG.vcf]
Re: Weird executable in /bin/ - i386 snapshots Dec 10
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 all other binaries installed with the Dec 10 snapshot. Does anyone know if this is normal and what this binary does or where it could came from? $ file /bin/\[ /bin/[: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, statically linked, stripped $ $ sha256 /bin/\[ SHA256 (/bin/[) = c7e1d47560e8d43f3430c2b7a83d92e9df2fc8d60102115b2544b72444d806d5 $ ls -l /bin total 16544 -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 [ -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 cat -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chgrp -r-xr-xr-x 1 root bin 111412 Dec 10 14:57 chio -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chmod -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 cksum -r-xr-xr-x 1 root bin 119604 Dec 10 14:57 cp -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 cpio -r-xr-xr-x 1 root bin 373556 Dec 10 14:57 csh -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 date -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 dd -r-xr-xr-x 1 root bin 107316 Dec 10 14:57 df -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 domainname -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 echo -r-xr-xr-x 1 root bin 168756 Dec 10 14:57 ed -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 eject -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 expr -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 hostname -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 kill -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 ksh -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 ln -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 ls -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 md5 -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 mkdir -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 mt -r-xr-xr-x 1 root bin 226100 Dec 10 14:57 mv -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 pax -r-xr-xr-x 1 root bin 262964 Dec 10 14:57 ps -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 pwd -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 rksh -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 rm -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 rmdir -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 sh -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha1 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha256 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha512 -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 sleep -r-xr-xr-x 1 root bin 140084 Dec 10 14:57 stty -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 sync -r-xr-xr-x 1 root bin 410420 Dec 10 14:58 systrace -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 tar -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 test $ strings /bin/\[ QRP1 [^_] [^] [^_] |Z;U |[^_] [^_] [^_] [^_] tB%u x ;u [^_] ,[^_] ,[^_] ,[^_] [^_] ,[^_] [^_] uT@B uH@B u@B u0@B u$@B [^_] [^_] [^_] [^_] [^_] t\0 gfff [^_] [^_] [^_] [^_] \[^_] [^_] l[^_] $^_] [^_] [^_] P^_] P^_] 0^_] `^_] L[^_] ,[^_] [^_] [^_] [^_] [^_] [^_] [^_] ,[^_] ,[^_] ,[^_] [^_] t2)u [^_] v69u [^_] 9G(u ,[^_] ,[^_] ,[^_] 0[^] [^_] ,[^_] [^_] [^_] L[^_] w |[^_] L[^_] L[^_] L[^_] L[^_] [^_] ,[^_] f DV ,[^_] ,[^_] [^_] [^_] f1|H f DQ [^_] [^_] [^_] [^_] [^_] P[^_] [^_] \[^_] ,[^_] [^_] [^_] %s: %s %s: out of range %s: bad number argument expected closing paren expected missing ] unknown operand getn binop nexpr _errx %s: fprintf __stack_smash_handler stack overflow in function %s syslog_r __vsyslog_r %d [%ld] Error %d /dev/console syslog%s: unknown facility/priority: %x libc Unknown signal: Unknown error: load_msgcat _catopen NLSPATH LC_ALL LC_MESSAGES LANG POSIX /usr/share/nls/%L/%N.cat:/usr/share/nls/%l.%c/%N.cat:/usr/share/nls/%l/%N.ca t Undefined error: 0 Operation not permitted No such file or directory No such process Interrupted system call Input/output error Device not configured Argument list too long Exec format error Bad file descriptor No child processes Resource deadlock avoided Cannot allocate memory Permission denied Bad address Block device required Device busy File exists Cross-device link Not a directory Is a directory Invalid argument Too many open files in system Too many open files Text file busy File too large No space left on device Illegal seek Read-only file system Too many links Broken pipe Result too large Operation now in progress Operation already in progress Destination address required Message too long Protocol not available Protocol not supported Socket type not supported Operation not supported Protocol family not supported Address already in use Network is down Network is unreachable Connection reset by peer No buffer space available Socket is already connected Socket is not connected Operation timed out Connection refused File name too long Host is down No route to host Directory not empty Too many processes Too many users Disk quota exceeded Stale NFS file handle RPC struct is bad RPC version wrong
Re: Weird executable in /bin/ - i386 snapshots Dec 10
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 installed with the Dec 10 snapshot. Does anyone know if this is normal and what this binary does or where it could came from? It's not weird and has been in Unix for ages. It's is an alternative name for test(1). man '[' and google will tell you it's use. -Otto $ file /bin/\[ /bin/[: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, statically linked, stripped $ $ sha256 /bin/\[ SHA256 (/bin/[) = c7e1d47560e8d43f3430c2b7a83d92e9df2fc8d60102115b2544b72444d806d5 $ ls -l /bin total 16544 -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 [ -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 cat -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chgrp -r-xr-xr-x 1 root bin 111412 Dec 10 14:57 chio -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chmod -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 cksum -r-xr-xr-x 1 root bin 119604 Dec 10 14:57 cp -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 cpio -r-xr-xr-x 1 root bin 373556 Dec 10 14:57 csh -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 date -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 dd -r-xr-xr-x 1 root bin 107316 Dec 10 14:57 df -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 domainname -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 echo -r-xr-xr-x 1 root bin 168756 Dec 10 14:57 ed -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 eject -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 expr -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 hostname -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 kill -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 ksh -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 ln -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 ls -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 md5 -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 mkdir -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 mt -r-xr-xr-x 1 root bin 226100 Dec 10 14:57 mv -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 pax -r-xr-xr-x 1 root bin 262964 Dec 10 14:57 ps -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 pwd -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 rksh -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 rm -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 rmdir -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 sh -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha1 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha256 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha512 -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 sleep -r-xr-xr-x 1 root bin 140084 Dec 10 14:57 stty -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 sync -r-xr-xr-x 1 root bin 410420 Dec 10 14:58 systrace -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 tar -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 test $ strings /bin/\[ QRP1 [^_] [^] [^_] |Z;U |[^_] [^_] [^_] [^_] tB%u x ;u [^_] ,[^_] ,[^_] ,[^_] [^_] ,[^_] [^_] uT@B uH@B u@B u0@B u$@B [^_] [^_] [^_] [^_] [^_] t\0 gfff [^_] [^_] [^_] [^_] \[^_] [^_] l[^_] $^_] [^_] [^_] P^_] P^_] 0^_] `^_] L[^_] ,[^_] [^_] [^_] [^_] [^_] [^_] [^_] ,[^_] ,[^_] ,[^_] [^_] t2)u [^_] v69u [^_] 9G(u ,[^_] ,[^_] ,[^_] 0[^] [^_] ,[^_] [^_] [^_] L[^_] w |[^_] L[^_] L[^_] L[^_] L[^_] [^_] ,[^_] f DV ,[^_] ,[^_] [^_] [^_] f1|H f DQ [^_] [^_] [^_] [^_] [^_] P[^_] [^_] \[^_] ,[^_] [^_] [^_] %s: %s %s: out of range %s: bad number argument expected closing paren expected missing ] unknown operand getn binop nexpr _errx %s: fprintf __stack_smash_handler stack overflow in function %s syslog_r __vsyslog_r %d [%ld] Error %d /dev/console syslog%s: unknown facility/priority: %x libc Unknown signal: Unknown error: load_msgcat _catopen NLSPATH LC_ALL LC_MESSAGES LANG POSIX /usr/share/nls/%L/%N.cat:/usr/share/nls/%l.%c/%N.cat:/usr/share/nls/%l/%N.cat Undefined error: 0 Operation not permitted No such file or directory No such process Interrupted system call Input/output error Device not configured Argument list too long Exec format error Bad file descriptor No child processes Resource deadlock avoided Cannot allocate memory Permission denied Bad address Block device required Device busy File exists Cross-device link Not a directory Is a directory Invalid argument Too many open files in system Too many open files Text file busy File too large No space left on device Illegal seek Read-only file system Too many links Broken pipe Result too large Operation now in progress Operation already in progress Destination address required Message too long Protocol not available Protocol not supported Socket type not supported
interesting question about shells
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 some prefixTAB' and it completes from the result of ls. now if i want for example ssh to any host, i give command cat .ssh/config, and then ssh some prefixTAB. is that at all possible? -- With best regards, Gregory Edigarov
Re: Weird executable in /bin/ - i386 snapshots Dec 10
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 snapshots Dec 10 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 installed with the Dec 10 snapshot. Does anyone know if this is normal and what this binary does or where it could came from? It's not weird and has been in Unix for ages. It's is an alternative name for test(1). man '[' and google will tell you it's use. -Otto $ file /bin/\[ /bin/[: ELF 32-bit LSB executable, Intel 80386, version 1, for OpenBSD, statically linked, stripped $ $ sha256 /bin/\[ SHA256 (/bin/[) = c7e1d47560e8d43f3430c2b7a83d92e9df2fc8d60102115b2544b72444d806d5 $ ls -l /bin total 16544 -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 [ -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 cat -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chgrp -r-xr-xr-x 1 root bin 111412 Dec 10 14:57 chio -r-xr-xr-x 3 root bin 242484 Dec 10 14:57 chmod -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 cksum -r-xr-xr-x 1 root bin 119604 Dec 10 14:57 cp -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 cpio -r-xr-xr-x 1 root bin 373556 Dec 10 14:57 csh -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 date -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 dd -r-xr-xr-x 1 root bin 107316 Dec 10 14:57 df -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 domainname -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 echo -r-xr-xr-x 1 root bin 168756 Dec 10 14:57 ed -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 eject -r-xr-xr-x 1 root bin 131892 Dec 10 14:57 expr -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 hostname -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 kill -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 ksh -r-xr-xr-x 1 root bin 95028 Dec 10 14:57 ln -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 ls -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 md5 -r-xr-xr-x 1 root bin 103220 Dec 10 14:57 mkdir -r-xr-xr-x 2 root bin 271156 Dec 10 14:57 mt -r-xr-xr-x 1 root bin 226100 Dec 10 14:57 mv -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 pax -r-xr-xr-x 1 root bin 262964 Dec 10 14:57 ps -r-xr-xr-x 1 root bin 90932 Dec 10 14:57 pwd -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 rksh -r-xr-xr-x 1 root bin 238388 Dec 10 14:57 rm -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 rmdir -r-xr-xr-x 3 root bin 418612 Dec 10 14:57 sh -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha1 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha256 -r-xr-xr-x 5 root bin 144180 Dec 10 14:57 sha512 -r-xr-xr-x 1 root bin 99124 Dec 10 14:57 sleep -r-xr-xr-x 1 root bin 140084 Dec 10 14:57 stty -r-xr-xr-x 1 root bin 86836 Dec 10 14:57 sync -r-xr-xr-x 1 root bin 410420 Dec 10 14:58 systrace -r-xr-xr-x 3 root bin 348980 Dec 10 14:57 tar -r-xr-xr-x 2 root bin 95028 Dec 10 14:57 test $ strings /bin/\[ QRP1 [^_] [^] [^_] |Z;U |[^_] [^_] [^_] [^_] tB%u x ;u [^_] ,[^_] ,[^_] ,[^_] [^_] ,[^_] [^_] uT@B uH@B u@B u0@B u$@B [^_] [^_] [^_] [^_] [^_] t\0 gfff [^_] [^_] [^_] [^_] \[^_] [^_] l[^_] $^_] [^_] [^_] P^_] P^_] 0^_] `^_] L[^_] ,[^_] [^_] [^_] [^_] [^_] [^_] [^_] ,[^_] ,[^_] ,[^_] [^_] t2)u [^_] v69u [^_] 9G(u ,[^_] ,[^_] ,[^_] 0[^] [^_] ,[^_] [^_] [^_] L[^_] w |[^_] L[^_] L[^_] L[^_] L[^_] [^_] ,[^_] f DV ,[^_] ,[^_] [^_] [^_] f1|H f DQ [^_] [^_] [^_] [^_] [^_] P[^_] [^_] \[^_] ,[^_] [^_] [^_] %s: %s %s: out of range %s: bad number argument expected closing paren expected missing ] unknown operand getn binop nexpr _errx %s: fprintf __stack_smash_handler stack overflow in function %s syslog_r __vsyslog_r %d [%ld] Error %d /dev/console syslog%s: unknown facility/priority: %x libc Unknown signal: Unknown error: load_msgcat _catopen NLSPATH LC_ALL LC_MESSAGES LANG POSIX /usr/share/nls/%L/%N.cat:/usr/share/nls/%l.%c/%N.cat:/usr/share/nls/%l/%N.cat Undefined error: 0 Operation not permitted No such file or directory No such process Interrupted system call Input/output error Device not configured Argument list too long Exec format error Bad file descriptor No child processes Resource deadlock avoided Cannot allocate memory Permission denied Bad address Block device required Device busy File exists Cross-device link Not a directory Is a directory Invalid argument Too many open files in system Too many open files Text file busy File too large No space left on device Illegal seek Read-only file system Too many links Broken pipe Result too large Operation now in progress Operation already in progress Destination address required Message too long
Re: interesting question about shells
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 run from the shell does not pass through the shell. i type 'cat some prefixTAB' and it completes from the result of ls. now if i want for example ssh to any host, i give command cat .ssh/config, and then ssh some prefixTAB. is that at all possible? bash, tcsh, and zsh each support absurdly complex programmable completion schemes that may offer better ways to do what you want. (E.g. why complete ssh from previous cat output, why not complete directly from .ssh/config or .ssh/known_hosts?) -- Christian naddy Weisgerber na...@mips.inka.de
Re: interesting question about shells
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 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 some prefixTAB' and it completes from the result of ls. now if i want for example ssh to any host, i give command cat .ssh/config, and then ssh some prefixTAB. is that at all possible? -- With best regards, Gregory Edigarov Hi I don't think any shells use that since you can do so in many ways... . | xargs . you can use a named pipe command /dev/mypipe command /dev/mypipe etc... etc... etc... Cordialement Francois Pussault 10 chemin de négo saoumos apt 202 - bat 2 31300 Toulouse +33 6 17 230 820 +33 5 34 365 269 fpussa...@contactoffice.fr
[solved]Re: bind: Permission denied
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 adjust anything. I solved doing a chown in all the home to my userz Regards, -- Henrique Lengler
Adding a new keymap
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 to another type of file? Regards, -- Henrique Lengler
systrace
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
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 http://github.com/nandoflorestan/teclado-br Hom cat I add it to my system? Will I need to convert it to another type of file? Regards, -- Henrique Lengler man setxkbmap man kbd
Re: Adding a new keymap
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
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 contortions since the stdout/stderr output of commands run from the shell does not pass through the shell. i type 'cat some prefixTAB' and it completes from the result of ls. now if i want for example ssh to any host, i give command cat .ssh/config, and then ssh some prefixTAB. is that at all possible? bash, tcsh, and zsh each support absurdly complex programmable completion schemes that may offer better ways to do what you want. (E.g. why complete ssh from previous cat output, why not complete directly from .ssh/config or .ssh/known_hosts?) hmmm... that were only an examples of application...
Re: systrace
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
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), Atheros AR9220 radio), and wrote: My bottleneck seems to be the 802.11 stack of OpenBSD, it has some known performance issues: I get around 2MBps (16Mbit) data rates - the CPU could handle a lot more. Another person reported good results with ral(4) and a Sparklan WMIR-200N (Ralink RT2860/2850 chipset), which offloads the crypto to the hardware: over WPA2(PSK/AES/AES) it can push ~3MB/s at ~%33 cpu load, mostly interrupt handling. with the caveat that Under OpenBSD 5.3 ral(4) caused kernel panics maybe twice a year. I never tracked down the cause but it seemed to occur when unfamiliar nodes joined the network and then only in certain circumstances. ciao, -- -- Jonathan Thornburg [remove -animal to reply] jth...@astro.indiana-zebra.edu Dept of Astronomy IUCSS, Indiana University, Bloomington, Indiana, USA There was of course no way of knowing whether you were being watched at any given moment. How often, or on what system, the Thought Police plugged in on any individual wire was guesswork. It was even conceivable that they watched everybody all the time. -- George Orwell, 1984
Re: athn(4) WPA2-PSK software crypto CPU loading
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 ttp://marc.info/?l=openbsd-miscm=141934666116217w=1 you replied I think the concern is warranted and yes, I expect this to be a bottleneck. 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. With AES-128-CBC + HMAC-SHA1, the box seemed to be able to saturate the wireless link, but it was mostly busy, and it profited from the CPU's glxsb(4) hardware acceleration for AES-128-CBC. With any other mode of encryption, e.g. AES-128-CTR, there just wasn't enough CPU. What was the bandwidth of that network? In my application there's no significant data traffic between different machines on the wifi network, i.e., all data is between wifi machines and the outside world. The link-to-the-outside-world offers at most 16 MBit/second, so I don't need to worry about making the wifi faster than that. thanks, ciao, -- -- Jonathan Thornburg [remove -animal to reply] jth...@astro.indiana-zebra.edu Dept of Astronomy IUCSS, Indiana University, Bloomington, Indiana, USA There was of course no way of knowing whether you were being watched at any given moment. How often, or on what system, the Thought Police plugged in on any individual wire was guesswork. It was even conceivable that they watched everybody all the time. -- George Orwell, 1984
Re: Weird executable in /bin/ - i386 snapshots Dec 10
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 on Linux since /bin is really messy there (4537 entries in my other box) with only 42 entries on OpenBSD it just stood out :) The replies here pointed the exact reason for which I thank the people who took the time to respond. Since the first reply from Otto I learned that man \[ (escaped [) properly leads to the test man page. I also found the Makefile which creates the file in /bin/test. Guess it's never too late to learn and I should try harder before hitting the list. Regards, Adam 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 snapshots Dec 10 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 installed with the Dec 10 snapshot. Does anyone know if this is normal and what this binary does or where it could came from? It's not weird and has been in Unix for ages. It's is an alternative name for test(1). man '[' and google will tell you it's use. -Otto Regards, -- Adam Wolk adam.w...@koparo.com
Re: Adding a new keymap
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 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 Christmas!
Re: Adding a new keymap
See also http://www.openbsd.org/faq/faq7.html
Re: Adding a new keymap
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 Christmas! 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, -- Henrique Lengler
Re: Adding a new keymap
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 a steep learning curve. :-) but worth it, so far as I'm concerned.
Re: athn(4) WPA2-PSK software crypto CPU loading
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 wired network. -- Christian naddy Weisgerber na...@mips.inka.de
Re: Adding a new keymap
$ 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 sequence. The file is made up of wsconsctl(8) variable assignments (variable=value) with comments designated by a hash mark (‘#’). FILES /etc/wsconsctl.conf EXAMPLES To load a Russian keyboard encoding, one would use the following line: keyboard.encoding=ru To set the screen burner timeout to 60 seconds, the following can be used: display.screen_off=6 SEE ALSO rc(8), wsconsctl(8) HISTORY A wsconsctl.conf file first appeared in OpenBSD 3.0. May 31, 2007OpenBSD-current
Re: Adding a new keymap
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 this and I didn't find it. Could you point me any place I can find it, since you still saying it is documented? Regards, -- Henrique Lengler
Re: Adding a new keymap
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 assignments that is read at system startup by rc(8) during the boot sequence. The file is made up of wsconsctl(8) variable assignments (variable=value) with comments designated by a hash mark (???#???). FILES /etc/wsconsctl.conf EXAMPLES To load a Russian keyboard encoding, one would use the following line: keyboard.encoding=ru To set the screen burner timeout to 60 seconds, the following can be used: display.screen_off=6 SEE ALSO rc(8), wsconsctl(8) HISTORY A wsconsctl.conf file first appeared in OpenBSD 3.0. May 31, 2007 OpenBSD-current Tell me how this would help me to figure how to add a new keymap. Regards, -- Henrique Lengler
Re: Adding a new keymap
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 installation takes place. If you have a slow computer or a slow Internet connection, you will be able to answer these questions, walk away, come back later and only have to reboot the system to complete the install. At any prompt except password prompts you can escape to a shell by typing '!'. Default answers are shown in []'s and are selected by pressing RETURN. You can exit this program at any time by pressing Control-C, but this can leave your system in an inconsistent state. Choose your keyboard layout ('?' or 'L' for list) [default] Enter = = = If you enter 'fr' here you would end up with French on the console and in X.
Re: Adding a new keymap
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, -- Henrique Lengler
Re: Adding a new keymap
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
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 http://github.com/nandoflorestan/teclado-br Hom cat I add it to my system? Will I need to convert it to another type of file? Add it to src/sys/dev/pckbc/wskbdmap_mfii.c and build a new kernel.
Re: Simple sendmail configuration
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 file defines LOCALHOST_ONLY and includes openbsd-proto.mc. So i am advised to compile a modified version of openbsd-proto.mc, right? There, i can define SMART_HOST which relays all outgoing mail to a certain server. But is sendmail.cf not used for all local users? So what, if different users need different relays? Do you have a DNS entry that shows your OpenBSD IP as the valid MX record for your domain? If not, probably the remote mail server is rejecting email from your server. Or may be of the remote email server is authoritative for your domain then it is not set up to accept email relayed through your server. I am thinking that if there are no DNS issues, then you can use the default sendmail.cf, edit mailertable to send everything for your domain.com to the remote mail server and it should work. I do not have a static IP but am dialing up. My mother and i each have an account at a certain mail server, one for me and a different one for my mother -- servers which store mail meant for and send it to us, when connect via IMAP or POP3. We also want to relay outgoing mail thru those mail servers. My problem is, that I am trying to archieve that using $mail, not Thunderbird. But wait: I used to have four instances of smtpd running on the computer, but after i installed Thunderbird i now have seven. When i now try $mail -s test grasso...@versanet.de, i can send a message. But delivery fails because the sender is 1000@localhost, while it should be grasso...@versanet.de Cut short, my problem: Noone of OpenBSD helped the possibility, that someone on dial-up uses $mail. Uli
Re: Adding a new keymap
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
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: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pckbc/wskbdmap_mfii.c?rev=1.43content-type=text/x-cvsweb-markup Relevant FAQ entry: http://www.openbsd.org/faq/faq5.html Regards, -- Adam Wolk adam.w...@koparo.com
Re: Adding a new keymap
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
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 /usr/src/sys/dev/pckbc/wskbdmap_mfii.c. -- Dmitrij D. Czarkoff Goodbye guys, returning to sabotage linux. Are you crazy I will compile a kernel only to have a custom keymap? Also a off topic things I don't liked about OpenBSD: 1 - Why the hell it came with three differents type of window system? 2 - The Automatic installer sucks 3 - Horrible console (without X) support It have also a good things: 1 - I liked the sound system, works very well 2 - It is more like Unix. Regards, -- Henrique Lengler
Re: Adding a new keymap
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 keyboard.encoding=us.dvorak # Add modifications, the following is a dummy since it already exists. wsconsctl keyboard.map+=keycode 40=minus underscore wsconctl keyboard.map will dump the current mapping. It might be handy to have a script ready to reset the keyboard to a known state. -moj On Wed, 24 Dec 2014, Henrique Lengler wrote: 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, -- Henrique Lengler
A christmassy related issue with traceroute
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 xmas.futile.net 19 ae0-1203.edge00.sov.uk.hso-group.net (46.17.60.117) 105.723 ms xe-4-1.core00.gs1.uk.hso-group.net (77.75.108.154) 103.314 ms 103.614 ms 20 xoxoxoxoxoxo.ho.ho.ho.xoxoxoxoxoxo (93.89.84.75) 105.471 ms 132.29 ms 107.2 ms 21 xoxoxoxoxoxo.ho.ho.ho.xoxoxoxoxoxo (93.89.84.75) 108.492 ms xooxooo.v.ooxx (82.133.91.37) 108.058 ms 107.941 ms 22 ooxoxo.mmm.xxoooxo (82.133.91.18) 106.83 ms 108.685 ms 107.696 ms 23 oooxoxooo.e.oooxox (82.133.91.63) 107.973 ms ooxoxo.mmm.xxoooxo (82.133.91.18) 106.141 ms oooxoxooo.e.oooxox (82.133.91.63) 108.806 ms 24 oooxoxooo.e.oooxox (82.133.91.63) 107.613 ms xooxooox.rrr.ooxox (82.133.91.56) 108.305 ms 107.374 ms 25 xooxooox.rrr.ooxox (82.133.91.56) 111.154 ms oxooxoo.r.oooxooxo (82.133.91.55) 108.526 ms 107.664 ms 26 xoooxo.yyy.oooxxoo (82.133.91.58) 107.733 ms 107.989 ms 107.786 ms 27 xoooxo.yyy.oooxxoo (82.133.91.58) 106.585 ms ooxoxo.ccc.xoooxoo (82.133.91.96) 107.828 ms 106.856 ms 28 ooxoxo.ccc.xoooxoo (82.133.91.96) 107.588 ms oxooo.h.oxooox (82.133.91.23) 107.61 ms 108.565 ms 29 oxooo.h.oxooox (82.133.91.23) 107.838 ms 107.937 ms 107.702 ms 30 oxoooxo.i.oooxooxo (82.133.91.60) 107.265 ms ooxooxoo.rrr.ooxoooxoo (82.133.91.49) 106.525 ms 107.202 ms 31 oxoooxo.i.oooxooxo (82.133.91.60) 107.548 ms 107.774 ms oooxoo.sss.oox (82.133.91.42) 109.753 ms 32 oooxoo.sss.oox (82.133.91.42) 109.124 ms 107.059 ms oooxoooxoo.ttt.xoo (82.133.91.61) 107.594 ms 33 ooxoo.mm.oooxo (82.133.91.34) 105.772 ms oooxoooxoo.ttt.xoo (82.133.91.61) 108.293 ms 109.012 ms 34 xxoo..oxoo (82.133.91.80) 106.597 ms 105.654 ms 107.52 ms 35 xxoo..oxoo (82.133.91.80) 107.791 ms oxo.ss.ooo (82.133.91.40) 108.62 ms 106.741 ms 36 ooxooo.xxx.oxo (82.133.91.35) 107.052 ms oxo.ss.ooo (82.133.91.40) 109.249 ms ooxooo.xxx.oxo (82.133.91.35) 106.286 ms 37 ooxooo.xxx.oxo (82.133.91.35) 108.768 ms 107.679 ms ox.xxx.xxo (82.133.91.10) 107.724 ms 38 oh.the.weather.outside.is.frightful (82.133.91.41) 107.047 ms ox.xxx.xxo (82.133.91.10) 107.326 ms oh.the.weather.outside.is.frightful (82.133.91.41) 108.77 ms 39 but.the.fire.is.so.delightful (82.133.91.19) 107.702 ms oh.the.weather.outside.is.frightful (82.133.91.41) 106.393 ms but.the.fire.is.so.delightful (82.133.91.19) 108.201 ms 40 and.since.weve.no.place.to.go (82.133.91.77) 107.784 ms but.the.fire.is.so.delightful (82.133.91.19) 108.056 ms 107.828 ms 41 and.since.weve.no.place.to.go (82.133.91.77) 106.999 ms let.it.snow.let.it.snow.let.it.snow (82.133.91.43) 108.463 ms 121.098 ms 42 let.it.snow.let.it.snow.let.it.snow (82.133.91.43) 107.73 ms 107.386 ms xxx (82.133.91.24) 107.646 ms 43 xxx (82.133.91.24) 108.149 ms it.doesnt.show.signs.of.stopping (82.133.91.36) 106.863 ms 111.677 ms 44 it.doesnt.show.signs.of.stopping (82.133.91.36) 106.86 ms and.ive.bought.some.corn.for.popping (82.133.91.73) 109.033 ms it.doesnt.show.signs.of.stopping (82.133.91.36) 109.991 ms 45 the.lights.are.turned.way.down.low (82.133.91.76) 108.123 ms 107.468 ms and.ive.bought.some.corn.for.popping (82.133.91.73) 109.016 ms 46 the.lights.are.turned.way.down.low (82.133.91.76) 110.615 ms let.it.snow.let.it.snow.let.it.snow (82.133.91.67) 108.396 ms 107.587 ms 47 xxx (82.133.91.38) 108.78 ms let.it.snow.let.it.snow.let.it.snow (82.133.91.67) 106.134 ms 107.904 ms 48 xxx (82.133.91.38) 108.937 ms when.we.finally.kiss.good.night (82.133.91.62) 106.634 ms xxx (82.133.91.38) 106.076 ms 49 how.ill.hate.going.out.in.the.storm (82.133.91.45) 108.747 ms 107.71 ms when.we.finally.kiss.good.night (82.133.91.62) 106.428 ms 50 how.ill.hate.going.out.in.the.storm (82.133.91.45) 111.109 ms but.if.youll.really.hold.me.tight (82.133.91.78) 121.498 ms how.ill.hate.going.out.in.the.storm (82.133.91.45) 106.965 ms 51 but.if.youll.really.hold.me.tight (82.133.91.78) 107.51 ms all.the.way.home.ill.be.warm (82.133.91.17) 109.429 ms 107.344 ms 52 xxx (82.133.91.70) 107.918 ms all.the.way.home.ill.be.warm (82.133.91.17) 108.745 ms xxx (82.133.91.70) 106.146 ms 53 the.fire.is.slowly.dying (82.133.91.95)
Re: Simple sendmail configuration
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 /usr/share/sendmail/cf/openbsd-localhost.mc as the config source for its mail system. This file defines LOCALHOST_ONLY and includes openbsd-proto.mc. So i am advised to compile a modified version of openbsd-proto.mc, right? Except that, no, it doesn't. OpenBSD 5.6 uses smtpd(8) as the default MTA and not sendmail. The only configuration file, save for aliases, is /etc/mail/smtpd.conf. Cut short, my problem: Noone of OpenBSD helped the possibility, that someone on dial-up uses $mail. What? Please read smtpd.conf(5). -Bryan.
Re: A christmassy related issue with traceroute
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 traceroute seems to munge the output. :( To test, run traceroute -m 255 xmas.futile.net Oh, that just won't do. See if you get better results with this instead: traceroute -q1 -m 255 xmas.futile.net
openiked status
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: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si
Re: openiked status
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 this portable to other systems, because the kernel / system interfaces vary so much in the ipsec area).
Re: A christmassy related issue with traceroute
Alas, I was disappointed to see that the OpenBSD traceroute seems to munge the output. :( Guess you don't understand internet.