sftp enum alphabetical sort fix

2014-04-21 Thread Loganaden Velvindron
Hi All, Trivial fix for sftp. Index: sftp.c === RCS file: /cvs/src/usr.bin/ssh/sftp.c,v retrieving revision 1.159 diff -u -p -u -p -r1.159 sftp.c --- sftp.c 21 Apr 2014 14:36:16 - 1.159 +++ sftp.c 21 Apr 2014

Re: [Patch] security: check ed25519 private key

2014-04-21 Thread Loganaden Velvindron
On Mon, Apr 21, 2014 at 04:20:03PM +0200, Fritjof Bornebusch wrote: Hi tech@, here is a small diff, that checks if the ~/.ssh/id_ed25519 private key has the right permissions. That's seems good to me. Fritjof Index: security

sftp upload resume support man page diff

2014-04-21 Thread Loganaden Velvindron
Hi All, As sftp resume upload has been implemented, here's a man page diff to describe the feature. Feedback welcomed. Index: sftp.1 === RCS file: /cvs/src/usr.bin/ssh/sftp.1,v retrieving revision 1.97 diff -u -p -u -p -r1.97

Re: IPv6 DoS sysctl man page additions

2014-04-22 Thread Loganaden Velvindron
, Loganaden Velvindron wrote: Hi All, I'm taking a short break from playing with pf statistics. There were 4 sysctls added from KAME, but the man pages weren't updated accordingly. (Adapted from the NetBSD man page changes) Feedback welcomed. Index: lib/libc/gen/sysctl.3

Re: IPv6 by default

2014-04-28 Thread Loganaden Velvindron
On Tue, Apr 29, 2014 at 2:05 AM, Simon Perreault si...@per.reau.lt wrote: Tech, Now that my AI_ADDRCONFIG diff is in, it's time to reveal my evil master plan: make getaddrinfo() return IPv6 results first by default. The diff below would be the end goal. I guess people will have valid

sftp zap extra whitespace

2014-05-04 Thread Loganaden Velvindron
Hi All, An extra whitespace can be removed here: Index: sftp.c === RCS file: /cvs/src/usr.bin/ssh/sftp.c,v retrieving revision 1.162 diff -u -p -u -p -r1.162 sftp.c --- sftp.c 29 Apr 2014 20:36:51 - 1.162 +++ sftp.c

ssh regression suite connect-privsep.sh issue

2014-05-04 Thread Loganaden Velvindron
Hi All, The 'Z' flag was removed 10 days ago by Ted. connect-privsep.sh complains that there is an unknown malloc option. Diff below: Index: connect-privsep.sh === RCS file: /cvs/src/regress/usr.bin/ssh/connect-privsep.sh,v

spelling correction for libressl verify.pod

2014-05-25 Thread Loganaden Velvindron
Hi All, From OpenSSL RT 3355: Index: doc/apps/verify.pod === RCS file: /cvs/src/lib/libssl/src/doc/apps/verify.pod,v retrieving revision 1.8 diff -u -p -u -p -r1.8 verify.pod --- doc/apps/verify.pod 4 May 2014 20:31:33 -

-noout description in sess_id.c

2014-05-25 Thread Loganaden Velvindron
Hi All, From Martin Kaiser (OpenSSL RT #3364): -noout mentions a CRL, which is incorrect. Index: lib/libssl/src/apps/sess_id.c === RCS file: /cvs/src/lib/libssl/src/apps/sess_id.c,v retrieving revision 1.16 diff -u -p -u -p -r1.16

socket descriptor leak in s_socket.c

2014-05-25 Thread Loganaden Velvindron
Hi All, From OpenSSL RT #3342: CID: 966576 96677 Index: lib/libssl/src/apps/s_socket.c === RCS file: /cvs/src/lib/libssl/src/apps/s_socket.c,v retrieving revision 1.38 diff -u -p -u -p -r1.38 s_socket.c ---

typo in ssl_err.c

2014-05-25 Thread Loganaden Velvindron
Hi All, From Marcos Marado: heartbearts-heartbeats. Index: src/ssl/ssl_err.c === RCS file: /cvs/src/lib/libssl/src/ssl/ssl_err.c,v retrieving revision 1.19 diff -u -p -u -p -r1.19 ssl_err.c --- src/ssl/ssl_err.c 14 Apr 2014

LibreSSL memory leak fix

2014-06-02 Thread Loganaden Velvindron
Hi All, From Martin Brejcha: Index: src/lib/libssl/src/crypto/bio/bss_dgram.c === RCS file: /cvs/src/lib/libssl/src/crypto/bio/bss_dgram.c,v retrieving revision 1.25 diff -u -p -u -p -r1.25 bss_dgram.c ---

LibreSSL memory leak fix

2014-06-04 Thread Loganaden Velvindron
Hi All, From OpenSSL RT: http://rt.openssl.org/Ticket/Display.html?id=3278user=guestpass=guest len can be 0 as well, and in which case, memory isn't freed. Patch from Frantisek Boranek: Index: lib/libssl/src/crypto/pkcs12/p12_kiss.c

Typo in macro name for ASN

2014-06-06 Thread Loganaden Velvindron
Hi All, From Quanah Gibson-Mount: UNKOWN-UNKNOWN Index: crypto/asn1/asn1_err.c === RCS file: /cvs/src/lib/libssl/src/crypto/asn1/asn1_err.c,v retrieving revision 1.16 diff -u -p -u -p -r1.16 asn1_err.c --- crypto/asn1/asn1_err.c

libressl compilation issues (?)

2014-06-08 Thread Loganaden Velvindron
Hey guys, I downloaded the latest snapshot, and attempted to build from sources. However, i'm getting those errors: /usr/src/lib/libssl/ssl/../../libssl/src/ssl/s23_clnt.c: In function 'ssl_fill_hello_random': /usr/src/lib/libssl/ssl/../../libssl/src/ssl/s23_clnt.c:300: error:

Re: Typo in macro name for ASN

2014-06-08 Thread Loganaden Velvindron
On Fri, Jun 06, 2014 at 09:47:03AM +0200, Miod Vallat wrote: From Quanah Gibson-Mount: UNKOWN-UNKNOWN Index: crypto/asn1/asn1_err.c Please refrain from sending diffs you obviously didn't test. Miod Compiled and tested: Index: src/crypto/asn1/asn1.h

Re: [PATCH, libressl] discuss: removal of padding extension?

2014-07-23 Thread Loganaden Velvindron
On Wed, Jul 23, 2014 at 10:20:23AM +0200, Hanno B?ck wrote: Hi, Quick background: Some router firmwares from F5 have a bug that they fail if the SSL handshake is between 256 and 511 bytes. F5 should issue fixes for their firmware. Following up that openssl and other major ssl

Re: Shadow TCP stacks

2014-10-25 Thread Loganaden Velvindron
On Sat, Oct 25, 2014 at 01:23:47PM -0400, Ian Grant wrote: And when you have more than words, please put it on a a web site and do nothing more than tell people once. Still a lot of words, but code too, and an outline of a test framework that others may be interested in using. I would be

openbsd ioctl fix (in6.c)

2013-08-21 Thread Loganaden Velvindron
I'm not sure if applies to OpenBSD as well, but NetBSD also disallowed SIOCSIFDSTADDR for ioctl. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/netinet6/in6.c?annotate=1.166only_with_tag=MAIN 1.2 itojun374:switch (cmd) { 1.104 christos 375:/* 1.105 christos 376:

Re: OpenBSD in6 ioctl fix

2013-08-21 Thread Loganaden Velvindron
On Wed, Aug 21, 2013 at 8:05 PM, Loganaden Velvindron lo...@elandsys.com wrote: It appears that SIOCSIFDSTADDR should not be allowed upon an AF_INET6 socket as well. From netbsd: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/netinet6/in6.c?annotate=1.166only_with_tag=MAIN 1.2 itojun

OpenBSD in6 ioctl fix

2013-08-21 Thread Loganaden Velvindron
It appears that SIOCSIFDSTADDR should not be allowed upon an AF_INET6 socket as well. From netbsd: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/netinet6/in6.c?annotate=1.166only_with_tag=MAIN 1.2 itojun374:switch (cmd) { 1.104 christos 375:/* 1.105 christos

ipv6 atomic draft - rfc6946 diff

2013-08-22 Thread Loganaden Velvindron
Hi, The draft is now an RFC. Perhaps the code should reflect those changes as well ? Index: sys/netinet6/frag6.c === RCS file: /cvs/src/sys/netinet6/frag6.c,v retrieving revision 1.47 diff -u -p -r1.47 frag6.c ---

Re: ipv6 atomic draft - rfc6946 diff

2013-08-22 Thread Loganaden Velvindron
be reassembled from the contents of that sole fragment. bit-flag, and some clarifications added. On 2013 Aug 21 (Wed) at 23:40:12 -0700 (-0700), Loganaden Velvindron wrote: :Hi, : :The draft is now an RFC. :Perhaps the code should reflect those changes as well ? : : :Index: sys

udp6 fix for possible memory corruption

2013-08-23 Thread Loganaden Velvindron
Hi, From NetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/netinet6/udp6_output.c?rev=1.41content-type=text/x-cvsweb-markuponly_with_tag=MAIN Under some circumstances, udp6_output() would call ip6_clearpktopts() with an uninitialized struct ip6_pktopts on the stack, opt. ip6_clearpktopts(opt,

Re: openbsd ioctl fix (in6.c)

2013-08-27 Thread Loganaden Velvindron
On Tue, Aug 27, 2013 at 10:37:30AM +0200, Martin Pieuchot wrote: On 22/08/13(Thu) 23:31, Claudio Jeker wrote: On Wed, Aug 21, 2013 at 09:59:56AM -0700, Loganaden Velvindron wrote: I'm not sure if applies to OpenBSD as well, but NetBSD also disallowed SIOCSIFDSTADDR for ioctl

Re: openbsd ioctl fix (in6.c)

2013-09-18 Thread Loganaden Velvindron
On Tue, Aug 27, 2013 at 10:37:30AM +0200, Martin Pieuchot wrote: On 22/08/13(Thu) 23:31, Claudio Jeker wrote: On Wed, Aug 21, 2013 at 09:59:56AM -0700, Loganaden Velvindron wrote: I'm not sure if applies to OpenBSD as well, but NetBSD also disallowed SIOCSIFDSTADDR for ioctl

Re: openbsd ioctl fix (in6.c)

2013-09-26 Thread Loganaden Velvindron
ping ? On Wed, Sep 18, 2013 at 11:01 AM, Loganaden Velvindron lo...@elandsys.com wrote: On Tue, Aug 27, 2013 at 10:37:30AM +0200, Martin Pieuchot wrote: On 22/08/13(Thu) 23:31, Claudio Jeker wrote: On Wed, Aug 21, 2013 at 09:59:56AM -0700, Loganaden Velvindron wrote: I'm not sure

Re: openbsd ioctl fix (in6.c)

2013-09-30 Thread Loganaden Velvindron
On Mon, Sep 30, 2013 at 10:51:47PM +0200, Alexander Bluhm wrote: On Wed, Sep 18, 2013 at 12:01:10AM -0700, Loganaden Velvindron wrote: Index: in6.c === RCS file: /cvs/src/sys/netinet6/in6.c,v retrieving revision 1.118 diff

Re: Multicast macros and global list of addresses

2013-10-01 Thread Loganaden Velvindron
On Tue, Oct 1, 2013 at 3:33 PM, Martin Pieuchot mpieuc...@nolizard.org wrote: On 19/09/13(Thu) 13:59, Martin Pieuchot wrote: Diff below change the macros used to iterate over the multicast records linked to an interface without using the global lists of addresses. These records are currently

ip6_mroute.c m_free() - m_freem()

2013-10-04 Thread Loganaden Velvindron
Hi, I came across this small diff in netbsd. It fixes a small case of mbuf leak possibility. Index: sys/netinet6/ip6_mroute.c === RCS file: /cvs/src/sys/netinet6/ip6_mroute.c,v retrieving revision 1.62 diff -u -p -r1.62 ip6_mroute.c

[lists-openbsdt...@bsws.de: Re: ip6_mroute.c m_free() - m_freem()]

2013-10-04 Thread Loganaden Velvindron
- Forwarded message from Henning Brauer lists-openbsdt...@bsws.de - Date: Fri, 4 Oct 2013 13:34:26 +0200 From: Henning Brauer lists-openbsdt...@bsws.de To: Loganaden Velvindron lo...@elandsys.com Subject: Re: ip6_mroute.c m_free() - m_freem() User-Agent: Mutt/1.5.21 (2010-09-15) ok

Re: IPv6 routing header type 0

2013-11-14 Thread Loganaden Velvindron
On Thu, Nov 14, 2013 at 4:27 AM, Alexander Bluhm alexander.bl...@gmx.net wrote: On Fri, Oct 18, 2013 at 08:45:02PM +0200, Alexander Bluhm wrote: Our IPv6 stack scans all extension headers for routing header type 0 and drops the packet if it finds one. RFC 5095 demands to handle a routing

Re: IPv6 routing header type 0

2013-11-14 Thread Loganaden Velvindron
On Thu, Nov 14, 2013 at 10:04 PM, Mike Belopuhov m...@belopuhov.com wrote: On 14 November 2013 18:52, Henning Brauer lists-openbsdt...@bsws.de wrote: * Theo de Raadt dera...@cvs.openbsd.org [2013-11-14 18:47]: it is the status quo *right now* Look, you can't call something the status quo

Re: txp(4) 3Com 3XP Typhoon/Sidewinder diff needs testing

2013-12-02 Thread Loganaden Velvindron
On Mon, Dec 2, 2013 at 4:36 PM, Mike Belopuhov m...@belopuhov.com wrote: On 2 December 2013 03:07, Brad Smith b...@comstyle.com wrote: Here is a diff for the txp(4) 3Com 3XP Typhoon/Sidewinder driver to clean up and update the receive filter / ioctl handling code to be in line with the other

rnd.c small space diff

2013-12-22 Thread Loganaden Velvindron
Hi, While peeking into rnd.c, I can across a tiny style issue. Index: src/sys/dev/rnd.c === RCS file: /cvs/src/sys/dev/rnd.c,v retrieving revision 1.148 diff -u -p -r1.148 rnd.c --- src/sys/dev/rnd.c 11 Dec 2013 19:34:11 -

mke2fs.c memory leak

2013-12-24 Thread Loganaden Velvindron
From NetBSD: free(bbp) in error paths. Coverity CID 274748. Index: src/sbin/newfs_ext2fs/mke2fs.c === RCS file: /cvs/src/sbin/newfs_ext2fs/mke2fs.c,v retrieving revision 1.5 diff -u -p -r1.5 mke2fs.c ---

restore(8) fd leak fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: Fix fd leak. Found by cppcheck Index: src/sbin/restore/symtab.c === RCS file: /cvs/src/sbin/restore/symtab.c,v retrieving revision 1.20 diff -u -p -r1.20 symtab.c --- src/sbin/restore/symtab.c 24 Apr 2013

ldconfig fd leak fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: Fix file descriptor leak. Found by cppcheck. Index: src/libexec/ld.so/ldconfig/ldconfig.c === RCS file: /cvs/src/libexec/ld.so/ldconfig/ldconfig.c,v retrieving revision 1.31 diff -u -p -r1.31 ldconfig.c ---

lpr fd leak fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: Fix fd leak in error cases. Found by cppcheck. Index: cmds.c === RCS file: /cvs/src/usr.sbin/lpr/lpc/cmds.c,v Index: cmds.c === RCS file:

Re: lpr fd leak fix

2013-12-29 Thread Loganaden Velvindron
Diff got garbled. Re-sending it: Index: cmds.c === RCS file: /cvs/src/usr.sbin/lpr/lpc/cmds.c,v retrieving revision 1.25 diff -u -p -r1.25 cmds.c --- cmds.c 24 Nov 2013 21:32:32 - 1.25 +++ cmds.c 29 Dec 2013

Re: ldconfig fd leak fix

2013-12-29 Thread Loganaden Velvindron
On Sun, Dec 29, 2013 at 09:51:28AM -0800, patrick keshishian wrote: Hi, Accidentally deleted this message from my inbox. This is a reconstruction from mailing list archive. Suggestion/comment below. Earlier today: Hi All, From NetBSD: Fix file descriptor leak. Found by

user(8) fd fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: Close masterfd after reading from it. Found by cppcheck. Index: src/usr.sbin/user/user.c === RCS file: /cvs/src/usr.sbin/user/user.c,v retrieving revision 1.98 diff -u -p -r1.98 user.c ---

pwd_mkdb fd leak fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: fd leak fix, found by cppcheck. Index: src/usr.sbin/pwd_mkdb/pwd_mkdb.c === RCS file: /cvs/src/usr.sbin/pwd_mkdb/pwd_mkdb.c,v retrieving revision 1.43 diff -u -p -r1.43 pwd_mkdb.c ---

Re: user(8) fd fix

2013-12-29 Thread Loganaden Velvindron
On Sun, Dec 29, 2013 at 03:19:08PM -0500, Ted Unangst wrote: On Sun, Dec 29, 2013 at 11:59, Loganaden Velvindron wrote: Hi All, From NetBSD: Close masterfd after reading from it. Found by cppcheck. This is wrong. Proper code using fdopen() with error checking should close(2

column memory leak fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: Plug memory leak. Coverity CID 1596 Index: src/usr.bin/column/column.c === RCS file: /cvs/src/usr.bin/column/column.c,v retrieving revision 1.16 diff -u -p -r1.16 column.c --- src/usr.bin/column/column.c 26 Nov

cmp fd leak fix

2013-12-29 Thread Loganaden Velvindron
Hi All, From NetBSD: Plug fd leak. Coverity CID 1624. Index: src/usr.bin/cmp/special.c === RCS file: /cvs/src/usr.bin/cmp/special.c,v retrieving revision 1.7 diff -u -p -r1.7 special.c --- src/usr.bin/cmp/special.c 19 Jan 2011

fgen free alias in error path

2013-12-30 Thread Loganaden Velvindron
Hi All, From NetBSD: Coverity CID 1748: Free alias on error. alias-name = strdup(token-text); if (alias-name == NULL) (void)err(1, out of memory); token = yylex();

irc.mindcry.org down

2013-12-30 Thread Loganaden Velvindron
Hi All, I can no longer find irc.mindcry.org on the internet. Is that permanent or temporary ? //logan c-x-c-c

Re: column memory leak fix

2013-12-30 Thread Loganaden Velvindron
On Mon, Dec 30, 2013 at 12:45:47PM +0100, Mike Belopuhov wrote: On Sun, Dec 29, 2013 at 22:45 -0800, Loganaden Velvindron wrote: Hi All, From NetBSD: Plug memory leak. Coverity CID 1596 memory leak? can you please elaborate where else this memory is leaking if not back

Re: column memory leak fix

2013-12-30 Thread Loganaden Velvindron
On Mon, Dec 30, 2013 at 08:42:00AM -0500, Ted Unangst wrote: On Mon, Dec 30, 2013 at 13:53, Mike Belopuhov wrote: On Mon, Dec 30, 2013 at 03:59 -0800, Loganaden Velvindron wrote: On Mon, Dec 30, 2013 at 12:45:47PM +0100, Mike Belopuhov wrote: On Sun, Dec 29, 2013 at 22:45 -0800, Loganaden

user(8) free() before returning in groupmod()

2013-12-30 Thread Loganaden Velvindron
From NetBSD: Coverity annotation -- although memsave free()s its first argument, it will allocate memory and assign it to its first argument, so it is neutral Coverity CID 3228: memory leak -- failed to free() newname in groupmod() Index: src/usr.sbin/user/user.c

Re: column memory leak fix

2013-12-30 Thread Loganaden Velvindron
On Mon, Dec 30, 2013 at 10:32 PM, patrick keshishian sids...@boxsoft.com wrote: On Mon, Dec 30, 2013 at 04:58:50PM +0100, Mike Belopuhov wrote: On 30 December 2013 16:35, Loganaden Velvindron lo...@elandsys.com wrote: On Mon, Dec 30, 2013 at 08:42:00AM -0500, Ted Unangst wrote: On Mon, Dec

whois close fd patch

2014-01-03 Thread Loganaden Velvindron
Hi All, From NetBSD: Coverity CID 1736 Close fd sfo sfi before returning from whois(). whois() is called from within a loop before exiting. for (name = *argv; (name = *argv) != NULL; argv++) rval += whois(name, host ? host : choose_server(name, country),

Re: Request for Funding our Electricity

2014-01-14 Thread Loganaden Velvindron
On Wed, Jan 15, 2014 at 12:40 AM, Donald Allen donaldcal...@gmail.com wrote: On Tue, Jan 14, 2014 at 3:03 PM, Bob Beck b...@openbsdfoundation.org wrote: Just to bring this issue back to the forefront. In light of shrinking funding, we do need to look for a source to cover project expenses.

Re: signed packages

2014-01-22 Thread Loganaden Velvindron
On Fri, Jan 17, 2014 at 3:26 PM, Marc Espie es...@nerim.net wrote: It's probably time to talk about it. Yes, we are now distributing signed packages. A lot of people have probably noticed because there was a key mismatch on at least one batch of signed packages. Obviously, we haven't

Trivial patch for ipv6

2014-02-12 Thread Loganaden Velvindron
Hi All, based on a similar change from FreeBSD: Change the return error from EACCES to EPERM as it is not a file. Index: src/sys/netinet6/ip6_mroute.c === RCS file: /cvs/src/sys/netinet6/ip6_mroute.c,v retrieving revision 1.67 diff

Re: GSoC proposal: Quirinus C library (qc)

2014-02-25 Thread Loganaden Velvindron
On Tue, Feb 25, 2014 at 3:39 PM, Dmitry Selyutin ghostman...@gmail.com wrote: Hello everyone! My name is Dmitry, I'm 22 years old student from Lomonosov Moscow State University of Russia. This message is addressed mainly to C connoiseurs, yet I think other people may find it interesting. It's

sysctl.8: add missing mtudisctimeout for ipv6

2014-03-02 Thread Loganaden Velvindron
Hi, While going through some of the commit logs, I noticed that sysctl didn't list ip6.mtudisctimeout. Patch attached: Index: sbin/sysctl/sysctl.8 === RCS file: /cvs/src/sbin/sysctl/sysctl.8,v retrieving revision 1.173 diff -u -p

Re: USB install image for OpenBSD 5.5 - TESTING REQUIRED

2014-03-02 Thread Loganaden Velvindron
On Sat, Mar 1, 2014 at 7:59 AM, Chris Cappuccio ch...@nmedia.net wrote: Chris Cappuccio [ch...@nmedia.net] wrote: The installation entails: dd if=miniroot55.fs of=/dev/rsd2c Actually, for the install55.fs image, you want to specify a block size, (or wait ages.) dd if=install55.fs

ip6_mroute.c: minor stats fix

2014-03-03 Thread Loganaden Velvindron
Hi All, From FreeBSD, Only count table lookups when we're actually processing packets. Index: sys/netinet6/ip6_mroute.c === RCS file: /cvs/src/sys/netinet6/ip6_mroute.c,v retrieving revision 1.67 diff -u -p -u -p -r1.67

Re: sysctl.8: add missing mtudisctimeout for ipv6

2014-03-03 Thread Loganaden Velvindron
On Mon, Mar 3, 2014 at 5:41 PM, Jason McIntyre j...@kerhand.co.uk wrote: On Sun, Mar 02, 2014 at 10:51:22AM -0800, Loganaden Velvindron wrote: Hi, While going through some of the commit logs, I noticed that sysctl didn't list ip6.mtudisctimeout. Patch attached: Index: sbin/sysctl/sysctl.8

Re: sysctl.8: add missing mtudisctimeout for ipv6

2014-03-03 Thread Loganaden Velvindron
On Mon, Mar 3, 2014 at 5:41 PM, Jason McIntyre j...@kerhand.co.uk wrote: On Sun, Mar 02, 2014 at 10:51:22AM -0800, Loganaden Velvindron wrote: Hi, While going through some of the commit logs, I noticed that sysctl didn't list ip6.mtudisctimeout. Patch attached: Index: sbin/sysctl/sysctl.8

Re: USB install image for OpenBSD 5.5 - TESTING REQUIRED

2014-03-03 Thread Loganaden Velvindron
On Mon, Mar 3, 2014 at 7:16 PM, Chris Cappuccio ch...@nmedia.net wrote: Loganaden Velvindron [logana...@gmail.com] wrote: That's OpenBSD -current right ? I'm going to test it in the afternoon, as the CDROM drive has issues on my OpenBSD development machine. Yes. The correct .fs images

Re: GSoC proposal: Porting Capsicum to OpenBSD

2014-03-12 Thread Loganaden Velvindron
On Wed, Mar 12, 2014 at 12:58 PM, tuchalia tucha...@gmail.com wrote: Hi all, I'm really interested in this possibility of porting the Capsicum framework That's awesome ! to OpenBSD. Should l try to port also the Casper daemon to OpenBSD, or only work in the kernel implementation? Capsicum

Re: GSoC proposal: Porting Capsicum to OpenBSD

2014-03-12 Thread Loganaden Velvindron
On Wed, Mar 12, 2014 at 10:49 PM, Jean-Philippe Ouellet jean-phili...@ouellet.biz wrote: On 3/12/14 4:58 AM, tuchalia wrote: Hi all, I'm really interested in this possibility of porting the Capsicum framework to OpenBSD. Should l try to port also the Casper daemon to OpenBSD, or only work

Re: GSoC proposal: Porting Capsicum to OpenBSD

2014-03-12 Thread Loganaden Velvindron
On Thu, Mar 13, 2014 at 1:01 AM, Jean-Philippe Ouellet jean-phili...@ouellet.biz wrote: On 3/12/14 4:58 AM, tuchalia wrote: Should l try to port also the Casper daemon to OpenBSD, or only work in the kernel implementation? Based on more private mail, I figured it'd be a good idea to make

Re: GSoC proposal: Porting Capsicum to OpenBSD

2014-03-13 Thread Loganaden Velvindron
On Thu, Mar 13, 2014 at 10:08 AM, Jean-Philippe Ouellet jean-phili...@ouellet.biz wrote: On 3/12/14 11:15 PM, Loganaden Velvindron wrote: I've read about the file vulnerability, and capsicumization also came to mind. However, there was also a discussion when i was playing with capsicum

Re: GSoC proposal: Porting Capsicum to OpenBSD

2014-03-13 Thread Loganaden Velvindron
On Thu, Mar 13, 2014 at 10:57 AM, Jean-Philippe Ouellet jean-phili...@ouellet.biz wrote: On 3/13/14 2:39 AM, Loganaden Velvindron wrote: I'm not a mentor, but I'd be happy to help you in any way I can. You can send mails to tech@ for testing your diffs. Any chance you'd like to review my

Re: GSoC proposal: Porting Capsicum to OpenBSD

2014-03-13 Thread Loganaden Velvindron
On Thu, Mar 13, 2014 at 11:44 AM, dpl tucha...@gmail.com wrote: Wow, I like to see this activity. I'm the one that started this thread. Jean-Phillipe: The main problem we'll have if both of us work on this is that it won't not be possible to work on userland if the kernel doesn't yet provide

Re: HEADS UP: librt revert

2014-03-23 Thread Loganaden Velvindron
On Sun, Mar 23, 2014 at 10:34 PM, Marc Espie es...@nerim.net wrote: kili@ just committed a revert of the librt addition in src and corresponding patches in ports. If you've built a tree with librt, you want to # rm -f /usr/lib/librt.a This lib was added to facilitate porting software, as

Re: HEADS UP: librt revert

2014-03-23 Thread Loganaden Velvindron
On Sun, Mar 23, 2014 at 10:46 PM, Loganaden Velvindron logana...@gmail.com wrote: On Sun, Mar 23, 2014 at 10:34 PM, Marc Espie es...@nerim.net wrote: kili@ just committed a revert of the librt addition in src and corresponding patches in ports. If you've built a tree with librt, you want

Re: Do you use IPv6?

2014-03-31 Thread Loganaden Velvindron
I'll give it a try when I get home :) On Mon, Mar 31, 2014 at 6:30 PM, Martin Pieuchot mpieuc...@nolizard.org wrote: On 27/03/14(Thu) 15:14, Martin Pieuchot wrote: If you do, please test the diff below and make sure it does not change anything in your routing table! This diff is a first

Re: OpenBSD Foundation 2014 Fundraising Campaign.

2014-04-10 Thread Loganaden Velvindron
On Thu, Apr 10, 2014 at 8:23 PM, Bob Beck b...@openbsdfoundation.org wrote: The OpenBSD Foundation is happy to report that the $150,000 goal of the 2014 fundraising campaign has been reached. We wish to thank our contributors large and small. We will continue our fundraising efforts both in

sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Hi All, First version of the diff: It works fine for resuming uploads. I'm going to upload a 2nd revision soon. Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p

Re: sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Hi, Fixed the style issue for an error() line that Mike Larkin pointed out to me. Index: usr.bin/ssh/sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.114 sftp-client.c

Re: sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Rework the wording for uploading resume as suggested by Mike Larkin. (More tweaks coming up soon) Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.114

Re: sftp upload resume diff

2014-04-16 Thread Loganaden Velvindron
Use = instead of == || for file size comparison as pointed out by Okan Demirmen. Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.114 diff -u -p -u -p -r1.114 sftp-client.c ---

IPv6 DoS sysctl man page additions

2014-04-19 Thread Loganaden Velvindron
Hi All, I'm taking a short break from playing with pf statistics. There were 4 sysctls added from KAME, but the man pages weren't updated accordingly. (Adapted from the NetBSD man page changes) Feedback welcomed. Index: lib/libc/gen/sysctl.3

Re: IPv6 DoS sysctl man page additions

2014-04-19 Thread Loganaden Velvindron
On Sat, Apr 19, 2014 at 04:04:30AM -0700, Loganaden Velvindron wrote: Hi All, I'm taking a short break from playing with pf statistics. There were 4 sysctls added from KAME, but the man pages weren't updated accordingly. (Adapted from the NetBSD man page changes) Feedback welcomed

IPv6 mtudisctimeout sysctl man page fix

2014-04-19 Thread Loganaden Velvindron
Hi All, The code was added for MTU discovery timeout in IPv6, but the man page misses the description. Feedback welcomed. Index: sbin/sysctl/sysctl.8 === RCS file: /cvs/src/sbin/sysctl/sysctl.8,v retrieving revision 1.174 diff -u

Re: IPv6 mtudisctimeout sysctl man page fix

2014-04-19 Thread Loganaden Velvindron
On Sat, Apr 19, 2014 at 07:51:34AM -0700, Loganaden Velvindron wrote: Hi All, The code was added for MTU discovery timeout in IPv6, but the man page misses the description. Feedback welcomed. s/icmp6/ip6 from henning@ and sthen@, and change from Return the number of seconds to Number

Re: IPv6 mtudisctimeout sysctl man page fix

2014-04-19 Thread Loganaden Velvindron
On Sat, Apr 19, 2014 at 08:19:23AM -0700, Loganaden Velvindron wrote: On Sat, Apr 19, 2014 at 07:51:34AM -0700, Loganaden Velvindron wrote: Hi All, The code was added for MTU discovery timeout in IPv6, but the man page misses the description. Feedback welcomed. s/icmp6/ip6

Re: sftp upload resume diff

2014-04-20 Thread Loganaden Velvindron
Simplify the diff: use -a for both upload and download resume support. This makes it more consistent. Index: sftp-client.h === RCS file: /cvs/src/usr.bin/ssh/sftp-client.h,v retrieving revision 1.24 diff -u -p -u -p -r1.24

Re: MicroLinear 6692 PHY for tl(4) -- Olicom 2326

2011-02-11 Thread Loganaden Velvindron
Hi, The older diff had issues with 10Mbit mode. I corrected it and now autonegociation, 100 Mbit, 10Mbit (in full/half duplex) works fine. However, I encountered a few issues: When cylcing through the PHYs, it seems that OpenBSD MII framework starts from PHY nmber 31 and decrements till in

Re: MicroLinear 6692 PHY for tl(4) -- Olicom 2326

2011-02-13 Thread Loganaden Velvindron
Hi, Claudio suggests better cylcing through the list of PHYs. Does this look ok ? /* $OpenBSD: ukphy.c,v 1.20 2010/07/23 07:47:13 jsg Exp $ */ /* $NetBSD: ukphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $*/ /*- * Copyright (c) 1997, 1998, 1999 * Bill Paul wpaul at

Re: MicroLinear 6692 PHY for tl(4) -- Olicom 2326

2011-02-13 Thread Loganaden Velvindron
Hi, Claudio suggested to me a better way of cycling through the PHYs. Does this look good ? /* $OpenBSD: ukphy.c,v 1.20 2010/07/23 07:47:13 jsg Exp $ */ /* $NetBSD: ukphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $*/ /*- * Copyright (c) 1997, 1998, 1999 * Bill Paul wpaul

Xorg inteldrm issues with -current

2011-02-13 Thread Loganaden Velvindron
Hi, I'm running this snapshot: $ uname -a OpenBSD amd64_p.lan.net 4.9 GENERIC.MP#780 amd64 When I load X with any xorg, the VGA output (which I use) blanks, whereas LVDS doesn't. Switching from Xorg to a terminal and back can

Re: OpenBSD .eu mirror has a ``bad package''

2011-02-13 Thread Loganaden Velvindron
I tried again, and it works fine (I changed from 202.123.2.35 to 8.8.8.8). Indeed, it seems to boil down Orange Telecom flaky DNS service. Sorry for wasting your time. //Logan C-x-C-c

Apple JP108-B amphy(4) clone diff

2011-02-13 Thread Loganaden Velvindron
Hi, This USB unit is shipped with some Apple Macbooks. Closer inspections shows it's just a udav(4), with an amphy(4) clone. I'm sending this mail through this USB adapter with my diff. Index: src/sys/dev/mii/amphy.c === RCS file:

Re: MicroLinear 6692 PHY for tl(4) -- Olicom 2326

2011-02-15 Thread Loganaden Velvindron
Hi, Yes, the diff does work with half/full duplex. I fixed the style issues added checks for other being NULL. To test those changes, I disabled tlphy ukphy, and tested the tl adapter with mlphy only. All modes work. I think it's better to be on the safe side and assume that the companion PHY

Re: fix possible NULL deref in sys/dev/usb/uhub.c

2011-02-17 Thread Loganaden Velvindron
Applied on amd64 -current: uhub7 at uhub4 port 1 ALCOR Generic USB Hub rev 1.10/3.14 addr 2 Works fine. //Logan C-x-C-c

Re: USB port reset delay

2011-03-01 Thread Loganaden Velvindron
It works fine on my laptop. uhub7 at uhub4 port 1 ALCOR Generic USB Hub rev 1.10/3.14 addr 2 uhidev0 at uhub7 port 1 configuration 1 interface 0 A4Tech USB KEYBOARD rev 1.10/1.00 addr 3 uhidev1 at uhub7 port 1 configuration 1 interface 1 A4Tech USB KEYBOARD rev 1.10/1.00 addr 3 uhidev2 at uhub7

Re: azalia(4) resume diff

2011-03-01 Thread Loganaden Velvindron
It works fine on my laptop: dmesg: azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 2 int 22 (irq 4) azalia0: codecs: Realtek ALC660, ATT/Lucent/0x1040, using Realtek ALC660 audio0 at azalia0 I don't notice differences before and after applying the diffs, using mplayer to

Re: azalia(4) resume diff

2011-03-01 Thread Loganaden Velvindron
It works fine on my laptop. dmesg: azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 2 int 22 (irq 4) azalia0: codecs: Realtek ALC660, ATT/Lucent/0x1040, using Realtek ALC660 audio0 at azalia0 I don't notice any difference before/after applying the diffs when using mplayer

[PATCH] Fix for kernel crash with udav(4) device

2011-03-14 Thread Loganaden Velvindron
This device: udav0 at uhub5 port 2 ShanTou DM9601 rev 1.10/1.01 addr 2 udav0: address 00:60:6e:00:6e:20 amphy0 at udav0 phy 0: DM9601 10/100 PHY, rev. 0 causes a kernel crash with the following messages: memcpy() at memcpy+0x16 usb_transfer_complete() at usb_transfer_complete+0x256

[PATCH] frame length validation for USB ethernet adapters

2011-03-16 Thread Loganaden Velvindron
After my experience with udav(4), I took a look at other USB adapters. The diff makes all of them more consistent by checking the frame length returned and validating it. Since I don't own any of those adapters, I must rely on you people to test them. The diff is wrong unless successful

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-16 Thread Loganaden Velvindron
Hi Kiki, Can you send us a trace dmesg ? //Logan C-x-C-c

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-17 Thread Loganaden Velvindron
The broken udav(4) diff is my fault. I didn't test with NFS and large file transfers when jsg@ sent me his diff (privately). He trusted my feedback and that's how it was committed. Can we move on now ? //Logan C-x-C-c

Re: [PATCH] Fix for kernel crash with udav(4) device

2011-03-17 Thread Loganaden Velvindron
Ok, I tested it with an NFS server, and also tested it with SFTP. The original diff works fine with the original diff. udav(4) uses 1514 bytes for largest values of total_len. //Logan C-x-C-c

Re: [PATCH] frame length validation for USB ethernet adapters

2011-03-19 Thread Loganaden Velvindron
Miod pointed out a wrong variable used for axe(4) diff. Thanks. Index: if_axe.c === RCS file: /cvs/src/sys/dev/usb/if_axe.c,v retrieving revision 1.105 diff -u -p -r1.105 if_axe.c --- if_axe.c25 Jan 2011 20:03:35 - 1.105

  1   2   3   >