Commit Graph

182 Commits

Author SHA1 Message Date
cgd 0c1dd0740a update for ipf/Makefile LDSTATIC changes 1998-03-03 19:24:27 +00:00
cgd 5de00677ba fix the "Back out the ipnat static change." commit (rev 1.18). Bernd
accidentally clobbered ipf's LDSTATIC/BINDIR defn's, instead of ipnat's.
(Noticed when he reminded me to update the script for my ipf LDSTATIC
changes.)
1998-03-03 19:23:16 +00:00
thorpej a14f3dad40 Fix printf formats on Alpha: cast quads to long long for printing w/
%qd.
1998-03-03 07:35:50 +00:00
cgd 8aaf609a0a allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:42:25 +00:00
mikel e134619946 must track changes to src/sys/lkm/netinet/if_ipl/Makefile here 1998-02-06 06:44:47 +00:00
christos c27c461ff9 Use strftime. 1998-02-04 15:27:28 +00:00
veego 48b59e11c5 Back out the ipnat static change. 1998-01-24 19:15:04 +00:00
veego ccd79b8dca Update for the static ipnat programm. 1998-01-23 22:34:12 +00:00
veego a0f14625a7 Build ipnat statically and install it into /sbin. Fix pr4879. 1998-01-23 22:32:08 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
veego 65e263edc6 You can't use %\ns in a fprintf. 1997-12-21 13:35:34 +00:00
darrenr 19ab75620c add missing \n's for fprintf 1997-12-21 12:53:01 +00:00
christos 16c7b8eb7e PR/4569: Phil Nelson: inconsistent documentation / examples. 1997-12-20 20:36:04 +00:00
christos 24ef784453 PR/4383: Martin Husemann: ipnat fails to mention file name on open errors 1997-12-20 20:29:12 +00:00
christos 5e54e11fbe PR/3830: Enami Tsugutomo: ipnat -l prints netmask in dot-notation even if
contiguous.
1997-12-20 20:18:47 +00:00
christos 96b7728cb2 PR/3576: Enami Tsugutomo: getline overruns and bugs 1997-12-20 20:07:47 +00:00
veego e7c9edc89c - New FILES section for /dev/ipauth, /dev/ipl and /dev/ipstate
- Add ipl(4), ipmon(8) and ipnat(8) to the SEE ALSO section
1997-11-24 14:39:27 +00:00
veego c72cabd3ae - Add /dev/ipauth, /dev/ipl, /dev/ipstate and /usr/share/examples/ipf
to the FILES section
- Add iptest(1), ipf(4), ipnat(5) and ipfstat(8) to the SEE ALSO section
- s/ipftest(8)/ipftest(1)/
1997-11-24 14:38:34 +00:00
veego cb4b3eba6c - New FILES section for /dev/ipauth, /dev/ipl, /dev/ipnat and /dev/ipstate
- Add ipl(4) and ipnat(4) to the SEE ALSO section
1997-11-24 14:36:27 +00:00
veego 0845d43628 Add ipsend(5) and resort the SEE ALSO section. 1997-11-24 14:35:52 +00:00
veego 398c9613b6 Add ipsend(1), iptest(1), hosts(5), protocols(5), and services(5) to the
SEE ALSO section.
1997-11-24 14:34:40 +00:00
veego 72c99f0790 s/ipsend(1)/ipsend(5)/ 1997-11-24 14:33:14 +00:00
veego ec33220e8b - remove the the empty FILES section
- s/ipresend(1)/ipsend(1)/ and add ipsend(5)
1997-11-24 14:31:30 +00:00
veego 111d2c1172 - New FILES section for /dev/ipnat and /usr/share/examples/ipf
- Remove ipftest(1) from the SEE ALSO section
1997-11-24 14:30:02 +00:00
veego d58e05351c - Add /dev/ipnat and /usr/share/examples/ipf to the FILES section
- Add hosts(5), services(5) and ipf(8) to the SEE ALSO section
1997-11-24 14:28:33 +00:00
veego e8363d9e81 New FILES section for /dev/ipnat and move the BUGS section at the end. 1997-11-24 14:27:45 +00:00
veego da4678c8db - Add /dev/ipnat and /dev/ipstate to the FILES section
- Add ipl(4) and ipnat(8) to the SEE ALSO section
1997-11-24 14:27:14 +00:00
veego a8799fada7 remove the empty FILES section and resort the SEE ALSO section 1997-11-24 14:26:17 +00:00
veego 04c6eee3a5 - s/vmunix/netbsd/
- s/ipl/ipstate/
- Add /dev/ipstate to the FILES section
1997-11-24 14:25:28 +00:00
veego be87239f57 Remove the reference to snoop(1m), etherfind(8c) and dlpi(7p). 1997-11-24 08:35:44 +00:00
veego 89b8e7ca72 Remove the refernce to etherfind(8c). 1997-11-24 08:34:35 +00:00
veego 754a245e76 Sync with the ipresend changes. 1997-11-23 23:20:08 +00:00
veego 6e1753fbee Add the ipresend directory and sort the SUBDIR entries. 1997-11-23 23:14:34 +00:00
veego 8e1315283a Add ipft_pc.c to the SRCS line to fix a build error. 1997-11-23 23:06:32 +00:00
veego 68c9310ae3 s/IPF/MKFILTERS/ and add a FILES section. 1997-11-23 22:12:03 +00:00
veego 95fbaa5446 Fix the SEE ALSO section:
old: ipfstat(1), ipftest(1), ipf(5), mkfilters(1)
new: ipf(4), ipf(5), ipfstat(8), ipftest(1), mkfilters(1)
1997-11-23 21:58:51 +00:00
veego 77f0313d88 Fix the SEE ALSO section:
old: ipf(1), ipftest(1), mkfilters(1)
new: ipf(8), ipftest(8), mkfilters(1)
1997-11-23 21:58:28 +00:00
veego 47f9129923 Fix the formated SYNOPSIS section and fix the SEE ALSO section:
old: ipfstat(1), ipf(1), ipf(5)
new: ipf(5), ipf(8), ipfstat(8)
1997-11-23 21:57:55 +00:00
veego 95eb61a865 Remove the reference to dlpi(7p). 1997-11-23 21:57:02 +00:00
veego e805977ac0 This is section 8 and not 1.
Fix the SEE ALSO section:
old: ipfstat(1), ipftest(1), ipf(1), ipnat(5)
new: ipnat(5), ipf(8), ipfstat(8), ipftest(1)
1997-11-23 21:56:00 +00:00
veego 24ef9d9374 Fix the SEE ALSO section:
old: ipnat(1), ipf(5), ipnat(4)
new: ipf(5), ipnat(4), ipnat(8)
1997-11-23 21:55:30 +00:00
veego f70c10d1d4 Fix the formated SYNOPSIS section and fix the SEE ALSO section:
old: ipfstat(1), ipf(1), ipf(4), ipnat(5)
new: ipf(4), ipf(8) ipnat(5), ipnat(8), ipfstat(8)
1997-11-23 21:55:00 +00:00
veego 78cd44279b Fix the SEE ALSO section: ipf and ipfstat are in section 8 and not in
section 1.
1997-11-23 21:05:38 +00:00
veego 91cc2be060 Fix the SEE ALSO section: ipf(8) and not ipf (1) 1997-11-23 21:01:58 +00:00
veego ca3ac8917a update for mkfilters(1). 1997-11-23 20:59:42 +00:00
veego 423fabec06 Remove the '.if make(install)' for the rules subdirectory to build the
manpage for mkfilters.
1997-11-23 20:56:35 +00:00
veego 02effaf52c Add the mkfilters perl script and the manpage for it. 1997-11-23 20:54:14 +00:00
veego 69b4e69ea3 import missing files from ip-filter 3.2.1 1997-11-23 20:46:46 +00:00
mrg 732e64a580 fix PR#4412 (from darren reed). 1997-11-18 06:09:25 +00:00
mrg 8ad67291ce document -F s (from darren reed). 1997-11-17 14:57:47 +00:00
mrg d2143111bd merge ip-filter 3.2.1 1997-11-14 12:57:55 +00:00
mrg 61cbfaca09 import ip-filter 3.2.1 1997-11-14 08:03:01 +00:00
veego 84123ddbb6 - s/samples\/ipf/examples\/ipf/
- Added missing ipf examples from the import of 3.2
1997-11-13 09:46:41 +00:00
veego 67ed3b4d0c Add the ipftest.1 manpage. 1997-11-11 10:14:42 +00:00
veego 5048b71642 Fix some manpage section numbers and remove the SEE ALSO entry for
snoop(1m).
1997-11-11 10:11:19 +00:00
mrg dc05f41d80 add missing .Nm sections 1997-11-11 10:07:34 +00:00
veego 13cfd2b17f Updated for the missing ipftest.1 manpage. 1997-11-11 10:07:31 +00:00
veego 525c710d19 import a missing manpage from ip-filter 3.2 1997-11-11 10:02:25 +00:00
thorpej 3d2b522093 Don't prototype ether_aton() here if __NetBSD__. 1997-11-08 05:57:15 +00:00
enami af29cb2306 Sync with release branch so that it compiles.
- include arpa/inet.h in ipsopt.c
- declare yyerror() in iplang_l.l
1997-11-01 09:12:21 +00:00
mrg 60c28e1f95 sigh. merge ipfilter 3.2 onto the trunk. merge to the branch was a mistake. 1997-10-30 16:08:54 +00:00
mrg 44c002beb1 import ip-filter 3.2 1997-10-30 05:27:24 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
mrg 74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
mycroft b1f70b30ce Byte-swap the ethernet type field as required. From Dave Huang in PR 4215. 1997-10-08 16:57:04 +00:00
thorpej d10050d5b9 sizeof() returns a size_t which is an unsigned long on the Alpha. We have
to use %lu and a cast to u_long to print these in a portable way.
1997-09-25 01:45:14 +00:00
veego 968d3837cd We no longer need this header file. 1997-09-21 18:13:28 +00:00
veego c505e9ce05 GC. 1997-09-21 18:12:01 +00:00
veego 4508fb4354 Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 18:00:54 +00:00
veego 6a116d459c Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 17:02:33 +00:00
veego 985ac74a98 Import ip-filter 3.2beta5 1997-09-21 16:47:50 +00:00
veego 4f72ff44fd Changes for ipf 3.2beta5:
- Add the main Makefile and Makefile.inc for src/usr.sbin/ipf
- New rules subdirectory
- Remove a include directory from ipftest/Makefile
- Add a MLINKS for ipnat.5 -> ipnat.conf.5
- Add new Manpages: ipresend.1, ipsend.1, ipsend.5, iptest.1
- Add new iplang files for src/usr.sbin/ipf/ipsend
- Copy the tcpip.h. It has now a BSD license and remove a comment about it
- Add ip_log.c to sys/lkm/netinet/Makefile
- Add *.y and *.l files to the list of transformed files
- Remove the ipsend.h fix because we now use only one ip_compat.h
- Fix file and directory permissions during the import
1997-09-21 16:34:31 +00:00
mrg f4d8afa436 make a link from ipf.5 to ipf.conf.5 1997-09-16 02:06:41 +00:00
thorpej d190114742 Use the _correct_ version of ip_compat.h. (Why there are two very different
files in the IP Filter distribution called "ip_compat.h", please don't
even get me started on.)
1997-07-06 22:48:19 +00:00
thorpej 808fe191ef Need ip_auth.o 1997-07-06 22:34:34 +00:00
thorpej 3eb73cbc72 ipftest needs ip_auth.o 1997-07-06 22:33:46 +00:00
thorpej 7a42fa660c Update for new ip_auth.* files. (This should be done BEFORE running
it on a tree for import.)
1997-07-06 05:09:04 +00:00
darrenr 7cf4820f1c these files are already found in /sys/netinet 1997-07-05 06:46:10 +00:00
darrenr 729f0dc597 fix conflicts from import 1997-07-05 05:38:14 +00:00
darrenr 3c3c919d28 import 3.2beta1 IP Filter sources 1997-07-05 05:12:39 +00:00
thorpej 153eb09cc6 Avoid type-size problems converting a pointer (in kernel memory) to
an off_t passed to lseek() (used for reading kernel memory).
1997-05-28 03:08:40 +00:00
thorpej 643e2915e1 Add a comment about why we don't copy ipfilter's tcpip.h. 1997-05-28 03:05:55 +00:00
thorpej 30c04b997f We cannot use the tcpip.h that comes with ipfilter, as the license on
that file does not allow redistribution; use the version in <netinet/tcpip.h>
instead.  FIXME WHEN A NEW tcpip.h IS INCLUDED WITH IPFILTER!
1997-05-28 03:04:44 +00:00
thorpej c4aac2cbce Resolve conflicts from merge of 3.2a7, take 2. 1997-05-27 22:51:36 +00:00
thorpej 57d41e13fb Resolve conflicts from merge of 3.2a7, take 2. 1997-05-27 22:34:05 +00:00
thorpej f265273d8b Correct several mistakes:
- Don't make copies of ip_frag.c, ip_state.c, and ip_nat.c for ipftest.
  These should be .PATH'd in from sys/netinet.
- Get paths to ipmon and ipnat correct when we copy the manual pages.
- ipsend/ipresend/iptest actually live in the "ipsend" subdirectory
  of the ipfilter distribution.  Take this into account when copying
  the sources.
- Add ip_proxy.h to the list of #include directives that we fixup.
- ipsend.h needs to include a copy of ip_compat.h that is private
  to ipsend/ipresend/iptest.  Perform a fixup on that file to take
  that into account.
- Clean up any CVS residue from the conversion process.
- Update Makefile output to reflect new .PATH directives, etc.
1997-05-27 22:24:25 +00:00
thorpej a920c55e26 ipfilter2netbsd did not produce correct output for last import of
3.2a7.  Re-import it now that ipfilter2netbsd is fixed.
1997-05-27 22:16:47 +00:00
thorpej 772cb9b986 Don't make separate copies of these files; .PATH them in from sys/netinet. 1997-05-27 22:01:47 +00:00
mrg a307477d27 strip dollar signs from incoming RCSids 1997-05-27 07:16:24 +00:00
darrenr 24ca7d0e94 fix rcsid conflicts 1997-05-26 15:16:38 +00:00
darrenr 87427f3d2e fix conflicts 1997-05-25 12:04:53 +00:00
darrenr 2cae843bdc Import version 3.2alpha7 1997-05-25 11:45:50 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
mrg 78c51899a9 use ${.CURDIR} correctly. from enami tsugutomo in pr#3582 1997-05-07 13:20:40 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mrg a3ca95f80d move ipfilter2netbsd, and remove extra copies of opt.c that got added. 1997-05-04 15:10:36 +00:00
veego 8071a0d69a Remove a . 1997-05-04 09:52:49 +00:00
thorpej e612682b6c getopt() returns an int, not a char. 1997-04-19 06:27:03 +00:00
thorpej 95a1173e37 icmpcode() returns an int, and, more importantly, -1 on failure. So,
make this work on systems with unsigned chars by placing the return
value of icmpcode() in a temporary variable, checking for failure, and
then only setting fil.fr_icode (a char) upon success.
1997-04-19 06:25:10 +00:00