GIF interface and Routing Serious Unexpected behavior

2016-01-15 Thread sven falempin
On Thu, Jan 14, 2016 at 8:56 PM, sven falempin wrote: > > > On Thu, Jan 14, 2016 at 3:14 PM, sven falempin > wrote: > >> >> On Thu, Jan 14, 2016 at 1:08 PM, sven falempin >> wrote: >> >>> Dear Tech Reader, >>> Maybe this would be misc

Re: gre, pf and overworking

2016-01-14 Thread sven falempin
On Thu, Jan 14, 2016 at 3:14 PM, sven falempin wrote: > > On Thu, Jan 14, 2016 at 1:08 PM, sven falempin > wrote: > >> Dear Tech Reader, >> Maybe this would be misc but i am trying to avoid some useless answer. >> This is openbsd 5.8 patched ( -r OPENBSD_5_8

Re: gre, pf and overworking

2016-01-14 Thread sven falempin
On Thu, Jan 14, 2016 at 1:08 PM, sven falempin wrote: > Dear Tech Reader, > Maybe this would be misc but i am trying to avoid some useless answer. > This is openbsd 5.8 patched ( -r OPENBSD_5_8 ) > > All my block rule log. > Nothing appear in tcpdump -teni pflog0 > > But

gre, pf and overworking

2016-01-14 Thread sven falempin
Dear Tech Reader, Maybe this would be misc but i am trying to avoid some useless answer. This is openbsd 5.8 patched ( -r OPENBSD_5_8 ) All my block rule log. Nothing appear in tcpdump -teni pflog0 But pf drop packet (set skip or pfctl -d) solve problem. [0]-[blue]-[/cloudgate] # ping -c2 -w2 17

Re: trunk vs busy ports

2015-11-20 Thread sven falempin
On Fri, Nov 20, 2015 at 9:00 AM, Reyk Floeter wrote: > On Fri, Nov 20, 2015 at 11:27:05PM +1000, David Gwynne wrote: > > > > > On 20 Nov 2015, at 11:23 PM, Reyk Floeter wrote: > > > > > > On Fri, Nov 20, 2015 at 03:36:40PM +1000, David Gwynne wrote: > > >> IFF_OACTIVE means the hardware ring is

Re: kill NLS (native language support) libc errno message

2015-10-26 Thread sven falempin
On Sat, Oct 24, 2015 at 10:44 AM, Stefan Sperling wrote: > On Sat, Oct 24, 2015 at 04:07:59PM +0200, Alexander Bluhm wrote: > > Hi, > > > > The only thing that is translated into multiple languages in OpenBSD > > are the errno messages and signal names. Everything else is in > > English. We are

Re: [NEW] vias

2015-08-13 Thread sven falempin
On Thu, Aug 13, 2015 at 1:39 PM, Miod Vallat wrote: > > >I really like the new doas(1) utility, but after a while I started > > >missing the sudoedit(8) command and it didn't felt right to execute my > > >editor as . > > Please, don't. Use your regular $EDITOR and use doas -C to check the > corre

Re: faq/current.html: Mention sudo removal

2015-07-07 Thread sven falempin
On Mon, Jul 6, 2015 at 8:14 PM, Theo de Raadt wrote: > > On Sun, Jul 05, 2015 at 05:52:54PM -0600, Theo de Raadt wrote: > > > >Why is sudo being removed from base? It is pretty useful. I imagine > many > > > >use sudo > > > > > > Sorry, we are making room in the tree so that lynx can come back. >

Re: nsd.conf in /etc/changelist

2015-07-06 Thread sven falempin
On Mon, Jul 6, 2015 at 2:24 PM, Tim van der Molen wrote: > Ping. > > Tim van der Molen (2015-05-17 11:42 +0200): > > nsd.conf may contain keys, so store its checksum only. Also update the > > path to unbound's root.key. > > > > Index: changelist > > ===

Re: Fix for connect race in relayd

2015-06-11 Thread sven falempin
Dear relayd user, I am glad there is a connection state in relayd, this sound a better design, the former patch proposed by B.Provost was already a step toward this. This State is also a good tool to remove the volatile inflight; Fixing the race condition the OP was working on. Should we (I) pro

Re: Fix for connect race in relayd

2015-05-31 Thread sven falempin
On Sun, May 31, 2015 at 1:33 PM, sven falempin wrote: > > On Sun, May 31, 2015 at 8:40 AM, Reyk Floeter wrote: > >> On Sat, May 30, 2015 at 11:18:59PM -0400, sven falempin wrote: >> > The patch is in a turned off machine, >> > after doing the patch >> >

Re: Fix for connect race in relayd

2015-05-31 Thread sven falempin
On Sun, May 31, 2015 at 8:40 AM, Reyk Floeter wrote: > On Sat, May 30, 2015 at 11:18:59PM -0400, sven falempin wrote: > > The patch is in a turned off machine, > > after doing the patch > > i contacted directly reyk for the matter, > > i d like to push the issue furth

Re: Fix for connect race in relayd

2015-05-30 Thread sven falempin
The patch is in a turned off machine, after doing the patch i contacted directly reyk for the matter, i d like to push the issue further by not accepting the socket while the connect didnt succeed when possible. (The pastebin expire) Please be a bit patient. On Sat, May 30, 2015 at 12:35 PM, Th

Re: Fix for connect race in relayd

2015-05-30 Thread sven falempin
it is possible to remove the inflight var by opening the socket before accepting. Thus there is no need for guessing if the peer socket can be open, On Sat, May 30, 2015 at 7:40 AM, Claudio Jeker wrote: > On Fri, May 22, 2015 at 09:18:29PM +0200, Alexander Bluhm wrote: > > This breaks relayd wit

Re: test null before free in relayd

2015-05-27 Thread sven falempin
Unmangled diff: http://pastebin.com/p9Qi9rZX On Mon, May 25, 2015 at 4:24 PM, sven falempin wrote: > > > On Mon, May 25, 2015 at 2:55 PM, Gleydson Soares > wrote: >> >> >> your diff is incomplete... >> well, why just this occurrence? there is others check

Re: test null before free in relayd

2015-05-25 Thread sven falempin
On Mon, May 25, 2015 at 2:55 PM, Gleydson Soares wrote: > > > your diff is incomplete... > well, why just this occurrence? there is others check null before > free(3) in same file. > > and please, be more specific adding more details about your changes: eg.: > (I am removing the null check here, b

test null before free in relayd

2015-05-25 Thread sven falempin
Index: relay.c === RCS file: /cvs/src/usr.sbin/relayd/relay.c,v retrieving revision 1.194 diff -u -p -r1.194 relay.c --- relay.c 18 May 2015 16:57:20 - 1.194 +++ relay.c 25 May 2015 16:20:16 - @@ -1649,8 +1649,7 @@

Re: pf.conf from/to negation homogeneous behavior

2015-05-22 Thread sven falempin
On Fri, May 22, 2015 at 1:13 PM, Henning Brauer wrote: > * sven falempin [2015-05-22 16:33]: > > But it does not explain the output i have. > > otoh I'd say your diff is incomplete and misses a bit in expand_rule. > > Ok i get it now, log is not like pass, the is c

Re: pf.conf from/to negation homogeneous behavior

2015-05-22 Thread sven falempin
On Fri, May 22, 2015 at 10:15 AM, Henning Brauer wrote: > * sven falempin [2015-05-22 14:18]: > > looking the rule actually show and unexpected result : > > > match log on vic0 inet proto icmp from any to ! 8.8.8.8 > > match log on vic0 inet proto icmp from any to 8.8.4.

Re: pf.conf from/to negation homogeneous behavior

2015-05-22 Thread sven falempin
On Fri, May 22, 2015 at 5:09 AM, Henning Brauer wrote: > * sven falempin [2015-05-21 17:29]: > > I propose > > > > Index: pfctl/parse.y > > === > > RCS file: /cvs/src/sbin/pfctl/parse.y,v > >

pf.conf from/to negation homogeneous behavior

2015-05-21 Thread sven falempin
Dear Tech, I propose Index: pfctl/parse.y === RCS file: /cvs/src/sbin/pfctl/parse.y,v retrieving revision 1.648 diff -u -p -r1.648 parse.y --- pfctl/parse.y 21 Apr 2015 16:34:59 - 1.648 +++ pfctl/parse.y 21 May 2

Re: More if_output()

2015-05-21 Thread sven falempin
On Tue, May 19, 2015 at 6:49 AM, Martin Pieuchot wrote: > On 15/05/15(Fri) 15:53, Martin Pieuchot wrote: > > Some more if_output() conversion. The xl bits are here because I'd > > like to reduce the number of places where IFQ_ENQUEUE() is used. > > > > After applying this diff you should only ha

Re: Small carp(4) diff

2015-05-14 Thread sven falempin
On Thu, May 14, 2015 at 6:27 AM, Martin Pieuchot wrote: > ifp can never be NULL in carp_set_ifp(), so remove the check and gain > one level of indentation. > pre if (X == null ) {dprintf(you broke this); return ;} unindented code; /pre Same gain, more dev ease and corner case check. > ok?

Unix, Systat..., and Browser ERA

2015-05-13 Thread sven falempin
Dear tech, One can put a 80 columns tty into a javascript plugin and display 'listing' like formatted data on a Browser. This may be as fancy as a tag, taste is not something to argue. Nevertheless those fancy space aligned array, heir of the continuous feed printer paper, are not satisfactory

Re: relayd routers code need some love

2015-03-05 Thread sven falempin
On Thu, Mar 5, 2015 at 5:02 PM, sven falempin wrote: > Intro, i looked at the relayd router code, because i'd like to change > some route given some conditions. Especially i'd like to change some > rules when the route is added , and flush this anchor when route is > remov

relayd routers code need some love

2015-03-05 Thread sven falempin
Intro, i looked at the relayd router code, because i'd like to change some route given some conditions. Especially i'd like to change some rules when the route is added , and flush this anchor when route is removed (or flush read when changed). I think about copying the ifstated mechanism to provi

Re: syslog over TLS

2015-02-03 Thread sven falempin
On Fri, Jan 16, 2015 at 12:54 PM, Reyk Floeter wrote: > On Fri, Jan 16, 2015 at 12:56:45PM +0100, Alexander Bluhm wrote: >> On Fri, Jan 16, 2015 at 01:46:09AM +0100, Alexander Bluhm wrote: >> > This diff enables sending syslog messages over TLS. >> >> Updated diff after sys/param.h commit. Only s

Re: [dhcpd] Too many call to "remove ip from pf's table"

2015-01-31 Thread sven falempin
bumping this legit patch. On Thu, Jan 22, 2015 at 6:48 PM, Bertrand PROVOST wrote: > Hello, > > Based on a patch[1] found on the mailing list, I added a link between > dhcpd and unbound to be able to resolve name of all client that have > a lease on dhcpd. And I found a bug in the function 'peri

Re: Only replace /obsd if /bsd changed

2015-01-12 Thread sven falempin
On Mon, Jan 12, 2015 at 6:04 PM, Theo de Raadt wrote: > Oh so someone actually uses the install target? I've been thinking > about deleting it > when testing small things I sometimes use make install instead of cp ... . -- ---

Re: probing for device - question

2015-01-09 Thread sven falempin
On Wed, Jan 7, 2015 at 5:49 PM, Mark Kettenis wrote: >> From: sven falempin >> Date: Wed, 7 Jan 2015 13:59:12 -0500 >> >> Dear Tech, >> >> As you may know I am activating the watchdog function of a chip in >> my mainboard. I encouter a little problem a

Re: Jan's crontab.5 diff

2015-01-09 Thread sven falempin
Same size more precise ? - If MAILTO is defined and non-empty, mail is sent to the user + If MAILTO is defined and non-empty, Output is mailed to the user so named. If MAILTO is defined but empty (MAILTO = ""), no - mail will be sent. Otherwise mail is sent to the owner of + output will be m

Re: Implement a watchdog

2015-01-08 Thread sven falempin
_EXT 0x30 +#define WBSIO_ID_NCT6779D 0xc5 +#define WBSIO_ID_NCT6779D_EXT 0x60 +#define WBSIO_ID_NCT6791D 0xc8 +#define WBSIO_ID_NCT6791D_EXT 0x00 /* Logical Device Number (LDN) Assignments */ #define WBSIO_LDN_HM 0x

Re: Implement a watchdog

2015-01-08 Thread sven falempin
06D 0xc4 +#define WBSIO_ID_NCT6106D_EXT 0x50 +#define WBSIO_ID_NCT6775F 0xb4 +#define WBSIO_ID_NCT6775F_EXT 0x70 +#define WBSIO_ID_NCT6779D 0xc5 +#define WBSIO_ID_NCT6779D_EXT 0x60 +#define WBSIO_ID_NCT6791D 0xc8 +#define WBSIO_ID_NCT6791D_EXT 0x00 + /* Logical Device Number

probing for device - question

2015-01-07 Thread sven falempin
Dear Tech, As you may know I am activating the watchdog function of a chip in my mainboard. I encouter a little problem as the current is using a undersize 8bit ID. Meanwhile i read about LM as it is the next logical step. In in lm78_isa.c device are 'probed' again, but the function received th

Re: Implement a watchdog

2015-01-07 Thread sven falempin
On Mon, Jan 5, 2015 at 2:19 PM, Mark Kettenis wrote: >> From: sven falempin >> Date: Mon, 5 Jan 2015 13:29:41 -0500 >> >> On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson wrote: >> > >> > On 2014/12/11 07:41, sven falempin wrote: >> > >

Re: Implement a watchdog

2015-01-05 Thread sven falempin
On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson wrote: > > On 2014/12/11 07:41, sven falempin wrote: > > Thank you all, > > > > I grep(ed) -r NCT6 in sys and didn't find wbsio, I guess those > > christmass holydays will be much welcome ! > > > >

Re: Implement a watchdog

2014-12-11 Thread sven falempin
From: Matt Dainty >> >> * sven falempin [2014-12-10 12:32:15]: >> > On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson >> > wrote: >> > > On 2014/12/10 09:15, sven falempin wrote: >> > >> http://lxr.free-electrons.com/source/drivers/hwmon/nct677

Re: Implement a watchdog

2014-12-10 Thread sven falempin
On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson wrote: > On 2014/12/10 09:15, sven falempin wrote: >> http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c >> >> https://github.com/groeck/nct6775 >> >> So i guess the first step is to detect the chip >

Re: Implement a watchdog

2014-12-10 Thread sven falempin
http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c https://github.com/groeck/nct6775 So i guess the first step is to detect the chip On Wed, Dec 10, 2014 at 8:32 AM, sven falempin wrote: > I guess the chip used is obviously this one : > > Nuvoton NCT6106D > >

Re: Implement a watchdog

2014-12-10 Thread sven falempin
I guess the chip used is obviously this one : Nuvoton NCT6106D spec : https://download.nuvoton.com/NuvotonMOSS/DownloadService/Member/DocumentsInfo.aspx?tp_GUID=DA00-NCT6106D What now :p On Tue, Dec 9, 2014 at 2:15 PM, Mark Kettenis wrote: >> >> Dear Tech, >> >> i have a ENDAT 7703 motherboa

Implement a watchdog

2014-12-09 Thread sven falempin
Dear Tech, i have a ENDAT 7703 motherboard near my desk, the manual point out some instruction to configure the watchdog : //init, select the destination of command... outportb(0x2e,0x87); outportb(0x2e,0x87); outportb(0x2e,0x07); outportb(0x2f,0x08); //com outportb(0x2e,0x30); //main outport

Re: 64-bit PCI bridge support: testers needed

2014-11-28 Thread sven falempin
On Wed, Nov 26, 2014 at 10:10 AM, sven falempin wrote: > HEllo, > > So i reported a bug with a pci bridge a while ago. On an Apu with a > pci to pci bridge over pci express. > Dmesg below > > I use a recent snapshot > OpenBSD 5.6-current (GENERIC.MP) #610: Tue Nov 25 0

Re: 64-bit PCI bridge support: testers needed

2014-11-26 Thread sven falempin
HEllo, So i reported a bug with a pci bridge a while ago. On an Apu with a pci to pci bridge over pci express. Dmesg below I use a recent snapshot OpenBSD 5.6-current (GENERIC.MP) #610: Tue Nov 25 06:00:07 MST 2014 and assume the commit was in The situation improved, as i can have the card runn

.ERROR target in makefile > failed

2014-11-05 Thread sven falempin
Dear almighty tech, For releasing taken resources like vnd device, for example : # $OpenBSD: Makefile,v 1.2 2012/10/12 14:07:46 jsing Exp $ .PATH: ${.CURDIR}/../ramdiskB BOOT=${DESTDIR}/usr/mdec/fdboot RAMDISK=RAMDISK NOBSDRD=1 .include "${.CURDIR}/../common/Makefile.inc" .ERROR:

Re: 802.11 autoassoc

2014-09-30 Thread sven falempin
On Tue, Sep 30, 2014 at 8:04 AM, Peter Hessler wrote: > On 2014 Sep 30 (Tue) at 14:37:08 +0400 (+0400), Vadim Zhukov wrote: > :2014-09-30 14:27 GMT+04:00 Stefan Sperling : > :> On Tue, Sep 30, 2014 at 11:59:25AM +0200, Martin Pieuchot wrote: > :>> Hey Vadim, I'm happy to see you've put some effort

Re: 802.11 autoassoc

2014-09-30 Thread sven falempin
On Tue, Sep 30, 2014 at 7:16 AM, Stefan Sperling wrote: > On Tue, Sep 30, 2014 at 02:37:08PM +0400, Vadim Zhukov wrote: >> Yes, I've seen that behaviour. And it actually bothers me - what if I >> get associated with untrusted network, and my already opened >> Ajax-enabled browser will start to tra

Re: Switch ppb(4) from workq to task

2014-09-12 Thread sven falempin
On Mon, Sep 8, 2014 at 12:23 PM, sven falempin wrote: > On Mon, Sep 8, 2014 at 12:17 PM, Miod Vallat wrote: >>> My question is more about the driver itself, it did not change a lot >>> since 1994 , while netbsd apparently move to a complete different >>> driver :

Re: Switch ppb(4) from workq to task

2014-09-08 Thread sven falempin
On Mon, Sep 8, 2014 at 12:17 PM, Miod Vallat wrote: >> My question is more about the driver itself, it did not change a lot >> since 1994 , while netbsd apparently move to a complete different >> driver : >> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ppbus/?only_with_tag=HEAD >> >> Are those

Re: Switch ppb(4) from workq to task

2014-09-08 Thread sven falempin
On Sun, Jan 19, 2014 at 11:56 PM, Mark Kettenis wrote: > Currently not able to test this myself. Can somebody verify that > hotplug a *real* expresscard device still works? > > Thanks, > > Mark > > > Index: ppb.c > === > RCS file: /h

Re: it happends

2014-08-18 Thread sven falempin
On Mon, Aug 18, 2014 at 5:25 PM, Stuart Henderson wrote: > Your bug report is incomplete and I can't replicate it here, do you have > any more information about what happens? > well it is not standard build, i have build a patch release and then i chroot into it to build package. So the package i

Re: it happends

2014-08-18 Thread sven falempin
On Mon, Aug 18, 2014 at 3:47 PM, sven falempin wrote: > Index: Dependencies.pm > === > --- src/usr.sbin/pkg_add/OpenBSD/Dependencies.pm () > +++ src/usr.sbin/pkg_add/OpenBSD/Dependencies.pm () > @

it happends

2014-08-18 Thread sven falempin
Index: Dependencies.pm === --- src/usr.sbin/pkg_add/OpenBSD/Dependencies.pm () +++ src/usr.sbin/pkg_add/OpenBSD/Dependencies.pm () @@ -384,6 +384,7 @@ for my $package ($self->{set}->newer, $self->{set}->kept) {

Re: building 12 hours ago ports tree trigger lil code problem

2014-08-15 Thread sven falempin
certainly an out of sync base. sorry for the noise On Fri, Aug 15, 2014 at 6:55 AM, sven falempin wrote: > Look in /usr/local/share/doc/pkg-readmes for extra documentation. > Can't use an undefined value as a HASH reference at > /usr/libdata/perl5/OpenBSD/Dependenci

building 12 hours ago ports tree trigger lil code problem

2014-08-15 Thread sven falempin
Look in /usr/local/share/doc/pkg-readmes for extra documentation. Can't use an undefined value as a HASH reference at /usr/libdata/perl5/OpenBSD/Dependencies.pm line 387. -- - () a

Re: [PATCH]unused NULL check before calling free

2014-07-31 Thread sven falempin
On Thu, Jul 31, 2014 at 6:39 AM, Fritjof Bornebusch wrote: > On Wed, Jul 30, 2014 at 07:37:29PM -0700, patrick keshishian wrote: >> On Wed, Jul 30, 2014 at 10:14:54PM +0200, Fritjof Bornebusch wrote: >> > Hi tech, >> > >> > there is an unnecessary NULL check before calling free. >> > >> > fritjof

Re: I need your dhcpd.conf!

2014-07-22 Thread sven falempin
current used one is too simple :-( below i must add some static root to this configuration but< i didnt do it > , still somehow working on integration with pf and unbound (and other less interesting stuff) ( please do not break the client ip insertion in pf table ) I am not sure it is even suppor

ppb driver not

2014-07-09 Thread sven falempin
Dear tech@, Running a somewhat recent snapshot the device behave differently, as the dmesg say : ppb5 at pci5 dev 0 function 0 vendor "Pericom", unknown product 0xe111 rev 0x02: not configured by system firmware instead of ppb5 at pci5 dev 0 function 0 vendor "Pericom", unknown product 0xe111 rev

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 10:09 AM, Ted Unangst wrote: > On Thu, Jun 26, 2014 at 08:33, sven falempin wrote: > >> For a review i dislike >> + unsigned char stdinbuf[BUFSIZE]; >> and the memmove on it: >> >> Dear tech savvy, isn it better to malloc a buff

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 9:37 AM, Arne Becker wrote: > Hi. > >> If the buffer is fixed, dont bother memmove it, just remember the >> begining and the end: >> http://en.wikipedia.org/wiki/Circular_buffer > > There's a tradeoff - lots of memmove vs. lots of very small reads/writes > if you get near t

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 8:21 AM, Arne Becker wrote: > Hi. > >>> + /* listen and net in gone, queues empty, done */ >>> + if (lflag && pfd[POLL_NETIN].fd == -1 >> >> lflag ??? >> warning only one ref in the diff >> > > lflag is a global, the "listen" flag, as in: > nc -l

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 7:43 AM, Arne Becker wrote: > Hi. > >> Now soliciting diffs to change readwrite to a loop with two buffers >> that poll()s in all four directions. :) > > Good thing you made me remember I wrote just this a while ago. > This is my first OpenBSD diff, so tell me if I missed a

Re: increase netcat's buffer...

2014-06-22 Thread sven falempin
On Sun, Jun 22, 2014 at 9:20 AM, John-Mark Gurney wrote: > sven falempin wrote this message on Tue, Jun 17, 2014 at 07:42 -0400: > > On Mon, Jun 16, 2014 at 10:57 PM, Ted Unangst > wrote: > > > > > On Sat, Jun 14, 2014 at 10:55, Ted Unangst wrote: > > > &

Re: increase netcat's buffer...

2014-06-17 Thread sven falempin
On Mon, Jun 16, 2014 at 10:57 PM, Ted Unangst wrote: > On Sat, Jun 14, 2014 at 10:55, Ted Unangst wrote: > > On Fri, Jun 13, 2014 at 10:40, sven falempin wrote: > >>>> > >>>> Now soliciting diffs to change readwrite to a loop with two buffers >

Re: increase netcat's buffer...

2014-06-17 Thread sven falempin
On Mon, Jun 16, 2014 at 10:57 PM, Ted Unangst wrote: > On Sat, Jun 14, 2014 at 10:55, Ted Unangst wrote: > > On Fri, Jun 13, 2014 at 10:40, sven falempin wrote: > >>>> > >>>> Now soliciting diffs to change readwrite to a loop with two buffers >

Re: howmany macro: integer overflow

2014-06-14 Thread sven falempin
On Sat, Jun 14, 2014 at 7:13 AM, Tobias Stoeckmann wrote: > Hi, > > the howmany macro as used in param.h and select.h is prone to an integer > overflow. It adds divisor-1 to the base value, which means that it > COULD overflow. > > Most of the times, the howmany macro is used with file descripto

Re: increase netcat's buffer...

2014-06-13 Thread sven falempin
On Fri, Jun 13, 2014 at 7:50 AM, sven falempin wrote: > > > > On Tue, Jun 10, 2014 at 12:45 PM, Ted Unangst wrote: > >> On Mon, Jun 09, 2014 at 21:54, Theo de Raadt wrote: >> >> > A better patch is probably the following which also increases the >>

Re: increase netcat's buffer...

2014-06-13 Thread sven falempin
On Tue, Jun 10, 2014 at 12:45 PM, Ted Unangst wrote: > On Mon, Jun 09, 2014 at 21:54, Theo de Raadt wrote: > >> > A better patch is probably the following which also increases the size > >> > of the buffer to at least 64k: > >> > >> Agreed. > > > > One thing to be aware of. That function is sync

Re: ifstated(8) improvement

2014-06-09 Thread sven falempin
On Mon, Jun 9, 2014 at 11:17 AM, Giancarlo Razzolini wrote: > Em 09-06-2014 12:03, sven falempin escreveu: >> ifstated is a cool FSM emgine for handling the carp problems, >> for more complex need , instead of hacking this not complete FSM engine, >> i would just used anothe

Re: ifstated(8) improvement

2014-06-09 Thread sven falempin
On Mon, Jun 9, 2014 at 10:38 AM, Giancarlo Razzolini wrote: > Hi tech, > > I've been using ifstated for years now for failover my links and > I've developed quite some tools on top of it. But, I've recently reached > a cornerstone. I've developed a series of scripts that are called with > the

Re: ifconfig segmentation fault

2014-05-16 Thread sven falempin
On Fri, May 16, 2014 at 10:15 PM, Giancarlo Razzolini wrote: > Em 16-05-2014 18:19, Héctor Luis Gimbatti escreveu: > > /etc/hostname.if > > Inet 1.2.3.4 255.255.255.0 NONE -inet6 > > > > # ksh /etc/netstart > > # ifconfig > > ## NO PROBLEM > > > > /etc/hostname.if > > Inet 1.2.3.4 255.255.255.0 -i

Re: segfault in dhclient 5.4 please help

2014-04-16 Thread sven falempin
On Tue, Apr 15, 2014 at 8:05 AM, Otto Moerbeek wrote: > > > Op 15 apr. 2014 om 13:13 heeft Kenneth Westerback > het volgende geschreven: > > > >> On 15 April 2014 08:34, Otto Moerbeek wrote: > >>> On Mon, Apr 14, 2014 at 09:32:43PM -0400, sven falempin

Re: segfault in dhclient 5.4 please help

2014-04-15 Thread sven falempin
On Tue, Apr 15, 2014 at 7:13 AM, Kenneth Westerback wrote: > On 15 April 2014 08:34, Otto Moerbeek wrote: >> On Mon, Apr 14, 2014 at 09:32:43PM -0400, sven falempin wrote: >> >>> so i got gdb back to the machine because i cannot reproduce outside of the >>>

Re: segfault in dhclient 5.4 please help

2014-04-14 Thread sven falempin
On Mon, Apr 14, 2014 at 2:04 PM, sven falempin wrote: > On Mon, Apr 14, 2014 at 8:21 AM, sven falempin > wrote: >> hello >> >> As far as i know, nothing change... >> but the machine is remote. >> >> v12-GW 14# /sbin/dhclient -l /run/dhclient.leases.

Re: segfault in dhclient 5.4 please help

2014-04-14 Thread sven falempin
On Mon, Apr 14, 2014 at 8:21 AM, sven falempin wrote: > hello > > As far as i know, nothing change... > but the machine is remote. > > v12-GW 14# /sbin/dhclient -l /run/dhclient.leases.trunk0 trunk0 > DHCPDISCOVER on trunk0 to 255.255.255.255 port 67 interval 3 > DHCPOFFE

segfault in dhclient 5.4 please help

2014-04-14 Thread sven falempin
hello As far as i know, nothing change... but the machine is remote. v12-GW 14# /sbin/dhclient -l /run/dhclient.leases.trunk0 trunk0 DHCPDISCOVER on trunk0 to 255.255.255.255 port 67 interval 3 DHCPOFFER from 10.0.0.254 (96:4f:87:9c:ad:67) DHCPREQUEST on trunk0 to 255.255.255.255 port 67 DHCPACK

Re: dd gigabytes

2014-03-23 Thread sven falempin
Freebsd: If the number ends with a ``b'', ``k'', ``m'', ``g'', or ``w'', the number is multiplied by 512, 1024 (1K), 1048576 (1M), 1073741824 (1G) or the number of bytes in an integer, respectively. NetBSD: Where sizes are specified, a decimal number of bytes is expected. Two or more numbe

Re: mremap , emulate or not present.

2014-03-21 Thread sven falempin
On Fri, Mar 21, 2014 at 7:06 PM, Philip Guenther wrote: > On Fri, Mar 21, 2014 at 1:40 PM, sven falempin > wrote: > > A quite old change (2.4!!) said < Emulate Linux mremap(). > > > > > Yet the call is not present nowaday. > > It's still in the same pl

mremap , emulate or not present.

2014-03-21 Thread sven falempin
Hello, A quite old change (2.4!!) said < Emulate Linux mremap(). > Yet the call is not present nowaday. Is it possible to do some plumbing to emulate mremap as a syscall (i mean linux compat call a code that do the job so why the call is not in the manual nor 'exported') or Would it be relevant

Re: USB install image for OpenBSD 5.5 - TESTING REQUIRED

2014-03-18 Thread sven falempin
On Tue, Mar 18, 2014 at 12:39 PM, Chris Cappuccio wrote: > sven falempin [sven.falem...@gmail.com] wrote: > > Some issue here, using install55.fs (today 18/3/2014 downloaded snaps) > > > > boot is ok (warn: entropy file missing) > > > > but /dev has no /dev/sd1

Re: USB install image for OpenBSD 5.5 - TESTING REQUIRED

2014-03-18 Thread sven falempin
Some issue here, using install55.fs (today 18/3/2014 downloaded snaps) boot is ok (warn: entropy file missing) but /dev has no /dev/sd1 (is the usb key) and so i cannot look for the sets . I did MAKEDEV all so i can mount keys to get the dmesg. currently outputing dmesg on usb3 key, the machine

Re: Before sending to bug at openbsd....

2014-03-13 Thread sven falempin
On Wed, Mar 12, 2014 at 3:33 PM, sven falempin wrote: > On Wed, Mar 12, 2014 at 2:01 PM, Stuart Henderson wrote: >> On 2014/03/12 13:47, sven falempin wrote: >>> > You might do better with qemu socket network devices (or the L2TPv3 >>> > support that was re

Re: Before sending to bug at openbsd....

2014-03-12 Thread sven falempin
On Wed, Mar 12, 2014 at 2:01 PM, Stuart Henderson wrote: > On 2014/03/12 13:47, sven falempin wrote: >> > You might do better with qemu socket network devices (or the L2TPv3 >> > support that was recently added to qemu head), which should allow a >> > "dir

Re: Before sending to bug at openbsd....

2014-03-12 Thread sven falempin
On Wed, Mar 12, 2014 at 11:44 AM, Stuart Henderson wrote: > On 2014/03/12 10:41, sven falempin wrote: >> Hello, does someone knows about this and how to fix it or workaround ? >> Best Regards, >> >> >Synopsis: LACP TRUNK IS NOT WORKING AS EXPECTED >> &g

Before sending to bug at openbsd....

2014-03-12 Thread sven falempin
Hello, does someone knows about this and how to fix it or workaround ? Best Regards, >Synopsis: LACP TRUNK IS NOT WORKING AS EXPECTED >Category: system >Environment: System : OpenBSD 5.4 Details : OpenBSD 5.4 (GENERIC) #37: Tue Jul 30 12:05:01 MDT 2013 dera...@i

Using 'blank' disk during install may fail

2014-03-04 Thread sven falempin
Using the current available amd64 snapshot (install.iso) the using whole disk install function do unexpected result. This has been tested in 5.4, it is a regression. It has been reproduced with a different disk, it gave the following information, Before installation i have the current data :

Re: Snapshot

2014-03-04 Thread sven falempin
for sd0 is: #size offset fstype [fsize bsize cpg] a:62.5M 32 4.2BSD 2048 16384 1 # / c:152627.8M 0 unused Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] On Tue, Mar 4, 2014 at 8:4

Re: Snapshot

2014-03-04 Thread sven falempin
On Tue, Mar 4, 2014 at 9:39 AM, sven falempin wrote: > > > > On Tue, Mar 4, 2014 at 8:46 AM, Kenneth Westerback > wrote: > >> On 4 March 2014 08:41, sven falempin wrote: >> > Installing the snapshot on external HD, >> > when using W for all di

Re: Snapshot

2014-03-04 Thread sven falempin
On Tue, Mar 4, 2014 at 8:46 AM, Kenneth Westerback wrote: > On 4 March 2014 08:41, sven falempin wrote: > > Installing the snapshot on external HD, > > when using W for all disk the installer created only a very small > > Partition (Disk was clean, all 4 base empty. >

Snapshot

2014-03-04 Thread sven falempin
Installing the snapshot on external HD, when using W for all disk the installer created only a very small Partition (Disk was clean, all 4 base empty. Not present in 5.4 (i tried, it creates the layout, then i use the snapshot 5.5 and use O [OpenBSD]. ( Will use this disk on a machine with a non

Re: signed packages

2014-01-17 Thread sven falempin
On Fri, Jan 17, 2014 at 12:28 PM, Marc Espie wrote: > > On Fri, Jan 17, 2014 at 06:23:53PM +0100, Marc Espie wrote: > > On Fri, Jan 17, 2014 at 12:09:31PM -0500, sven falempin wrote: > > > > > >Awesome. > > >Â * the one on the client openB

Re: signed packages

2014-01-17 Thread sven falempin
Awesome. To keep OUR control, one shall create a FTP, resign all packet and update the key, or generate packet and sign with is own key, moreover update the one on his openBSD client , where are those keys ? * the one on the client openBSD * the one on the builder is there a new make command

Re: Alter daemon scheduling priority with renice for rc.d

2013-12-28 Thread sven falempin
On Sat, Dec 28, 2013 at 6:23 PM, Craig R. Skinner wrote: > On 2013-12-28 Sat 21:16 PM |, Craig R. Skinner wrote: > > On 2013-12-19 Thu 13:43 PM |, Craig R. Skinner wrote: > > > Enhance rc.d/rc.subr with lowered/raised daemon running priority. > > > > > > > Take 2: > > > > Replace /etc/rc.d/ rc_ren

Re: Weird loop in ftp client

2013-11-29 Thread sven falempin
If the disk is full, having time to retry was nice ? Progress 90%. Nop try again... Anyway, Warning on error would be a first i guess to spot REAL problem. (Without changing the behavior). [Mail] + Broken Pipe, WEEK END. On Fri, Nov 29, 2013 at 2:44 PM, Maxime Villard wrote: > What about

Re: Weird loop in ftp client

2013-11-24 Thread sven falempin
On Sat, Nov 23, 2013 at 5:47 PM, Theo de Raadt wrote: > > On 2013/11/23 14:39, sven falempin wrote: > > > Hello, > > > > > > Another point of vue : > > > Because curl is in base, what does ftp client add to the system ? > > > > ftp(1) is no

Re: Weird loop in ftp client

2013-11-24 Thread sven falempin
On Sat, Nov 23, 2013 at 5:29 PM, Stuart Henderson wrote: > On 2013/11/23 14:39, sven falempin wrote: > > Hello, > > > > Another point of vue : > > Because curl is in base, what does ftp client add to the system ? > > ftp(1) is not without problems (bad ssl sup

Re: Weird loop in ftp client

2013-11-23 Thread sven falempin
Hello, Another point of vue : Because curl is in base, what does ftp client add to the system ? Cheers :-) On Sat, Nov 23, 2013 at 5:40 AM, Otto Moerbeek wrote: > On Fri, Nov 22, 2013 at 10:04:02PM +0100, Maxime Villard wrote: > > > Le 22/11/2013 17:48, Ted Unangst a ??crit : > > > On Fri,

Re: Weard security report

2013-11-06 Thread sven falempin
On Wed, Nov 6, 2013 at 11:43 AM, Alexander Hall wrote: > > > Joerg Sonnenberger wrote: > >On Wed, Nov 06, 2013 at 10:24:53AM -0500, sven falempin wrote: > >> == > >> /var/db/cloud.json diffs (-OLD +NEW) > >> == > >> --- /dev/null F

Re: Weard security report

2013-11-06 Thread sven falempin
On Wed, Nov 6, 2013 at 10:50 AM, Joerg Sonnenberger wrote: > On Wed, Nov 06, 2013 at 10:24:53AM -0500, sven falempin wrote: > > == > > /var/db/cloud.json diffs (-OLD +NEW) > > == > > --- /dev/null Fri Oct 25 01:30:33 2013 > > +++ /var/db/cloud.j

Weard security report

2013-11-06 Thread sven falempin
Hello, I love daily scripts and used it to follow some activity on server(s) One of my server got this entry: Running security(8): == /var/db/cloud.json diffs (-OLD +NEW) == --- /dev/null Fri Oct 25 01:30:33 2013 +++ /var/db/cloud.json Thu Oct 17 17:21:15 2013 [...] Previous s

Re: Improve routing functions

2013-11-01 Thread sven falempin
FreeBSD propose to have a specific routing table for a process, which is even more powerful. When the router has multiple gateway i guess when a source address is choose the route should be chosen given that. Nothing more. What use of this <> do you imagine ?, of course you may want this traffic o

<    1   2   3   >