Commit Graph

1749 Commits

Author SHA1 Message Date
dsl
f4f40b1fe1 Save command in :w !<command> for later :w !!
Fixes PR/8169
2009-10-31 14:30:55 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
joerg
de3dbb6818 Garbage collect left-overs, iscsi moved to src/external/bsd/iscsi. 2009-10-24 20:07:48 +00:00
joerg
3f2534b357 Use actual comments to comment blocks and don't leave empty lines in the
output.
2009-10-21 22:56:56 +00:00
tnn
e0331d273d Print a warning if TERM is not set and stdin is a tty. PR bin/42144. 2009-10-20 16:17:07 +00:00
rmind
993cb03302 Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
snj
9c801b488e This hasn't been used in a while. Long live external/bsd/file! 2009-10-17 23:05:32 +00:00
joerg
2d19820108 Kill bad tab in markup. 2009-10-15 02:18:22 +00:00
joerg
18654546a6 Fix markup. 2009-10-15 00:16:28 +00:00
joerg
98ae2d6073 Do not use .Xo/.Xc to workaround ancient groff limits. 2009-10-14 17:44:25 +00:00
joerg
3f3c419d37 Fix markup. 2009-10-14 17:35:41 +00:00
pooka
4be222467f fix prototypes of function pointers to varargs syscalls 2009-10-13 22:04:31 +00:00
joerg
3c1f1e4f21 .Xr takes two arguments only. 2009-10-04 18:07:26 +00:00
bouyer
31c07c3453 Fix pcap_lookupnet(): reset ifr before SIOCGIFNETMASK. Without it we get
back a bogus netmask.
2009-09-29 19:00:45 +00:00
he
1a0a5901b1 Print an explicit 64-bit type with %PRIu64, not with %llu, so that
this builds on our LP64 ports as well.
2009-09-14 15:18:15 +00:00
degroote
33e10c238e Improve the pfsync(4) man page
hostname.if(5) is ifconfig.if(5) on NetBSD
Don't speak about enc, as we don't support it at the moment
Make clear that we don't support ipsec protection of pfsync traffic (as long we
doesn't support enc, or similar thing)

Catched by wiz@
2009-09-14 11:45:01 +00:00
wiz
f41e8ac844 <>& -> \*[Lt]\*[Gt]\*[Am]
Bump date for pfsync(4) link.
2009-09-14 11:17:49 +00:00
wiz
f8b0915e76 Fix Dd argument. 2009-09-14 11:17:42 +00:00
degroote
2d48ac808c Import pfsync support from OpenBSD 4.2
Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@
2009-09-14 10:36:48 +00:00
wiz
136eb7e035 We install this as tcpdump(8), so the internal name should be (8) as well.
Fix it. From Jukka Ruohonen.
2009-09-10 15:02:49 +00:00
wiz
177b015b5d Remove references to securelevel(7) and ssl(8), which don't exist.
From Jukka Ruohonen.
2009-09-10 13:17:39 +00:00
pooka
0a69bf315a Fill canon_dev so that mntfromname gets properly set for p2k mounts.
Fixes problem pointed out by Nicolas Joly.

XXX: would probably be better to forget canon_dev from the parseargs
interface completely and do rump_sys_statvfs() in p2k after mounting
the fail system in the virtual kernel.
2009-09-07 13:52:05 +00:00
pooka
7fa79282e3 kill #ifndef __NetBSD code (yea, I assume it meant __NetBSD__) 2009-09-06 20:07:03 +00:00
pooka
f9d2118130 Implement smbfs kernel operations (ioctl etc.) through a vector of
function pointers instead of direct linkage so that rump syscalls
are possible.
2009-09-06 18:38:17 +00:00
pooka
6ad3a66ac7 Don't use select() to wait for a single socket, just set SO_RECVTIMEO. 2009-09-06 17:02:36 +00:00
pooka
4f4e18947d Make mount_smbfs follow the standard MOUNT_NOMAIN and parseargs() structure.
(yes, this is dist, but considering the last and only import from
upstream was 7 years ago, I'm not exactly worried this will make
importing future versions harder)
2009-09-04 18:22:37 +00:00
tnozaki
3b1fe73ae9 fix bin/41781, the pattern /\$/ doesn't match a dollar sign anymore by default. 2009-08-30 14:57:51 +00:00
joerg
af33c2556a Duplicate .TP. 2009-08-22 00:20:50 +00:00
he
b65d082e72 The type of iplf_count is u_int, not size_t, so print with %u, not %zu. 2009-08-20 08:12:05 +00:00
darrenr
df16b421e0 When preparing ipfilter to import, remove files that are not related to
NetBSD in any way (such as those for Linux, Solaris, etc.)
2009-08-19 18:51:24 +00:00
martti
28de1fee02 IPF 4.1.33 2009-08-19 09:35:01 +00:00
darrenr
aa4e57639b Update head to version 4.1.33 from vendor branch 2009-08-19 08:35:30 +00:00
darrenr
1098c7bfb7 Import IPFilter 4.1.33
4.1.33 - Release 16 August 2009

2837931 wrong mode selected in ipf program for hash-entries
2826168 load_http can make ippool core dump
2825150 IPL_LOGMAX used to index some arrays
2825084 ipv6 fragments should not be allowed past 64k
2824713 ipfstat top output alternates between entries and nothing
2824712 ipfstat top output is shows negative ttl
2820965 a single bad ipv6 extension header should not impact others
2818197 ignored fragment bits defined as being reserved
2817667 IPv6 fragment header verification needs attention
2817098 fr_getrulen() finds the wrong rule
2817096 fr_rulen is unused
2741019 Lingering states (Established/Listen - 5/0) in state table
2702887 use of PBR/fastroute causes panic with ipv6
2671913 regression test in7 fails to execute
2598625 parsing empty config file results in an error
2698656 test parsing empty config files
2597956 not all pointers in a clone are reset
2543934 nat_t gets assigned ifp too early
2535795 No need to always bump fr_ref
2535778 Bad IPv6 packets droped by default
2031730 4.1.31 Nat drops fragmented packets after the first
2214661 ipf does not handle IPv6 fragments
2473273 NAT removed before RST/ICMP sent
2216500 fin_state serves no purpose
2424604 adding random MD5 data causes panic
2304435 Ineffecient lock usage in logging
2216491 fin_nat serves little purpose
2055619 duplicating a free-d packet will fail
2042949 Excessive locking when creating nat_t
2035610 nat_update does not need to get locks
2214658 ipf mostly ignores locking in NetBSD
1979427 Memory leak in user utilities - token never freed (rel br)
* SunOS4 does not have a curproc, but it does have u.
* The fix for 2020447 generated random port numbers but not within the
  range specified in the map rule.  Add in a regression test to verify
  that the "random" part works.
2020447 NAT can undo name server random port selection
1988795 NetBSD does not build with kernel malloc stats
1988782 fr_movequeue can take a short cut
1988669 first nat creation failure prevents further success
1988668 hostmap searching does not work properly
* on some 64bit architectures (such as alpha), the addrfamily_t is packed
  differently, throwing off the calculations for adf_len
* one too many READ_ENTERs in ip_sync code.
* clean up fr_fastroute a little by removing some #ifdefs and pushing the
  code around a bit to use the same variables (NetBSD)
* more recent NetBSDs use VOP related macros differently
2009-08-19 08:28:39 +00:00
aymeric
46545ebf5c bump to nb5:
. :ESC works again
. #+ and #- work again
2009-08-11 21:42:03 +00:00
aymeric
7963ec5bf2 . adding STRCHR variants to common/multibyte.h for the benefit of
. making #+ and #- work again in vi/v_increment.c
2009-08-11 21:28:02 +00:00
aymeric
b8018f6743 in v_ecl(), copy the converter from the shadow screen initialized in
v_ecl_init(), so that history can be displayed and edited.

Which means, :ESC works again.
2009-08-11 21:24:49 +00:00
minskim
0997da05f2 Correct the #ifdef test for struct ifdatareq. 2009-08-07 16:37:12 +00:00
lukem
86814cdb3c Crank version to nb4 2009-08-07 16:32:43 +00:00
lukem
ddff3f7108 Rename "expandtabs" to "expandtab" to match documentation (and vim,
where I got the idea from).
Actually implement the "et" abbreviation for expandtab.
2009-08-07 16:19:53 +00:00
christos
2ba3b8f193 constify for new openssl 2009-07-20 18:44:09 +00:00
tonnerre
7c437b76bb Fix behavior of dhcpd in the case where clientid and hardware ethernet
definitions are mixed. Fixes a refcount assertion.
2009-07-16 22:44:27 +00:00
christos
6c781e23d6 use the proper structure to get interface data. We depend on having the
NetBSD-specific ZIFDATA call to do the selection of the ioctl style.
From Patrick Welche.
2009-07-15 18:05:17 +00:00
apb
97f740f02b Add missing close quote in a usually-unreached part of an #if block.
Part of PR 41255 from Kurt Lidl.
2009-07-14 20:56:12 +00:00
roy
7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
snj
55f8c3946f Fix two problems in a conditional:
- __NetBSD__Version__ -> __NetBSD_Version__
- ">= 599001200" -> "< 599001200"

This worked on current because of the __ typo.

Spotted by Geoff Wing.
2009-07-02 01:43:15 +00:00
njoly
922011108e Do set error for SMBIOC_LOOKUP ioctl failure in *SMBSERVER fallback. 2009-06-26 22:41:26 +00:00
agc
474f9d04b2 Switch over to building iscsi library, target and initiator from the
external framework.
2009-06-25 13:58:59 +00:00
christos
96a538bff1 Limit the length of the address mask before we copy it. 2009-06-23 19:50:50 +00:00
agc
d94c46b0c4 Apply some fixes from HEO SeonMeyong to allow the iSCSI target to build
and operate on Mac OS X - with apologies for taking so long to apply them.
2009-06-23 05:11:46 +00:00
agc
cacd735007 Simplify one routine 2009-06-23 05:08:22 +00:00