[odc] Daily src changes for 2008-05-09
ODC
auto at squish.net
Sat May 10 07:00:01 BST 2008
OpenBSD src changes summary for 2008-05-09
==========================================
distrib/sets etc/pf.conf
lib/libc libexec/spamd
regress/lib regress/sbin
sbin/dhclient sbin/pfctl
sbin/route share/man
sys/altq sys/dev/ic
sys/dev/pci sys/dev/usb
sys/kern sys/miscfs/procfs
sys/net sys/netinet
sys/netmpls sys/nfs
sys/scsi sys/sys
usr.bin usr.bin/nc
usr.bin/netstat usr.bin/ssh
usr.bin/tcpbench usr.sbin/bgpd
usr.sbin/httpd usr.sbin/ospf6d
usr.sbin/ospfd usr.sbin/pstat
usr.sbin/ripd usr.sbin/tcpdump
== distrib =========================================================== 01/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/man/mi
> sync (deraadt@)
~ lists/base/mi ~ lists/etc/mi
~ lists/man/mi
> sync (deraadt@)
== etc =============================================================== 02/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
pf.conf
~ pf.conf
> now we also need the anchor "relayd/*" in addition to the rdr-anchor.
> ok pyr@ (reyk@)
== lib =============================================================== 03/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ sys/getsockopt.2
> add SO_BINDANY with pf example; help from jmc, ok beck@ (markus@)
~ sys/getsockopt.2
> kill trailing whitespace; (jmc@)
~ gen/readdir.c ~ gen/telldir.c
TAGGED OPENBSD_4_3
> MFC (otto)
> Be carefull not to read away the target entry when encountering
> deleted files after a seekdir(); testcase produced by mbalmer@; fix
> with and ok mbalmer; ok millert@ (henning@)
~ gen/readdir.c ~ gen/telldir.c
TAGGED OPENBSD_4_2
> MFC (otto)
> Be carefull not to read away the target entry when encountering
> deleted files after a seekdir(); testcase produced by mbalmer@; fix
> with and ok mbalmer; ok millert@ (henning@)
== libexec =========================================================== 04/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
spamd
~ sync.c ~ sync.h
> As was done in dhcpd, insert pad blocks after sub-messages to keep the
> structures aligned to 16 byte boundaries for maximum portability
> (somewhat similar to CMSG's). Old spamd's and new spamd's can still
> communicate with this change. It would be nice if someone tested spamd
> on 64-bit unaligned architectures (with and without this change)
> ok beck (deraadt@)
== regress =========================================================== 05/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
lib
~ libevent/Makefile
> Fix the include path passed via CFLAGS so that this will compile.. one
> too many ../ in the path. Somehow managed to get a symlink in the right
> spot that made this work as it was.
> Pointed out by david@ (brad@)
sbin
~ pfctl/Makefile + pfctl/pf97.in
+ pfctl/pf97.ok
> divert packets to local socket without modifying the ip header;
> makes transparent proxies much easier; ok beck@, feedback claudio@
> (markus@)
~ pfctl/pf97.in ~ pfctl/pf97.ok
> convert port byte order in the production; add port keyword; ok deraadt@
> (markus@)
== sbin ============================================================== 06/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
dhclient
~ dhclient.c ~ dhcpd.h
~ dispatch.c
> - don't give up when the link is not available on startup: dhclient
> goes to background and listens on the routing socket for link to come
> up before it retries.
> - renew the lease whenever the link was lost and becomes active again.
> - listen for link state changes on non-ethernet devices like wireless,
> the link state becomes active when the wireless has been associated to
> the AP and becomes active. this helps to automatically renew the lease
> when the user is roaming.
> ok beck@, deraadt@ (reyk@)
pfctl
~ parse.y ~ pfctl_parser.c
> divert packets to local socket without modifying the ip header;
> makes transparent proxies much easier; ok beck@, feedback claudio@
> (markus@)
~ parse.y ~ pfctl_parser.c
> convert port byte order in the production; add port keyword; ok deraadt@
> (markus@)
~ parse.y
> Replace a crockpot of semi-cloned productions for handling port
> numbers with one, and fix a few other bugs along the way
> ok mpf henning (deraadt@)
~ pf_print_state.c ~ pfctl.8
~ pfctl.c
> Add support to kill states by rule label or state id.
> Fix printing of the state id in pfctl -ss -vv.
> Remove the psnk_af hack to return the number of killed states.
> OK markus, beck. "I like it" henning, deraadt.
> Manpage help from jmc. (mpf@)
route
~ route.c
> on route get, display the priority and a cleartext name (like, "bgp" for
> 48)
> claudio ok (henning@)
~ route.c
> using the rtm_priority to translate priority number into nice name is
> working much better than using rtm_version for that (henning@)
== share ============================================================= 07/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/ip.4
> add IP_RECVDSTPORT; ok jmc, beck (markus@)
~ man4/tcp.4
> some Xr for tcpbench(1) and tcpdrop(8); (jmc@)
~ man7/hier.7
> document netmpls; ok norby (jmc@)
~ man4/umsm.4
> Add support for NTT DoCoMo A2502.
> From/tested by Yojiro UO <yuo at iijlab.net> (jsg@)
== sys =============================================================== 08/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
altq
~ altq_cbq.c ~ altq_subr.c
> switch altq from ifp->if_start to if_start() to take advantage of tx mit.
> ok kjc@ (dlg@)
dev/ic
~ gem.c
> - Count excess and late collisions as output errors.
> - Count receive errors as input errors.
> Based on similar change to the gem(4) driver from NetBSD.
> ok kettenis@ (brad@)
dev/pci
~ if_bge.c
> Attempt to fix link status change handling so that the proper RTM_IFINFO
> messages are generated when links go down or come up. Works on available
> devices, put in tree to encourage wide testing. Enables latest dhclient
> changes to work their magic on bge.
> Feedback from brad@
> ok deraadt@ beck@ reyk@ (krw@)
dev/usb
~ umsm.c
> Increase buffer size to 4k and make use of interrupt endpoint
> to increase responsiveness.
> From Yojiro UO <yuo at iijlab.net> (jsg@)
~ usbdevs.h ~ usbdevs_data.h
> regen (jsg@)
~ usbdevs
> NTT DoCoMo A2502.
> From Yojiro UO <yuo at iijlab.net> (jsg@)
~ umsm.c
> Add support for NTT DoCoMo A2502.
> From/tested by Yojiro UO <yuo at iijlab.net> (jsg@)
kern
~ uipc_socket.c
> Add SO_BINDANY socket option from BSD/OS.
> The option allows a socket to be bound to addresses which are not
> local to the machine. In order to receive packets for these addresses
> SO_BINDANY needs to be combined with matching outgoing pf(4) divert
> rules, see pf.conf(5).
> ok beck@ (markus@)
miscfs/procfs
~ procfs_vnops.c
> procfs can use vop_generic_bmap too; (thib@)
net
~ if_ethersubr.c
> A little bit of magic to make arp lookups work in MPLS as they should.
> No need to preload the arp table anymore. hai norby@ (claudio@)
~ pf.c ~ pfvar.h
> divert packets to local socket without modifying the ip header;
> makes transparent proxies much easier; ok beck@, feedback claudio@
> (markus@)
~ route.c
> when cloning, copy the priority from the parent to the cloned route,
> claudio ok (henning@)
~ radix.c
> Fix a logic botch around prioinv that resulted in wrong ordering of more
> specific routes. OK henning@ (claudio@)
~ netisr.h
> there was a race between the addition of mpls and tx mitigation. this gives
> mpls its own bit in netisr instead of accidentally sharing one with tx
> mit.
> "do it" claudio@ (dlg@)
~ pf_ioctl.c ~ pfvar.h
> Add support to kill states by rule label or state id.
> Fix printing of the state id in pfctl -ss -vv.
> Remove the psnk_af hack to return the number of killed states.
> OK markus, beck. "I like it" henning, deraadt.
> Manpage help from jmc. (mpf@)
~ pfkeyv2.c ~ route.c
> replace rtrequest() with corresponding rtrequest1() replacement.
> OK henning@ (claudio@)
netinet
~ in_pcb.c ~ in_pcb.h
~ ip_input.c ~ raw_ip.c
~ tcp_input.c ~ tcp_usrreq.c
~ udp_usrreq.c
> divert packets to local socket without modifying the ip header;
> makes transparent proxies much easier; ok beck@, feedback claudio@
> (markus@)
~ in_pcb.c ~ raw_ip.c
> Add SO_BINDANY socket option from BSD/OS.
> The option allows a socket to be bound to addresses which are not
> local to the machine. In order to receive packets for these addresses
> SO_BINDANY needs to be combined with matching outgoing pf(4) divert
> rules, see pf.conf(5).
> ok beck@ (markus@)
~ in.h ~ in_pcb.h
~ ip_output.c ~ udp_usrreq.c
> IP_RECVDSTPORT, allows you to get the destination port of UDP datagrams
> for pf(4) diverted packets; based on patch by Scot Loach; ok beck@
> (markus@)
~ in_pcb.c
> should check for null pointers; from henning@ (markus@)
~ if_ether.c
> arp entries in the routing table should have priority RTF_CONNECTED
> ok claudio theo (henning@)
~ if_atm.c ~ if_ether.c
~ ip_icmp.c ~ ip_spd.c
> more rtrequest() to rtrequest1() replacement.
> OK henning@ (claudio@)
netmpls
~ mpls.h
> Kill some useless makros. (claudio@)
nfs
~ nfs_boot.c
> Another rtrequest() rtrequest1() replacement.
> OK henning@ (claudio@)
scsi
~ st.c
> Oops. When detaching tape drives look for devices using 'stopen' not
> devices using 'sdopen'. PR#5810 from Jozef Hatala.
> ok beck@ (krw@)
~ sd.c
> Lock in removable media while trying to determine the disk parameters. This
> should fix a number of 'drive offline' situations where the device claims
> it has no media loaded until the lock in occurs. Like a Blackberry Pearl
> Todd Fries found and probably other USB devices. Move the lock in during
> device open to before the test unit ready to eliminate similar spurious
> rejections of the device.
> Feedback from marco@, tests by todd@ and miod at .
> ok deraadt@ beck@ dlg@ miod@ (krw@)
sys
~ mbuf.h
> divert packets to local socket without modifying the ip header;
> makes transparent proxies much easier; ok beck@, feedback claudio@
> (markus@)
~ socket.h
> Add SO_BINDANY socket option from BSD/OS.
> The option allows a socket to be bound to addresses which are not
> local to the machine. In order to receive packets for these addresses
> SO_BINDANY needs to be combined with matching outgoing pf(4) divert
> rules, see pf.conf(5).
> ok beck@ (markus@)
== usr.bin =========================================================== 09/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
usr.bin
~ Makefile
> add tcpbench to build (deraadt@)
nc
~ netcat.c
> try SO_BINDANY for -s, but do not insist; ok bob, reyk (markus@)
netstat
~ netstat.1
> some Xr for tcpbench(1) and tcpdrop(8); (jmc@)
ssh
~ channels.c ~ channels.h
~ clientloop.c ~ serverloop.c
> Try additional addresses when connecting to a port forward destination
> whose DNS name resolves to more than one address. The previous behaviour
> was to try the first address and give up.
> Reported by stig AT venaas.com in bz#343
> great feedback and ok markus@ (djm@)
~ clientloop.c ~ clientloop.h
~ ssh.c ~ ssh/Makefile
+ mux.c
> tidy up session multiplexing code, moving it into its own file and
> making the function names more consistent - making ssh.c and
> clientloop.c a fair bit more readable.
> ok markus@ (djm@)
~ ssh.c
> dingo stole my diff hunk (djm@)
~ session.c
> re-add the USE_PIPES code and enable it.
> without pipes shutdown-read from the sshd does not trigger
> a SIGPIPE when the forked program does a write.
> ok djm@ (markus@)
~ channels.c
> error-fd race: don't enable the error fd in the select bitmask
> for channels with both in- and output closed, since the channel
> will go away before we call select();
> report, lots of debugging help and ok djm@ (markus@)
~ channels.h ~ clientloop.c
~ nchan.c ~ serverloop.c
> unbreak
> ssh -2 localhost od /bin/ls | true
> ignoring SIGPIPE by adding a new channel message (EOW) that signals
> the peer that we're not interested in any data it might send.
> fixes bz #85; discussion, debugging and ok djm@ (markus@)
tcpbench
+ tcpbench.c + Makefile
+ tcpbench.1
> New import:
> import tcpbench, a small TCP benchmarking tool that can also sample
~ tcpbench.c
> s/bench/tcpbench/ in usage(); spotted by schellekens.dries AT gmail.com
> (djm@)
~ tcpbench.1
> tweak previous; ok djm (jmc@)
== usr.sbin ========================================================== 10/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
bgpd
~ rde_decide.c
TAGGED OPENBSD_4_3
> MFC (claudio)
> Compare flags against the right flag field or else unexpected things may
> happen. The decision process failed to correctly mask looping pathes and
> in some szenarios even elected them as best route. *gulp*
> Found the hard way and fix tested by Christian, bsd (at) cleondra (dot) ch
> (henning@)
~ kroute.c
TAGGED OPENBSD_4_3
> insert/delete routes with priority RTP_BGP
> this is mostly cosmetical for the moment, there are bigger changes required
> to make full use of the route priorities, but this is the first step to do.
> discussed with claudio (henning@)
httpd
~ Makefile.bsd-wrapper ~ httpd.8
~ conf/httpd.conf-dist ~ htdocs/manual/index.html
~ htdocs/manual/misc/rewriteguide.html
~ htdocs/manual/mod/core.html ~ src/Configuration.tmpl
~ src/Configure ~ src/include/ap.h
~ src/include/ap_config.h ~ src/include/ap_config_auto.h
~ src/include/http_conf_globals.h ~ src/include/http_vhost.h
~ src/include/httpd.h ~ src/main/http_config.c
~ src/main/http_core.c ~ src/main/http_main.c
~ src/main/http_vhost.c ~ src/main/rfc1413.c
~ src/main/util.c ~ src/main/util_script.c
~ src/main/util_uri.c ~ src/modules/proxy/mod_proxy.c
~ src/modules/proxy/mod_proxy.h ~ src/modules/proxy/proxy_connect.c
~ src/modules/proxy/proxy_ftp.c ~ src/modules/proxy/proxy_http.c
~ src/modules/proxy/proxy_util.c ~ src/modules/ssl/Makefile.tmpl
~ src/modules/ssl/ssl_engine_ext.c ~ src/modules/standard/mod_access.c
~ src/modules/standard/mod_unique_id.c
~ src/modules/standard/mod_usertrack.c
~ src/support/logresolve.c + README.v6
+ htdocs/manual/ipv6.html
> Add support for IPv6 while keeping the default at IPv4 to not break
> existing installations. See the documentation for the IPv6 related
> configuration.
> This changes the module ABI since addresses are now struct addrinfo.
> This has been tested by many people and run on production machines
> for several months.
> feedback many, ok todd (mbalmer@)
~ httpd.8
> tweak previous; ok mbalmer (jmc@)
ospf6d
~ kroute.c
> Henning forgot ospf6d. Add priority to ospf6d as well. (claudio@)
ospfd
~ kroute.c
> insert/delete routes w/ prio RTP_OSPF (henning@)
pstat
~ pstat.8
> some Xr for tcpbench(1) and tcpdrop(8); (jmc@)
ripd
~ kroute.c
> prio RTP_RIP for inserted routes (henning@)
tcpdump
~ pf_print_state.c
> Don't just ntohl() the hours, but everything of the state
> creation time. OK mcbride@, henning at . (mpf@)
===============================================================================
More information about the odc
mailing list