Re: ifconfig segmentation fault

2014-05-16 Thread sven falempin
On Fri, May 16, 2014 at 10:15 PM, Giancarlo Razzolini grazzol...@gmail.comwrote: 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

Re: ifstated(8) improvement

2014-06-09 Thread sven falempin
On Mon, Jun 9, 2014 at 10:38 AM, Giancarlo Razzolini grazzol...@gmail.com 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

Re: ifstated(8) improvement

2014-06-09 Thread sven falempin
On Mon, Jun 9, 2014 at 11:17 AM, Giancarlo Razzolini grazzol...@gmail.com 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 another

Re: increase netcat's buffer...

2014-06-13 Thread sven falempin
On Fri, Jun 13, 2014 at 7:50 AM, sven falempin sven.falem...@gmail.com wrote: On Tue, Jun 10, 2014 at 12:45 PM, Ted Unangst t...@tedunangst.com 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

Re: howmany macro: integer overflow

2014-06-14 Thread sven falempin
On Sat, Jun 14, 2014 at 7:13 AM, Tobias Stoeckmann tob...@stoeckmann.org 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

Re: increase netcat's buffer...

2014-06-17 Thread sven falempin
On Mon, Jun 16, 2014 at 10:57 PM, Ted Unangst t...@tedunangst.com 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 that poll()s in all four directions

Re: increase netcat's buffer...

2014-06-17 Thread sven falempin
On Mon, Jun 16, 2014 at 10:57 PM, Ted Unangst t...@tedunangst.com 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 that poll()s in all four directions

Re: increase netcat's buffer...

2014-06-22 Thread sven falempin
On Sun, Jun 22, 2014 at 9:20 AM, John-Mark Gurney j...@funkthat.com 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 t...@tedunangst.com wrote: On Sat, Jun 14, 2014 at 10:55, Ted Unangst wrote: On Fri, Jun 13

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 7:43 AM, Arne Becker arne_bec...@genua.de 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

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 8:21 AM, Arne Becker arne_bec...@genua.de 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 9:37 AM, Arne Becker arne_bec...@genua.de 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

Re: increase netcat's buffer...

2014-06-26 Thread sven falempin
On Thu, Jun 26, 2014 at 10:09 AM, Ted Unangst t...@tedunangst.com 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 buffer like this instead of alloca

ppb driver not configured

2014-07-09 Thread sven falempin
Dear tech@, Running a somewhat recent snapshot the pericom 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

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

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 frit...@alokat.org 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

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. -- - ()

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 sven.falem...@gmail.com 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/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: it happends

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

Re: it happends

2014-08-18 Thread sven falempin
On Mon, Aug 18, 2014 at 5:25 PM, Stuart Henderson st...@openbsd.org 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.

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 mark.kette...@xs4all.nl wrote: Currently not able to test this myself. Can somebody verify that hotplug a *real* expresscard device still works? Thanks, Mark Index: ppb.c ===

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 m...@online.fr 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

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 sven.falem...@gmail.com wrote: On Mon, Sep 8, 2014 at 12:17 PM, Miod Vallat m...@online.fr 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: 802.11 autoassoc

2014-09-30 Thread sven falempin
On Tue, Sep 30, 2014 at 7:16 AM, Stefan Sperling s...@openbsd.org 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

Re: 802.11 autoassoc

2014-09-30 Thread sven falempin
On Tue, Sep 30, 2014 at 8:04 AM, Peter Hessler phess...@theapt.org 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 s...@openbsd.org: : On Tue, Sep 30, 2014 at 11:59:25AM +0200, Martin Pieuchot wrote: : Hey Vadim, I'm happy

.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:

Configure ttys and console.

2013-08-02 Thread sven falempin
Hello, For obscure reason i would like to have a root shell with no login on the com port. I of course get through man ttys, getty, termcap, login ... Currently i have a working solution by modifying gettytab and specifying lo string there. Still, i have to enter root\n before getting the

osfp pfctl and states

2013-09-05 Thread sven falempin
openBSDs, Reading pfctl manual and net/pfvar.h i didnt find the ospf information inside a states entry . So i assume it is not possible to recover the fingerprint of a state trough the ioctl. Unless - i didnt read enough (help is welcome) - creatorId is something i hould look into. or i have to

Re: Iso image integrity verification

2013-09-11 Thread sven falempin
I love the stickers to enclose the box when getting a CD release, probably easy to forge but so cool :-) On Wed, Sep 11, 2013 at 9:00 AM, Beavis pfu...@gmail.com wrote: +1 on this, to make sure that your OpenBSD Distribution is legit, get the CD, support the project! what more could you ask

Re: Iso image integrity verification

2013-09-11 Thread sven falempin
maintaining a mirror and a cvs sync tree is quite good too. morevover you cloud have some https on your mirror On Wed, Sep 11, 2013 at 1:53 PM, Valentin Zagura put...@gmail.com wrote: I don't think I'm more paranoid than the average considering that Debian has a way to do this

Re: osfp pfctl and states

2013-09-11 Thread sven falempin
fingerprint come from from one source without doing log or traffic analysis. On Fri, Sep 6, 2013 at 5:27 AM, Henning Brauer lists-openbsdt...@bsws.dewrote: * sven falempin sven.falem...@gmail.com [2013-09-05 18:14]: Reading pfctl manual and net/pfvar.h i didnt find the ospf information inside

Re: osfp pfctl and states

2013-09-12 Thread sven falempin
On Thu, Sep 12, 2013 at 2:50 AM, Henning Brauer lists-openbsdt...@bsws.dewrote: * sven falempin sven.falem...@gmail.com [2013-09-11 22:30]: At his point struct pf_state **sm is available. Lets assume pf_state got a struct pf_osfp_enlist l_osfp To get back the info from userland, doing

Re: Iso image integrity verification

2013-09-12 Thread sven falempin
Can the project wire an explosive booby trap inside the CD box to ensure that any sneaky postman is blown away by the awesomeness of openBSD ? (for a decent supplementary fee of course) On Thu, Sep 12, 2013 at 6:56 PM, Kenneth R Westerback kwesterb...@rogers.com wrote: On Thu, Sep 12, 2013

Re: divert-to with port range

2013-09-17 Thread sven falempin
The patch is extending the rules, so i dont see how it could behave differently The original set of percentage is still strange so you have a point. Unless they expect this behavior (they still end with the good 100% rules) isn't it possible to round robin this ? with relayd or something else ?

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 improvement do you imagine ?, of course you may want this

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

Re: Weard security report

2013-11-06 Thread sven falempin
On Wed, Nov 6, 2013 at 10:50 AM, Joerg Sonnenberger jo...@britannica.bec.de 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.json Thu Oct 17 17:21

Re: Weard security report

2013-11-06 Thread sven falempin
On Wed, Nov 6, 2013 at 11:43 AM, Alexander Hall alexan...@beard.se wrote: Joerg Sonnenberger jo...@britannica.bec.de 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

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 o...@drijf.net wrote: On Fri, Nov 22, 2013 at 10:04:02PM +0100, Maxime Villard wrote: Le 22/11/2013 17:48, Ted Unangst a ??crit :

Re: Weird loop in ftp client

2013-11-24 Thread sven falempin
On Sat, Nov 23, 2013 at 5:29 PM, Stuart Henderson st...@openbsd.org 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 support, semi-broken proxy

Re: Weird loop in ftp client

2013-11-24 Thread sven falempin
On Sat, Nov 23, 2013 at 5:47 PM, Theo de Raadt dera...@cvs.openbsd.orgwrote: 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 support, semi-broken

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 m...@m00nbsd.net

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 skin...@britvault.co.ukwrote: 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

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 public one on the client openBSD * the private one on the builder is there a

Re: signed packages

2014-01-17 Thread sven falempin
On Fri, Jan 17, 2014 at 12:28 PM, Marc Espie es...@nerim.net 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 public one on the client openBSD Â * the private one

Yesterday 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 partitions 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

Re: Yesterday Snapshot

2014-03-04 Thread sven falempin
On Tue, Mar 4, 2014 at 8:46 AM, Kenneth Westerback kwesterb...@gmail.comwrote: On 4 March 2014 08:41, sven falempin sven.falem...@gmail.com 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

Re: Yesterday Snapshot

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

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 :

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

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

2014-03-12 Thread sven falempin
On Wed, Mar 12, 2014 at 11:44 AM, Stuart Henderson st...@openbsd.org 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 Category: system Environment

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

2014-03-12 Thread sven falempin
On Wed, Mar 12, 2014 at 2:01 PM, Stuart Henderson st...@openbsd.org 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 direct connection between the virtual

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

2014-03-13 Thread sven falempin
On Wed, Mar 12, 2014 at 3:33 PM, sven falempin sven.falem...@gmail.com wrote: On Wed, Mar 12, 2014 at 2:01 PM, Stuart Henderson st...@openbsd.org 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

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

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 ch...@nmedia.net 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 (is the usb key) and so i

Re: mremap , emulate or not present.

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

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

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: segfault in dhclient 5.4 please help

2014-04-14 Thread sven falempin
On Mon, Apr 14, 2014 at 8:21 AM, sven falempin sven.falem...@gmail.com 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 DHCPOFFER from

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 sven.falem...@gmail.com wrote: On Mon, Apr 14, 2014 at 8:21 AM, sven falempin sven.falem...@gmail.com 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

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 kwesterb...@gmail.com wrote: On 15 April 2014 08:34, Otto Moerbeek o...@drijf.net 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 box. gdb too

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 o...@drijf.net wrote: Op 15 apr. 2014 om 13:13 heeft Kenneth Westerback kwesterb...@gmail.com het volgende geschreven: On 15 April 2014 08:34, Otto Moerbeek o...@drijf.net wrote: On Mon, Apr 14, 2014 at 09:32:43PM -0400, sven falempin wrote

Bridge rules

2012-06-28 Thread sven falempin
Doc : ifconfig bridge0 rule pass in on fxp0 src 0:de:ad:be:ef:0 tag USER1 Want to do something like ifconfig bridge0 rule pass in on fxp0 src 0:de:ad:*:*:* tag OPENBSDAWESOME or ifconfig bridge0 rule pass in on fxp0 src /\\A00:de:ad:/ tag OPENBSDAWESOME Read Code : found, in if_bridge.c

Re: Bridge rules

2012-06-29 Thread sven falempin
2012/6/29 Henning Brauer lists-openbsdt...@bsws.de * Mike Belopuhov m...@crypt.org.ru [2012-06-29 13:46]: On Fri, Jun 29, 2012 at 1:36 PM, Henning Brauer lists-openbsdt...@bsws.de wrote: now it's very unclear what your actual problem is - the struct is called ifbreq and used in a

Re: Bridge rules

2012-06-29 Thread sven falempin
; } + goto return_action; } return (BRL_ACTION_PASS); 2012/6/29 sven falempin sven.falem...@gmail.com 2012/6/29 Henning Brauer lists-openbsdt...@bsws.de * Mike

Re: Bridge rules

2012-06-29 Thread sven falempin
29, 2012 at 15:08, sven falempin wrote: Code Rewriting (nothing new) and asking I seriously wonder if 'that' is good in sys/net/if_bridge.c if (flags == 0) goto return_action; Because if i m not wrong it could be rewritten this way (diff) That does look clearer to me

Re: Bridge rules

2012-06-29 Thread sven falempin
and that s new knowledge As you should now regexp, the complex way use less user brain cells :D SO I do a OFFSET,STRING matching ? like ifconfig bridge0 rule pass in on fxp0 src m1,de:fe On Fri, Jun 29, 2012 at 10:50 PM, sven falempin sven.falem...@gmail.com wrote: Feel free to commit those code

Re: Bridge rules

2012-06-29 Thread sven falempin
*/ u_int16_t brl_tag;/* pf tag ID */ u_int8_tbrl_action; /* what to do with match */ u_int8_tbrl_flags; /* comparision flags */ 2012/6/29 sven falempin sven.falem...@gmail.com Feel free to commit those code

Re: Bridge rules

2012-06-30 Thread sven falempin
s...@spacehopper.org On 2012/06/29 20:05, sven falempin wrote: ifconfig bridge0 rule pass in on fxp0 src de:ff:* wouldn't it be simpler to just allow a mask value to be set, then you don't need to mess with extra flag variables, just mask the MAC address with this value before comparison

Re: Bridge rules

2012-06-30 Thread sven falempin
should be more likely an expected diff 2012/6/30 Stuart Henderson s...@spacehopper.org On 2012/06/30 09:47, sven falempin wrote: Stuart, The flag is there to not change old behavior. Since masking with all 0's is pointless, you can use that to identify the standard behaviour, checking

Re: Bridge rules

2012-06-30 Thread sven falempin
*/ u_int16_t brl_tag; /* pf tag ID */ u_int8_t brl_action; /* what to do with match */ u_int8_t brl_flags; /* comparision flags */ 2012/6/30 sven falempin sven.falem...@gmail.com should be more likely an expected diff 2012/6/30 Stuart Henderson s...@spacehopper.org On 2012/06/30 09:47, sven

mask support for ethernet bridge filtering

2012-07-03 Thread sven falempin
This diff enables the possibilty of using a mask on bridges rules. I have test it like this : $ cat /etc/hostname.bridge0 up add re0 add vether0 rule pass out on vether0 src 78:2b:4f:00:00:00 mask ff:ff:ff:00:00:00 tag booz rule block out on vether0 src 78:2b:00:00:00:00 mask ff:ff:00:00:00:00

Re: mask support for ethernet bridge filtering

2012-07-12 Thread sven falempin
Inline diff 2012/7/3 sven falempin sven.falem...@gmail.com This diff enables the possibilty of using a mask on bridges rules. I have test it like this : $ cat /etc/hostname.bridge0 up add re0 add vether0 rule pass out on vether0 src 78:2b:4f:00:00:00 mask ff:ff:ff:00:00:00 tag booz

Re: usermod: lock/unlock local password

2012-09-10 Thread sven falempin
2012/9/10 Antoine Jacoutot ajacou...@bsdfrog.org Hi. This diff adds 2 new options to usermod(8): -U to unlock a user's password -Z to lock a user's password In effect locking/unlocking the password means to add a '!' in front of the encrypted entry in master.passwd. Note that this

Re: Major dhclient(8) changes - no more dhclient-script

2012-11-13 Thread sven falempin
2012/11/9 Kenneth R Westerback kwesterb...@rogers.com Those of you following -current or running very recent snaps may have noticed a lot of changes to dhclient in the last couple of weeks. Aside from some major clean up, these changes revolve around the elimination of the dhclient-script as

Re: [PATCH] pfctl configuration file parser

2013-01-25 Thread sven falempin
printf $? On Thu, Jan 24, 2013 at 2:45 AM, Janne Johansson icepic...@gmail.comwrote: Yes, I think the usual programs should not print if the normal operation went fine style should keep pfctl -f some-file quiet. Having output in the specific config test mode would not hurt, but it's not

pfctl / nat / dhcp

2013-02-07 Thread sven falempin
Hello, I run OpenBSD 5.2 GENERIC#278 i386 for a while at home (wifi/router), and since the release no reboot nor problem. The Box is connected to a cable modem router that gives a public ip address over dhcp or a local one if the line is cut. So sometimes my egress is 192.168.100.1 sometimes it

Re: pfctl / nat / dhcp

2013-02-07 Thread sven falempin
On Thu, Feb 7, 2013 at 8:47 AM, Peter Hessler phess...@theapt.org wrote: On 2013 Feb 07 (Thu) at 13:44:22 + (+), Stuart Henderson wrote: :On 2013/02/07 08:29, sven falempin wrote: : Hello, : : I run OpenBSD 5.2 GENERIC#278 i386 for a while at home (wifi/router), and : since

Re: pfctl / nat / dhcp

2013-02-07 Thread sven falempin
On Thu, Feb 7, 2013 at 9:44 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013/02/07 09:26, sven falempin wrote: egress, vr0 ext are all the same, arent they ? Probably, but you didn't give enough information to be sure. For example if you have IPv6 via a tunnel interface (or perhaps

Re: pfctl / nat / dhcp

2013-02-07 Thread sven falempin
On Thu, Feb 7, 2013 at 10:09 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013/02/07 10:01, sven falempin wrote: On Thu, Feb 7, 2013 at 9:44 AM, Stuart Henderson s...@spacehopper.org wrote: On 2013/02/07 09:26, sven falempin wrote: egress, vr0 ext are all the same, arent

Re: pfctl / nat / dhcp

2013-02-08 Thread sven falempin
On Thu, Feb 7, 2013 at 5:17 PM, sven falempin sven.falem...@gmail.comwrote: On Thu, Feb 7, 2013 at 10:09 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013/02/07 10:01, sven falempin wrote: On Thu, Feb 7, 2013 at 9:44 AM, Stuart Henderson s...@spacehopper.org wrote: On 2013/02

Re: pfctl / nat / dhcp

2013-02-08 Thread sven falempin
On Fri, Feb 8, 2013 at 9:07 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013/02/08 08:56, sven falempin wrote: # cat -n /etc/pf.conf | grep nat 26 match out on (vr0) from 192.168.42.0/24 to !(self) nat-to ext 28 match out on (ext) from 192.168.142.0/24 to !(self) nat

Re: Fixing a phrase in /stable.html

2013-02-18 Thread sven falempin
On Mon, Feb 18, 2013 at 2:53 PM, Alexander Hall alexan...@beard.se wrote: On 02/18/13 19:48, Nick Holland wrote: On 02/17/13 04:54, Jason McIntyre wrote: On Sun, Feb 17, 2013 at 01:29:00PM +0400, Nick Permyakov wrote: Hi, I might be nitpicking, but the sentence This will take awhile...

Re: sasync phase 1 issue

2013-02-22 Thread sven falempin
On Fri, Feb 22, 2013 at 2:29 PM, sangdrax8 sangdr...@gmail.com wrote: I am new to OpenBSD, but would like to take advantage of a redundant setup with ipsec/carp/sasyncd. I have run into a situation which seems to be a bug, and was directed to post to tech with config files. I believe my

Re: carp init delay

2013-04-03 Thread sven falempin
my 2 cents: timing is always a problem, maybe you could arping the next hop and then activate the carp ? On Wed, Apr 3, 2013 at 9:34 AM, Stuart Henderson s...@spacehopper.orgwrote: On 2013/04/03 14:54, Camiel Dobbelaar wrote: In some cases when a network port comes up, it does not indicate

Re: unix semantics fuck up

2013-04-15 Thread sven falempin
*-i*[*extension*] -i\.sed but wow, nice way to destroy file. On Mon, Apr 15, 2013 at 8:12 AM, Marc Espie es...@nerim.net wrote: $ cat goodfilename coincoin $ perl -pi -e 's/toto/tutu/' goodfilename works $ cp goodfilename /tmp $ perl -pi -e 's/toto/tutu/' /tmp/goodfilename Can't do

Re: unix semantics fuck up

2013-04-15 Thread sven falempin
On Mon, Apr 15, 2013 at 10:44 AM, sven falempin sven.falem...@gmail.comwrote: *-i*[*extension*] -i\.sed but wow, nice way to destroy file. oh , it is tmpfs related :-) On Mon, Apr 15, 2013 at 8:12 AM, Marc Espie es...@nerim.net wrote: $ cat goodfilename coincoin $ perl -pi -e 's

variable initialisation for userland program

2013-06-14 Thread sven falempin
Hello Does the chain automatically set a parameter so C var are set to zero by default ? curl http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/netcat .c?rev=1.112;content-type=text%2Fplain grep Sflag If I compile this in release Slfag has a random value when tested or the value 1 if the

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

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

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 mark.kette...@xs4all.nl wrote: Dear Tech, i have a

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 sven.falem...@gmail.com wrote: I guess the chip used is obviously this one : Nuvoton NCT6106D spec

Re: Implement a watchdog

2014-12-10 Thread sven falempin
On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson st...@openbsd.org 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 You'll also need somewhere

Re: Implement a watchdog

2014-12-11 Thread sven falempin
From: Matt Dainty m...@bodgit-n-scarper.com * sven falempin sven.falem...@gmail.com [2014-12-10 12:32:15]: On Wed, Dec 10, 2014 at 9:31 AM, Stuart Henderson st...@openbsd.org wrote: On 2014/12/10 09:15, sven falempin wrote: http://lxr.free-electrons.com/source/drivers/hwmon/nct6775.c

Re: syslog over TLS

2015-02-03 Thread sven falempin
On Fri, Jan 16, 2015 at 12:54 PM, Reyk Floeter r...@openbsd.org 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.

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 provost.bertr...@gmail.com 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

Re: probing for device - question

2015-01-09 Thread sven falempin
On Wed, Jan 7, 2015 at 5:49 PM, Mark Kettenis mark.kette...@xs4all.nl wrote: From: sven falempin sven.falem...@gmail.com 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

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 dera...@cvs.openbsd.org 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: 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

Re: Implement a watchdog

2015-01-05 Thread sven falempin
On Thu, Dec 11, 2014 at 7:47 AM, Stuart Henderson st...@openbsd.org 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 ! Does the wbsio detect the watchdog in the apu

  1   2   3   >