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
pooka
dab8aad33e
conflicts begone
2004-03-23 08:40:11 +00:00
pooka
e3a02bec05
file 4.08: bugfixes 'n more magic 'n stuff
2004-03-23 08:31:19 +00:00
jdolecek
f7461cc453
make the fallback to *SMBSERVER actually work (tested against Windows NT
...
share)
this fixes PR kern/23401 by Hubert Feyrer for real, and also fixes
PR kern/20991 by Robert Vargason
2004-03-21 12:30:51 +00:00
jdolecek
55447aba3b
change the default SMB share owner - when run by non-root, use same uid as
...
the owner of the mount point (or user specified via -u); this is necessary
to succeed the permission check in the kernel SMB share code
owner setting via -O would still apply, but it's now not necessary when
doing non-root mount
2004-03-21 08:35:18 +00:00
jdolecek
b717338fee
clarify the error message when the open of /dev/nsmb* fails
...
enable the check for cloned /dev/nsmb, to simplify eventual future switch
to cloned /dev/nsmb device
use compile time string concatenation for one constant string
2004-03-21 07:16:39 +00:00
jdolecek
f72b1e5951
automatically fallback to server name *SMBSERVER if using -I and initial
...
request fails
fixes PR bin/23401 by Hubert Feyrer
2004-03-20 08:55:00 +00:00
martti
bbf6758e00
Added IPFilter 4.1 support
2004-03-18 16:51:39 +00:00
jdolecek
638863d716
convert to using the libc iconv rather than trying to load libiconv.so
2004-03-01 07:46:33 +00:00
drochner
e917a2fcb1
ignore 0.0.0.0 interface addresses (dhclient leftovers)
2004-02-26 18:17:13 +00:00
jdolecek
10677fb827
switch nb_resolvehost_in() to getaddrinfo()
...
g/c commented out nbns_*() functions, they are implemented elsewhere
2004-02-21 10:09:01 +00:00