Re: pfctl: Kill states within a rdomain

2017-01-26 Thread Bertrand Provost
Hi, On 2017-01-26 01:56 AM, Jason McIntyre wrote: > you still need to s/for kill/to kill/ > jmc I forgot that one, here a new version. Regards, -- Bertrand Provost Index: pfctl.8 === RCS file: /cvs/src/sbin/pfctl/pfc

Re: pfctl: Kill states within a rdomain

2017-01-25 Thread Bertrand Provost
Hi, Based on feedback from jmc and florian here a new version of the patch - Add -V in usage() && __dead usage() - Change man (I hope this time my mail client is well configure) Regards, -- Bertrand Provost Index:

Re: pfctl: Kill states within a rdomain

2017-01-25 Thread Bertrand Provost
], "id")) - pfctl_id_kill_states(dev, ifaceopt, opts); + pfctl_id_kill_states(dev, opts); else - pfctl_net_kill_states(dev, ifaceopt, opts); +

pfctl: Kill states within a rdomain

2017-01-24 Thread Bertrand Provost
3:56:29, 4:3 pkts, 226:174 bytes, rule 1 Regards, -- Bertrand Provost Index: pfctl.8 === RCS file: /cvs/src/sbin/pfctl/pfctl.8,v retrieving revision 1.165 diff -u -p -r1.165 pfctl.8 --- pfctl.8 15 Jun 2015 08:48:23 - 1.165 +

Re: [PATCH] tftpd, rdomain

2015-08-07 Thread Bertrand PROVOST
lly, your mailer ate the whitespace from the diff, and messed > up style(9). Sorry for this, I don't have much options on gmail for this, that's why I added a link to it on pastebin, but I thought this was good, I'll try to find a solution. -- Bertrand PROVOST

[PATCH] tftpd, rdomain

2015-08-06 Thread Bertrand PROVOST
a lwarn("socket"); goto err; } + + if (rtableid != -1) { + if (setsockopt(client->sock, SOL_SOCKET, SO_RTABLE, &rtableid, +sizeof(rtableid)) == -1) { + lwarn("setsockopt SO_RTABLE"); + goto err; + } + } + memset(&s_in, 0, sizeof(s_in)); s_in.ss_family = client->ss.ss_family; s_in.ss_len = client->ss.ss_len; -- Bertrand PROVOST

Re: [patch] Relayd crash

2015-05-12 Thread Bertrand PROVOST
Apparently Google remove tabulations when I copy/paste the patch. Please download attachment to gets patch with tabulations. -- Bertrand PROVOST Index: http.h === RCS file: /cvs/src/usr.sbin/relayd/http.h,v retrieving revision 1.5

[patch] Relayd crash

2015-05-12 Thread Bertrand PROVOST
= RCS file: /cvs/src/usr.sbin/relayd/relayd.h,v retrieving revision 1.209 diff -u -p -r1.209 relayd.h --- relayd.h 2 May 2015 13:15:24 - 1.209 +++ relayd.h 12 May 2015 13:14:21 - @@ -1184,7 +1184,7 @@ void relay_http(struct relayd *); void relay_http_init(struct relay *); void relay_abort_http(struct rsession *, u_int, const char *, u_int16_t); -void relay_read_http(struct bufferevent *, void *); +void relay_read_http_cb(struct bufferevent *, void *); void relay_close_http(struct rsession *); u_int relay_httpmethod_byname(const char *); const char -- Bertrand PROVOST

[dhcpd] Remove unused variable

2015-02-06 Thread Bertrand PROVOST
; } else { - syslog_r(log_priority | LOG_ERR, &sdata, "%s", mbuf); - syslog_r(log_priority | LOG_ERR, &sdata, "%s", token_line); + syslog_r(LOG_ERR, &sdata, "%s", mbuf); + syslog_r(LOG_ERR, &sdata, "%s", token_line); if (lexchar < 81) - syslog_r(log_priority | LOG_ERR, &sdata, "%*c", lexchar, -'^'); + syslog_r(LOG_ERR, &sdata, "%*c", lexchar, '^'); } warnings_occurred = 1; -- Bertrand Provost

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

2015-01-22 Thread Bertrand PROVOST
riodic_scan` is called [1] http://marc.info/?l=openbsd-tech&m=118039557923827 -- Bertrand PROVOST Index: dhcpd.c === RCS file: /cvs/src/usr.sbin/dhcpd/dhcpd.c,v retrieving revision 1.46 diff -u -p -r1.46 dhcpd.c --- dhcpd.c