CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 01:10:21

Modified files:
usr.bin/tmux   : cmd-send-keys.c input.c screen-write.c tmux.1 
 tmux.h 

Log message:
Add a -R flag to send-keys to reset the terminal. Written ages ago and
Suggested by someone, I forget who.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 01:12:03

Modified files:
usr.bin/tmux   : input.c 

Log message:
One day I will actually fix ALL the warnings before I commit...



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 01:23:12

Modified files:
usr.bin/tmux   : colour.c input.c tmux.1 tty.c 

Log message:
Add strings to allow the aixterm bright colours to be used when
configuring colours, requested by Elliott Cable a few months ago.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 01:40:09

Modified files:
usr.bin/tmux   : cmd-send-prefix.c cmd-set-option.c key-string.c 
 options-table.c options.c server-client.c 
 tmux.1 tmux.c tmux.h 

Log message:
Drop the ability to have a list of keys in the prefix in favour of two
separate options, prefix and prefix2. This simplifies the code and gets
rid the data options type which was only used for this one option.

Also add a -2 flag to send-prefix to send the secondary prefix key,
fixing a cause of minor irritation.

People who want three prefix keys are out of luck :-).



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 04:12:13

Modified files:
usr.bin/tmux   : cmd-bind-key.c cmd-list-keys.c cmd-unbind-key.c 
 key-bindings.c mode-key.c options.c tmux.h 

Log message:
Use RB trees not SPLAY.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Camiel Dobbelaar
CVSROOT:/cvs
Module name:src
Changes by: cami...@cvs.openbsd.org 2012/01/21 06:40:48

Modified files:
usr.sbin/relayd: hce.c parse.y pfe.c relay.c relayd.c relayd.h 

Log message:
Only start the child processes after all of them reported to have loaded
the config.  Solves a race at startup time where processes can send status
messages about hosts that other processes don't know about yet.
(and have relayd abort with desynchronized or invalid host id)

ok henning pyr deraadt
solves the problem ok from benno todd



CVS: cvs.openbsd.org: src

2012-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2012/01/21 08:38:44

Modified files:
sys/dev: softraid.c 

Log message:
Split sr_uuid_print() into two functions - one that formats and one that
prints. Also rename sr_uuid_get() to sr_uuid_generate().



CVS: cvs.openbsd.org: src

2012-01-21 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2012/01/21 09:30:31

Modified files:
sys/kern   : kern_sysctl.c 

Log message:
Make the KERN_FILE2 sysctl() report ENOMEM as documented in sysctl(3).

ok millert@



CVS: cvs.openbsd.org: src

2012-01-21 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2012/01/21 10:09:02

Modified files:
sys/kern   : subr_disk.c 

Log message:
When disklabels can't be read before attempting to mount root, make
the message less scary and print out the failing devices to improve
troubleshooting.

ok jsing@



CVS: cvs.openbsd.org: src

2012-01-21 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2012/01/21 12:01:04

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
Hold interrupts blocked while comparing a cached node's refcount to zero
and freeing the node. Just in case an interrupt happens to ref the node after
the refcount was checked but before the node is freed.
Tested by several as part of a larger diff.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2012/01/21 12:14:05

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgCreate.pm 

Log message:
sanitize stuff a bit more...



CVS: cvs.openbsd.org: www

2012-01-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2012/01/21 12:34:39

Modified files:
cs : donations.html events.html ftp.html index.html 
de : 49.html 50.html anoncvs.html ftp.html 
faq/de : faq10.html faq11.html faq12.html faq13.html 
 faq14.html faq15.html faq3.html faq4.html 
 faq5.html faq6.html faq7.html faq8.html 
 faq9.html index.html 
faq/pf/cs  : index.html 
faq/pf/de  : anchors.html authpf.html example1.html 
 filter.html index.html logging.html nat.html 
 options.html perf.html pools.html queueing.html 
 rdr.html tables.html 
openbgpd/de: ftp.html 
openntpd/de: ftp.html portable.html 
openssh/de : ftp.html portable.html 

Log message:
Sync with Steelix CVS



CVS: cvs.openbsd.org: www

2012-01-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2012/01/21 12:41:37

Modified files:
.  : translation.html 

Log message:
[de] is now officially maintained by Steffen Daode Nurpmeso, thank!.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2012/01/21 12:42:16

Modified files:
sys/net80211   : ieee80211_node.c ieee80211_node.h 
 ieee80211_var.h 

Log message:
Implement missing bits of node inactivity accounting in hostap mode.
Small parts of code for this feature were already present but unused.

A node becomes inactive after not sending or receiving a frame within
5 minutes. Inactive cached nodes (not authenticated or associated) are
automatically cleared from the cache once every hour, making room for
new nodes. If the node cache is full and room must be made for a new node,
clean either a cached node (active or inactive), or an inactive
authenticated or associated node.

Also, do not send de-auth frames to nodes which never authenticated,
and only send a de-auth frame once for a given node.
This part was contributed by Steven Chamberlain, thanks!

Tested by myself, krw@, edd@, Steven Chamberlain, and Markus Schatzl.
ok deraadt@



CVS: cvs.openbsd.org: www

2012-01-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2012/01/21 12:47:02

Modified files:
.  : index.html 
faq: index.html 
openssh: index.html 
openntpd   : index.html 
opencvs: index.html 
openbgpd   : index.html 

Log message:
[de] is back in sync.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2012/01/21 12:50:30

Modified files:
usr.sbin/smtpd : smtp_session.c 

Log message:
in session_error(), do not call session_destroy() when the F_WRITEONLY
session flag is set, set F_QUIT instead.

fixes a corrupted session fatalx() that triggers when a client
disconnects after sending the end of message '.' but without waiting
for server to acknowledge.

reported by Roman Kravchuk kravchuk...@gmail.com a while ago, could not
reproduce until today.



Re: CVS: cvs.openbsd.org: src

2012-01-21 Thread Gilles Chehade
On Sat, Jan 21, 2012 at 12:50:30PM -0700, Gilles Chehade wrote:
 CVSROOT:  /cvs
 Module name:  src
 Changes by:   gil...@cvs.openbsd.org  2012/01/21 12:50:30
 
 Modified files:
   usr.sbin/smtpd : smtp_session.c 
 
 Log message:
 in session_error(), do not call session_destroy() when the F_WRITEONLY
 session flag is set, set F_QUIT instead.
 
 fixes a corrupted session fatalx() that triggers when a client
 disconnects after sending the end of message '.' but without waiting
 for server to acknowledge.
 
 reported by Roman Kravchuk kravchuk...@gmail.com a while ago, could not
 reproduce until today.
 

if you're testing opensmtpd, you should upgrade as without this diff it's
possible to cause smtpd to abort quite easily

-- 
Gilles Chehade

http://www.poolp.org@poolpOrg



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 13:40:28

Modified files:
usr.bin/tmux   : tmux.1 

Log message:
it's - its.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Marcus Glocker
CVSROOT:/cvs
Module name:src
Changes by: mgloc...@cvs.openbsd.org2012/01/21 14:49:06

Modified files:
share/man/man4 : malo.4 

Log message:
PCMCIA malo devices don't support WPA.



Re: CVS: cvs.openbsd.org: src

2012-01-21 Thread Marcus Glocker
On Sat, Jan 21, 2012 at 02:49:06PM -0700, Marcus Glocker wrote:

 CVSROOT:  /cvs
 Module name:  src
 Changes by:   mgloc...@cvs.openbsd.org2012/01/21 14:49:06
 
 Modified files:
   share/man/man4 : malo.4 
 
 Log message:
 PCMCIA malo devices don't support WPA.

That was OK jmc@



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 16:45:44

Modified files:
usr.bin/tmux   : screen-redraw.c 

Log message:
Show pane size in top right of display panes mode.



CVS: cvs.openbsd.org: src

2012-01-21 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2012/01/21 16:51:34

Modified files:
usr.bin/tmux   : server-client.c tmux.h 

Log message:
Remove unused backoff code that doesn't do any good.



CVS: cvs.openbsd.org: www

2012-01-21 Thread Austin Hook
CVSROOT:/cvs
Module name:www
Changes by: aus...@cvs.openbsd.org  2012/01/21 23:49:01

Modified files:
.  : orders.html 

Log message:
Add getDigital in Germany.  Clean up a number of inconsistancies



CVS: cvs.openbsd.org: www

2012-01-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:www
Changes by: ajacou...@cvs.openbsd.org   2012/01/22 00:49:04

Modified files:
de : 50.html 
faq/de : index.html 

Log message:
Sync with Steelix CVS