Commit Graph

683 Commits

Author SHA1 Message Date
christos
4c00db0b81 PR/24969: Arto Selonen: ipfs does not work at all with 4.1.1. Applied portion
of the patch that did not conflict with the previous commit. Darren should
take a look at it, and keep what it apropriate.
2004-05-10 00:50:07 +00:00
christos
191890ee3f PR/21334: Mike M. Volokhov: NAT halts on ipfs(8) restore in case of ftp
proxy used. Apply userland patch from this PR, since the kernel patch does
not match at all anymore, and seems to have been applied differently.
2004-05-10 00:36:19 +00:00
christos
a218a37d8f PR/25122: Peter Postma: ipfstat state top broken with IPv6 addresses
patch applied.
2004-05-09 04:12:03 +00:00
christos
e786da0edd PR/25365: HIROSE yuuji: ipf 4.1.1 fails to parse ipv6 address in fastroute
destination. Patch from darren applied.
2004-05-09 03:53:23 +00:00
itojun
937e8b0fbe add O_TRUNC to open(2). revision 1.11 used fopen(foo, "w") which implies
truncation of opened file.  it should suppress bogus "corrupted lease file"
warning and broken dhclient.leases staying around.
2004-05-06 09:07:54 +00:00
simonb
ff04be0dcd Remove unused (and completely bogus) SYSTEM_NAME define from
include/cdk_config.h
2004-04-26 05:15:17 +00:00
simonb
f8d7121559 Remove ./configure droppings. 2004-04-26 05:09:22 +00:00
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
pooka
d6085ff385 Remove wchar build kludges for FreeBSD<5 and NetBSD<1.6. The wchar
stuff is properly handled by configure now.
2004-04-19 13:55:53 +00:00
itojun
d74ab735f1 tcpdump can bomb w/ too big isakmp header fields.
http://www.vuxml.org/freebsd/40fcf20f-8891-11d8-90d1-0020ed76ef5a.html
2004-04-12 03:53:20 +00:00
darrenr
221fa57241 With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.)  In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
grant
144cb3e439 recognize data files created by Perl Storable module, from the output
of Storable::show_file_magic().
2004-04-10 08:58:02 +00:00
jwise
7a452cae15 Commit fix, from Darren Reed (darrenr@netbsd.org), for a functional regression
in the new ipf -- return_icmp_as_dest with an argument was no longer accepted
by the parser.
2004-04-09 20:39:22 +00:00
pooka
b6a1a17518 Apply patch from Christos to fix build on FreeBSD 4 2004-04-08 12:33:20 +00:00
pooka
34a84c1d28 update for 4.09 2004-04-08 12:30:24 +00:00
pooka
0fa4e65c16 the conflict peril was no more 2004-04-08 12:29:45 +00:00
pooka
5b7d7b4cbc file 4.09:
* (almost) fix toolbuild on platforms with a lacking wchar
* more magic
2004-04-08 12:21:54 +00:00
christos
dfa47cfea0 PR/25097: Kouichirou Hiratsuka: incorrect conditional -- misplaced ] 2004-04-07 20:27:54 +00:00
christos
33e4f3be32 Check refresh() error code and bail out if we lost the terminal.
From Julian Coleman
2004-04-07 17:28:54 +00:00
nakayama
083eb7818c Use _LP64 to indicate 64-bit platform, per suggestion on source-changes@. 2004-04-05 13:06:23 +00:00
wiz
3f41daaf5b Add patch to handle tabs correctly, from Peter Postma.
Closes my PR 16936.
2004-04-05 10:21:23 +00:00
nakayama
cf7c3ba713 s/__sparc_v9__/__sparc64__/
"gcc -m32 -mcpu=ultrasparc" defines __sparc_v9__, so __sparc64__ is
more appropriate to indicate a 64-bit environment.
2004-04-04 11:59:51 +00:00
mrg
8808c7e901 create the dhclient.leases file mode 600 for now as it may contain
"media" lines that contain wireless network keys, that eg, ifconfig(8)
carefully hides.

this is not a complete solution, but it's OK until one arrives.

approved by mellon@.  fixes the problem described in PR#22271.
2004-04-04 02:35:21 +00:00
mellon
47427353e5 Cut out some stuff that can't or shouldn't be defined in SMALL builds. 2004-04-02 22:53:15 +00:00
christos
a30cb1573a PR/17595: Peter Postma: SIGSEGV+SIGBUS handler calls functions that are not
async-signal-safe. Remove the handlers.
2004-04-02 16:11:17 +00:00
martin
d1af91eb0c ioctl(2) "request" arguments should be ioctlcmd_t, not u_int. 2004-04-01 09:26:12 +00:00
mellon
5bbdf02211 - If we find a lease in the lease file that matches a predefined lease,
and it's expiry time is earlier than the expiry on the predefined lease,
  don't nuke the predefined lease.
2004-03-31 19:05:18 +00:00
mellon
53b16d12a9 Document omapi port and omapi key 2004-03-30 20:05:01 +00:00
mellon
65489ae9e4 Add omapi key. 2004-03-30 19:41:35 +00:00
mellon
15943a0402 If an omapi key is configured, use it. 2004-03-30 19:40:58 +00:00
mellon
40a59b47b4 Add support for OMAPI KEY configuration. 2004-03-30 19:39:39 +00:00
pooka
194e44db4c Put some more wchar bandaid here for NetBSD 1.5
XXX: need to get a pullup for this when it's properly fixed
2004-03-30 10:12:33 +00:00
christos
91305f93d4 don't create unnecessary ifdefs that are due to character signness in
different platforms.
2004-03-29 03:15:47 +00:00
he
edd34d027d For portable printing of a size_t, use the 'z' format modifier.
Fixes compile problem on alpha.
2004-03-28 14:34:45 +00:00
he
521d2418ef For portable printing of u_quad_t, use PRId64 instead of %lld if PRId64
is available.  Fixes compile problem on alpha.
2004-03-28 14:33:35 +00:00
he
8cbdcc6bc6 Since the return value from openkmem() is not used as a token for
subsequent operations, just as a success/failure indicator, return
(kvm_f != NULL) instead of the non-portable cast (int)kvm_f.
2004-03-28 14:15:38 +00:00
wiz
afa0e7c2a8 Reapply fixes that got lost during 4.1.1 import. 2004-03-28 12:56:41 +00:00
martti
9fc8265a5a This is needed with /sys/netinet/ip_h323_pxy.c 2004-03-28 10:06:42 +00:00
martti
0df809a138 FILE REMOVED 2004-03-28 09:04:40 +00:00
martti
ad2b97f78f Added the original version 2004-03-28 09:03:12 +00:00
martti
621e9bac7f Sync with official IPFilter 2004-03-28 09:01:26 +00:00
martti
24d567d60d Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
martti
ad9b29ed97 Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
martti
a6eef7f88b Install ip_fil_netbsd.c instead of ip_fil.c into /sys/netinet 2004-03-28 08:45:02 +00:00
salo
83a553e89b Fix build on FreeBSD < 5.0.
From Alexander Yurchenko via netbsd-bugs.

Approved by pooka@, "I'll bug Christos to get it really fixed some day."
2004-03-25 15:00:24 +00:00
martti
7103cae5ac Do not install ip_fil_netbsd.c as dist/ipf/ip_fil.c 2004-03-23 21:07:47 +00:00
pooka
c40b96229f Breate some band-aid here: for some reason new autoconf wants to use
$(mkdir_p) which isn't defined anywhere.  So replace it with good ol'
$(mkinstalldirs) to fix problem with tools installation.
XXX: need to revisit this to discover true lossage.

Problem noted by Nick Hudson.
2004-03-23 15:49:53 +00:00
martti
695f848b03 Added ip_pptp_pxy.c 2004-03-23 12:23:54 +00:00
pooka
2665065f87 * be consistent in writable/executable probing
* use stat info properly when checking for regular file
2004-03-23 08:58:47 +00:00
pooka
ae16b8b42b update for 4.08 2004-03-23 08:40:36 +00:00