Commit Graph

10811 Commits

Author SHA1 Message Date
reinoud 254934d244 Switch back program version to the version of the newfs_udf/makefs code.
While here, visit the 80 columns police :)
2013-08-06 13:15:30 +00:00
reinoud c55e926ff1 Add minimum UDF version specification to makefs(8) -t udf. 2013-08-06 12:47:21 +00:00
reinoud a1f170f537 Allow for the logical volume label to be specified as well as the physical
volume label. Also allow the volumeset name to be specified if desired. The
syntax follows the newfs_udf(8) syntax.
2013-08-06 12:19:34 +00:00
wiz 3e9c1afce6 New sentence, new line. 2013-08-06 12:12:51 +00:00
reinoud 19751c1514 Update makefs(8) man page to reflect the selection of default sector and disc
sizes based on the disc type.
2013-08-06 09:43:41 +00:00
reinoud f7be5947bb Implement auto-setting of sector size and disc size when specifying
-oT=<devtype> to one of the supported disk types.

While here, also fix where the -s size argument would be overriden by the
calculated size.
2013-08-06 09:32:23 +00:00
reinoud ef2095d848 Fix assert() on allocation type by masking it with the flag allocation bit
mask. Fixes internal allocation writing in nodes with suid/sgid/sticky
accessnode.
2013-08-06 08:24:56 +00:00
reinoud 3551bde30d Fix memory leaks found by Coverity and fix memoryleaks in the new code 2013-08-06 08:18:08 +00:00
reinoud c27eed8f4f Note that i added the UDF support to makefs(8) and bump data 2013-08-05 18:49:58 +00:00
reinoud 8f48418536 Cleanup makefile for makefs 2013-08-05 18:45:00 +00:00
reinoud 2b17bd9a06 Revert joergs patch and make it compile in both the normal as in the tools
environment by providing the MMC datastructures separately for compat.
2013-08-05 18:44:16 +00:00
joerg 9656a3f6dc Allow building UDF parts of makefs on !NetBSD. 2013-08-05 17:12:04 +00:00
reinoud 62e9bc7cdb Make memset() usage consequent in using the right types 2013-08-05 16:43:46 +00:00
wiz c93932c41e Sort. Improve table formatting. 2013-08-05 14:50:32 +00:00
reinoud e2036ad8da Implement `makefs -t udf'.
Formatting options may be enhanced to make it more in line with newfs_udf on
say labeling.
2013-08-05 14:41:57 +00:00
martin ab52354b99 Do not pack struct rt_msg - this voids the alignement restrictions and
causes crashes on alignemen critical archs.
From Matt Thomas.
2013-08-02 16:51:25 +00:00
kefren 2a2cde5c86 Use rbtree for storing peers FEC label bindings 2013-08-02 07:29:56 +00:00
matt edba670894 .include <bsd.own.mk> to get MACHINE_CPU 2013-08-01 23:19:39 +00:00
soren deeb488bc9 Only try to recreate symlinks in the cat directory if they are local. 2013-07-31 22:37:55 +00:00
kefren 9661871102 Store local bindings in a rbtree 2013-07-31 06:58:23 +00:00
reinoud 7da88b2514 `makefs -t cd9660' fix from FreeBSD:
Submitted by:   Thomas Schmitt via marius@freebsd.org
Obtained from:  FreeBSD r253707

- Correctly set the Expiration Time in the Primary Volume Descriptor;
  according to ISO 9660 8.4.26.1 unspecified date and time are denoted by the
  digit 0 in RBP 1 to 16 but the number 0 in RBP 17.

- Rock Ridge TF entries should use a length of 5, because after the 4 bytes of
  generic SUSP header there is one byte of flags. See typedef of ISO_RRIP_TF
  in iso9660_rrip.h.
2013-07-30 16:02:23 +00:00
kefren 7eaad7a39f check route messages sizes more carefully
cache pid
treat every message at a time, even if there are more messages to read
interpret also cloning routes

The latter two should fix the ldp_regen test
2013-07-27 14:35:41 +00:00
kefren 7ecc7b7c66 * don't request explicitly for uid 0 as various system policies may make that
unnecessary
* correct the mplsif message. We don't need an IP address assigned on it
  anymore
2013-07-25 08:40:30 +00:00
kefren 0c8e14c9e8 * use a flag in label struct in order to determine if we should treat the
associated routes using RTF_HOST
* clean the mess in flush_mpls_routes that could result in accessing
  uninitialized memory
2013-07-24 09:05:53 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
kefren ae8b7d0074 don't connect on first hello, there are chances that ours is not seen yet
setproctitle with ldp id - useful for rump kernels testing
fix a memory leak in ldp_peer_new
don't holddown if already holded down
peer sockets are now non-blocking
connected routes deletes are now processed
check if peer is connected before attempting to sending label mappings
2013-07-20 05:16:08 +00:00
hauke 64a4eb64c6 Commit the patches in Wolfgang Stukenbrock's PR bin/41896.
(1) Do not serve UIDs below MINUID in master.passwd.* maps,
just like in passwd.* maps.

(2) Since stdethers(8) and stdhosts(8) strip comments, we do
not have to do it here, much less inconsistently.
2013-07-19 11:44:51 +00:00
kefren e8941bb5d0 * rework the reattachment code
* build an implnull label when a route is added and let mpls_add_label
  to take care of relabelling
* take out last piece of the code where we do route lookups - we should have
  every information we need in labels
* tested these changes using a number of rump kernels and some couple of
  thousands of flapping routes
2013-07-18 11:45:36 +00:00
kefren 9b2110eba6 Make sure labels are always updated when a route is added and when a peer
is added
Rework mpls_add_label according to that so no route refresh is done anymore
Use poll when reading the PF_ROUTE socket
setsockopt SO_USELOOPBACK on the PF_ROUTE socket
Output some information on SIGINFO
Allow map changing for a ldp peer
Finally fix the connected routes admission into labels
Correct the route trigger when a label map is received
2013-07-18 06:07:45 +00:00
kefren 4866020490 send the actual prefix on the wire instead of struct headers
statify
2013-07-16 19:40:01 +00:00
kefren 4a79aafa57 create binding for connected routes on startup
decay an warning message to debug only
2013-07-16 16:55:01 +00:00
msaitoh c148f0440f Update Intel's Processor Family Names of family == 6 from the latest document.
Add 0x35(Atom), 0x36(Atom S), 0x3f(future Xeon), 0x46(Haswell) and update some
models.
2013-07-16 09:54:30 +00:00
kefren 3e54e2f09f retire union_ntoa, replace it with satos
check for valid sizes on PF_ROUTE socket
minor comment update
2013-07-16 02:54:32 +00:00
htodd 5fcfb3153d And add a skip for the deleted _gpio in uid. 2013-07-14 15:44:00 +00:00
htodd aebf69ca0d Add _rtadvd to uid check as well. 2013-07-14 15:27:12 +00:00
htodd 173d865eac Adding _rtadvd to group check. 2013-07-14 15:17:22 +00:00
kefren 0e52e04b03 correct loopback address test
correct addr add/del handling
2013-07-12 08:55:52 +00:00
kefren 949b2852b8 add code for address and address withdraw messages
get rid of unused fields in tlv struct
2013-07-11 18:02:03 +00:00
kefren 046ba50ee2 sprinkle more const 2013-07-11 10:46:19 +00:00
kefren 702fd22f56 speed up a little bit the string<->prefixlen transforms 2013-07-11 09:11:35 +00:00
kefren 5f15a81b16 Local addresses vector is not needed anymore 2013-07-11 05:55:13 +00:00
kefren 2cc7bf11fa Constify a little bit 2013-07-11 05:45:23 +00:00
tcort 998a133bbf i2cscan: support scans using only 1 byte reads
Add the '-r' option to scan using only 1 byte reads. This enhances
usability on i2c controllers, such as the am335x and dm37xx, that
don't support quick writes (0 byte writes). The default behaviour
remains unchanged.

Review and OK by jmcneill@
2013-07-10 15:18:54 +00:00
roy d87d6793f0 Add _rtadvd user and group.
Add a chroot dir for the _rtadvd user.
Drop privs to the user _rtadvd after acquiring our socket.
When rc.d/rtadvd starts or reloads, the rtadvd config file is copied
into the chroot before starting or reloading rtadvd itself.
Create a symlink from /var/run/rtadvd.dump to the chroot

Inital idea from OpenBSD patch rtadvd.c r1.36
2013-07-09 09:34:58 +00:00
jakllsch 767644da8b Use symbolic constants EXIT_SUCCESS, EXIT_FAILURE, and NULL where appropriate. 2013-07-08 14:47:18 +00:00
apb c40fe12b6e Use .Cm markup for the keywords "temp", "pub", and "proxy" (suggested
by wiz).  Also bump date.
2013-07-08 04:31:12 +00:00
joerg ca1a6f97cd Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
2013-07-02 11:59:46 +00:00
joerg 9e69720425 Fix violations of the sequence point rule. 2013-06-28 15:04:35 +00:00
roy aaccc84c03 If we die and there are no timers, just exit. 2013-06-28 07:59:32 +00:00
roy 5bec235cc5 Check valid lengths of RDNSS and DNSSL options when rtadvd receives RA/RS.
rtadvd doesn't actually look into the option itself, but it may do in the
future to warn about consistency.
2013-06-27 15:46:40 +00:00
christos e9c2d7a015 Add a set_queue_size to avoid more code duplication, and set the queue size
of all tty fd's, not just the ones that we create (the ones that we get passed
in too). Fixes my iPhone -> xl2tpd -> pppd VPN from corrupting packets with
MTU > ~650.
2013-06-24 20:43:48 +00:00
dholland 75571afd93 Stick ffs_ in front of the following macros:
fragstoblks()
   blkstofrags()
   fragnum()
   blknum()

to finish the job of distinguishing them from the lfs versions, which
Christos renamed the other day.

I believe this is the last of the overtly ambiguous exported symbols
from ffs... or at least, the last of the ones that conflicted with lfs.
ffs still pollutes the C namespace very broadly (as does ufs) and this
needs quite a bit more cleanup.

XXX: boo on macros with lowercase names. But I'm not tackling that just yet.
2013-06-23 22:03:34 +00:00
dholland e1610ba4cb Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup
2013-06-23 07:28:36 +00:00
kefren 42c11e10c7 allow INET6 gateways, split some long lines 2013-06-23 06:40:26 +00:00
dholland 2737439da3 fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB()
dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()

(Christos already did the lfs ones a few days back)
2013-06-23 02:06:04 +00:00
uwe fd21d10e53 Don't check MKINET6 - parent makefile doesn't descend to ndp if it's "no". 2013-06-21 12:50:50 +00:00
uwe 62fe4696d8 Remove this stub that hasn't been necessary in a decade or so. 2013-06-21 12:42:55 +00:00
christos a3836d5300 bye build glue 2013-06-20 18:41:26 +00:00
christos d5b265f4fb Enable wildcard matching in psk files. We are big kids and if we put a *
in the psk file, we mean it.
2013-06-20 15:42:58 +00:00
dholland f1333577b5 Rename ambiguous macros:
MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE
   NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR
   INOPB -> FFS_INOPB, LFS_INOPB
   INOPF -> FFS_INOPF, LFS_INOPF
   blksize -> ffs_blksize, ext2_blksize, or lfs_blksize
   sblksize -> ffs_blksize

These are not the only ambiguously defined filesystem macros, of
course, there's a pile more. I may not have found all the ambiguous
definitions of blksize(), too, as there are a lot of other things
called 'blksize' in the system.
2013-06-19 17:51:25 +00:00
christos 855bb66ef7 Prefix most of the cpp macros with lfs_ and LFS_ to avoid conflicts with ffs.
This was done so that boot blocks that want to compile both FFS and LFS in
the same file work.
2013-06-18 18:18:57 +00:00
christos ba70cbfcf3 don't echo the make command in the output file. 2013-06-17 17:40:17 +00:00
martin 23e8ed59f1 In the tool build <nbinclude/vax/disklabel.h> is enough. 2013-06-16 19:05:00 +00:00
christos 0ebdad6fe7 - missing semicolon
- missing SKIPS
- assignment instead of comparison
2013-06-15 22:53:18 +00:00
msaitoh 0893cfd5dd Remove trailng whitespaces. 2013-06-14 03:54:43 +00:00
christos 56ff42629e more thorough passwd/group checks. 2013-06-11 14:39:07 +00:00
mrg b3bc0e936f implement SOURCEMODE version of "fontconfig". 2013-06-10 20:33:31 +00:00
jmmv 4aa7c4b88e Fix LINKS spec. 2013-06-09 22:00:50 +00:00
christos 515c2000f1 bump date. 2013-06-09 18:39:31 +00:00
christos ce446494c4 Alias this to vndconfig for symmetry. 2013-06-09 18:39:05 +00:00
dholland 5a420c1b9a Stick UFS_ in front of these symbols:
DIRBLKSIZ
   DIRECTSIZ
   DIRSIZ
   OLDDIRFMT
   NEWDIRFMT

Part of PR 47909.
2013-06-09 17:57:08 +00:00
christos 1b081a707c Now that we grow vnd's dynamically we cannot depend on the kernel returning
ENXIO when we exceed the number of configured vnds, so in the -l case, print
info for all vnds we can find device nodes for in /dev.
2013-06-09 13:25:40 +00:00
dholland 6dc91806df Use struct ulfs1_dinode instead of struct ufs1_dinode. 2013-06-08 23:27:34 +00:00
christos 415d109c2c Revert previous. It is too aggressive and might pick the wrong interface
now.
2013-06-08 13:13:34 +00:00
apb 62d3d9959d "temp", "pub", and "proxy" are keywords, not replaceable
parameters, so do not use ".Ar" markup.  Use either no markup,
or ".Dq" markup, depending on context.
2013-06-07 18:33:53 +00:00
christos ab61edc6b5 allow ifscope with pub and proxy 2013-06-07 17:18:33 +00:00
christos d7a0544b97 - skip addresses that don't have a link address by finding the link address
immediately.
- don't skip v6 only interfaces.
- default to the first interface with a link address or to the best matching
  one, printing a warning if there are more than one.
- consume data after sending messages to the routing socket.
2013-06-07 17:17:14 +00:00
christos 4d4651f0df Add an ifscope <interface> argument to arp in the spirit of the MacOS/X one,
that sets the arp entry on the interface specified. Undocumented for now,
until people decide it is useful.
2013-06-07 01:09:10 +00:00
mrg 63b935973f update do_fontconfig() to update all the conf.avail files. fixes
errors that xkbcomp spews when the X server starts since fontconfig
was updated.
2013-06-06 07:06:42 +00:00
spz b32980a908 document the anon account for anonymous access
fixing PR misc/5545
(the last bits thereof)
2013-05-28 20:13:16 +00:00
christos c68a8e00e8 PR/47861: Fredrik Pettai: keep track of the address family for each socket
opened and don't send the a message to the wrong family type.
2013-05-27 23:15:51 +00:00
wiz 92b40f3b9f Reword to work around phrasing that caused lots of discussions.
From Robert Elz.
2013-05-26 17:25:53 +00:00
wiz 6797ae4401 Correct a phrase. From jmc@openbsd.
Already fixed once by mbalmer and unfixed by me. Oops.
2013-05-24 16:38:46 +00:00
wiz 0d6fc7f479 Update description for -a:
-a autoprobes multiple ifs, and does not exit with error.

Diff originally from Mark Johnston (markj@freebsd), via jmc@openbsd.

Bump date.
2013-05-24 13:45:46 +00:00
prlw1 281d156eac add _gpio to gid check 2013-05-21 12:07:03 +00:00
rmind ce38978248 - Add NPF table flushing functionality.
- Fix line numbering for npfctl debug command.
2013-05-19 20:45:34 +00:00
mbalmer 4dfbc91d39 Make it easier to use gpioctl(8) in shell scripts: Add a -s flag which
instructs gpioctl(8) to only output a single numeric value, either the
number of pins if no pin number was passed as argumenti, or, the current
state of the pin.
2013-05-19 15:31:23 +00:00
mbalmer 9cfaa75e46 Remove stray 'To'. 2013-05-19 14:06:35 +00:00
skrll e30bd26d32 Fix typo. Reported in PR/47823. 2013-05-17 07:53:05 +00:00
yamt 8782935dec try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
christos 9eea140044 avoid stdio assertion, failing later 2013-05-15 00:35:02 +00:00
christos 464306f9db always allow hex where decimal is allowed. 2013-05-09 19:12:03 +00:00
kefren 12d5f1b2e0 First send initialize and keep alive after that. Fixes inter-operability
issues regarding session initialization.
2013-05-08 08:57:45 +00:00
matt 252b82608c Make this build with the disk label change. 2013-05-03 21:32:04 +00:00
matt 5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
kardel 640a1e10fd reenable routing functionality by using RT_ROUNDUP for ROUNDUP when available 2013-04-15 07:58:35 +00:00
christos f7b110e4f0 no need for the end macros anymore 2013-04-10 22:21:53 +00:00
christos e77d8145f4 - add new ignore chown/chgrp flag
- bump strings space to 8K someone has 4K paths now.
- use snprintf where possible and detect long lines.
2013-04-09 16:39:19 +00:00
christos 6bb059914d return busy for checkchild instead of killing the connection 2013-04-09 16:38:18 +00:00
christos 40d5816a68 move flags only used in main() inside main(), from Ed Schouten 2013-04-08 17:39:11 +00:00
wiz b0681b1396 Sync usage with man page.
XXX: shouldn't this be part of envstat instead?
2013-04-07 18:49:35 +00:00
wiz efe2aaad2c Fix option description. 2013-04-07 18:49:06 +00:00
wiz 0d52152ee1 Use getopt. Improve usage. 2013-04-07 18:48:24 +00:00
dholland a8dc20d201 remove extraneous malloc.h 2013-04-05 03:18:26 +00:00
martin 67c2857b08 Provide an empty __CTASSERT() for toolbuilds 2013-04-04 16:11:12 +00:00
martin e23a017d74 Fix installboot for VAX, as discussed on port-vax. Problem pointed out
by Jonny Billquist, thanks to Marl Pizzolato for patiently explaining
the various ways of booting a vax to me.
Now VAX 780 can boot directly from VMB.EXE again.
2013-04-04 12:55:30 +00:00
wiz d347f34bdd Bump date. 2013-04-02 18:35:28 +00:00
christos 910ecac4db instead of having a format and no format flag, and exposing various formatters,
provide a format enum and expose html formatting too.
2013-04-02 17:16:50 +00:00
taca 64f049e3d6 Show in-filesystem quotas flag instead of unknown flag bit. 2013-04-02 13:31:47 +00:00
wiz 862b7a4cdd Sync usage with man page. 2013-03-29 21:39:16 +00:00
wiz d70358d69a Use Ev for environment variables. Improve -n description. 2013-03-29 21:39:09 +00:00
christos 82fc5158a9 fix legacy mode in pager filter. (don't ul format if we are not formatting). 2013-03-29 20:46:07 +00:00
christos 2b42c8b2ee - Fix legacy mode to use like instead of match. This loses ranking.
- default to unlimited lines
- fix formatting of legacy mode
2013-03-29 20:37:00 +00:00
christos bc93b1e8f9 Don't enumerate all the digit sections
Explain limitations in legacy mode
2013-03-29 20:17:19 +00:00
christos cb0641eb5a - If the stdout is not a tty, prevent formatting unless forced with -i
- Don't ever page unless asked for with -p
- Introduce "legacy mode" (-l)
  1. searches only name and name_desc, prints name(section) - name_description
  2. turns off escape formatting (can be forced on with -i)
  3. turns off context printing (can be forced on with -c)
- Parse the environment $APROPOS variable as an argument vector.

With these changes one can simply 'export APROPOS=-l' and get the old apropos
behavior.
2013-03-29 20:07:31 +00:00
njoly d1f2d0ccef Remove unknown \*(tN and \*(sP macros.
ok wiz.
2013-03-28 22:54:25 +00:00
christos b71da193c3 unhook old dhcp 2013-03-24 22:23:33 +00:00
christos bc0f55de88 Make ALG's autoloadable by providing in the config file:
alg "algname"
2013-03-20 00:29:46 +00:00
rmind 543d2971ab - Extend npf.conf syntax to support dynamic NAT policies.
- Imply dynamic group when using "ruleset" keyword.
2013-03-18 02:17:49 +00:00
nakayama 61db04d3c6 Use explicitly defined macros in Makefile to determine to use
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
2013-03-15 20:22:44 +00:00
christos 29e670c87b more explicit syntax 2013-03-13 02:44:28 +00:00
christos 5f0daf8289 more todo's 2013-03-13 02:41:23 +00:00
christos b46215b9d2 add another 2013-03-13 02:36:51 +00:00
christos 668937be38 one more fixed 2013-03-11 16:38:31 +00:00
christos 08ba3be1b4 more breakage. 2013-03-11 02:12:15 +00:00
christos fce0192186 explain further. 2013-03-11 02:02:28 +00:00
christos 8493e8dcfc separate sess commands. 2013-03-11 00:39:32 +00:00
christos feb589a817 remove dup usage. 2013-03-11 00:34:43 +00:00
christos c85651a383 fix usage 2013-03-11 00:16:59 +00:00
christos 58bc4d4e58 handle port "ftp-data" 2013-03-11 00:09:07 +00:00
christos cd72feefe1 more 2013-03-11 00:05:36 +00:00
christos b58e208695 my laundry list 2013-03-11 00:04:46 +00:00
christos 2acab3345b centralize error handling and print what went wrong instead of "ioctl" 2013-03-10 23:59:00 +00:00
christos 8c8be406dd modules moved to /lib 2013-03-10 23:57:07 +00:00
christos e0620b41b3 deal with strings as interfaces 2013-03-10 23:11:26 +00:00
christos 9f5f8a86c5 normalise -> normalize 2013-03-10 21:55:40 +00:00
rmind e1515f844d Fix the example (deja vu?). 2013-03-10 21:17:30 +00:00
christos 67f79fd48b add MAP_PRIVATE 2013-03-10 19:32:29 +00:00
christos bec987f94b fix compilation issues. 2013-03-08 20:58:35 +00:00
christos 524dd7b3c3 - don't allow multiple active connections from the same host
- prefix all messages with the local hostname
- more error checking
2013-03-08 20:56:44 +00:00
christos 71203128f9 remove compiler hacks 2013-03-06 18:21:41 +00:00
yamt 7f82ee6f97 print some more bits 2013-03-06 11:52:53 +00:00
yamt fb5e2b43eb add -d option to disable lockstat 2013-03-06 11:49:06 +00:00
wiz 0c848d03c9 Fix typo. 2013-03-05 23:01:06 +00:00
jdf ac3f3ae535 Fix wording: s/ffs file systems/FFS file systems/
Proposed by Snader_LB
2013-03-05 22:58:59 +00:00
apb 3ad52e24ee A different way of dealing with a warning from gcc-4.1 when compiling
zic.c.  Instead of setting WARNS=0 and NOGCCERROR=1, just add -Wno-error
to COPTS.zic.c when using an old version of gcc.

Also include bsd.own.mk earlier.
2013-03-05 13:42:04 +00:00
martin f20c7e6ccc Add back NOGCCERROR for older gcc versions to fix the vax build 2013-03-05 10:19:58 +00:00
christos 28d11a42f4 make crash traces work on sparc64 2013-03-04 20:10:50 +00:00
christos a9709efb6c include Makefile.in from zic 2013-03-02 21:39:14 +00:00
christos e7c27cfa88 fix warnings. 2013-03-02 21:38:19 +00:00
rmind e9a253f3c1 npftest/npf_blockall_rule: set NPF_RULE_DYNAMIC flag for the test rule. 2013-02-18 23:09:20 +00:00
rmind 56910be779 - Convert NPF dynamic rule ID to just incremented 64-bit counter.
- Fix multiple bugs.  Also, update the man page.
2013-02-16 21:11:12 +00:00
rmind 90957242c6 npftest: adjust for recent change. 2013-02-11 02:52:32 +00:00
rmind 82975ead3b Allow filtering on IP addresses even if the L4 protocol is unknown.
Patch from spz@.
2013-02-11 00:00:20 +00:00
christos 9d0d34e51f add -r flag to elide tty formatting 2013-02-10 23:58:27 +00:00
rmind 50c5afcad4 - Fix NPF config reload with dynamic rules present.
- Implement list and flush commands on a dynamic ruleset.
2013-02-10 23:47:37 +00:00
christos 9d8fe63b1b remove trailing whitespace 2013-02-10 23:24:18 +00:00
rmind 5b97ba65a8 Disable -DWITH_NPF for now; will be converted to BPF mechanism. 2013-02-09 15:36:40 +00:00
rmind 0e21825481 NPF:
- Implement dynamic NPF rules.  Controlled through npf(3) library of via
  npfctl rule command.  A rule can be removed using a unique identifier,
  returned on addition, or using a key which is SHA1 hash of the rule.
  Adjust npftest and add a regression test.
- Improvements to rule inspection mechanism.
- Initial BPF support as an alternative to n-code.
- Minor fixes; bump the version.
2013-02-09 03:35:31 +00:00
christos 60296e9005 CID/980002: missing va_end() 2013-02-09 01:16:39 +00:00
kefren dc76929a7a Stop confusing peer hello source with peer transport address 2013-02-05 13:02:33 +00:00
christos c4e4c061b3 fill up the directory hierarchy so that leaf files are not ignored if
specified by themselves.
2013-02-05 00:59:03 +00:00
kefren bed325c414 move code around a little bit in order to call get_ldp_peer correctly
check also for transport_address in get_ldp_peer
2013-02-04 20:28:24 +00:00
kefren 0c72a2ff7e * Don't assume INET in connection path
* Lookup in hello list in order to get the correct LDP ID, instead of
  transport address
* Improve an error message
2013-02-04 17:14:31 +00:00
wiz c3af88d3bf Grammar. Sort sections. 2013-02-04 11:02:32 +00:00
kefren f3a2005146 Mention IPv6, operation mode and re-section a bit 2013-02-04 10:53:14 +00:00
kefren c28e590b2c correct the sockaddr compare
modify a couple of debug messages
2013-02-04 09:52:43 +00:00
kefren 898c6f9ff4 Don't try to connect to peers before sending hellos 2013-02-03 19:41:59 +00:00
christos 8c4c80c2ef fix man page. 2013-02-03 19:16:06 +00:00
christos 6a0fd2f03e add the ability to only output paths included in a spec file when creating
from a directory (-c)
2013-02-03 19:15:16 +00:00
christos 6c8acf010b PR/47528: Izumi Tsutsui: eeprom(8) dumps core after 64 bit time_t changes 2013-02-03 15:30:04 +00:00
christos c06c93b2d6 add a replace flag so we can overlay exiting files when we merge directories. 2013-02-03 06:16:53 +00:00
christos c5e9014781 - more changes to make -O work
- fix err* calls.
2013-02-03 03:21:21 +00:00
christos 2d692a9557 add and document offset. 2013-02-02 20:42:02 +00:00
christos a1bd32a9dc remove bogus err. 2013-02-01 14:02:17 +00:00
christos 7a9c8c6550 while it is studly to play with token pasting, passing directly the type
is a lot more readable.
2013-02-01 14:00:33 +00:00
spz a3b287e514 IPv6 linklocal address printing cosmetics 2013-02-01 05:40:07 +00:00
matt 9ac4c42034 Add arm support for cpuctl identify 2013-01-31 23:40:48 +00:00
matt c4936fc4a0 Only complain about binding if we have more than 1 cpu. :)
(we always have more than 0).
2013-01-31 19:47:59 +00:00
christos 3cfc43473d macroize to make it more type-safe. 2013-01-31 15:15:15 +00:00
christos 2431e0788b the allow options are 8 bits wide. 2013-01-31 14:56:32 +00:00
christos d84c38ae4e - don't abuse vp->fs to mean struct fs for ffs and struct msdos_opts;
make it always fsinfo_t and change void * to that.
- kill unused structure members.
2013-01-30 19:19:19 +00:00
christos 0ea6b66554 gc global sectorsize. 2013-01-30 17:29:25 +00:00
christos 78e97492c8 buf is generic; it has nothing to do with ffs and will eventually be moved.
gc sectorize.
2013-01-30 17:29:05 +00:00
christos 9eb809c6b4 use "val" not "var" 2013-01-30 02:53:54 +00:00
christos 8459845f55 add missing arguments. 2013-01-29 21:54:19 +00:00
christos aed9f95c54 workaround for gcc/vax 2013-01-29 19:45:47 +00:00
christos 50d02345aa make everything use the generic options parser. 2013-01-29 15:52:25 +00:00
christos 36e6483010 Allow options without values meaning the empty string for string options
and = 1 to numerics.
2013-01-29 14:09:48 +00:00
christos 4f6a0577d9 mention me 2013-01-29 01:52:04 +00:00
christos 2246e723d1 deal with options that don't have a single letter argument. 2013-01-29 01:06:15 +00:00
christos fa62ba2145 handle some of the options by the generic parser. 2013-01-29 01:05:57 +00:00
kefren fcfdc0a1a0 Be a little more strict when sending notifications and checking PDU 2013-01-28 21:35:34 +00:00
kefren 1dc912ec99 Use satos instead of inet_ntop
Fix an alloc problem
2013-01-28 21:08:14 +00:00
christos e4989541fe - use emalloc and friends
- kill a bunch of global variables, more work to be done here
- homogenize option parsing. more work for cd9660
- use the new options parsing code to print an fs-specific usage
2013-01-28 21:03:26 +00:00
kefren 2157479565 permit notifications even if session not fully established 2013-01-28 20:32:04 +00:00
kefren 97dccf752c Fix the transport address TLV mess I created after INET6 convert
Use a single loop to decrement and check hello list keepalives
Display transport address in show hello output
2013-01-28 20:06:52 +00:00
mlelstv 3b0450ca73 Do not use *bp after freeing it in brelse. 2013-01-28 10:16:35 +00:00
christos 863ded0e2b now that msdos works, document it. 2013-01-28 00:23:18 +00:00
christos 0a54bc86e7 use pcbmap instead of the open coded hack now the pcbmap works. 2013-01-28 00:16:48 +00:00