PDOS

[uia] / trunk / uia / uianet / naming  

Log of /trunk/uia/uianet/naming

View Directory Listing Directory Listing


Sticky Revision:

Revision 3324 - Directory Listing
Modified Fri Jul 25 20:12:41 2008 UTC (16 months ago) by jastr
reprocess when the config changes

Revision 3218 - Directory Listing
Modified Thu May 22 18:05:52 2008 UTC (18 months ago) by jastr
change default format to be the old one, so unless
you're using the ssl engine, new format signatures
should be rare

Revision 3217 - Directory Listing
Modified Thu May 22 02:58:31 2008 UTC (18 months ago) by jastr
change the default record signature scheme to be pkcs1 v1.5, so that
it can work with tem-openssl generated signatures.  This means
that new records can't be read on non-updated installations, but
udpated installations will still be able to read old log records.


Revision 3216 - Directory Listing
Modified Wed May 21 21:11:57 2008 UTC (18 months ago) by jastr
add an attempt at record-signing primities -- not correct yet
though.

Revision 3215 - Directory Listing
Modified Tue May 20 21:42:39 2008 UTC (18 months ago) by jastr
named parses conf file (can now check for ssl engine, though still
need to implement that part)

Revision 2961 - Directory Listing
Modified Mon Jan 21 23:13:55 2008 UTC (22 months ago) by jastr
merge -r 2936:2939, -r 2940:2942 trunk/quanta08-demo branch->trunk.

Adds the ability (though no preset values) to reset to a
specific demo point, and a cmdline uialookup to debug
dns resolving.


Revision 2933 - Directory Listing
Modified Wed Jan 2 23:03:01 2008 UTC (22 months, 3 weeks ago) by jastr
merge -r 2919:2932 branch->trunk quanta08-demo -- uianamedctl does lookups

Revision 2913 - Directory Listing
Modified Mon Dec 24 17:42:32 2007 UTC (23 months ago) by jastr
merge -r 2881:2912 branch->trunk -- add script intros and cleanups

Revision 2628 - Directory Listing
Modified Tue Jul 31 02:49:37 2007 UTC (2 years, 3 months ago) by ctl
Revert premature branch push.

Revision 2626 - Directory Listing
Modified Mon Jul 30 23:03:23 2007 UTC (2 years, 3 months ago) by ctl
 r2835@brainchild (orig r2533):  ctl | 2007-05-31 15:58:44 -0400
 svk smerge did some bizarre merges.  Manually fixing.
 

Revision 2625 - Directory Listing
Modified Mon Jul 30 23:03:19 2007 UTC (2 years, 3 months ago) by ctl
 r2834@brainchild (orig r2532):  ctl | 2007-05-31 15:51:04 -0400
 pull changes from old branch into new svk branch
 

Revision 2615 - Directory Listing
Modified Mon Jul 9 20:14:17 2007 UTC (2 years, 4 months ago) by jastr
makefile fixes

Revision 2567 - Directory Listing
Modified Sun Jun 3 07:53:34 2007 UTC (2 years, 5 months ago) by jastr
_never_ look at timestamps on installed versions of files.
(tends to break horribly after switching branches)

Revision 2566 - Directory Listing
Modified Sun Jun 3 07:13:29 2007 UTC (2 years, 5 months ago) by jastr
logprint import fix

Revision 2518 - Directory Listing
Modified Wed May 30 21:19:21 2007 UTC (2 years, 5 months ago) by jastr
check for old installed versions of pkcs, x509 etc,
and complain if found.

Revision 2515 - Directory Listing
Modified Wed May 30 20:44:25 2007 UTC (2 years, 5 months ago) by jastr
another import fix


Revision 2514 - Directory Listing
Modified Wed May 30 20:44:04 2007 UTC (2 years, 5 months ago) by ctl
keep related things together


Revision 2512 - Directory Listing
Modified Wed May 30 20:31:32 2007 UTC (2 years, 5 months ago) by ctl
Try to fix version skew in least invasive way.


Revision 2511 - Directory Listing
Modified Wed May 30 20:03:25 2007 UTC (2 years, 5 months ago) by jastr
still broken, but the imports work now

Revision 2350 - Directory Listing
Modified Fri Apr 27 21:56:54 2007 UTC (2 years, 6 months ago) by jastr
don't write a pid file with 777 permissions,
also don't write it until the graph is loaded in

Revision 2349 - Directory Listing
Modified Fri Apr 27 21:32:11 2007 UTC (2 years, 6 months ago) by jastr
don't warn about string exceptions

Revision 2029 - Directory Listing
Modified Fri Apr 20 22:24:44 2007 UTC (2 years, 7 months ago) by jastr
successorship should be transitive

Revision 2028 - Directory Listing
Modified Fri Apr 20 22:04:27 2007 UTC (2 years, 7 months ago) by jastr
calc tests work again

Revision 2024 - Directory Listing
Modified Fri Apr 20 16:15:37 2007 UTC (2 years, 7 months ago) by jastr
- add a top-level readme
- move packaging stuff up a few levels
- readme fixes
- start of ubuntu packaging scripts


Revision 1845 - Directory Listing
Modified Fri Mar 30 16:03:49 2007 UTC (2 years, 7 months ago) by jastr
big reorg merge:
merge -r 1807:1841 branches/reorg branch->trunk

Revision 1808 - Directory Listing
Modified Mon Mar 26 17:07:30 2007 UTC (2 years, 8 months ago) by jastr
Original Path: branches/reorg/uianet/naming
Copied from: branches/reorg/naming revision 1807
new uianet subtree

Revision 1807 - Directory Listing
Modified Mon Mar 26 17:00:40 2007 UTC (2 years, 8 months ago) by jastr
Original Path: branches/reorg/naming
new reorg branch

Revision 1805 - Directory Listing
Modified Mon Mar 26 16:44:37 2007 UTC (2 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
merge branches/revocation -r 1715:1804 -> trunk

Revision 1409 - Directory Listing
Modified Wed Jan 10 22:05:09 2007 UTC (2 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
merge -r 1406:1408 branches/gc-logs 

Revision 1404 - Directory Listing
Modified Fri Jan 5 21:01:03 2007 UTC (2 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
bump the default timeouts

Revision 1403 - Directory Listing
Modified Wed Dec 13 17:49:52 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
rather than attempting to gossip every few seconds, named now
gossips:

 - whenever the set of peers changes
 - when local names change
 - every 10 minutes


Revision 1401 - Directory Listing
Modified Tue Dec 12 19:23:36 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
implementation for the eid->sids owned resolution

Revision 1399 - Directory Listing
Modified Fri Dec 8 20:44:36 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
fix a connection teardown bug, and start logging some basic garbage
collector stats

Revision 1398 - Directory Listing
Modified Thu Dec 7 20:29:34 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
don't send update notifications until _after_ the new records are 
written to disk

Revision 1396 - Directory Listing
Modified Wed Dec 6 22:15:55 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
rpc defined (not implemented) for mapping from eid to
namespaces it owns (could write to)

Revision 1394 - Directory Listing
Modified Wed Dec 6 20:42:15 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
send name notifications to all clients, not just the most-recently
registered

Revision 1393 - Directory Listing
Modified Wed Dec 6 19:54:24 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
ignore cancels pointing to non-existant records

Revision 1392 - Directory Listing
Modified Wed Dec 6 18:49:06 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
missing callbacks

Revision 1390 - Directory Listing
Modified Tue Dec 5 18:52:30 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
named now sends update notifications.  
This will probably break any named client other than ctl.
(dnspxy included?)


Revision 1389 - Directory Listing
Modified Tue Dec 5 17:16:28 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
byte-compiling old installed files is bound to go sour.

Revision 1387 - Directory Listing
Modified Fri Dec 1 22:33:50 2006 UTC (2 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
first chunk of changes to send notifications on namespace changes
(not all present yet, but this shouldn't break anything yet)


Revision 1385 - Directory Listing
Modified Fri Nov 17 22:01:05 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/naming
make install byte-compiles everything, and one random
error message

Revision 1357 - Directory Listing
Modified Fri Nov 3 16:55:20 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/naming
merge -r 1344:1356 branches/gossip -> trunk

- named no longer gossips all log records, now only sends
unseen ones

- still gossips all series, not just interesting ones

- update both sides to this version, not just one end


Revision 1349 - Directory Listing
Modified Thu Nov 2 04:36:57 2006 UTC (3 years ago) by baford
Original Path: trunk/uia/naming
Make lookups case insensitive while preserving case for display purposes

Revision 1343 - Directory Listing
Modified Thu Oct 26 22:42:14 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/naming
- remove some unneccessary log writes after gossip with no changes
- debugging bits for mynet



Revision 1342 - Directory Listing
Modified Thu Oct 19 19:23:47 2006 UTC (3 years, 1 month ago) by jastr
Original Path: trunk/uia/naming
complain if a device's only name in it's own series 
disappears
(I think this can happen rightfully, but for this is
 simpler)


Revision 1341 - Directory Listing
Modified Thu Oct 19 19:18:29 2006 UTC (3 years, 1 month ago) by jastr
Original Path: trunk/uia/naming
 - Implement the atomic rename rpc in uianamed.  

 - sync the named log on all writes (a few were missing)
   this could potentially reveal long lurking bugs elsewhere
 

Revision 1338 - Directory Listing
Modified Wed Oct 4 15:04:47 2006 UTC (3 years, 1 month ago) by jastr
Original Path: trunk/uia/naming
fix typo


Revision 1337 - Directory Listing
Modified Tue Oct 3 16:00:28 2006 UTC (3 years, 1 month ago) by jastr
Original Path: trunk/uia/naming
don't panic if the arg to expand sid is bogus

Revision 1336 - Directory Listing
Modified Wed Sep 27 19:33:24 2006 UTC (3 years, 1 month ago) by jastr
Original Path: trunk/uia/naming
merge -r 1210:1335 branches/revocation to trunk

This changes the on-disk log format and versions
(see yesterday's email for discussion)


Revision 1251 - Directory Listing
Modified Thu Aug 24 18:35:45 2006 UTC (3 years, 3 months ago) by jastr
Original Path: trunk/uia/naming
expand sid rpc added (untested though)

Revision 1200 - Directory Listing
Modified Wed Jul 26 19:57:52 2006 UTC (3 years, 4 months ago) by jastr
Original Path: trunk/uia/naming
nobody complained, so here goes.

merge n770 branch -> trunk
includes all of -r1159:1199


Revision 1171 - Directory Listing
Modified Mon Jul 10 20:56:45 2006 UTC (3 years, 4 months ago) by sjfoley
Original Path: trunk/uia/naming
Filled in gethostbyname stubs.  Under Debian Linux, correctly resolved names for local machine and peer device for Shaun and Sean.  See README for more.
This line, and those below, will be ignored--

M    nss_uia/nss_uia.c
M    nss_uia/Makefile
A    nss_uia/README

Revision 1149 - Directory Listing
Modified Mon Jun 19 18:32:09 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
- named side of the 'new group' button

- initial create records have timestamps
- some dead code pruning


Revision 1146 - Directory Listing
Modified Mon Jun 19 13:07:31 2006 UTC (3 years, 5 months ago) by baford
Original Path: trunk/uia/naming
NOTE: You'll need to re-run misc/setup and configure after this update.

UIA Control now runs standalone without a launcher script;
'make install' now installs it as /usr/local/bin/uiactl,
and on Mac OS X also places it in /Applications.
Can be dragged onto the Dock.
Also, debugging messages now go to /var/log/uia/uiactl.log.

In the process, I started adding a new named RPC to allow applications
to retrieve critical parameters like local host's device EID/devname/owner
which is probably really the right way to handle this stuff
instead of depending on magic text files and scripts;
then uianamed could also notify UIA-aware apps of changes in these parameters.
But then I got lazy and just perpetuated the current hacky approach instead.

Revision 1131 - Directory Listing
Modified Thu Jun 1 14:35:56 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
name uia names more dns compatible:

All link labels will arbitrarily converted to lowercase,
and spaces to underscores for purposes of display, comparison,
and everything other than verification and storage.

- there are certainly other problems with this approach, which we
  should revisit after next week.


Revision 1130 - Directory Listing
Modified Wed May 31 20:27:58 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
ramp up gossip interval

Revision 1129 - Directory Listing
Modified Wed May 31 20:26:24 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
cleanups, testcli useful again, named doesn't crash on
reverse lookups


Revision 1128 - Directory Listing
Modified Wed May 31 15:17:18 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
named don't crash on a new install

Revision 1126 - Directory Listing
Modified Mon May 29 19:17:44 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
merge works, though the results take a while to show up on each other end.


Revision 1125 - Directory Listing
Modified Mon May 29 17:26:20 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
disable checking friend distances.
 
 - nothing sets them now, and named cannot set them,
 as until gossiping is done, named doesn't know the 
 destination eid after an introduction.

 - attempt to gossip when router says peers changed


Revision 1124 - Directory Listing
Modified Mon May 29 16:04:04 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
renaming the root device in the gui propagates back to
the router name, though only after a restart


Revision 1123 - Directory Listing
Modified Mon May 29 15:26:25 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
- uiamyname can return names other than "mydev"
 
the other half of this -- noticing when my name
changes from "mydev" to something else, isn't present yet.


Revision 1122 - Directory Listing
Modified Mon May 29 14:58:23 2006 UTC (3 years, 5 months ago) by jastr
Original Path: trunk/uia/naming
license fixes, pruning


Revision 1120 - Directory Listing
Modified Fri May 26 18:41:22 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
- attempt to gossip only with immediate peers
- less verbose logging
- logprinter and uianamed logging cleanups


Revision 1119 - Directory Listing
Modified Thu May 25 08:11:34 2006 UTC (3 years, 6 months ago) by baford
Original Path: trunk/uia/naming
Fix another named crash

Revision 1115 - Directory Listing
Modified Wed May 24 22:05:50 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/naming
Added support for keeping track of the friendship distance of our peers in the
router.  This mainly involved changing the list item type of the routerprot
peers rpc and the routersrv peers rpc to include a friendship distance for
each peer (fdist).  The format of friend.db also changed.  When you update,
make, install, and restart, your existing friend.db will be cleared, but it
wasn't really doing anything anyway.

To specify that a peer is a direct friend, use 

  uiaroutedcmd friend <EID> yes

to specify that they're not, use

  uiaroutedcmd friend <EID> no

I've hacked the ctl code and named code to handle the new RPC formats.  

Brian, you might also want to add a column to the peers table in the GUI that
shows the friendship distance of each peer.  And you might want to call the
set_friend RPC in routersrv for each of our naming peers.  (Or should the
named do that?)

Jacob, see my TODO in your gossip code.

Revision 1112 - Directory Listing
Modified Tue May 23 19:54:12 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
merge r1097:1111 from branches/ctl/signatures to the main trunk


Revision 1108 - Directory Listing
Modified Tue May 23 11:57:35 2006 UTC (3 years, 6 months ago) by baford
Original Path: trunk/uia/naming
fix install bugs

Revision 1106 - Directory Listing
Modified Tue May 23 08:22:40 2006 UTC (3 years, 6 months ago) by baford
Original Path: trunk/uia/naming
We don't need the old .cvsignore files anymore, do we?

Revision 1084 - Directory Listing
Modified Tue May 16 13:53:03 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
item -> record fixes.

Revision 1077 - Directory Listing
Modified Mon May 15 17:19:09 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
linkrecord attrs changed

Revision 1076 - Directory Listing
Modified Mon May 15 17:14:10 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
load the fixed ext_data structs properly now

Revision 1075 - Directory Listing
Modified Mon May 15 16:31:16 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
ext_data unpacker was using the wrong unpacker

Revision 1072 - Directory Listing
Modified Thu May 11 17:37:39 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
few more fixes

Revision 1071 - Directory Listing
Modified Thu May 11 15:54:30 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
syntax fix

Revision 1069 - Directory Listing
Modified Wed May 10 22:15:52 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/naming
- new logformat.x and all the changes that go with it.

- to use the new format you'll need to blow away /etc/uia/names.db
  (it should complain about mismatched version numbers if you don't)

- bumped version numbers for the packed structures, as well as the
  named <-> named wire protocol

- calc.py tests all pass, and named starts up successfully, but not
tested beyond that.

- changed configure scripts to include the full path to python
  and put that into uiacert2eid (/usr/bin/python is old and broken
  on my box)

- old log formats available with tag LOGHEADER_VER_1

Revision 1003 - Directory Listing
Modified Mon Apr 24 21:30:14 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
install $(LIBDIR) before requiring it to exist

Revision 994 - Directory Listing
Modified Mon Apr 24 14:30:40 2006 UTC (3 years, 7 months ago) by golem
Original Path: trunk/uia/naming
check in PCP hooks.  everything is wrapped in try-except so that PCP problems (like not having PCP installed) should have no effect other than some spurious warning messages.

Revision 977 - Directory Listing
Modified Sun Apr 23 19:15:45 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
add a signature field to recorddata that is otherwise ignored

Revision 970 - Directory Listing
Modified Sat Apr 22 21:03:03 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
disable checking that merges exist in both directions, and
fix cancel item creation.

introduce via link,
introduce via merge,
and rename device seems to work now.

Revision 969 - Directory Listing
Modified Sat Apr 22 20:29:17 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
gossip ignores repeated records, and will still die on out-of order records

Revision 968 - Directory Listing
Modified Sat Apr 22 19:54:14 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
gossip fix

Revision 967 - Directory Listing
Modified Sat Apr 22 19:36:07 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
a new logprint.py to parse /etc/uia/names.db and print it all

Revision 963 - Directory Listing
Modified Sat Apr 22 02:36:01 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
calc.py tests complete again.
named type error.
calc type error.

Revision 961 - Directory Listing
Modified Sat Apr 22 01:23:23 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
arpc can now handle both servers and clients on the same channel.
(so, now the named can ask the router for the current list of peers and
not die when getting callbacks from the router).

Other gossiping fixes.  named no longer crashed on start, but doesn't do
anything more useful yet either.

Revision 958 - Directory Listing
Modified Fri Apr 21 01:57:15 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
checkpoint of gossiping changes.  don't expect much
(takes a minute or two before the first crash)

Revision 956 - Directory Listing
Modified Thu Apr 20 18:56:09 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
named remembers link records across restarts

Revision 954 - Directory Listing
Modified Thu Apr 20 18:07:39 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
NAMED_PROC_LOOKUP works again

Revision 953 - Directory Listing
Modified Thu Apr 20 17:55:33 2006 UTC (3 years, 7 months ago) by golem
Original Path: trunk/uia/naming
corrected exception catching syntax

Revision 943 - Directory Listing
Modified Tue Apr 18 20:00:23 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
named saves and reloads log records now

Revision 942 - Directory Listing
Modified Tue Apr 18 16:29:02 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
loading and dumping records and their associated items
might be fixed now.

some initialization harnessing

Revision 937 - Directory Listing
Modified Mon Apr 17 22:00:16 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
savegraph dumps (the default set of) log records to names.db

Revision 935 - Directory Listing
Modified Sun Apr 16 17:56:14 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
root namespace merge support in GUI and named

Revision 934 - Directory Listing
Modified Sun Apr 16 15:54:59 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Rename/delete now works through GUI

Revision 933 - Directory Listing
Modified Sun Apr 16 14:52:28 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
write-link and intro-user now works

Revision 932 - Directory Listing
Modified Sun Apr 16 14:14:09 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
named_srv -> namedprot

Revision 931 - Directory Listing
Modified Sun Apr 16 13:57:05 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
oops, forgot

Revision 930 - Directory Listing
Modified Sun Apr 16 13:31:42 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
New graph calculation results now connected to gui via namedsrv,
but namespace edits/merges not done yet.

Revision 929 - Directory Listing
Modified Sat Apr 15 19:19:10 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
fooitem constructors can take None as the nonce, in which case they'll
generate one from os.urandom()

Revision 927 - Directory Listing
Modified Sat Apr 15 19:07:37 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
calc.py solely using logserial structs now

Revision 924 - Directory Listing
Modified Thu Apr 13 18:36:50 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
more mergeing.
constructors don't take an iid anymore, and instead pass the test strings
as the nonce.  the iid is computed in the constructor by packing and
hashing instead.

Revision 917 - Directory Listing
Modified Wed Apr 12 20:36:10 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
some merging

Revision 910 - Directory Listing
Modified Tue Apr 11 19:57:30 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
abstract away the unloading and loading actions

Revision 909 - Directory Listing
Modified Tue Apr 11 18:59:17 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
if __main__ in calc, checkpoint of logserial

Revision 908 - Directory Listing
Modified Tue Apr 11 18:51:03 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
got basic symmetric and asymmetric merges and cancels working

Revision 906 - Directory Listing
Modified Tue Apr 11 17:58:36 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
temporary hack in place of actual iteration to fixed-point...

Revision 905 - Directory Listing
Modified Tue Apr 11 17:04:18 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Permission and namespace merge calculations working

Revision 904 - Directory Listing
Modified Mon Apr 10 22:18:55 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
getting calculation code closer to running...
(also fleshed out test harness code a bit)

Revision 903 - Directory Listing
Modified Mon Apr 10 19:19:30 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Added some temporary test-harness Record/Item classes to calc.py;
the module now syntax checks and uselessly "runs"...

Revision 902 - Directory Listing
Modified Mon Apr 10 17:56:48 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
loading / unloading shells

Revision 900 - Directory Listing
Modified Sat Apr 8 20:19:59 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Added support for length-delimited options to Python rpcgen;
updated logformat.x to use them (and updated wrt recent calc.py work)

Revision 899 - Directory Listing
Modified Sat Apr 8 17:10:12 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Added support for length-delimited options to C/C++ rpcgen.
As suggested by Chris, option decls work much like XDR pointer decls,
just using a '?' character instead of '*':

typedef foo ?foo_option;

struct {
	bar ?bar_option_member;
};

Revision 896 - Directory Listing
Modified Thu Apr 6 01:46:47 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
beginnings (sketchy pseudocode mostly) of code to compute
namespace graphs from log

Revision 895 - Directory Listing
Modified Wed Apr 5 21:37:04 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
beginning ruminations on packing log stuffs

Revision 888 - Directory Listing
Modified Tue Apr 4 23:04:14 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
named.x -> namedsrv.x fixes

Revision 882 - Directory Listing
Modified Tue Apr 4 18:54:06 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
named now uses svc .x files.
py rpgen now ignores lines beginning with %

Revision 862 - Directory Listing
Modified Mon Apr 3 14:29:13 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
add rpcgen dependency

Revision 859 - Directory Listing
Modified Mon Apr 3 13:06:07 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Use our own version of SunRPC, which we can hack to do what we need.
Also, GUI now uses YAM-based async stuff for all its RPC.

Revision 840 - Directory Listing
Modified Fri Mar 31 14:34:20 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
makefile cleanups

Revision 837 - Directory Listing
Modified Thu Mar 30 23:18:51 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
graph verbosity for readdir

Revision 835 - Directory Listing
Modified Thu Mar 30 22:13:59 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
links have real id's now.
(must run gennamedb)

Revision 834 - Directory Listing
Modified Thu Mar 30 21:43:39 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
don't die on a second attempt

Revision 832 - Directory Listing
Modified Thu Mar 30 21:14:03 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
ctl calls links with null id, rather than using whatever readdir returned
before.

Revision 826 - Directory Listing
Modified Thu Mar 30 17:51:54 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
verbose debugging

Revision 825 - Directory Listing
Modified Thu Mar 30 17:44:15 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
add an inet_ntop

Revision 820 - Directory Listing
Modified Thu Mar 30 16:54:17 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
there is no port

Revision 817 - Directory Listing
Modified Thu Mar 30 16:20:11 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
oops, named's Makefile was accidentally scrogging ../../Makeconf

Revision 805 - Directory Listing
Modified Wed Mar 29 20:44:04 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
NAMED_PROC_LINK implemented (though not well tested)
time to start testing introduce-in-gui

Revision 799 - Directory Listing
Modified Wed Mar 29 19:30:14 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
getroot ns id implemented. the other missing bit now is
NAMED_PROC_LINK

Revision 794 - Directory Listing
Modified Tue Mar 28 23:57:28 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
readdir works again after imports.

a new named.x for importing namespaces, but server side isn't
implemented yet.

Revision 786 - Directory Listing
Modified Tue Mar 28 21:55:08 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
set namespace id's to be strings
rerun uiagennamedb now

Revision 784 - Directory Listing
Modified Tue Mar 28 20:44:46 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
log.info on startup

Revision 783 - Directory Listing
Modified Tue Mar 28 18:01:44 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
namespace id's are rand()om.  less verbose logging

Revision 781 - Directory Listing
Modified Tue Mar 28 01:00:45 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Check for python and twisted in the configure script,
and substitute proper python command name in scripts

Revision 775 - Directory Listing
Modified Mon Mar 27 23:16:30 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Set etc directory using --with-confdir= instead of --sysconfdir=

Revision 774 - Directory Listing
Modified Mon Mar 27 22:55:19 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
ctl now shows child namespaces(but not their contents)
You'll need to rerun uiagennamedb before trying this

Revision 772 - Directory Listing
Modified Mon Mar 27 22:43:03 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/naming
Make UIA's build environment expect the YAM distribution
to be in a subdirectory 'yam' in the UIA tree.
Also, add configure variables for the systemwide UIA user (UIA_USER),
and for the log and run file directories (logdir and rundir).

Revision 769 - Directory Listing
Modified Mon Mar 27 22:07:22 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
1st attampt at readdir()

ctl now dies at:

uiactl: name.cc:188: void NameItem::readdir(bool, bool): Assertion `subs.size() == (int)res->list.list_len' failed.
Aborted

Revision 768 - Directory Listing
Modified Mon Mar 27 20:26:02 2006 UTC (3 years, 7 months ago) by jastr
Original Path: trunk/uia/naming
naming % grep -i  -r sfs * | wc
      0       0       0

time to test joins again

Revision 761 - Directory Listing
Modified Mon Mar 27 18:27:41 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
named listens on named<->named sockets, doesn't yet initiate outgoing
connections

Revision 754 - Directory Listing
Modified Mon Mar 27 16:35:00 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
ipv6 support for twisted

Revision 753 - Directory Listing
Modified Mon Mar 27 03:15:51 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
start of a stub for hooking the uia named into libc name resolution
via nsswitch.

Right now, it just prints a flag to stderr and returns a failure,
and isn't hooked up to the normal build process.

If you want to try it, run make, make install, and then
change /etc/nsswitch.conf so that the "hosts:" line has "uia" before
the dns field

Revision 750 - Directory Listing
Modified Sun Mar 26 21:28:52 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
'ssh pbook.jastr.' (aka localhost) works
(why is the terminal dot in the name required?)

Revision 749 - Directory Listing
Modified Sun Mar 26 01:10:02 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
uianamedctl runs again and sends commands to uianamed, which mostly ignores
them.

Revision 748 - Directory Listing
Modified Sun Mar 26 00:40:09 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
named install fixes.  (missing .py's, wrong paths etc)

add default ports to Makeconf.in

uianamed starts up from uialegacy, listens on the Makeconf.in
specified ports, and doesn't immediately crash (but probably won't
answer any useful queries either -- I havent' tried yet)

Revision 746 - Directory Listing
Modified Sat Mar 25 16:28:42 2006 UTC (3 years, 8 months ago) by baford
Original Path: trunk/uia/naming
Modified all scripts (I think) to use install directories
specified or defaulted via the configure script.  Specifically:

--prefix specifies top-level installation prefix, default /usr/local/,
but you can say --prefix=/usr/local/uia for example to put it all
in one tree that you can blow away all at once.  But the system
no longer _assumes_ that you do this; it can coexist with other stuff now.

--bindir specifies the directory for binaries:
	defaults to ${prefix}/bin.  All UIA binaries prefixed with 'uia'.
--sysconfdir specifies the directory for systemwide config files:
	defaults to ${prefix}/etc; UIA stuff goes into ${sysconfdir}/uia.
--libdir specifies the directory for libraries, Python sources, etc.
	defaults to ${prefix}/lib; UIA stuff goes into ${libdir}/uia.

Technically ${prefix}/share might be a better place for the Python stuff,
since it's architecture-neutral, but I didn't want to get too spread out
at this point.

Revision 739 - Directory Listing
Modified Thu Mar 23 21:05:06 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
reverse working with testcli

Revision 738 - Directory Listing
Modified Thu Mar 23 19:38:54 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
testcli name lookups work

Revision 737 - Directory Listing
Modified Thu Mar 23 18:16:16 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
rpcgen array handling fixes

Revision 736 - Directory Listing
Modified Thu Mar 23 05:19:48 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
next chunk of conversions

Revision 732 - Directory Listing
Modified Thu Mar 23 00:08:12 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/naming
Linux rpcgen is reluctant to overwrite an existing named.h; I added a rm -f to the start of the make rule

Revision 727 - Directory Listing
Modified Wed Mar 22 22:57:14 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
named might respect install prefix now

Revision 726 - Directory Listing
Modified Wed Mar 22 22:38:39 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
rework arpc to allow delayed reply().
include new named.x

Revision 693 - Directory Listing
Modified Thu Mar 16 20:37:41 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
return correct value, and don't crash on exit()

Revision 689 - Directory Listing
Modified Thu Mar 16 19:28:14 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
next set of fixes.

Revision 686 - Directory Listing
Modified Thu Mar 16 15:54:16 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
more fixes

Revision 685 - Directory Listing
Modified Wed Mar 15 22:25:59 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
server now sends a reply back.

Revision 676 - Directory Listing
Modified Tue Mar 14 20:40:28 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
start of server side changes
(uianamed starts up again now, but doens't do anything yet)

Revision 675 - Directory Listing
Modified Tue Mar 14 17:41:53 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
arpc client call sends bits

Revision 674 - Directory Listing
Modified Tue Mar 14 15:37:48 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
change the included rpcgen to include procedure name references.

Not that it works yet, but you'll want to either make clean and
rebuild, or touch uia/naming/named/*.x and make again.

Revision 670 - Directory Listing
Modified Mon Mar 13 23:24:10 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
start of an arpc implementation

Revision 656 - Directory Listing
Modified Mon Mar 13 17:22:46 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
removed old setup.py reference

Revision 641 - Directory Listing
Modified Mon Mar 6 19:38:58 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
import a standalone rpcgen that's taken out of the pinefs project
(X license).  Also included is the ply parser (LGPL), but that's only
needed to build, not run.

Revision 634 - Directory Listing
Modified Mon Mar 6 16:57:20 2006 UTC (3 years, 8 months ago) by jastr
Original Path: trunk/uia/naming
remove pysfs from the build

Revision 593 - Directory Listing
Modified Wed Feb 1 23:01:13 2006 UTC (3 years, 9 months ago) by jastr
Original Path: trunk/uia/naming
some log parsing/graph generating beginnings

Revision 580 - Directory Listing
Modified Fri Jan 27 17:52:59 2006 UTC (3 years, 9 months ago) by jastr
Original Path: trunk/uia/naming
gpl headers

Revision 568 - Directory Listing
Modified Sun Jan 15 18:11:48 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
named.x reverse implemented, but now alreays returns the empty list

Revision 567 - Directory Listing
Modified Sun Jan 15 00:52:21 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
default testcli port changed

Revision 566 - Directory Listing
Modified Sun Jan 15 00:42:19 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
fix linux route add
more logging for named

Revision 564 - Directory Listing
Modified Sat Jan 14 23:17:13 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
make ports a function of router port (+1, +2) etc.

Revision 563 - Directory Listing
Modified Sat Jan 14 22:40:27 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
added /usr/local/uia/bin/uiamyname command

Revision 557 - Directory Listing
Modified Sat Jan 14 21:20:07 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/naming
change import to join/introduce

Revision 554 - Directory Listing
Modified Sat Jan 14 19:29:38 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
don't set nonexistant name

Revision 553 - Directory Listing
Modified Sat Jan 14 19:10:25 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
1200->2000
remove named extra len arg

Revision 552 - Directory Listing
Modified Sat Jan 14 17:30:57 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
default make install will create a namespace for our own eid, but no
names

Revision 551 - Directory Listing
Modified Sat Jan 14 05:37:44 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
- named is now stateful.

- /usr/local/bin/uiagennamedb is used to [re]create the binary
  namedb from the .txt version

- named lookups should do lookups in the right namespaces now

- /usr/local/bin/uianamedctl import eid port "linkname"
  will link namespaces, and named will remember the link on
  restarts

Revision 550 - Directory Listing
Modified Sat Jan 14 03:27:00 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
try: .. except: won't work for getting errors in an sfs callback
to dump to the log file.

cheat and use dup2 on the log output instead.

Revision 548 - Directory Listing
Modified Fri Jan 13 23:27:15 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
fail to overwrite names.db if it exists

Revision 546 - Directory Listing
Modified Fri Jan 13 23:17:34 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
fix segfault

Revision 543 - Directory Listing
Modified Fri Jan 13 21:30:44 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
logging catches most exceptions

Revision 541 - Directory Listing
Modified Fri Jan 13 21:06:50 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
begnning of named logging

Revision 540 - Directory Listing
Modified Fri Jan 13 20:33:52 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
uialegacy restart should
now kill and restart uianamed

Revision 539 - Directory Listing
Modified Fri Jan 13 20:12:28 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
startup scripts closer to working
(named still needs to be killed by hand)

Revision 538 - Directory Listing
Modified Fri Jan 13 19:21:55 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
makefiles should now call python setup.py build in make
and python setup.py in make install

Revision 536 - Directory Listing
Modified Thu Jan 12 17:54:23 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
handle imports into root ns

Revision 535 - Directory Listing
Modified Thu Jan 12 17:44:09 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
named can import its own namespace as "bob"

Revision 533 - Directory Listing
Modified Thu Jan 12 02:38:55 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
named<->named rpc close to working

Revision 532 - Directory Listing
Modified Wed Jan 11 22:55:38 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
python namedctl.py import ip port importname
(now named needs to do something with it)

Revision 531 - Directory Listing
Modified Wed Jan 11 22:17:45 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
I broke make instal

Revision 530 - Directory Listing
Modified Wed Jan 11 21:33:10 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
build the new .x's on osx

Revision 529 - Directory Listing
Modified Wed Jan 11 21:23:05 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
xdr build for linux

Revision 528 - Directory Listing
Modified Wed Jan 11 21:03:18 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
xdrs for named<->named and namedctl->named

Revision 527 - Directory Listing
Modified Wed Jan 11 18:53:17 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
fix _py_naming_remove_name_arg_Type missing error

Revision 524 - Directory Listing
Modified Wed Jan 11 00:24:02 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
give the linker the -all_load flag.  set MAXOSX_DEPLOYMENT_TARGET

Revision 523 - Directory Listing
Modified Tue Jan 10 20:46:37 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
hacked build scripts for pysfs1 and xdrs on osx

Revision 520 - Directory Listing
Modified Mon Jan 9 20:34:27 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
lookup splits paths and looks up elements in turn

Revision 519 - Directory Listing
Modified Sat Jan 7 23:17:53 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
hook up graph to the named

Revision 518 - Directory Listing
Modified Sat Jan 7 21:48:02 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
sfs wrappers for the uia named.  requires pysfs installed to run.
Also requires that the uia named xdr module is built and installed.

Revision 511 - Directory Listing
Modified Fri Jan 6 19:39:57 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/naming
added empty install rule

Revision 510 - Directory Listing
Modified Tue Jan 3 19:02:03 2006 UTC (3 years, 10 months ago) by jastr
Original Path: trunk/uia/naming
naming rpc stubs (still need to use them)

Revision 504 - Directory Listing
Modified Tue Dec 20 20:29:48 2005 UTC (3 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
bugfixes & dotcode generation to find the bugs

Revision 503 - Directory Listing
Modified Mon Dec 12 21:22:57 2005 UTC (3 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
graph linking and lookups tested

Revision 492 - Directory Listing
Modified Mon Nov 28 23:52:23 2005 UTC (3 years, 11 months ago) by jastr
Original Path: trunk/uia/naming
graph types more like our interface

Revision 482 - Directory Listing
Added Mon Nov 21 23:16:47 2005 UTC (4 years ago) by jastr
Original Path: trunk/uia/naming
beginning of name graph traversal code

Sort log by:

Maintained by PDOS
ViewVC Help
Powered by ViewVC 1.0.3