On Tue, Sep 08, 2015 at 09:45:06PM +0200, Tobias Stoeckmann wrote:
> The function pr_pack does not properly check boundaries before
> accessing packet data. This could happen on short network reads or
> when we receive packets that are addressed for another running ping6
> instance (see pr_pack com
Call socreate(9) only when we have a destination ip and port.
Call sobind(9) only when we have a source ip.
With this we can treat sc->so != NULL as a flag if the interface
is in state IFF_RUNNING.
OK?
diff --git if_pflow.c if_pflow.c
index c70ad81..829ec72 100644
--- if_pflow.c
+++ if_pflow.c
@@
I don't really like to store struct sockaddr_storage since it's so
big. I played around with a union like pf does, but looked
complicated.
Thoughts?
Also with this you can specify a source port.
Since I was touching all those lines anyway I renamed sender to
flowsrc and receiver to flowdst like th
On Sun, Sep 13, 2015 at 03:25:16PM +, Florian Obser wrote:
> I don't really like to store struct sockaddr_storage since it's so
> big. I played around with a union like pf does, but looked
> complicated.
> Thoughts?
>
> Also with this you can specify a source port
On Sat, Oct 24, 2015 at 06:15:48PM +0200, Sebastian Benoit wrote:
> Alexander Bluhm(alexander.bl...@gmx.net) on 2015.10.24 17:21:27 +0200:
> > On Sat, Oct 24, 2015 at 04:02:59PM +0200, Martin Pieuchot wrote:
> > > ...at least better than OpenBSD's source code.
> > >
> > > This diff gets rid of the
On Sun, Sep 17, 2017 at 02:56:32AM +, Scott Cheloha wrote:
> Hi,
>
> This will make mg(1) ever so slightly more portable: downstream
> will appreciate it. And fgetln(3) was recently deprecated.
>
> Misc. comments:
>
> The comments about NUL and "the last line problem" aren't per se
> applic
OK florian@ or if someone gives me an OK I'll commit it.
On Thu, Oct 12, 2017 at 04:17:10AM +, Scott Cheloha wrote:
> > On Oct 11, 2017, at 2:36 AM, Florian Obser wrote:
> >
> > On Sun, Sep 17, 2017 at 02:56:32AM +, Scott Cheloha wrote:
> >>
>
commited, thanks!
On Thu, Oct 12, 2017 at 04:17:10AM +, Scott Cheloha wrote:
> > On Oct 11, 2017, at 2:36 AM, Florian Obser wrote:
> >
> > On Sun, Sep 17, 2017 at 02:56:32AM +, Scott Cheloha wrote:
> >>
> >>
> >>if (buf[len - 1
On Wed, Oct 18, 2017 at 11:34:27AM +, Martin Pieuchot wrote:
> Kill ioctl(2) added with original KAME import that have never been used.
> FreeBSD also stopped supporting them in 2013.
usr.sbin/bind is looking at SIOCGLIFADDR, but it looks like it's
properly guarded by #ifdef. debian codesearch
OK florian@
On Thu, Oct 19, 2017 at 05:33:35AM +, Jonathan Gray wrote:
> Use after free and a memory leak.
>
> Index: parse.y
> ===
> RCS file: /cvs/src/usr.sbin/acme-client/parse.y,v
> retrieving revision 1.17
> diff -u -p -U4 -
On Wed, Oct 25, 2017 at 10:56:40AM +, Martin Pieuchot wrote:
> On 25/10/17(Wed) 21:53, Jonathan Gray wrote:
> > On Wed, Oct 25, 2017 at 12:20:45PM +0200, Martin Pieuchot wrote:
> > > Diff below remove some more deprecated ioctl(2). The first group below
> > > correspond to features now depreca
OK florian@
On Wed, Oct 25, 2017 at 10:20:45AM +, Martin Pieuchot wrote:
> Diff below remove some more deprecated ioctl(2). The first group below
> correspond to features now deprecated by slaacd(8):
>
> SIOCSIFINFO_FLAGS, SIOCSNDFLUSH_IN6, SIOCSPFXFLUSH_IN6, SIOCSRTRFLUSH_IN6
>
> Removin
intentionally (mostly) mechanical
OK?
diff --git kern/uipc_domain.c kern/uipc_domain.c
index 4cfbe5de4ff..0f4d05f7492 100644
--- kern/uipc_domain.c
+++ kern/uipc_domain.c
@@ -238,13 +238,11 @@ pfslowtimo(void *arg)
struct protosw *pr;
int i;
- NET_LOCK();
for (i =
on top of previous...
OK?
diff --git netinet/ip_input.c netinet/ip_input.c
index dc1bb9d8ec1..95c9194efcb 100644
--- netinet/ip_input.c
+++ netinet/ip_input.c
@@ -1028,7 +1028,6 @@ ip_slowtimo(void)
{
struct ipq *fp, *nfp;
- NET_LOCK();
mtx_enter(&ipq_mutex);
LIST
This is useful on systems where IP addresses are dynamically
configured (dhclient(8), slaacd(8)) and are not yet up when unbound
starts.
To quote the man page:
ip-transparent:
If yes, then use IP_TRANSPARENT socket option on sockets where
unbound is listening f
OK?
diff --git server.c server.c
index c0835ce8c11..fe74f9a1b56 100644
--- server.c
+++ server.c
@@ -567,7 +567,7 @@ server_init_ifs(struct nsd *nsd, size_t from, size_t to,
int* reuseport_works)
{
struct addrinfo* addr;
size_t i;
-#if defined(SO_REUSEPORT) || defined(SO_REUSEADD
this moves PRU_DETACH out of pr_usrreq into per proto pr_detach
functions, like what claudio did to pr_attach.
Intentionally mostly mechanical. There might be some cleanup here and
there in the functions themselves.
OK?
diff --git kern/uipc_proto.c kern/uipc_proto.c
index 1e86120f374..8797f0d632
There is no way SS_NOFDREF is set on a raw socket in raw_usrreq for
PRU_DISCONNECT or PRU_ABORT.
So raw_disconnect() and sofree() return immediately so remove the dead
code.
Also the following call to soisdisconnected() would be a
use after free.
This removes the last calls to raw_disconnect() so
This inlines all the trivial functions in the various places.
OK?
diff --git sys/conf/files sys/conf/files
index 03b4a0e24cc..2771b6f4446 100644
--- sys/conf/files
+++ sys/conf/files
@@ -788,7 +788,6 @@ file net/switchctl.cswitch
file net/switchofp.c swit
We are processing Router Solicitation / Advertisement messages only
for the Source Link-layer Address Options.
Merge nd6_rs_input() and nd6_ra_input() into one generic function.
OK?
diff --git netinet6/icmp6.c netinet6/icmp6.c
index 421280690c9..b5e12169584 100644
--- netinet6/icmp6.c
+++ netinet
It is possible to have multiple routers sending router advertisements,
so mark the default route mpath.
Comments, OKs?
diff --git slaacd.c slaacd.c
index 5e00cdb123c..06c11b241d5 100644
--- slaacd.c
+++ slaacd.c
@@ -737,7 +737,7 @@ configure_gateway(struct imsg_configure_dfr *dfr, uint8_t
rtm_ty
On Wed, Nov 01, 2017 at 06:03:26PM +, Martin Pieuchot wrote:
> ifioctl() contains two fallthrough paths that end up in ifp->if_ioctl().
> The diff below merges them.
>
> But instead of calling ifp->if_ioctl() from inside in{,6}_ioctl(), I
> changed the logic to return EOPNOTSUPP. The idea is
On Fri, Nov 03, 2017 at 12:31:42PM +, Martin Pieuchot wrote:
> On 03/11/17(Fri) 13:23, Florian Obser wrote:
> > On Wed, Nov 01, 2017 at 06:03:26PM +, Martin Pieuchot wrote:
> > > ifioctl() contains two fallthrough paths that end up in ifp->if_ioctl().
> > &
After inlining of raw_detach we know the sizes for free; pointed out
by mpi.
OK?
diff --git pfkeyv2.c pfkeyv2.c
index d0ae384aaa2..dcb66c06fe5 100644
--- pfkeyv2.c
+++ pfkeyv2.c
@@ -284,7 +284,7 @@ pfkeyv2_detach(struct socket *so)
so->so_pcb = NULL;
sofree(so);
- free(&kp
On Fri, Nov 03, 2017 at 01:37:40PM +, Martin Pieuchot wrote:
> On 02/11/17(Thu) 23:25, Florian Obser wrote:
> > We are processing Router Solicitation / Advertisement messages only
> > for the Source Link-layer Address Options.
> > Merge nd6_rs_input() and nd6_ra_inp
replace hand rolled LOCK/UNLOCK macros with a mutex like in the v4
case. While here remove the NET_LOCK.
OK?
diff --git frag6.c frag6.c
index a5b8ae261be..390115106c5 100644
--- frag6.c
+++ frag6.c
@@ -34,6 +34,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -
... they haven't been used since 2006.
OK?
(This is on top of "convert frag6 to mutex", but the order doesn't
matter, the conflict is trivial)
diff --git netinet/in_proto.c netinet/in_proto.c
index 6efbac7da5c..2667bba6124 100644
--- netinet/in_proto.c
+++ netinet/in_proto.c
@@ -179,7 +179,6 @@
please ignore this one, mpi points out that visa has a more
comprehensive diff for this that I missed.
--
I'm not entirely sure you are real.
On Tue, Nov 07, 2017 at 06:15:09PM +, Job Snijders wrote:
> On Mon, Nov 06, 2017 at 04:14:48PM -0700, Theo de Raadt wrote:
> > I agree on that. So please put it into the correct lists files for
> > all the unlimited ramdisks.
> >
> > Job, the situation is a little nit-picky but try to do it f
Move privileged initialization from frontend to main process.
Needed for future work where we will spin up children via
fork - privdrop - exec.
OK?
diff --git control.c control.c
index 76b0f3b15ea..96a6206c874 100644
--- control.c
+++ control.c
@@ -85,9 +85,7 @@ control_init(char *path)
OK
On Sat, Dec 16, 2017 at 10:06:59PM +, Lari Rasku wrote:
> There's a fairly strong convention among text editors that the Insert
> key should toggle overwrite mode. This is admittedly far more common
> among GUI editors, but could mg adopt it as a default anyway?
>
> diff --git usr.bin/mg/
so, here is 4.1.19. I haven't gotten around to reading the diff yet.
But I tossed it in production.
When trying to re-gen config.h.in autheader bombs out:
[florian@openbsd-build:/usr/src/usr.sbin/nsd]$ autoheader-2.69
autoheader-2.69: warning: missing template: HAVE_B64_NTOP
autoheader-2.69: Use
Oh and yes, that packed BS is completely retarded.
Seeing how many commits it took to have it not constantly spass out on
different compilers, it's amazing that someone didn't take the hint and
gave up on it. No idea what the usecase is suppsed to be.
--
I'm not entirely sure you are real.
On Fri, Jan 12, 2018 at 11:28:48AM -0700, Todd C. Miller wrote:
> On Fri, 12 Jan 2018 18:20:58 +0100, Florian Obser wrote:
>
> > so, here is 4.1.19. I haven't gotten around to reading the diff yet.
> > But I tossed it in production.
> >
> > When trying to re-
On Mon, Jan 15, 2018 at 01:02:58AM +0100, Mark Kettenis wrote:
> The diff below adopts more of the Linux code to manage i2c
> transactions on hardware supported by inteldrm(4). The i2c stuff is
> reponsible for detecting panels and monitors, so it is somewhat
> important that this works right. An
anyone else?
Got around to read the diff, not too much insanity in there, going to
commit soon.
rebased on top of millert@'s autohell fix:
diff --git Makefile.in Makefile.in
index 495160c0826..3468101c19d 100644
--- Makefile.in
+++ Makefile.in
@@ -286,9 +286,6 @@ qtest.o:$(srcdir)/tpkg/cutest
On Fri, Jan 26, 2018 at 05:38:46PM +, Stuart Henderson wrote:
> On 2018/01/26 18:12, Florian Obser wrote:
> > anyone else?
> > Got around to read the diff, not too much insanity in there, going to
> > commit soon.
>
> ok with me.
>
> > diff --g
I think this is correct...
OK?
diff --git ping6.c ping6.c
index 2c786f9..8e42ade 100644
--- ping6.c
+++ ping6.c
@@ -81,35 +81,29 @@
*/
#include
-#include
#include
-
-#include
-#include
+#include
#include
#include
#include
#include
#include
-#include
#include
#include
Tested with and without zone transfers, forced writing of zones to
disk and adding and removing zones at run time.
Is the order of pledges in main() correct?
OK?
diff --git nsd.c nsd.c
index 2420a65..d2084b7 100644
--- nsd.c
+++ nsd.c
@@ -,6 +,11 @@ main(int argc, char *argv[])
Inspired by the traceroute / traceroute6 merge.
At least reduces the diff in the option parser :)
OK?
diff --git ping/ping.c ping/ping.c
index f5ccaca..4944f77 100644
--- ping/ping.c
+++ ping/ping.c
@@ -110,7 +110,7 @@ int options;
#defineF_SO_DEBUG 0x0040
/* 0x0
This shoves a round peg into a square hole with considerable force...
I was only concerned with moving the functionality over from ping6,
further cleanup will happen on top of this.
OK?
diff --git ping.c ping.c
index 4944f77..a3a6fe3 100644
--- ping.c
+++ ping.c
@@ -147,8 +147,7 @@ unsigned long
yes please. while in there you should deleted the commented .Fl m from
the man page, too.
OK florian@
On Mon, Nov 30, 2015 at 08:12:32PM +0100, Jeremie Courreges-Anglas wrote:
>
> ie. https://tools.ietf.org/html/rfc2894
>
> This code has been rotting since a long time, only activated during two
OK florian@
On Mon, Nov 30, 2015 at 01:58:16PM +0100, Jeremie Courreges-Anglas wrote:
>
> Hi,
>
> get_next_msg() takes an "ifindex" argument, and contains code to check
> whether the interface affected by a routing message is "the correct
> one". Those tests have always been meaningless since i
/sbin:
diff --git sbin/Makefile.inc sbin/Makefile.inc
index 1b14860..92ca312 100644
--- sbin/Makefile.inc
+++ sbin/Makefile.inc
@@ -2,3 +2,4 @@
BINDIR?= /sbin
LDSTATIC= ${STATIC}
+CFLAGS+= -Werror-implicit-function-declaration
diff --git sbin/disklabel/editor.c sbin/disklabel/
usr.sbin, missing prototypes:
diff --git usr.sbin/mrouted/defs.h usr.sbin/mrouted/defs.h
index 4c9224a..45b060f 100644
--- usr.sbin/mrouted/defs.h
+++ usr.sbin/mrouted/defs.h
@@ -209,6 +209,7 @@ extern void accept_leave_message(u_int32_t src,
u_int32_t dst,
u_i
usr.sbin, fix bind configure:
Carefully checked that config.h and generated Makefiles don't change.
diff --git usr.sbin/bind/configure usr.sbin/bind/configure
index 6e280ad..db02979 100644
--- usr.sbin/bind/configure
+++ usr.sbin/bind/configure
@@ -4596,6 +4596,8 @@ cat confdefs.h >>conftest.$ac_e
usr.sbin, fix nsd/unbound configure
carefully checked that config.h and generated Makefiles don't change.
need for _XOPEN_VERSION pointed out by guenther@
diff --git usr.sbin/nsd/configure usr.sbin/nsd/configure
index d2d28c1..c2a40e8 100644
--- usr.sbin/nsd/configure
+++ usr.sbin/nsd/configure
@
usr.sbin, make sure subdirs of subdirs see usr.sbin/Makefile.inc:
Does the same thing as lpr/pac and pppd/pppstats. I have no idea if
this is the right way, but it seems to work. Cluebats welcome.
diff --git usr.sbin/lpr/filters/Makefile usr.sbin/lpr/filters/Makefile
index be83507..7308625 100644
usr.sbin; enable -Werror-implicit-function-declaration:
This has currently no effect on subdirs using Makefile.bsd-wrapper
(bind, nginx, nsd, unbound). This is beeing worked on. With a
workaround they have been tested and with the previous diffs are
clean.
diff --git usr.sbin/Makefile.inc usr.sbi
On Fri, Jul 25, 2014 at 02:28:15PM +0100, Stuart Henderson wrote:
> Following the recent IPv6 changes, what method should now be used
> to have a statically configured ipv6 address but accept router
> advertisements to pick up a default route?
>
as discussed on icb:
--8<--8<-
This moves sending of router solicitation packages to the kernel. With
it rtsol{,d}(8) is no longer needed.
Add
inet6 autoconf
to /etc/hostname.IF
or run ifconfig IF inet6 autoconf and the kernel will start sending
rtsol packages.
An the following events a timer will be (re) started with a timeout
On Mon, Aug 25, 2014 at 10:39:59PM -0500, Vladimir Támara Patiño wrote:
> Using tcpdump in a firewall with 5.5 (also happens with 5.4 and I guess with
> current) and certain addres of the LAN I got always a segfault.
Nope, already fixed in the upcomming 5.6 release and -current.
http://cvsweb.ope
Hi Ingo,
On Sun, Oct 19, 2014 at 02:24:27AM +0200, Ingo Schwarze wrote:
> Hi Philip,
>
> Philip Guenther wrote on Sat, Oct 18, 2014 at 04:38:09PM -0700:
>
> > Maybe we just fix getent(1) to return an error like it does for ethers?
>
> Whatever we do with gethostent(3) - maybe it's really expend
Commited, thanks!
On Sun, Nov 09, 2014 at 08:40:03PM +0100, Martin Natano wrote:
> mg(1) calls 'exit(1)' on failure, but 'exit(GOOD)' on success. In my
> opinion it would be more readable to just use 'exit(0)' for a normal
> exit. (If there really is the need for a define, EXIT_SUCCESS would be a
This patch fixes a relayd crash for the 5.6 release.
untrusted comment: signature from openbsd 5.6 base private key
RWR0EANmo9nqhgFKMGabOlUXoxAuey9xQyKcm0OULFMOSkyd3ReQHQjwA1psSBbqu1ex9j28D/nyEh6U8uj8f2oFZtXoHA7njAg=
OpenBSD 5.6 errata 6, Nov 17, 2014: Fix for relayd crash
Apply patch using:
On Sun, Nov 23, 2014 at 08:15:47PM -0500, Bertrand Janin wrote:
> Hi,
>
> This patch updates server_abort_http() to only send the body of default http
> error if the method is not HEAD. I first noticed that with curl -v -I which
> complains about the excess data:
>
> * Excess found in a non p
(moved to tech@)
On Thu, Jan 01, 2015 at 11:51:32AM -0600, Aaron Riekenberg wrote:
> I found some other reports of the same problem with rtadvd logging
> excessive messages about router advertisements on the external
> non-advertising interface.
>
> From OpenBSD 5.2:
> http://openbsd.7691.n7.nabb
On Sat, Jan 10, 2015 at 02:07:49PM +, Stuart Henderson wrote:
> [moved from misc@]
>
> On 2015-01-08, Josh Grosse wrote:
> > On Thu, Jan 08, 2015 at 03:20:46PM +, Florian Obser wrote:
> >
> >> [...]
> >>
> >> eui64 Fill the in
[ this originated on misc@:
https://marc.info/?t=14170362181&r=1&w=2 ]
so there are setups out there where a router gets a default route
(and maybe a prefix) via SLAAC (think dsl / cable line).
Currently the kernel does not accept a default route via SLAAC when
forwarding is enabled. Since we
On Mon, Mar 23, 2015 at 08:22:46PM +0100, Stefan Sperling wrote:
> On Mon, Mar 23, 2015 at 06:21:40PM +0000, Florian Obser wrote:
> > [ this originated on misc@:
> > https://marc.info/?t=14170362181&r=1&w=2 ]
> >
> > so there are setups out there where a r
Hi,
On Wed, Mar 18, 2015 at 01:35:08PM +0200, Kaspars Bankovskis wrote:
> Hi,
>
> to reproduce the issue:
>
> (1) start mg and press Enter, until you fill up the screen and it goes
> on to the next screen.
> (2) type in at least one character
> (3) press M-v (or execute command scroll-down)
> (4
On Wed, Mar 25, 2015 at 10:20:53PM +0100, Tim van der Molen wrote:
> I'm using the hgweb.cgi Python script to serve Mercurial repositories
> over HTTP. When served by httpd, hgweb.cgi does not work well with the
> hg command-line utility. For example, this doesn't work:
>
> $ hg clone http://examp
On Thu, Mar 26, 2015 at 05:46:12PM +0100, Henning Brauer wrote:
> * Mike Belopuhov [2015-03-26 14:36]:
> > however I agree that if we do this for ipv6 we should do it for ipv4 as well
> > but then do we care about tons of stuff out there parsing ifconfig output?
>
> that's the prime question. I w
On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote:
> How do people feel about printing the prefixlen in CIDR notation? I'm
> annoyed about outputs not fitting in 80 chars when using autoconf magic:
>
> -inet6 fd00::f2de:f1ff:fe6a:15d1 prefixlen 64 autoconf pltime 3594 vltime 7194
>
On Thu, Mar 26, 2015 at 06:50:37PM +0100, Martin Pieuchot wrote:
> On 26/03/15(Thu) 17:39, Florian Obser wrote:
> > On Thu, Mar 26, 2015 at 01:48:03PM +0100, Martin Pieuchot wrote:
> > > How do people feel about printing the prefixlen in CIDR notation? I'm
> > > a
On Sat, Apr 04, 2015 at 10:48:15AM -0300, Gleydson Soares wrote:
>
> mg(1) segfault.
> it is triggered as follows:
>
> 1- echo "(start-kbd-macro)" >> $HOME/.mg
> 2- open mg and type twice C-x (
>
> find below the backtrace and a patch to fix.
> OK?
>
> Program received signal SIGBUS, Bus error.
On Sat, Apr 04, 2015 at 03:23:45PM -0300, Gleydson Soares wrote:
> > return (macrodef = FALSE);
>
> but we shouldn't change macrodef here.
>
I hate the startup file.
Look, this is a use after free, but I can't find it...
#0 0x1b9de0b1b77f in definemacro (f=0, n=1)
at /u
On Sun, Apr 05, 2015 at 11:48:21AM +0200, Alexandr Nedvedicky wrote:
> Hello,
>
> when we ran PF sources through coverity we got an error
> as follows:
>
> 8310 if (ri->r->dst.addr.type == PF_ADDR_TABLE)
> 8311 pfr_update_stats(ri->r->dst.addr.p.tbl,
> 8312
Sorry for the very late reply, I'm currently very busy :/
On Fri, Apr 17, 2015 at 05:04:01AM +0200, Sunil Nimmagadda wrote:
> Range requests as defined in RFC7233 is required for resuming
> interrupted http(s) downloads for example:
> ftp -C http://foo.bar/install57.iso
>
> With this diff, httpd
On Sun, May 03, 2015 at 01:46:56PM +0200, Sunil Nimmagadda wrote:
> On Sat, May 02, 2015 at 02:49:30PM +0000, Florian Obser wrote:
> > Sorry for the very late reply, I'm currently very busy :/
>
> Thank you for taking time to review it. A new patch with style nits
> fixe
On Sat, Apr 18, 2015 at 12:19:46PM -0500, jmp wrote:
> I found 'timeoff' to be useful for converting to a time_t that is in
> GMT; however, did not find documentation on this in the man pages. It
> seems to be a function dating back to at least the NetBSD fork. If
> there is a better time function
On Sun, May 03, 2015 at 11:14:48AM -0500, Kyle Thompson wrote:
> On Sun, May 03, 2015 at 03:00:40PM +0000, Florian Obser wrote:
> > On Sat, Apr 18, 2015 at 12:19:46PM -0500, jmp wrote:
> > RFC 7232
> >
> >A recipient MUST ignore the If-Modified-Since header field i
On Sun, May 03, 2015 at 08:14:25PM +0200, Sebastian Benoit wrote:
> one question though: whats the reasoning behind MAX_RANGES 4? nginx seems to
> have a default of "unlimited" (which i think questionable), but what is
Wasn't there a cve about this last year or so? You can try to burn cpu
and io o
On Mon, Jun 08, 2015 at 09:17:41PM +0200, Claudio Jeker wrote:
> On Mon, Jun 08, 2015 at 09:12:32PM +0200, Joerg Jung wrote:
> > On Tue, Jun 02, 2015 at 05:47:47PM +0200, Claudio Jeker wrote:
> > > On Tue, Jun 02, 2015 at 01:50:35PM +0200, Joerg Jung wrote:
> > > >
> > > > > Am 01.06.2015 um 01:25
traceroute(8) never sees a timeout when poll(2) returns when it receives
a packet not intended for us. E.g. a ping(8) is running in parallel.
In this case we need to account for the time we already waited.
Pointed out by Gabriel Nieto on bugs@, thanks!
OK?
diff --git traceroute.c traceroute.
On Mon, Jan 02, 2017 at 04:29:21PM +0330, temp+...@frad.ir wrote:
> Hi tech@,
>
> I recently checked the slowcgi(8) and found that it might have an issue
> when buf_pos is at the end of buffer and buf_len is zero.
>
> Am I right?
we can simplify this even more. There is no need to remember the
b
tests, OKs?
diff --git configlexer.lex configlexer.lex
index e6b26f947e1..42dbd152f16 100644
--- configlexer.lex
+++ configlexer.lex
@@ -66,15 +66,6 @@ static void config_start_include(const char* filename)
c_error_msg("include %s: malloc failure", filename);
return
... without changing the address family at the same time
Easier to see with diff -b
OK?
diff --git if_pflow.c if_pflow.c
index 8e95aaf753f..80758b60bd5 100644
--- if_pflow.c
+++ if_pflow.c
@@ -335,32 +335,35 @@ pflow_set(struct pflow_softc *sc, struct pflowreq *pflowr)
}
... without changing the address family at the same time
Easier to read with diff -b.
This + previous fixes the ``ifconfig'' pflow regress test.
OK?
diff --git if_pflow.c if_pflow.c
index 80758b60bd5..2933df9b444 100644
--- if_pflow.c
+++ if_pflow.c
@@ -372,46 +372,37 @@ pflow_set(struct pflow_
On Wed, Jan 25, 2017 at 10:45:55AM -0500, Bertrand Provost wrote:
> Hi,
>
> On 2017-01-24 07:26 PM, Sebastian Benoit wrote:
> > but your diff does not seem to be against -current, you started from 6.0
> >
> > But even with 6.0 i get rejects, maybe you mail client messes this up.
> My patch is base
OK florian@
On Wed, Jan 25, 2017 at 07:12:14PM -0500, Bertrand Provost wrote:
> 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,
>
> --
>
On Tue, Feb 14, 2017 at 10:45:08PM +, Stuart Henderson wrote:
> On 2017/02/09 15:59, Stuart Henderson wrote:
> > Here's an update to the release candidate for 1.6.1. Tests/feedback welcome.
> > Diff is 600K so it's at https://junkpile.org/unbound-1.6.1rc1.diff rather
> > than inline.
>
> Updat
... and in case you want to see what's actually going on,
this is without the _t conversion churn:
commit 4cfab5a8d90abb380ae6a64da825883a2f360dc1
Author: Florian Obser
Date: Fri Feb 17 15:04:08 2017 +0100
log at verbosity 3.
diff --git nsec3.c nsec3.c
index f24377d4259..960e72
On Sat, Feb 18, 2017 at 06:06:01PM +0100, Jeremie Courreges-Anglas wrote:
>
> This one is a bit weird, the driver doesn't just increment the stats but
> also uses them at runtime, hence the additional helper functions.
I'm wondering if we should just drop the reading.
We have two cases, the init
For some reason I find myself quite often in the situation that I want
to C-x b to a different buffer but on entering the buffer name I
decide against it and C-g abort it.
mg(1) then switches me to *scratch*. IMO that is the least useful
thing mg(1) can do. This brings it in line with what emacs d
On Sat, Mar 11, 2017 at 06:11:53PM +, Rivo Nurges wrote:
> Hi!
>
> Following will add possibility to expand $HTTP_HOST to the HTTP
> Host header in "block return".
>
> In my setup I have relayd on port 443 and httpd on 80. This patch
> allows me to redirect http(httpd) to https(relayd) withou
cter is '^]'.
> GET / HTTP/1.0\r\n\r\n
>
> HTTP/1.0 301 Moved Permanently
> Date: Mon, 13 Mar 2017 18:20:48 GMT
> Server: OpenBSD httpd
> Connection: close
> Content-Type: text/html
> Content-Length: 443
> Location: https://10.XXX/
>
> Rivo
>
> On
This is OK florian@ or I can commit it if someone else OKs it.
On Wed, Mar 15, 2017 at 05:55:35PM +, Rivo Nurges wrote:
> Hi!
>
> New simplified version of the patch.
>
> Test results:
> HTTP 1.1 with Host:
> HTTP/1.0 301 Moved Permanently
> Location: https://testhttp.int/
>
> HTTP 1.0 with
OK florian@
looks like the "dlg"-style logging in identd, slowcgi, tftp-proxy and
tftpd needs some love, too :/
On Mon, Mar 20, 2017 at 10:59:29PM +0100, Alexander Bluhm wrote:
> Hi,
>
> From a syslog perspective it does not make sense to log fatal and
> warn with the same severity. I would lik
... the parser will bomb out anyway
OK?
diff --git main.c main.c
index dde8e8b638e..4f977451bbc 100644
--- main.c
+++ main.c
@@ -85,6 +85,9 @@ main(int argc, char *argv[])
goto usage;
}
+ if (getuid() != 0)
+ errx(EXIT_FAILURE, "must b
Prosody starts up as _prosody so key and cert are owned by
that user, which is perfectly valid.
Also "current user" will always be root anyway.
OK?
diff --git parse.y parse.y
index 1595b52a752..6ee026c2427 100644
--- parse.y
+++ parse.y
@@ -1034,10 +1034,6 @@ conf_check_file(char *s, int dontsta
We need to update the ia6_updatetime when changing the vltime/pltime
vio ioctl(2). Otherwise ifconfig shows the wrong times since
vltime/pltime are calculated from this value on export.
The handling of router advertisements does the right thing.
OK?
p.s. I don't think this worked ever, but
commited, thanks!
On Sun, Apr 09, 2017 at 10:10:28AM +0200, Anton Lindqvist wrote:
> Hi,
> SVG was added as a default media type in revision 1.10 of http.h.
>
> Index: httpd.conf.5
> ===
> RCS file: /cvs/src/usr.sbin/httpd/httpd.conf
rc1 is out, running fine here with minimal-responses: yes for some time
tests/OKs?
diff --git configlexer.lex configlexer.lex
index 42dbd152f16..547e7db3e02 100644
--- configlexer.lex
+++ configlexer.lex
@@ -271,6 +271,7 @@ zonefiles-check{COLON} { LEXOUT(("v(%s) ", yytext));
return VAR_ZON
nsd 4.1.6 gives us minimal-responses config option and I think we
should enable it in nsd.conf.
>From the man page:
minimal-responses:
Enable minimal responses for smaller answers. This makes
packets smaller. Extra data is only added for referrals, when
anyone?
On Sat, Apr 08, 2017 at 04:55:23PM +, Florian Obser wrote:
>
> We need to update the ia6_updatetime when changing the vltime/pltime
> vio ioctl(2). Otherwise ifconfig shows the wrong times since
> vltime/pltime are calculated from this value on export.
>
> The
On Fri, Apr 14, 2017 at 07:52:32AM +, Florian Obser wrote:
> rc1 is out, running fine here with minimal-responses: yes for some time
FYI: Wouter tagged 4.1.16 release this morning. No changes to RC1, so
what we have in tree is 4.1.16.
--
I'm not entirely sure you are real.
On 2022-12-15 20:08 +01, Theo Buehler wrote:
> I would appreciate some testing by people who actually use acme-client
> with multiple SANs. The diff works for me and should not change any
> important behavior.
>
> When I learned about CVE-2021-44532 in node, I was horrified, but oh,
> well, it was
This is at least supported by FreeBSD's units(1) as well as by
systemd/Linux.
With a personal library like this:
$ cat ~/units.lib
assload 8 stone
butt2 hogshead
buttload6 seams
solarmass 1.98847e30 kg
I can convert my mass into more convenient units:
$ units -f
That seems reasonable. This might be the full list, do you want to do
all?
usr.bin/htpasswd/htpasswd.c:fprintf(stderr, "usage:\t%s [file] login\n",
__progname);
usr.sbin/installboot/installboot.c: fprintf(stderr, "usage:\t%1$s [-nv] [-r
root] disk [stage1%2$s]\n"
usr.sbin/ldomctl/ldomctl
701 - 800 of 871 matches
Mail list logo