Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Christiano F. Haesbaert
On Fri, Jul 15, 2011 at 08:41:22PM -0700, Philip Guenther wrote: > On Fri, Jul 15, 2011 at 7:31 PM, Christiano F. Haesbaert > wrote: > > On Fri, Jul 15, 2011 at 04:40:08PM -0700, Philip Guenther wrote: > >> On Fri, Jul 15, 2011 at 4:13 PM, Christiano F. Haesbaert > >> wrote: > >> > Hi, this diff

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Christiano F. Haesbaert
On Fri, Jul 15, 2011 at 08:41:22PM -0700, Philip Guenther wrote: > On Fri, Jul 15, 2011 at 7:31 PM, Christiano F. Haesbaert > wrote: > > On Fri, Jul 15, 2011 at 04:40:08PM -0700, Philip Guenther wrote: > >> On Fri, Jul 15, 2011 at 4:13 PM, Christiano F. Haesbaert > >> wrote: > >> > Hi, this diff

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Josh Elsasser
On Fri, Jul 15, 2011 at 08:13:59PM -0300, Christiano F. Haesbaert wrote: > Hi, this diff adds a sysctl to disable kernel icmp echo processing and pass it > to userland via raw sockets. I'm terrible with names but I chose userecho, so > net.inet.icmp.userecho. > > I did some basic tests and it seem

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Philip Guenther
On Fri, Jul 15, 2011 at 7:31 PM, Christiano F. Haesbaert wrote: > On Fri, Jul 15, 2011 at 04:40:08PM -0700, Philip Guenther wrote: >> On Fri, Jul 15, 2011 at 4:13 PM, Christiano F. Haesbaert >> wrote: >> > Hi, this diff adds a sysctl to disable kernel icmp echo processing and >> > pass it >> > t

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Christiano F. Haesbaert
On Fri, Jul 15, 2011 at 04:40:08PM -0700, Philip Guenther wrote: > On Fri, Jul 15, 2011 at 4:13 PM, Christiano F. Haesbaert > wrote: > > Hi, this diff adds a sysctl to disable kernel icmp echo processing and pass > > it > > to userland via raw sockets. I'm terrible with names but I chose userecho

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Christiano F. Haesbaert
Thinking again, it's nicer to move the raw redirection after the bmcastecho processing: Index: icmp_var.h === RCS file: /cvs/src/sys/netinet/icmp_var.h,v retrieving revision 1.13 diff -d -u -p -w -r1.13 icmp_var.h --- icmp_var.h 13 D

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Philip Guenther
On Fri, Jul 15, 2011 at 4:13 PM, Christiano F. Haesbaert wrote: > Hi, this diff adds a sysctl to disable kernel icmp echo processing and pass it > to userland via raw sockets. I'm terrible with names but I chose userecho, so > net.inet.icmp.userecho. IMO, a per-socket option makes more sense than

Re: Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Matthew Dempsky
On Fri, Jul 15, 2011 at 08:13:59PM -0300, Christiano F. Haesbaert wrote: > @@ -75,7 +76,8 @@ struct icmpstat { > { "rediraccept", CTLTYPE_INT }, \ > { "redirtimeout", CTLTYPE_INT }, \ > { "tstamprepl", CTLTYPE_INT }, \ > - { "stats", CTLTYPE_STRUCT } \ > + { "stats",

Allow raw sockets to process icmp echo requests.

2011-07-15 Thread Christiano F. Haesbaert
Hi, this diff adds a sysctl to disable kernel icmp echo processing and pass it to userland via raw sockets. I'm terrible with names but I chose userecho, so net.inet.icmp.userecho. I did some basic tests and it seems to work ok. I kinda need this to tunnel ip over icmp echo. Index: netinet/icmp_

Re: deflate.c missing functions in #ifdef DEBUG

2011-07-15 Thread Ted Unangst
On Fri, Jul 15, 2011, OpenBSD wrote: > Hi tech@ > > While trying to build a kernel with option DEBUG, I came across the > following errors: 0. I don't think DEBUG is a particularly useful option. Are you really trying to debug "the kernel"? Not a part of it? 1. To that end, I think most code

deflate.c missing functions in #ifdef DEBUG

2011-07-15 Thread OpenBSD
Hi tech@ While trying to build a kernel with option DEBUG, I came across the following errors: cc1: warnings being treated as errors ../../../../lib/libz/deflate.c: In function 'check_match': ../../../../lib/libz/deflate.c:1238: warning: implicit declaration of function 'fprintf' ../../../../

Re: Support for UTIME_NOW, UTIME_OMIT, and futimens(2)

2011-07-15 Thread Matthew Dempsky
On Thu, Jul 14, 2011 at 12:05:18PM -0700, Matthew Dempsky wrote: > I'm unsure what values are best to pick for UTIME_NOW and UTIME_OMIT. > The only restriction is that they be distinct integer values outside > the valid range for tv_nsec values (i.e., [0, 9]). Values > below are from Linux

TV Led y Cámaras Digitales - Importador Directo

2011-07-15 Thread DigitalesNet
Atención telefónica de lúnes a viernes de 14 a 18 hs TV

Re: Expose openat(2), etc in libc

2011-07-15 Thread Matthew Dempsky
On Fri, Jul 15, 2011 at 10:51:19AM +, Christian Weisgerber wrote: > Done. A grand total of three ports failed: sysutils/bacula, > misc/findutils, net/rsync. All fixed in the respective port and/or > by matthew's additional work. > > As far as ports are concerned, the diff collection to > - e

ksh: setlocale()

2011-07-15 Thread pat
Wouldn't it make sense to set LC_CTYPE to environment's value during ksh initialization ? Currently this code in bin/ksh/emacs.c doesn't seem to be functional: 1414 /* Determine if we can translate meta key or use 8-bit AscII 1415 * XXX - It would be nice if there was a locale attribute t

Re: default label for default route

2011-07-15 Thread jirib
On Thu, 14 Jul 2011 14:39:50 +0200 Henning Brauer wrote: > * Vadim Zhukov [2011-07-11 01:23]: > > On Monday 11 July 2011 03:04:11 jirib wrote: > > > Hello, > > > > > > what do you think about having automatical label for defualt > > > route - named 'default' for example? > > > > > > I was just t

Re: Expose openat(2), etc in libc

2011-07-15 Thread Christian Weisgerber
Stuart Henderson wrote: > > Now that all of the new AT_* flags are supported, it's okay to expose > > openat(2), etc. in libc. > > > > This will need at least a minor libc bump (not included below). I > > know martynas@ has a major bump planned for libc, so I figure it makes > > sense to either

Julio Iglesias - Discografía 68 álbumes mas pendrive de regalo

2011-07-15 Thread Discos MP3 - Solo de Oferta
Uno de los diez mayores vendedo res de di scos en la historia de la música, habiendo vendido 300 mi llones de álb umes en todo el mundo hasta la fecha. Se estima que d