summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* - Add regression tests for BSD sortgabor2012-05-11449-0/+2661
|
* - Hook up BSD sort to the build. By default, it will be installed asgabor2012-05-111-0/+2
| | | | | | "bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT is set, BSD sort will be the default "sort" and GNU sort will be installed as "gnusort".
* Add some missing files to OLD_FILESeadler2012-05-091-0/+2
| | | | | | | | PR: conf/166460 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> Reviewed by: stable@ Approved by: cperciva MFC after: 2 weeks
* zfsboottest.sh: correctly check and suggest value of vfs.root.mountfromavg2012-05-071-2/+2
| | | | | | | ... it was missing "zfs:" prefix. Reported by: theraven MFC after: 10 days
* zfsboottest.sh: gracefully handle default value of bootfs propertyavg2012-05-071-2/+1
| | | | | Reported by: theraven MFC after: 10 days
* indicate the time per packet in nanoseconds.luigi2012-05-031-0/+8
|
* add support for pcap receive statistics (used by net-mgmt/darkstat)luigi2012-05-032-3/+10
|
* add some performance dataluigi2012-05-031-0/+11
|
* - add code to run pkt-gen on top of libpcap so we can see theluigi2012-05-031-25/+108
| | | | | | | difference from a native API - add some testing options, such as conditional prefetching and packet copy.
* - correct a bug in pcap_dispatch(): a count of 0 means infinity.luigi2012-05-031-5/+41
| | | | | | | | | - in pcap_dispatch(), issue a prefetch on the buffer before the callback, this may save a little bit of time if the client is very fast. - in pcap_inject(), use a fast copy routine, which also helps saving a few nanoseconds with fast clients.
* Import m4 regression tests from OpenBSDbapt2012-04-3047-43/+1076
| | | | | Obtained from: OpenBSD Approved by: des (mentor)
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-291-0/+6
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Change cc -> bc : "bc" is "busy count", which is the % of time the channeladrian2012-04-281-3/+3
| | | | | | | | is considered "busy but not doing any active TX or frame RX." Just keep in mind that "frame RX" is "decoding what looks like a wifi signal", not necessarily "frame successfully decoded for this particular device."
* Add a tool to print out min, average and max channel survey informationadrian2012-04-283-0/+233
| | | | | | | | from the current channel. There seem to be some occasional issues with the extension channel counters reporting more than 100% of use. I'll investigate that soon.
* Add files and directories to be cleaned up if WITHOUT_GCC is in effectdim2012-04-141-0/+36
| | | | | | to OptionalObsoleteFiles.inc. MFC after: 1 week
* A bit of cleanup in the names of fields of netmap-related structures.luigi2012-04-131-3/+5
| | | | | Use the name 'ring' instead of 'queue' in all fields. Bump NETMAP_API.
* use getopt to parse options, add one option to setluigi2012-04-121-19/+61
| | | | the wait time for link-up events
* Teach wlanstats about the new BAR TX statistics.adrian2012-04-081-0/+12
|
* Add AR_ISR_S5 and AR_ISR_S5_S.adrian2012-04-081-0/+2
|
* Add some tests from PR 166463. Also make sure that all of the tests,das2012-04-071-7/+33
| | | | | old and new, check the sign bits of both the remainder and the quotient.
* we need to specify a NETMAP_API version or the ioctl() will fail.luigi2012-04-061-0/+1
|
* Add a threadid to the ah_decode API.adrian2012-04-041-1/+1
| | | | | This adds the current thread ID to each logged register and mark entry, allowing for easier debugging of concurrent/overlapping NIC operations.
* Remove trailing whitespace per mdoc lint warningeadler2012-03-293-9/+9
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* - Add new kerberos libraries to the list of optional obsolete files.stas2012-03-231-1/+37
|
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-0/+6
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-222-41/+537
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
| * - Import Heimdal 1.5 distribution.stas2011-10-059-455/+370
| |
| * - Kill files that do not belong to the laters heimdal version imported.stas2011-09-291-212/+0
| |
| * - Flatten the vendor heimdal tree.stas2011-09-298-0/+2136
|
* Use new -n option when executing kldload, tohselasky2012-03-181-1/+1
| | | | | | not warn about already loaded module(s). MFC after: 1 week
* Add a BINDIR so "make install" works.adrian2012-03-132-0/+2
|
* sh: Add a test for variables with underscores in arithmetic.jilles2012-03-111-0/+4
| | | | | Things like $((_x+1)) are broken in stable/8 sh but work in stable/9 and head.
* Stop some of the output from wrapping at 80 characters.adrian2012-03-111-3/+5
|
* Use = rather than == for expressions to test(1) builtin(1) in sh(1) tobz2012-03-061-1/+1
| | | | | | | | | | comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
* Add regression test for USB enumeration.hselasky2012-03-011-0/+30
| | | | MFC after: 1 week
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-291-0/+8
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Fix order of arguments to lseek().brueffer2012-02-291-1/+1
| | | | | | PR: 160867 Submitted by: Henning Petersen <henning.petersen@t-online.de> MFC after: 1 week
* Add is_beacon_bad.adrian2012-02-281-0/+4
| | | | PR: kern/165517
* A bunch of netmap fixes:luigi2012-02-273-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USERSPACE: 1. add support for devices with different number of rx and tx queues; 2. add better support for zero-copy operation, adding an extra field to the netmap ring to indicate how many buffers we have already processed but not yet released (with help from Eddie Kohler); 3. The two changes above unfortunately require an API change, so while at it add a version field and some spares to the ioctl() argument to help detect mismatches. 4. update the manual page for the two changes above; 5. update sample applications in tools/tools/netmap KERNEL: 1. simplify the internal structures moving the global wait queues to the 'struct netmap_adapter'; 2. simplify the functions that map kring<->nic ring indexes 3. normalize device-specific code, helps mainteinance; 4. start exploring the impact of micro-optimizations (prefetch etc.) in the ixgbe driver. Use 'legacy' descriptors on the tx ring and prefetch slots gives about 20% speedup at 900 MHz. Another 7-10% would come from removing the explict calls to bus_dmamap* in the core (they are effectively NOPs in this case, but it takes expensive load of the per-buffer dma maps to figure out that they are all NULL. Rx performance not investigated. I am postponing the MFC so i can import a few more improvements before merging.
* Check fchmod()/fchown() in fifo_misc test.jilles2012-02-261-0/+93
|
* Update scripts to work around two sh(1) bugs found in stable/8:bz2012-02-244-252/+263
| | | | | | | | | | | | | | | 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does. 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted. Correct typos and improve some details forwarding.sh already had in initiator, esp. related to ipfw accepting if the default is deny. Add an extra stat call to the "delay" function in addition to the touch which together is still a lot faster than sleep 1 but seems to help a lot more to mitigate the unrelated kernel race seen. Sponsored by: Cisco Systems, Inc.
* libc: Add some tests for fmtmsg().jilles2012-02-212-1/+252
|
* Fix up this local copy of statfoo to support > 128 statistics.adrian2012-02-172-9/+24
| | | | | | | | | | | | | | | | | | | | | | | This allows all of the athstats statistics to work again. Specifics: * The previous code used chars < 0x80 as printable, and chars >= 0x80 as "statistics" * .. which meant any statistic above 127 would wrap around to 0; * .. so once I added the 802.11n TX/RX statistics to athstats, the tail end of the statistics list weren't accessible. This patch: * adds a define which represents the magic character, rather than a hard coded one * the statistic in question is little endian encoded after the magic character. Notes: * statfoo is useful enough to possibly warrant turning into a library API.
* Add regression tests scripts for multi-IP FIBs exercising the send,bz2012-02-177-0/+4697
| | | | | | | | | | | | | | | receive and forward path tagging packets with both the ifconfig fib option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and testing both setfib(2) as well as the SO_SETFIB socket option. At 16 FIBs a total of over 64k return codes/replies/stati are checked, sometimes multiple times (in different ways, e.g. the reflected request as well as ipfw counter values). The scripts need two or three machines to run and are thus not added to the tools/regression framework but only to tools/test. Sponsored by: Cisco Systems, Inc.
* Add regression tests for the setsockopt(2) SO_SETFIB socket option.bz2012-02-173-0/+262
| | | | | | | | Check that the expected domain(9) families all handle the socket option correctly and do proper bounds checks. This would catch bugs as fixed in (r230938,)r230981. Sponsored by: Cisco Systems, Inc.
* Add some missing radar config parameters.adrian2012-02-141-2/+20
|
* Remove UCP from the list of countersgnn2012-02-141-1/+1
|
* Add options for program (-p) and to turn off waiting (-w) which is nowgnn2012-02-141-5/+20
| | | | | | | | | on by default. The default is to wait after each counter is tested. Since the prompt would go to stdout you won't see it if you're redirecting the output of the executed sub-program to /dev/null, so just press return to continue or Ctrl-D to stop.
* Add a rudimentary test to run through all the available counters on agnn2012-02-141-0/+79
| | | | | | | | system and then execute a program with pmcstat in counting mode. The program will verify that all counters fire and that the code neither panics the system nor locks it up. This should be considered a first pass conformance test for new sets of counters being added to hwpmc(4).
* Include target names in diagnostic output.fjoe2012-02-121-60/+60
| | | | Submitted by: Garrett Cooper
OpenPOWER on IntegriCloud