Commit Graph

574 Commits

Author SHA1 Message Date
jdolecek aa2f829ddf remove the 'mv ipnat.1 ipnat.8', the distribution comes with ipnat.8 nowadays
add back ip_h323_pxy.c - upon closer examination, the licence seems to be okay
2002-04-01 15:56:51 +00:00
jdolecek 04b7839d81 g/c, these are not used on NetBSD 2002-04-01 09:10:38 +00:00
bjh21 913037a61e When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:26:50 +00:00
bjh21 ad4b72abb9 Check isc_result_t values with != ISC_R_SUCCESS, rather than < 0.
Suggested by Ted Lemon, but not yet in an ISC DHCP release.
This is necessary to avoid warning with -fshort-enums.
2002-03-18 20:25:58 +00:00
bjh21 76b77c2c35 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-18 20:16:49 +00:00
bjh21 6047cf765e Another change from 3.0.1rc7:
- Fix a bug in ns_parserr(), where it was returning the wrong sort
  of result code in some cases.

This is required to allow some -fshort-enums warnings to be fixed.
2002-03-18 20:13:53 +00:00
bjh21 a4f14f6e11 Pull down change from 3.0.1rc7:
- Fix a bug in is_identifier(), where it was checking against EOF
  instead of the END_OF_FILE token.

This is required to eliminate a warning with -fshort-enums.
2002-03-18 19:54:11 +00:00
hannken 5a142891ab Make it compile on sparc (size_t != int). 2002-03-15 08:54:40 +00:00
mjl 8a74697e3d Make it compile w/ our standard warning level by adding prototypes. 2002-03-15 01:54:19 +00:00
mjl 3cc43a5f0b Resolve conflict 2002-03-15 01:44:24 +00:00
mjl 3849fd5579 Import bzip2 1.0.2 2002-03-15 01:35:17 +00:00
martin 58d564bc8c Add MSS clamping to the IP Filter NAT subsystem.
Configured by a new option "mssclamp" in NAT rules, like:

 map pppoe0 192.168.1.0/24 -> 0/32 mssclamp 1452

This is based on work by Xiaodan Tang <xtang@qnx.com>.
2002-03-14 21:46:54 +00:00
martti 83b3487b70 Upgraded IPFilter to 3.4.25 2002-03-14 12:32:36 +00:00
martti a79df224af Import IPFilter 3.4.25 2002-03-14 12:30:07 +00:00
martti 27df1070c7 Don't import ip_h323_pxy.c (license issues) 2002-03-14 08:07:06 +00:00
simonb 6b078ef993 Fix gcc 3.x "operation on `foo' may be undefined" warnings when using
constructs like "tptr+=*tptr++;".

Itojun will forward these changes to tcpdump.org.
2002-03-11 10:43:33 +00:00
bjh21 dca4ae94d6 When checking that a potentially-unsigned enum is >= 0, assign it to an int
first.  This is necessary to avoid warnings with -fshort-enums.  Casting
to an int really should be enough, but turns out not to be.

This change will be documented in doc/HACKS.
2002-03-09 13:22:52 +00:00
wiz 53036766b1 Drop trailing spaces after section names. 2002-03-06 14:20:34 +00:00
sommerfeld 3e18fc136f More ipip references 2002-03-04 15:15:39 +00:00
mason be7a76e49f document -i and -u in the man page 2002-02-21 17:10:14 +00:00
itojun d52aa152c7 sync with 3.7.1 2002-02-18 09:37:05 +00:00
itojun 1ad208fce4 tcpdump 3.7.1 from tcpdump.org 2002-02-18 09:06:51 +00:00
martin 3a47d27d5d Fix two LP64/be bugs, patch from ura@hiru.aoba.yokohama.jp in PR 15641. 2002-02-17 20:18:52 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
martti c6a4a9d33a Fixed Darren's original IPv6 icmp-type patch (rev 1.8) to display
better error messages if the user tries to use symbolic names such
as "echo" and "echorep" in "ipv6-icmp ... icmp-type ..." rules.

Consider the following rules:

  # cat /etc/ipf6.conf
  pass in quick proto ipv6-icmp from any to any icmp-type 128
  pass in quick proto ipv6-icmp from any to any icmp-type echo

Use of symbolic names give now the following error:

  # ipf -Fa -6f /etc/ipf6.conf
  2: Unknown ICMPv6 type (echo) specified (use numeric value instead)

The first rule with numeric value will work as expected:

  # ipfstat -6hi
  0 pass in quick proto ipv6-icmp from any to any icmp-type 128

NOTE: You MUST use numerical values for ICMPv6 types. See
      /sys/netinet/icmp6.h for available codes!
2002-02-04 19:07:47 +00:00
martti 6ffd37ccd1 Back out version 1.8 as it fixes the display BUT breaks the icmp-type rules:
ROOT localhost:~> /etc/rc.d/ipfilter reload
  Reloading ipfilter rules.
  22: Invalid icmp-type (echo) specified

With version 1.7 everything works just fine:

  ROOT localhost:~> /etc/rc.d/ipfilter reload
  Reloading ipfilter rules.
  Set 1 now inactive
2002-02-04 12:00:52 +00:00
martti bfc0fa18e9 Fixed display of "proto ipv6-icmp ... icmp-type ..." rule. Before
this fix ipfstat reported:

  0 pass in quick proto ipv6-icmp from any to any

while after this fix:

  0 pass in quick proto ipv6-icmp from any to any icmp-type 8

This was just a display bug, the rule worked as expected.
2002-02-01 11:31:56 +00:00
martin d4e37ff89e Add a missing "else". 2002-01-24 10:40:12 +00:00
martti 5ecddfad8c Fixed return value (I was unable to compile this on sparc64 before
this fix).
2002-01-24 08:30:27 +00:00
martti 7421720886 This file is not needed 2002-01-24 08:25:37 +00:00
martti e6acaff1c5 This file is in /sys/netinet 2002-01-24 08:25:21 +00:00
martti a0dddbc807 Manual page fixes regarding IPv6 2002-01-24 08:24:14 +00:00
martti b9920d0f43 Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
martti b0499f9062 Import IPFilter 3.4.23 2002-01-24 08:18:28 +00:00
martti 14b3179d7c Added ip_netbios_pxy.c and ip_ipsec_pxy.c 2002-01-23 11:03:19 +00:00
thorpej 7ff92fc079 PTRSIZE_64BIT on x86_64, too. 2002-01-23 02:37:39 +00:00
wiz 78cb877358 Try to remove some more unnecessary whitespace when converting. 2002-01-19 11:43:47 +00:00
martin 114dbddbad Make ntpd use the getifaddrs interface, thus avoiding alignement
problems (see port-sparc64/15112).

This change will be submitted to the NTP maintainers as well.
2002-01-05 13:24:40 +00:00
martin 6db2d4b116 Back out previous change - turns out to be a sparc64 toolchain problem
(surprise!)
2002-01-03 11:22:07 +00:00
martin 357b95fa25 Replace a structure copy (dereferencing a pointer received from an ioctl)
by a memcpy, similar to the patch suggested by jarle@uninett.no in PR 15112.
I'm not sure if the ioctl code should be fixed to deliver this pointer
properly aligned, but this change should not cause any problem and it is
safer this way.
2002-01-02 20:47:37 +00:00
wiz 546fc71d49 Pull over fixes from rev. 1.5-1.7 of basesrc/usr.sbin/ntp/ntpd/ntpd.8. 2001-12-26 15:14:59 +00:00
wiz b444acb911 Sort SEE ALSO sections, and fix xrefs (commenting out some which
point to non-existing man pages). Fixes misc/14970.
2001-12-18 09:31:47 +00:00
wiz 78e040dc00 Check for '-' as first character only after we checked all recognized
options. Problem report and fix by Tero Kivinen in bin/14935.
2001-12-14 15:20:17 +00:00
wiz a3de79a4f7 Fn argument doesn't need (), add space between macro name and argument. 2001-12-07 19:18:14 +00:00
wiz 6f171e404b Misc formatting fixes. 2001-12-07 19:14:08 +00:00
wiz b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz 1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
christos a9add05994 s/%%m/%m/ 2001-11-12 03:06:44 +00:00
manu 22376d8b65 Fixed a small bug in -u option parsing (it only worked if you supplied a
user *and* a group)
2001-11-08 20:06:22 +00:00
itojun 50c48d717f SIGALRM code around gethostbyaddr() can leak memory.
sync with tcpdump.org, found by openbsd guys
2001-11-05 02:12:47 +00:00
itojun b912944434 copyright clarification, from tcpdump.org 2001-10-22 06:59:26 +00:00
itojun eed0c2daad copyright clarification, from tcpdump.org 2001-10-22 04:29:06 +00:00
itojun 6180d3187e copyright clarification. sync with tcpdump.org 2001-10-22 04:24:24 +00:00
wiz b8625f9b65 extensions-path-name -> extensions-path (misc/14147). 2001-10-04 12:26:25 +00:00
kleink d170b4b2fc Sync with tcpdump.org print-vrrp.c revs. 1.4-1.5:
Clean up internals somewhat (tok2str etc.), improve output, avoid
control characters in auth-simple output.
2001-09-27 12:33:26 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
itojun 1a9410a9f1 new copyright boilerplates. from tcpdump.org repository 2001-09-19 03:37:58 +00:00
wiz 456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
manu 53e4611607 Added code to run ntpd as a non root user and in a chroot jail. This should
be used with the new clockctl device which enable clock setting by non root
users on behalf of the /dev/clockctl write rights.
This code have not been commited yet to the main ntp tree.
2001-09-16 07:51:54 +00:00
thorpej 7d63653e94 s/int/size_t/ in one obvious place. 2001-09-16 00:01:15 +00:00
wiz e3f8252b49 Xref ipf(8) instead of non-existing ipf(1). 2001-09-09 17:22:59 +00:00
wiz 1288f79bbd Xref curses(3) instead of ncurses(3). 2001-09-09 17:22:39 +00:00
wiz 23fec241fa Change Xref to ipfilter(4) from [not installed] ipfilter(5). 2001-09-03 01:19:05 +00:00
eeh c994f996ff Fix LP64 bug. 2001-08-24 15:28:47 +00:00
mrg 0a8258e16a back out previous; it is handled by etc/rc.d/named. 2001-08-24 13:25:57 +00:00
mrg d7003aa4a3 reapply (relevant parts of) lost patch:
revision 1.3
date: 1999/02/22 02:37:27;  author: mrg;  state: Exp;  lines: +19 -1
if we are chrooting, write a symlink for the pid file so that ndc, etc,
continue to work as normal.  this allows named to run in a chroot jail
with zero loss of functionality.
2001-08-24 08:37:33 +00:00
gmcgarry 7e63b1b939 Remove references to non-existent traffic(1C) and nit(4P) pages. 2001-08-22 00:06:50 +00:00
wiz c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
drochner 6c1ac34eb0 remove .cvsignore files which got imported inadvertently, as pointet
out by Ben Harris
2001-08-07 08:31:16 +00:00
wiz 2b4b375b7e Remove unneeded files. okay'd by drochner. 2001-08-03 15:35:09 +00:00
wiz a27c467882 Typo fix. 2001-08-03 13:50:07 +00:00
wiz 0624fa6b95 Replace remaining occurances of DBDIR and RUNDIR with corresponding
NetBSD paths.
2001-08-03 13:47:17 +00:00
drochner f71d61482d pull in a patch from usr.sbin/dhcp: const-ification 2001-08-03 13:39:05 +00:00
drochner fce24bb552 pull in manpage adaptions / corrections from usr.sbin/dhcp 2001-08-03 13:34:08 +00:00
drochner e0c9112eff pull in code patches from usr.sbin/dhcp 2001-08-03 13:07:03 +00:00
drochner bd5592e542 import of ISC dhcp-3.0rc10 2001-08-03 11:35:28 +00:00
mrg efcf0f3154 "Bah, remove the declaration!!" --thorpej
delete sys_nerr declarations...
2001-07-14 06:01:22 +00:00
mrg e31dfc4d0e if we're going to declare it, at least make sure sys_nerr is `const'. 2001-07-14 04:49:57 +00:00
itojun be5fa8128f repair signed/unsiged mistake in length computation.
(could raise security issue - should contact fenner@freebsd on details).
sync with tcpdump.org
2001-07-09 09:27:18 +00:00
itojun 0025e818e5 do not not deref NULL pointer. PR13407. sync with tcpdump.org 2001-07-08 08:17:57 +00:00
itojun e676bfdeb6 recover from endian mistake. sync with tcpdump.org 2001-06-27 21:08:41 +00:00
simonb 2de3233da6 Fixes to compile on alpha. Reported by Caffeinate The World on
current-users.
2001-06-27 02:46:25 +00:00
itojun 8e68d78e9d ex script to change rcsid portion 2001-06-25 20:09:58 +00:00
itojun 6a5ada5fef __RCSID() 2001-06-25 19:59:56 +00:00
itojun 454a080909 typo 2001-06-25 19:36:47 +00:00
itojun 08019da86a disable SMB decoder, there seem to be a lot of memory boundary issues 2001-06-25 19:36:38 +00:00
itojun 80e83a75d5 import script 2001-06-25 19:36:03 +00:00
itojun 9fddaf49d0 t is in chapter 8, not 1. remove non-BSD texts. 2001-06-25 19:35:01 +00:00
itojun 56a052e678 tcpdump, from tcpdump repository as or 2001/6/26 2001-06-25 19:26:28 +00:00
mrg 2a32c938de make this program actually work. 2001-06-07 14:15:39 +00:00
wiz aa7e878621 Remove trailing whitespace in Dt, and some xref fixes. 2001-06-05 12:49:36 +00:00
wiz 4abaa1bb50 No argument for .Os. 2001-06-05 11:11:07 +00:00
wiz 48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
simonb 204134d4a3 Add prototypes so this builds with the standard NetBSD warnings enabled. 2001-06-03 13:39:38 +00:00
simonb 2b666e6b9a Import bzip2 1.0.1 2001-06-03 13:03:00 +00:00
simonb 239d7a60d4 Yet another import helper shell script, this one for bzip2. 2001-06-03 13:02:16 +00:00
itojun 2d9b34e41a no import needed for crypto tree 2001-05-27 04:45:20 +00:00
itojun 4cd3525823 upgrade to 8.2.4. 2001-05-17 22:59:37 +00:00
itojun ddb7465740 BIND 8.2.4 2001-05-17 22:41:07 +00:00
itojun 942f3643b6 actually split crypto source. 2001-05-17 20:52:58 +00:00
itojun 900d6f1790 BIND 8.2.4 2001-05-17 20:45:58 +00:00
veego fc85452e83 Resolve conflicts from the import of am-utils 6.0.6. 2001-05-13 18:06:57 +00:00
veego de9d6f0e6a 2nd import of am-utils 6.0.6.
This time after running the amd2netbsd script.
2001-05-13 17:49:57 +00:00
veego a8af3357f8 Import am-utils 6.0.6 2001-05-13 17:32:48 +00:00
wiz 71c1bdcfa5 Prefer long names for months; correct comment in resulting man page. 2001-04-27 00:02:23 +00:00
thorpej 99052484f4 Fix LP64 printf format problems. 2001-04-21 21:57:16 +00:00
drochner b7fc5a75b3 fix typo in instructions which had serious consequences as it seems
(the "generic" serial driver was not built)
2001-04-19 17:46:38 +00:00
mike 2e4a6df0d4 Change perl location from /usr/local/bin/perl to /usr/pkg/bin/perl. 2001-04-11 19:08:05 +00:00
wiz bc80fa8140 Fix typo. 2001-04-11 09:41:37 +00:00
wiz c73fe2d6a1 protocols(5), not (4). 2001-04-09 12:39:02 +00:00
wiz 8879e37ac5 reference uname(3) instead of (2) 2001-04-09 12:11:58 +00:00
itojun 69045197e1 previous buffer overrun fix was one-byte too restrictive. from jinmei@kame 2001-04-08 18:33:43 +00:00
tron bb87fe99b0 Correct section numbers: we don't have "3X", use "3" instead. 2001-04-08 14:13:38 +00:00
tron f535470624 Fix incorrect manual page section in ".TH" macro call. 2001-04-08 13:48:33 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun c6abd22023 avoid tp from going smaller address than buf. 2001-04-05 13:52:59 +00:00
simonb 7ae902c2b2 Fix a DoS attach (and possibly, but not confirmed, a root exploit) in
ntpd.

Fix from Poul-Henning Kamp and Dima Ruban from the FreeBSD tree, with
changes from Jason Thorpe to not overrun the end of the static buffer
and with syslog()ing the bad packets disabled so as not to DoS syslog.
2001-04-05 02:08:01 +00:00
mike fb2dc295a6 Resolve conflicts. 2001-03-26 06:11:46 +00:00
mike 204c25d632 Import IP Filter 3.4.16 2001-03-26 03:52:19 +00:00
christos 713e855d22 we are NetBSD -- we don't need stinking ncurses. 2001-03-13 16:30:39 +00:00
itojun a317219c0b copy "Version" file for import. 2001-02-11 07:04:20 +00:00
itojun 47b90546f9 BIND 8.2.3 2001-02-11 06:41:22 +00:00
jdolecek a88d50e63a call setlocale(3) on startup 2001-02-09 00:56:51 +00:00
jdolecek 7193677c62 cast the parameter to toupper()/tolower() to unsigned char, so that
this works with *p > 127
2001-02-09 00:56:18 +00:00
jdolecek 7f0ff9b2ee add GNU awk compatible functions systime(), strftime() and gensub()
XXX gensub() doesn't handle backreferences (\0 .... \9) yet
2001-02-08 20:42:39 +00:00
itojun 37ea810d37 BIND823 bug ID 1150: forwarders: it was possible to use freed memory. 2001-02-06 10:02:04 +00:00
jdolecek 5d05ca039b ytab.[ch] --> awkgram.[ch] 2001-02-05 19:07:57 +00:00
jdolecek 8bd0c1d510 use awkgram.h, generate constified printname[] and tokname() 2001-02-05 19:07:15 +00:00
jdolecek 1286145cd7 change to build/use awkgram.[ch] instead of ytab.[ch] 2001-02-05 19:06:02 +00:00
jdolecek 9f2789de82 regen with correct token numbers (since only in comment, this is cosmetic only) 2001-02-05 18:43:34 +00:00
jdolecek 9a78fc84e2 Import nawk 2000/11/15.
These files are not used for build, but are usable when one want to regenerate
proctab.c
2001-02-05 13:31:17 +00:00
hubertf 28adebea18 Add the -u flag to the usage message.
Foudn while fixing PR 12078 by Nigel Reed <nigel@nelgin.nu>
2001-02-02 03:35:24 +00:00
itojun b4eb727352 separately populate lib/{cylink,dnssafe} into basesrc/crypto/dist/bind. 2001-01-27 08:09:42 +00:00
itojun 93ea2d0c7a re-add md5 from BIND8 kit. lib/dnssafe does not compile without it. 2001-01-27 07:58:25 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
itojun 10a27e85b1 BIND 8.2.3 2001-01-27 06:15:38 +00:00
simonb 85213a5c3e Clean up wording slightly in previous. 2001-01-25 11:59:27 +00:00
itojun 8e11103138 document about ipf interaction with ipsec tunnel, and tunnelling devices.
(the behavior is netbsd specific)
2001-01-25 11:16:16 +00:00
garbled 50a5e07cd6 Add doupdate() call to drawCDKLabel so the widget actually appears on the
screen.
2001-01-24 08:50:36 +00:00
jdolecek e82124d4fa adapt to NetBSD build environment, constify a little 2001-01-23 22:26:02 +00:00
jdolecek adb545a48e Import nawk 2000/11/15, try #2.
This is the original New AWK from AT&T Labs as described in "The
AWK Programming Language", by Al Aho, Brian Kernighan, and Peter
Weinberger.

This would eventually replace gawk in our tree in future.
2001-01-23 22:14:07 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
lukem 286bcc01a3 don't use LOG_CONS 2001-01-11 02:58:05 +00:00
lukem 1509cd1434 #undef USE_LOG_CONS, to prevent openlog() being called with LOG_CONS.
there's no real justification for most programs to spam /dev/console just
because syslog can't talk to syslogd isn't available, especially chatty
programs such as bind.  (init, shutdown, reboot are probably exceptions here)
2001-01-11 02:39:43 +00:00
garbled 12a0ea436c Fix a problem in these widgets where they uncondititonally set the
exitType to either vEARLY_EXIT, or vESCAPE_HIT when returning from a bound
function.  This had the unfortunate effect that when you hit F2 to refresh
the screen in sushi, it would exit out immediately after refreshing the
screen.

This modification allows the programmer to still create an exit-causing
bound function, by simply setting the exitType in the function, as was likely
intended by the author.  Many thanks to Charles Hannum for helping me figure
this out.

This should fix problems noted by itojun on tech-userlevel with the function
keys.
2001-01-09 18:41:53 +00:00
hubertf 9934ff5271 Xref ipf.conf(5) 2001-01-07 04:33:47 +00:00
garbled 323dece9e0 Fixup all these includes so a -I/usr/include/cdk isn't required. 2001-01-05 01:11:34 +00:00
thorpej c792f5941a Remote a binary that was accidentally imported. 2001-01-04 22:09:58 +00:00
garbled b5243a9f8d Add KEY_CR to make up for KEY_ENTER being overridden by curses.h 2001-01-04 20:17:01 +00:00
garbled 619eef692f Patches to allow CDK to compile cleanly, and add KEY_CR, because curses.h
overrides the KEY_ENTER define in curdefs.h
2001-01-04 20:15:29 +00:00
garbled 5940edcfb4 Initial import of CDK 4.9.9. The work to port this was performed by
Charles Hannum, and that is the version being imported:
cdk-4.9.9-20000407-myc3
2001-01-04 19:57:58 +00:00
bouyer 3022cdc997 Now that the problem with TCP mounts is fixed, switch back to TCP mounts
by default. This allows to kill the hack that was added to work around
a problem with SunOS 4.x NFS servers.
2000-12-12 17:06:34 +00:00
wiz 728ab102b9 Make it compile with WAUDIT=2 and FORMAT_AUDIT set. Based on tips
by Bill Sommerfeld.
Also, don't change code that's not in our path (replacing vnprintf
with vsnprintf in !HAVE_VSNPRINTF case).
2000-11-21 01:35:36 +00:00
wiz e0fe90f71c Remove unneeded code (confirmed by christos). 2000-11-20 17:45:10 +00:00
wiz fb6c42da67 Re-integrate most changes done to amd in its old location (mostly
FORMAT_AUDIT related, and nits). (Thanks for the reminder, Jason!)
2000-11-20 03:19:33 +00:00
wiz 94943a1a30 am-utils import script, based on bind2netbsd and consorts. 2000-11-20 00:52:32 +00:00
wiz 0d632f7ea0 Merge changes to previous version and some NetBSD tag differences. 2000-11-20 00:02:56 +00:00
wiz 8a09ffd10e Import of am-utils-6.0.4 source for reachover build.
Changes: quoted RCS Ids in all files, added NetBSD's own in most,
and removed some easily regenerated files in doc/.
(amd2netbsd script will follow soon.)
2000-11-19 23:42:08 +00:00
itojun 08d2a7f10e don't undefine _res. _res is redefined to bind__res for avoiding
symbol conflict.
2000-11-13 20:58:29 +00:00
itojun 7da1bb7a9c synchronize with BIND 8.2.2-P7.
- resolve conflicts (there are many conflicts with $NetBSD$ tags -
  dunno why they happen).
- type pedant (couple of typecasts).

correct yacc-generated file handling.  remove bin/named/ns_parser.h,
use the header yacc generates at compilation time.
2000-11-10 09:56:56 +00:00
itojun 0f73fe0237 remove yacc-generated header 2000-11-10 09:51:03 +00:00
itojun 1dee783927 import LICENSE_RSA. maybe we should import other [A-Z]* too. 2000-11-10 09:41:14 +00:00
itojun 7992052d11 bind 8.2.2-P7 2000-11-10 09:33:54 +00:00
itojun 2ca8e58e8e remove $Header$ from original. remove yacc/lex generated files, which are
unnecessary for import.
2000-11-10 09:23:42 +00:00
lukem 51ea0cba47 remove unnecessary command name after .Nm 2000-11-07 05:51:54 +00:00
itojun 514b635ecc one more string format cleanup 2000-10-10 12:51:19 +00:00
itojun 296aa7c5a6 format string clarification (this does not compile on alpha without the fix) 2000-10-10 12:43:42 +00:00
is 890345ee05 Format string cleanups by Bill Sommerfeld. 2000-10-09 14:52:15 +00:00
is 7f029e5684 Format string cleanups by Bill Sommerfeld. 2000-10-08 20:03:12 +00:00
is 8a1fd03ca4 More format string cleanup by sommerfeld. 2000-10-08 19:56:12 +00:00
is 5b6de67306 Format string cleanups by Bill Sommerfeld. 2000-10-08 19:41:16 +00:00
is 0040b133c2 Format string cleanup by sommerfeld, with a correction by myself. 2000-10-08 10:03:11 +00:00
is 170b9a3198 Format string cleanup from sommerfeld. 2000-10-08 09:53:43 +00:00
mrg 0a190e7396 do not #undef _res; we want to get any #define our local resolv.h has.
fixes last part of PR#10651.
2000-08-14 11:33:34 +00:00
mrg eb02116cbb prefix all symbols with "bind_" to avoid conflicting with libc symbols of
the same name.  programs should keep out of __* land, anyway... fixes most
of PR#10651.
2000-08-14 11:31:56 +00:00
veego b3d0df91fb Resolve conflicts. 2000-08-09 21:00:39 +00:00
veego dd200b1b9b Import IP Filter 3.4.9 2000-08-09 20:49:40 +00:00
thorpej 6acc606aa4 Update to reflect that you don't need to explicitly do an
`ipf -E' in order to be able to use NAT.
2000-08-06 07:05:50 +00:00
simonb e9d46b4ab7 Use /usr/share/doc/html/ntp as location for html files.
Fixes part of PR bin/10613 from Jaromír Doleèek.
2000-07-23 14:30:54 +00:00
dogcow 17fd16762b pull up christos's amd patches that didn't make it into 6.0.3
(derived from diff'ing am-utils 6.0.1s10 and basesrc/usr.sbin/amd)
2000-06-16 02:10:12 +00:00
itojun 9e8ad51e02 mention lack of support in DNS query/reply over IPv6 transport,
since it seem to confuse people.
2000-06-14 05:54:30 +00:00
veego 5189b64cf6 Resolve conflicts. 2000-06-12 10:43:24 +00:00
veego 8a1de3e633 Import IP Filter 3.4.6 2000-06-12 10:21:51 +00:00
veego 068187d286 We can generate these files from am-utils.texi, so no need to waste space
here.
2000-06-09 22:06:25 +00:00
dogcow fda6698809 Import of am-utils-6.0.3 virgin source, with the following changes:
"$Id: blah$" => "Id: blah" (as well as for $Header:$) for all files
 "$NetBSD: $" added to the top of all .c and .h files
2000-06-07 00:52:18 +00:00
veego c02ef5cc85 Resolve conflicts. 2000-05-23 06:07:42 +00:00
veego 11120ba212 Resolve conflicts. 2000-05-21 18:53:54 +00:00
veego 8fcd61625e Rename ipnat.1 to ipnat.8. 2000-05-21 18:37:27 +00:00
veego ca37c80f5b Resolve conflicts. 2000-05-11 19:54:35 +00:00
veego b358e4a2ae Import IP Filter 3.4.2 2000-05-11 19:49:13 +00:00
veego b3f239a7bf Use unsigned long long and not long long for the change in Rev 1.6 and
also change the the printf format.
2000-05-08 13:07:56 +00:00
he cbc0b13fa7 Revert away from automatically generating port_ipv6.h, and install
a static once-generated version instead.  We know we have IPv6
headers available here.

The probing was problematical for several reasons:
 o it probed the host headers, not the headers in the build or DESTDIR
   tree (could be fixed in another way)
 o the probe_ipv6 script mucks with PATH, which would be problematical
   for cross compilation.
2000-05-06 16:07:42 +00:00
veego c1ae3e842e Add again out changes which get lost during the changeover to the dist
format and fix PR#8932 while I am here.
Thanks to Darren for letting me know that it was gone.
We should just move to mandoc, but that makes it harder to keep it in sync
with the releases, so I made the changes in the old format.
2000-05-06 15:39:02 +00:00
veego 4ca015c23a Add the -6 option to the usage output. 2000-05-05 21:49:47 +00:00
veego 280a47cc0a Again, fix a build problem on the alpha. 2000-05-05 20:59:17 +00:00
veego 0392fc75f8 Put the (long long) and (unsigned long long) casts back. 2000-05-04 19:55:44 +00:00
veego 6a6c8edcab Resolve conflicts and remove some files. 2000-05-03 11:40:15 +00:00
veego 4b794f4520 Import IP Filter 3.4.1 2000-05-03 10:57:43 +00:00
veego ba17d31cd0 Import IP Filter 3.4.1 2000-05-03 10:56:46 +00:00
veego 4a7aefb42e Import IP Filter 3.4.1 2000-05-03 10:55:27 +00:00
veego f737a9e1df Use find with -type f. 2000-05-03 10:50:03 +00:00
simonb 9c747bda1e Fix the <ieeefp.h> problem a different way - nothing actually uses the
contents of that header (the only file that includes it compiles to the
same object code on multiple architectures with or without including
<ieeefp.h>), so remove all references to it.

Fix sent to NTP maintainers - they will probably implement this change
after the immenient 4.1.0 release, but don't want to change it so close
to the release date.
2000-05-03 06:08:45 +00:00
simonb bc13e99292 Include rough instructions for importing new NTP release. 2000-05-03 05:38:19 +00:00
itojun b1c169c079 BIND 8.2.2-P5 2000-04-28 03:39:16 +00:00
itojun 194cb3f033 on a second thought dist/bind/doc/bog looks better.
(we may need to put other doc/* in the future)
2000-04-28 03:37:55 +00:00
itojun f947c881f2 populate doc/bog into dist/bind/bog. part of PR9997. 2000-04-28 03:34:00 +00:00
simonb ee70740431 Delete references to pictures. 2000-04-22 16:46:49 +00:00
simonb c4e79165b2 Fix compile warnings in new code. Patches for these sent to the
ntp maintainer.
2000-04-22 15:49:31 +00:00
simonb b41bfc0f81 Remove html/pic. 2000-04-22 15:07:06 +00:00
simonb 66dc2363f8 No pictures anymore (import script removes them). 2000-04-22 15:05:54 +00:00
simonb 0eed315b53 Resolve conflicts. 2000-04-22 15:04:49 +00:00
simonb 355d78599e Import ntp 4.0.99i 2000-04-22 14:51:59 +00:00
simonb 7d3a90fdd4 Move loadservers() prototype to a header file, so other files can see
that prototype.
2000-04-17 05:49:54 +00:00
simonb 85be272138 Include "ntp_stdlib.h" to get prototype for init_lib(). 2000-04-17 05:49:11 +00:00
simonb e2401d7bd1 Use UL on very large constant (~2.35G) instead of just U. 2000-04-17 05:48:36 +00:00
simonb 3674fb4596 Include <config.h> and check if DES is defined before building DES
routines.
2000-04-17 05:47:22 +00:00
simonb 5a9451ce52 Include <string.h> to get prototype for memcpy(). 2000-04-17 05:46:46 +00:00
kim 5c4de05899 The "-S" option was inserted in the middle of the "-s" option description. 2000-04-12 16:42:49 +00:00
simonb c428669622 *EXTREMELY* ugly NTP-specific html to mdoc converter. Not perfect, but
does all the manual stuff.  Suggestions welcome, criticisms accepted,
flames cheerfully /dev/null'd...
2000-03-29 13:52:35 +00:00
simonb 4ba759c886 Import ntp 4.0.99g 2000-03-29 12:38:44 +00:00
simonb a1a53b4fde Modified version of Bernd Ernesti's bind2netbsd to aid importing
ntp sources.
2000-03-29 12:25:55 +00:00
itojun 97cd11ff66 need string.h for prototype of memset(). fixes build breakage on alpha.
From: Tim Rightnour <root@garbled.net>
2000-03-02 18:08:44 +00:00
itojun 548cc318ca do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
veego 2d3095efd5 Resolve conflicts. 2000-02-01 20:31:10 +00:00
veego 94ab8b0b92 Import IP Filter 3.3.8 2000-02-01 20:11:02 +00:00
veego f244c7cfd2 Handle syssrc/sys/netinet and syssrc/sys/lkm/netinet/if_ipl 2000-02-01 20:05:54 +00:00
darrenr 8a68eee934 update ipfilter code to 3.3.6 1999-12-28 07:40:12 +00:00
darrenr 0d8c216398 update DARRENR branch of dist/ipf to 3.3.6 1999-12-28 07:21:58 +00:00
garbled 3bc0a706ac Add CPPFLAGS so this can be cross-compiled. 1999-12-24 19:11:25 +00:00
veego e230b103d6 Cast a sizeof to int to compile it on the alpha. 1999-12-12 12:35:32 +00:00
veego c2ad4767aa Rename ipnat.1 to ipnat.8. 1999-12-12 10:30:46 +00:00
veego 9ee576a049 We can't keep these files here:
- we need them in the syssrc set to compile a kernel
- we don't want two copies of the same file in our tree
1999-12-12 07:41:53 +00:00
veego a9f63e9e3e Add the mediaone example. 1999-12-11 23:51:45 +00:00
veego 193a383152 Add /usr/share/examples/ipf/mkfilters and correct the .TH name: s/IPF/MKFILTERS/. 1999-12-11 23:50:46 +00:00
veego d8fd135831 Remove dlpi(7p) 1999-12-11 23:47:56 +00:00
veego 03b4f76190 s/y.tab.h/iplang_y.h/ 1999-12-11 23:47:02 +00:00
veego 0c5b046721 Resort the the manpage references and remove snoop(1m), etherfind(8c) and
dlpi(7p).
1999-12-11 23:44:13 +00:00
veego c8ce5f6de5 Add /usr/share/examples/ipf 1999-12-11 23:42:10 +00:00
veego 5b8f105a7e Remove reference to snoop(1m) and etherfind(8c) 1999-12-11 23:40:29 +00:00
veego d4a59b90a2 Add /usr/share/examples/ipf 1999-12-11 23:39:12 +00:00
veego 87ae120ca4 s/vmunix/netbsd/ 1999-12-11 23:38:43 +00:00
veego cde8d7627b Print quads with (long long). 1999-12-11 23:33:07 +00:00
veego ff39c2bbab Add RCS Ids. 1999-12-11 23:22:14 +00:00
veego b921579f5f We don't need these files. 1999-12-11 22:49:33 +00:00
veego b4214f674a Inital import of IP Filter 3.3.5 under the dist directory. 1999-12-11 22:23:57 +00:00
veego ce88211af9 New script which only change the RCS Ids. 1999-12-11 22:08:02 +00:00
christos e475708401 - Add missing .El's
- It is .Bl -hang not -ohang
1999-11-29 18:28:18 +00:00
veego 9f3c20bc0f Use the libc md5 function. 1999-11-28 17:39:06 +00:00
veego 7411de7164 Add the prototype of findzonesoa to fix the compile warning in ns_ixfr.c. 1999-11-21 10:40:10 +00:00
veego b1db7e28e8 Sigh, how many (void *) do I need to remove from this source code? 1999-11-21 10:31:22 +00:00
veego adecc3d422 Remove the (void *) in front of the sp->s_rfd. 1999-11-20 20:48:27 +00:00
veego a8baad4e90 Remove the (void *) in front of the ctx->sock. 1999-11-20 20:38:54 +00:00
veego 72b5f9504d Include <string.h> to get the prototype of memcpy. 1999-11-20 20:06:45 +00:00
veego f1ef51cf63 s/u_int32_t/size_t/ in line 324 to fix an LP64 problem. 1999-11-20 20:03:47 +00:00
veego 1b0bbfa434 Include <string.h> to get the prototype for memcpy. 1999-11-20 20:02:49 +00:00
veego 9536c9fbfd Automatically generated files. 1999-11-20 19:19:12 +00:00
veego 2a9ceca3f0 We don't need this include files. 1999-11-20 19:17:46 +00:00
veego 1506ac921f Disable the '#undef _res', otherwise namespace.h doesn't work here. 1999-11-20 19:16:55 +00:00
veego da9f827186 Define RES_SET_H_ERRNO differently because we don't use IRS and disable
some defines which needs to be defined in namespace.h and not here.
1999-11-20 19:15:54 +00:00
veego 1fa9723fe7 Disable IRS and include namespace.h. 1999-11-20 19:14:30 +00:00
veego ad4f1fc630 Don't call irs_destroy. 1999-11-20 19:14:00 +00:00
veego 7060f068de s/__sym_ntos/sym_ntos/ 1999-11-20 19:13:29 +00:00
veego 8520a92669 Fix LP64 problem. 1999-11-20 19:12:58 +00:00
veego 7be5838fa4 Add NetBSD RCS Id's. 1999-11-20 19:03:47 +00:00
veego 7532ce689d Import bind 8.2.2-P5. 1999-11-20 18:53:57 +00:00
veego bcc2749f56 Fix some runtime problems. 1999-11-20 18:21:56 +00:00
veego dbbab5f7ca Add nsupdate.8. 1999-11-20 18:05:24 +00:00
veego 495dfc4a09 Add LICENSE and README.
Remove lib/cylink and lib/dnssafe.
1999-11-19 22:49:37 +00:00
veego 19a670f98b Don't remove lib/irs now. 1999-11-19 18:04:11 +00:00
veego 5ab88d802c Copy prand_conf.h and add the helper programm probe_ipv6. 1999-11-17 21:18:03 +00:00
veego e3d814876c Remove lib/bsd and lib/irs before we import it. 1999-11-14 16:37:20 +00:00
veego 482b2adc6e Avoid expanding NetBSD RCS IDs. 1999-11-14 16:27:08 +00:00
veego 5437a4d764 Don't create the bind4 compat scripts for reload and restart here.
They will be created by an import which also contains the manpages.
1999-11-14 08:04:34 +00:00
veego 31806433e4 First version. This makes it easier to import a newer version of bind
under basesrc/usr.sbin/bind.
1999-11-12 23:58:56 +00:00