Commit Graph

283 Commits

Author SHA1 Message Date
Derrick Brashear
2502379d75 netinfo-fake-support-correction-20070112
fix NetInfo "f" line fake IP address support to work when either
1) NetRestrict file is in place or
2) existing sysid file does not list fake address
2007-01-12 05:18:52 +00:00
Derrick Brashear
4be015449d multiple-local-realms-20070105
FIXES 51104

do the correct check
2007-01-05 23:05:13 +00:00
Derrick Brashear
365351a161 taking-rx-back-into-the-20th-century-20061228
ken's patch is now on the ipv6 branch

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

restore deleted taddr declaration.

====================

ken's patch is now on the ipv6 branch
2007-01-02 17:17:49 +00:00
Jim Rees
b0ac8662ab fix-help-msg-20061031
Fix -help message, which was chopping off the "Usage: fileserver " part.
Get rid of silly private buffer and use stdio while we're at it.
2006-10-31 17:03:51 +00:00
Derrick Brashear
747a8d8f41 h-enum-r-avoid-extra-hold-20061008
FIXES 40699

avoid orphaning an extra hold
2006-10-09 04:15:45 +00:00
Derrick Brashear
c1d3a69976 copyonwrite-dont-assert-20060925
take it offline, don't assert.
2006-09-26 02:36:03 +00:00
Jeffrey Altman
de5f1c47e8 afsconf-leak-20060915
don't leak afsconf structs
2006-09-16 00:17:23 +00:00
Tom Keiser
914b2e27dc uae-avoid-dups-20060914
avoid duplicates in the errno space so we don't return the wrong error (something unexpected)
2006-09-15 00:58:24 +00:00
Derrick Brashear
5bc1ab6cfa pruclient-killer-logging-cleanup-20060905
vicelog this stuff instead of fprintf
2006-09-05 23:04:25 +00:00
Derrick Brashear
56bbd155db callpostamble-deal-with-null-host-20060905
FIXES 38566

don't dereference garbage when no host was set
2006-09-05 17:30:33 +00:00
Chaskiel M Grundman
96c22fdc0d salvage-zlc-20060903
make salvager deal with zero link count files
2006-09-03 06:50:12 +00:00
Derrick Brashear
60f1ed2d6d pruclient-killer-fix-20060824
FIXES 37251

yeah, i should commit the fix this time. not my day
2006-08-24 05:31:25 +00:00
Russ Allbery
3a34d8cb4f autoconf-likes-relative-paths-20060802
When using the install-sh that ships with the source tree, Autoconf
substitutes in a relative path just to be annoying.  Define the INSTALL
variables in each individual Makefile so that they find the proper file.
Remove the definitions from Makefile.config so that no one will
accidentally get the wrong ones.
2006-08-03 03:37:12 +00:00
Jeffrey Altman
62e6fc36b1 viced-sane-acls-bit-20060802
Add VICED_CAPABILITY_SANEACLS bit and -saneacls option to viced to
enable it.
2006-08-02 19:18:42 +00:00
Jeffrey Altman
80e88d6a80 viced-capability-writelock-20060801
add write loc king capability
2006-08-01 23:29:15 +00:00
Russ Allbery
8df5dcbc91 death-to-pinstall-20060801
Delete pinstall and convert the entire tree to use the install program
found by configure (falling back on install-sh in the local tree).  This
means that we have to pre-create directories with install -d.  Also redo
the install and dest rules to be lists of install rules rather than
dependencies driving separate make rules so that running make install will
always update the target directory with the current code, even if there are
files in the install area that are newer.

Stop installing libafssetpag; we're about to kill it in favor of a
different library.  Remove some djgpp rules.
2006-08-01 21:03:54 +00:00
Jeffrey Altman
14ed562c4b viced-checkrights-loglevel-20060719
increase the log level on the "CheckRights: len=%u, for host=%s:%d\n"
message to 5.
2006-07-19 15:41:48 +00:00
Jeffrey Altman
15963ecb34 viced-uninitialized-20060704
tcon in XStatsVersion.
2006-07-04 07:15:17 +00:00
Derrick Brashear
4478d3a99a ubik-call-sucks-20060703
ubik_Call's pseudo-varargs construction is hideous

put it out of its misery where possible
2006-07-04 04:50:46 +00:00
Derrick Brashear
791b214180 fileserver-hates-pruclient-20060626
right now there is one struct ubik_client shared by all threads in the fileserver, which sucks when one has it locked

let's, uh, fix that.
2006-06-27 04:16:46 +00:00
Jeffrey Altman
830756f8f7 windows-viced-cbd-20060624
don't break platforms other than Windows
2006-06-24 15:09:34 +00:00
Jeffrey Altman
d53a0a8d5e windows-viced-cbd-20060621
typo
2006-06-21 21:40:00 +00:00
Jeffrey Altman
f3a7cd67c5 windows-viced-cbd-20060620
build the callback debug utility
2006-06-20 23:09:46 +00:00
Jeffrey Hutzelman
06fa1f9c40 viced-findclient-do-not-return-wrong-client-20060620
In h_FindClient_r it was possible for the wrong client to be returned
and worse for it to be returned without the reference count being
incremented.
2006-06-20 21:00:09 +00:00
Rainer Toebbicke
efd74baa95 viced-deadlock-20060620
FIXES 34073

* checks for client == oldClient

* drops the H_LOCK prior to obtaining the WriteLock on oldClient
  in order to prevent a deadlock
2006-06-20 15:50:17 +00:00
Derrick Brashear
592d97f947 rxbind-for-servers-20060612
FIXES 32308

support -rxbind switch for servers
2006-06-13 01:28:48 +00:00
Chaskiel M Grundman
f6468e0f27 no-client-tcon-20060607
remove client->tcon and avoid locking issues
2006-06-07 05:56:55 +00:00
Jeffrey Altman
b30dcf9738 viced-swap-old-cbcon-diff-20060603
FIXES 32985

swap cbconn when other side changes IPs
2006-06-04 07:11:53 +00:00
Jeffrey Altman
69c7d8ae70 viced-host-mobile-client-20060505
Do not delete an old host entry because the UUID because the UUIDs
of the clients at the old addresses are wrong.  Remove the addresses.

Do not allow the same host,addr,port combination to be added into
the hash table multiple times.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Add some more logging

Do not allow 'code' to be re-used for probing the uuid of the old host
primary address because we are relying on the value of 'code' to indicate
whether or not RCallBackConnectBack failed.  If it did, we mark the
client as VENUSDOWN, if not we marked it as RESETDONE.

====================

log the old addr, not the new one
2006-05-13 15:22:20 +00:00
Derrick Brashear
bcabba9941 viced-writevalloc-dont-vtakeoffline-20060510
random errors shouldn't take the volume offline
2006-05-10 05:51:41 +00:00
Jeffrey Altman
ada9819fd6 viced-host-logging-20060505
another place where dotted notation and port numbers were not being used
in log output.
2006-05-05 17:27:21 +00:00
Ken Hornstein
9b6343e203 bringing-rx-into-21st-century-20060504
Large series of changes to replace the use of afs_uint32 for IP address
with struct sockaddr_storage in Rx.  May even work with IPv6, but only
tested with IPv4.  Significant change to internal APIs; existing external
APIs kept, new ones added that take struct sockaddr_storage arguments.
2006-05-04 22:23:17 +00:00
Jeffrey Altman
ea3ed375e8 viced-hcps-logging-20060504
log whenever a client host does not have an hcps value.

log the host by dotted ip-addr and port number
2006-05-04 05:54:19 +00:00
Jeffrey Altman
ecdc5aca34 viced-write-locking-fix-20060425
According to src/libacl/prs_fs.h the PRSFS_LOCK privilege is only supposed
to control read-locks.  The PRSFS_WRITE and PRSFS_INSERT privileges are
supposed to control write-locks.
2006-04-25 07:40:48 +00:00
Jeffrey Altman
9817af2a81 viced-store-data-validate-input-20060408
The old StoreData RPC is only supposed to be valid for files
smaller than 2GB.  When StoreData64 was added, StoreData and StoreData64
were implemented as calls to common_StoreData64.  This removed the bounds
checking on the old StoreData RPC making it possible for operations
beyond two 2GB to be requested even if the file server cannot support
them.  This patch adds a validity check to ensure that the requested
file operations remain below 2GB.  Failures return E2BIG.
2006-04-08 20:40:15 +00:00
Jeffrey Altman
78bb852509 xstat_fs-fix-20060407
as pointed out by cg2v@andrew.cmu.edu the addition of performance
collection data for the GetCapabilities RPC broke backward compatibility
with previous builds because it altered the size of the data structure
sent on the wire.

Instead we count the number of GetCapabilties calls but do not gather
performance timing data as this can be done using spare fields.
2006-04-07 06:34:26 +00:00
Derrick Brashear
54ce580ef3 time-t-casting-fixes-20060404
FIXES 15169

hopefully the rest of this
2006-04-04 21:51:13 +00:00
Derrick Brashear
d387dba5ef viced-gethostcps-byte-order-20060328
don't call GetHostCPS after swapping away from net byte order
2006-03-30 17:27:52 +00:00
Derrick Brashear
2c96a91ba4 viced-client-keep-conn-ref-20060329
FIXES 28966

keep a ref on the conn the client has a pointer to
2006-03-29 06:26:49 +00:00
Derrick Brashear
1904db3fa3 viced-gethostcps-byte-order-20060328
don't call GetHostCPS after swapping away from net byte order
2006-03-29 05:13:58 +00:00
Tom Keiser
51ec267011 dafs-20060317
FIXES 26648

demand attach/fast restart fileserver
2006-03-17 19:54:26 +00:00
Jeffrey Altman
a8b82b1a74 viced-unspecified-host-hash-port-20060313
h_Alloc_r was not specifying the port for the newly allocated
host when adding the host to the hash table.  Use hashInsert_r
instead so mistakes like this won't happen in the future.
2006-03-14 00:33:14 +00:00
Chaskiel M Grundman
9afcb2529a viced-log-fix-typo-20060313
fix typo in addInterfaceAddr_r that is identical to the one that
was fixed by viced-log-fix-type-20060210 in removeInterfaceAddr_r
2006-03-13 20:53:14 +00:00
Jeffrey Altman
7b33107a9c multiple-local-realms-fix-20060313
Fix use of "=" instead of "==" in conditional.

Re-order parameters of afs_is_foreign_ticket_name for consistency
2006-03-13 15:09:40 +00:00
Jeffrey Altman
9b1fa66828 host-tossstuff-locking-20060309
the nonblocking locking was my fault.
2006-03-09 21:49:04 +00:00
Rainer Toebbicke
cc324ae065 xstat-fs-callbacks-20060309
FIXES 27912

add new collection with callback stats
2006-03-09 16:25:48 +00:00
Ed Moy
9f94892f8d darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard
2006-03-09 06:35:14 +00:00
Jeffrey Altman
f803153c99 viced-host-type-consistency-20060305
make sure all the types for host and port are consistent
2006-03-05 22:31:11 +00:00
Jeffrey Altman
3e70b7f365 viced-unsign-haddr-hport-20060304
haddr and hport should be unsigned
2006-03-05 05:36:40 +00:00
Jim Rees
3adadbb228 const-args-20060303
add const qualifiers to pr_Initialize and vl_Initialize args
2006-03-03 20:27:23 +00:00