Commit Graph

729 Commits

Author SHA1 Message Date
enami
969da55f1c Don't call seteuid() before setuid() since it makes setuid() fails.
Actually, set[gu]id() changes effective ids also.  From Shoichi Miyake.
2004-07-09 08:27:38 +00:00
christos
b074ee3b58 Attempt to fix PR/25992 [protocol parsing] by bringing these files in from
4.1.2
2004-07-08 02:51:24 +00:00
darrenr
bbf97636b5 revert change of listen to Listen (probably a typo here) 2004-07-01 15:44:54 +00:00
darrenr
b8785aabcf Modify ftp-proxy to support both ipfilter and pf. It now requires at least
one command line option to specify which firewall it is meant to interact
with.  The implementation here puts the firewall specific code into separate
files with markers for future changes that could enable a fully transparent
mode for non-private network proxying.
2004-06-30 13:29:43 +00:00
christos
aa17268ea7 PR/25993: Grant Beattie: Ipf parser accepts invalid flags in rules 2004-06-29 22:33:25 +00:00
itojun
e090b691c1 pflog if support for tcpdump. Peter Postma 2004-06-29 04:46:35 +00:00
christos
6e1b89d727 80K of stack is not enough for a 64 bit machine, and we got crashes on
sparc64. change 20 * 4096 to 5 * 4096 * sizeof(void *). This is again
very little, but enough :-). If you see a crash again, don't blame the
nameserver code before you change this constant.
2004-06-29 04:16:37 +00:00
itojun
8f329619b8 spamlogd(8) 2004-06-25 16:34:45 +00:00
itojun
e197438eb7 $NetBSD$ 2004-06-25 16:27:02 +00:00
itojun
b4d647b66c PF from OpenBSD 3.5 2004-06-25 16:11:48 +00:00
wiz
94cdd0ee08 Add RCS Id. 2004-06-25 16:03:59 +00:00
wiz
5b3f28f7c5 Sort sections. 2004-06-25 16:02:49 +00:00
wiz
3a867d753d \*[Lt]\*[Gt] instead of "<>". 2004-06-25 16:02:23 +00:00
wiz
5e18189b4a \*[Lt]\*[Gt] instead of "<>". Use ftp.NetBSD.org as example host. 2004-06-25 16:01:22 +00:00
wiz
be3dbbb4c3 \*[Lt]\*[Gt] instead of "<>". 2004-06-25 15:59:03 +00:00
wiz
87e9965fb9 \*[Gt] instead of ">". 2004-06-25 15:57:50 +00:00
itojun
3b8461f315 let spamd use /var/chroot/spamd, not /var/empty 2004-06-25 15:54:31 +00:00
itojun
e3e62063f0 authpf from OpenBSD 3.5 PF 2004-06-25 00:06:09 +00:00
itojun
c03eb6b884 PF from OpenBSD 3.5 2004-06-24 23:25:29 +00:00
hannken
5356e2c1a9 Resolve printf arg/type conflict on sparc64.
Fix PR #26030 and part of #26012
2004-06-24 11:05:10 +00:00
itojun
8bc0b4b95d escape from old-ALTQ and new-ALTQ difference 2004-06-23 04:38:43 +00:00
itojun
9ec960c351 add ftp-proxy from PF OpenBSD 3.5. adjust setlists 2004-06-22 22:19:36 +00:00
itojun
625efb1994 PF from OpenBSD 3.5 2004-06-22 22:11:14 +00:00
itojun
f7c9d7b3eb make spamd compile on netbsd 2004-06-22 16:04:40 +00:00
itojun
c2d7a8642b spamd-setup, comes with PF for openbsd 3.5 2004-06-22 15:53:17 +00:00
itojun
bf0f75e934 PF from openbsd 3.5 2004-06-22 15:46:46 +00:00
itojun
ad399b67b8 PF from openbsd 3.5
massage pfctl to compile/run on netbsd.  put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
2004-06-22 15:16:29 +00:00
itojun
9e6c9caf46 PF from openbsd 3.5 2004-06-22 15:06:49 +00:00
dbj
3ce67e6c14 deal with editing partitions past the detected media size.
When deleting the final partition, truncate it to match media size.
Also handle creating new partitions beyond the existing partitions
if it is still within the media size.
2004-06-14 07:48:55 +00:00
mellon
ed5b9801d3 Don't log overly-long (>32 byte) client hostnames. 2004-06-11 19:54:02 +00:00
martti
09b9f88e19 Do no add NetBSD tags for IPv6 regression tests 2004-06-07 11:52:46 +00:00
christos
509e2f5c56 save another 4K, by not having a large text message and a segv handler
for SMALL.
2004-06-06 06:39:27 +00:00
jdolecek
fbac8027bb fix off-by-one use of gensub() index parameter, and treat negative
number to mean 'replace first match'; the index use is now fully
aligned with GNU awk

fixes PR bin/25543 by Richard Rauch
2004-06-05 12:01:28 +00:00
christos
c06c3a3172 PR/24989: Arto Selonen: ipfilter 4.1.1 does not behave according to rules
in ipf.conf
2004-06-03 20:32:40 +00:00
christos
fa159ed2be PR/25594: Arto Huusko: LP64 sign extension bug in ipnat.
Fix: change to ioctlcmd_t as suggested by darren.
2004-05-26 20:32:48 +00:00
christos
596171adc5 PR/24961: Arto Selonen: ipfilter 4.1.1 has problems parsing ipf.conf 2004-05-22 17:59:37 +00:00
christos
02a532d111 PR/25532: Geoff C. Wing: a bad icmp-type rule in /etc/ipf.conf can cause ipf
to segv upon parsing.
2004-05-22 17:19:25 +00:00
jmmv
4c2512fd51 Fix formatting of some options and a typo. 2004-05-21 22:31:52 +00:00
ross
4f01003841 Order some include conditionals to match code conditionals.
From Ian Taylor.
Posted to tech-toolchain.
2004-05-21 21:18:57 +00:00
christos
77e4a238b7 make this compile in the absense of threads. 2004-05-21 16:03:32 +00:00
itojun
e36da74472 support kame-style fe80::1%interface. this part of the code is marked as
"up to OS designer".  from bind9-current/patches.
2004-05-19 19:19:58 +00:00
christos
178bd22d01 unsigned int initialized to ULONG_MAX? jeez. 2004-05-18 03:08:24 +00:00
christos
b6ea89f1ee width arg in printf string must be int. 2004-05-18 03:08:00 +00:00
christos
4563e44b43 Include <sys/param.h> needed by <sys/sysctl.h> 2004-05-18 00:15:29 +00:00
christos
53a0028e47 Resolve conflicts 2004-05-18 00:03:56 +00:00
christos
1885fbb90d Import bind 9.3.0beta3 2004-05-17 23:43:04 +00:00
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