PDOS

[uia] / trunk / uia / uianet / router  

Log of /trunk/uia/uianet/router

View Directory Listing Directory Listing


Sticky Revision:

Revision 4734 - Directory Listing
Modified Wed Aug 26 23:36:56 2009 UTC (2 months, 4 weeks ago) by jastr
forgot a router_node_info free()

Revision 4733 - Directory Listing
Modified Wed Aug 26 23:12:17 2009 UTC (2 months, 4 weeks ago) by jastr
attempt avoid references to already-freed router_node_info elements

Revision 3323 - Directory Listing
Modified Mon Jul 14 16:56:33 2008 UTC (16 months, 1 week ago) by jastr
remove the dependency on dns_sd.h when using avahi, hence
only avahi-utils are needed for using avahi, not libavahi-compat-libdnssd-dev


Revision 3219 - Directory Listing
Modified Fri May 23 17:51:15 2008 UTC (18 months ago) by jastr
don't barf on single quotes appearing in the owner or device
name.  This will still barf on double quotes in names, but
I'll fix that later (perhaps).

Revision 3214 - Directory Listing
Modified Mon May 19 17:59:06 2008 UTC (18 months, 1 week ago) by jastr
next batch of engine-enabling startup pieces

Revision 3213 - Directory Listing
Modified Thu May 15 21:54:46 2008 UTC (18 months, 1 week ago) by jastr
load the right key file, and
if a previous failure resulted in a zero-length file,
replace it.

Revision 3212 - Directory Listing
Modified Wed May 14 23:04:32 2008 UTC (18 months, 1 week ago) by jastr
config bits to allow for openssl-engine encapsulated keys at configure
time

Revision 3204 - Directory Listing
Modified Thu Apr 17 18:28:52 2008 UTC (19 months, 1 week ago) by jastr
if the avahi client dies, log the error and exit
rather than spinning forever.  

Probably should try to restart the clients instead,
and give up after a few tries.


Revision 3184 - Directory Listing
Modified Fri Mar 7 19:09:05 2008 UTC (20 months, 2 weeks ago) by jastr
merge -r 3156:3183 branches/leaks -> trunk

should be a great big no-op unless you pass extra
configure flags, or have openssl configured with engines
turned on.


Revision 3147 - Directory Listing
Modified Thu Feb 7 17:26:56 2008 UTC (21 months, 2 weeks ago) by jastr
don't log per-packet info when forwarding through a
successful tunnel

Revision 3145 - Directory Listing
Modified Thu Feb 7 17:09:03 2008 UTC (21 months, 2 weeks ago) by jastr
don't forward lookup requests over a tunneled path.
(formerly, it only checked the first hop, not subsequent 
hops)


Revision 2989 - Directory Listing
Modified Thu Jan 24 22:13:20 2008 UTC (22 months ago) by jastr
oops

Revision 2988 - Directory Listing
Modified Thu Jan 24 19:44:04 2008 UTC (22 months ago) by jastr
log errors while setting up tunnels.

if a tunnel setup fails, disassociate the fake id, so 
the next attempt could try to set up a new one.

Revision 2987 - Directory Listing
Modified Thu Jan 24 19:05:05 2008 UTC (22 months ago) by jastr
log connection errors better

Revision 2986 - Directory Listing
Modified Thu Jan 24 18:22:18 2008 UTC (22 months ago) by jastr
when a tunnel path comes back, log it

Revision 2976 - Directory Listing
Modified Wed Jan 23 21:29:38 2008 UTC (22 months ago) by jastr
log external hints

Revision 2969 - Directory Listing
Modified Tue Jan 22 20:57:57 2008 UTC (22 months ago) by jastr
merge -r 2964:2968 branches/peers branch -> trunk

redo peers so that always attempt to keep one client and
one server peer to each location open.  tunnelled peers
still need work, and also still want to change the peers
list to show which are clients & servers.


Revision 2964 - Directory Listing
Modified Tue Jan 22 17:15:10 2008 UTC (22 months ago) by jastr
only log info level and higher (per peer, but not
per packet)

Revision 2962 - Directory Listing
Modified Tue Jan 22 00:24:08 2008 UTC (22 months ago) by jastr
rotate logs on reset
add log level annotations so that we can (shortly)
not log per-packet items, only per connection items


Revision 2934 - Directory Listing
Modified Wed Jan 2 23:15:53 2008 UTC (22 months, 3 weeks ago) by jastr
merge -r 2921:2929 branches/avahi -> trunk

UIA can now choose between using mdnsresponder (on OSX for example)
and avahi (via the avahi-utils packages) on linux.

You will need to rerun autoconf and configure after this update.

Also includes fixes for the mndsresponder version so that they'll
receive avahi broadcasts correctly.

the scripts for building packages for ubuntu and the n800's
should switch over to avahi now.


Revision 2920 - Directory Listing
Modified Fri Dec 28 15:40:19 2007 UTC (22 months, 4 weeks ago) by jastr
merge -r 2912:2919 branch->trunk

Revision 2900 - Directory Listing
Modified Wed Dec 12 20:06:23 2007 UTC (23 months, 1 week ago) by jastr
simultaneous join case didn't handle reconnects
properly.

Revision 2873 - Directory Listing
Modified Thu Nov 1 13:41:00 2007 UTC (2 years ago) by jastr
checked in to wrong branch

Revision 2844 - Directory Listing
Modified Wed Oct 24 21:31:10 2007 UTC (2 years, 1 month ago) by jastr
merge -r 2841:2842 branch -> trunk.

If a server connection comes in when there's an active
peer for the same ID, don't try and probe with a new
client connection -- that would cause the old working 
connection to be dropped later, and probably both ends
will do the same thing, resulting in both ends dropping.

Revision 2737 - Directory Listing
Modified Wed Aug 8 18:24:55 2007 UTC (2 years, 3 months ago) by jastr
cmd allows logger now.
fixup a bunch of stderr/stdout wierdness

Revision 2734 - Directory Listing
Modified Wed Aug 8 15:41:34 2007 UTC (2 years, 3 months ago) by jastr
make avahi unsupported errors a fatal error, not a warning

Revision 2722 - Directory Listing
Modified Mon Aug 6 16:26:22 2007 UTC (2 years, 3 months ago) by jastr
another round of startup cleanups.

(this breaks Darwin startup temporarily)


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 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 2613 - Directory Listing
Modified Tue Jul 3 21:51:39 2007 UTC (2 years, 4 months ago) by jastr
round 2:  /var/log/uia/uiarouted.out isn't needed for anything
other than uialegacy anymore, which will be... soon

Revision 2608 - Directory Listing
Modified Mon Jul 2 23:16:03 2007 UTC (2 years, 4 months ago) by jastr
round one of the startup and option parsing cleanups

Revision 2590 - Directory Listing
Modified Mon Jun 11 20:31:57 2007 UTC (2 years, 5 months ago) by jastr
* /bin/sh may not have 'source'
* uiaconfig always re-writes /etc/uia/eid.txt
* lib must come before uianet in make install


Revision 2508 - Directory Listing
Modified Wed May 30 19:22:16 2007 UTC (2 years, 5 months ago) by ctl
Un-revert the library move, and incorporate the needed bits from my branch into the trunk.
This should work if you re-configure (from the top level) and re-install.


Revision 2507 - Directory Listing
Modified Wed May 30 17:19:21 2007 UTC (2 years, 5 months ago) by jastr
permission fixes

Revision 2483 - Directory Listing
Modified Tue May 15 20:55:57 2007 UTC (2 years, 6 months ago) by jastr
merge -r 2479:2482 /branches/ol-resolv branch->trunk:

attempted fix for a long-standing router bug:

device A has peer entries for C and D at ip foo,
and connected to C and foo.

A randomly tries to connect to D at ip foo.
C gets the connection, and decide's it's a newer
connection from A, and so drops the older socket.

Concurrently, A decides that the new link to C 
isn't needed, as it came back from the wrong 
device.  A and C end up disconnected for a while.

Two changes:
  don't allow router::hint() to connect to a ip 
  that's already being used as an outgoing connection.
  This only catches half of the problem cases though,
  as comparind ip addresses only works for outgoing sockets.

  When a connect_cb returns an unexpected device, and the
  new connection is a device we're connected to elsewhere,
  keep the new link, not the old one.  Hopefully both
  ends will decide to keep the same socket now.


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/router
Copied from: branches/reorg/router 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/router
new reorg branch

Revision 1708 - Directory Listing
Modified Wed Mar 14 15:47:12 2007 UTC (2 years, 8 months ago) by jastr
Original Path: trunk/uia/router
missing merge from the add-ports-to-router branch:

merge -r1167:1168 branch->trunk

Revision 1704 - Directory Listing
Modified Sun Mar 4 20:25:13 2007 UTC (2 years, 8 months ago) by jastr
Original Path: trunk/uia/router
We've had code around long enough that expired EID certificates
may be seen in the wild, as the initial exiration date was set to 1 year.

For now, just accept the expired ones and log a warning.

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

Revision 1384 - Directory Listing
Modified Fri Nov 17 19:37:43 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/router
bonjour can consume all 1024 file descriptors in a few
dozen minutes if left unchecked -- Deallocate most of
those properly now.


Revision 1383 - Directory Listing
Modified Thu Nov 16 19:39:38 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/router
attempt to handle bonjour errors:

 - the first DNSServiceBrowse call treats errors as fatal, which
 should catch the 'mdnsd not running' or 'mdnsd is avahi' cases.

 - All others are treated as transient failures


Revision 1382 - Directory Listing
Modified Thu Nov 16 18:13:44 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/router
add an optional arg so that uiarouted will chdir to "/var/log/uia"
rather than "/" on startup.

Although this is somewhat wrong, it makes collecting core files much
easier on linux (osx already works), as uiarouted usually cannot
write to "/"


Revision 1380 - Directory Listing
Modified Wed Nov 8 00:32:22 2006 UTC (3 years ago) by srhea
Original Path: trunk/uia/router
Apparently Bonjour will sometimes call the callback passed to
DNSServiceRegister again after an IP address change, so don't delete cb_copy.

Revision 1373 - Directory Listing
Modified Tue Nov 7 19:57:33 2006 UTC (3 years ago) by jastr
Original Path: trunk/uia/router
- work with either new or old version of dns_sd.h

- add a counter to track down suspected bonjour problem


Revision 1339 - Directory Listing
Modified Wed Oct 4 21:10:22 2006 UTC (3 years, 1 month ago) by wisner
Original Path: trunk/uia/router
touch syntax did not work on Maemo2.0, modified so script doesnt su if whoami=root

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

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


Revision 1249 - Directory Listing
Modified Thu Aug 24 16:58:24 2006 UTC (3 years, 3 months ago) by jastr
Original Path: trunk/uia/router
uiaconfig wasn't creating peer and friend db properly on 
first install

Revision 1202 - Directory Listing
Modified Thu Jul 27 20:52:37 2006 UTC (3 years, 3 months ago) by jastr
Original Path: trunk/uia/router
export router node info for alternate introduction
methods


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

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


Revision 1193 - Directory Listing
Modified Fri Jul 14 19:57:02 2006 UTC (3 years, 4 months ago) by srhea
Original Path: trunk/uia/router
dumb assert removed; don't know what I was smoking when I wrote it, but it must have been good

Revision 1185 - Directory Listing
Modified Thu Jul 13 14:54:29 2006 UTC (3 years, 4 months ago) by srhea
Original Path: trunk/uia/router
Fixed a silly bug that only shows up when we have no peers.

Revision 1176 - Directory Listing
Modified Tue Jul 11 17:39:50 2006 UTC (3 years, 4 months ago) by srhea
Original Path: trunk/uia/router
Recall that normally, the tun driver overwrites the first two bytes of all
addresses with the IPv6 prefix used by UIA (usually, 0xfc00).  Now it will do
so only if the prefix is not 0xffxx, the IPv6 multicast prefix.  Furthermore,
the router will take any send RPC to an IPv6 multicast address and send it to
all peers that are at friendship distance 1 from the local node.  (This seems
like a reasonable definition of what it means to multicast in UIA for now; I'm
open to changing it in the future.)  You can change the friendship distance of
a peer using "uiaroutedcmd friend".  

I've confirmed that if the tun interface is changed from IFF_POINTOPOINT to
IFF_BROADCAST, the Mac implementation of Bonjour will send mDNS packets to
ff02::fb, the tun driver will intercept them, the router will forward them on,
and they appear on the remote node's tun interface.  I have not yet confirmed
that this change allows Bonjour or iTunes to work over UIA, though.

Also, currently the only way I know to change the tun interface from
IFF_POINTOPOINT to IFF_BROADCAST is to use a modified tun driver.  I'm working
on fixing that.

Revision 1153 - Directory Listing
Modified Tue Jun 27 20:11:40 2006 UTC (3 years, 4 months ago) by jastr
Original Path: trunk/uia/router
merge in r1142:1151 from branches/add-ports-to-router


Revision 1139 - Directory Listing
Modified Tue Jun 13 17:15:41 2006 UTC (3 years, 5 months ago) by srhea
Original Path: trunk/uia/router
get rid of extra debugging msg

Revision 1117 - Directory Listing
Modified Thu May 25 07:49:11 2006 UTC (3 years, 6 months ago) by baford
Original Path: trunk/uia/router
Use -u option to specify username to sudo.

Revision 1115 - Directory Listing
Modified Wed May 24 22:05:50 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/router
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 1108 - Directory Listing
Modified Tue May 23 11:57:35 2006 UTC (3 years, 6 months ago) by baford
Original Path: trunk/uia/router
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/router
We don't need the old .cvsignore files anymore, do we?

Revision 1105 - Directory Listing
Modified Tue May 23 08:21:08 2006 UTC (3 years, 6 months ago) by baford
Original Path: trunk/uia/router
Create $(LIBDIR) as necessary

Revision 1083 - Directory Listing
Modified Mon May 15 20:43:54 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/router
needed to include assert.h

Revision 1082 - Directory Listing
Modified Mon May 15 20:30:42 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/router
uia/router/basic-test.sh now performs a simple regression test for the router
and tun driver.  It creates two nodes, connects them together, and tests
sending a message from one to the other.

I'll make a more advanced test soon, but I need to add a config option to stop
nodes from connecting to their neighbors' neighbors first, or they quickly
destroy any interesting topology the test sets up.

Also, until someone figures out how to open multiple tun interfaces on Linux,
it will only work on Darwin.  And finally, before running the test, you need
to have UIA running on your machine, or it will try and use the wrong tun
interfaces.

Revision 1079 - Directory Listing
Modified Mon May 15 20:22:11 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/router
use yam::accept instead of ::accept

Revision 1074 - Directory Listing
Modified Mon May 15 13:39:57 2006 UTC (3 years, 6 months ago) by golem
Original Path: trunk/uia/router
install into libdir path

Revision 1073 - Directory Listing
Modified Thu May 11 18:02:27 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/router
Can now run the router with an alternate prefix.  Implementation is hacky, but
will be much less so once the EID-vs-IPv6 distinction is cleaned up.  Tested
and working running two nodes on my Mac and calling uiaroutedcmd listen/send.

Revision 1069 - Directory Listing
Modified Wed May 10 22:15:52 2006 UTC (3 years, 6 months ago) by jastr
Original Path: trunk/uia/router
- 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 1066 - Directory Listing
Modified Tue May 9 20:20:28 2006 UTC (3 years, 6 months ago) by golem
Original Path: trunk/uia/router
use library for x509 decoding

Revision 1065 - Directory Listing
Modified Tue May 9 20:19:43 2006 UTC (3 years, 6 months ago) by srhea
Original Path: trunk/uia/router
install cert-info.txt

Revision 1064 - Directory Listing
Modified Tue May 9 20:04:21 2006 UTC (3 years, 6 months ago) by golem
Original Path: trunk/uia/router
error message from command line

Revision 948 - Directory Listing
Modified Thu Apr 20 00:16:54 2006 UTC (3 years, 7 months ago) by golem
Original Path: trunk/uia/router
change EID computation (shouldn't be externally visible)

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

Revision 922 - Directory Listing
Modified Thu Apr 13 00:53:43 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
end-to-end SSL tunnels working

Revision 921 - Directory Listing
Modified Thu Apr 13 00:28:03 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
operator<<(ostream,peer) function

Revision 913 - Directory Listing
Modified Tue Apr 11 22:00:49 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
copy to in6_addr*

Revision 912 - Directory Listing
Modified Tue Apr 11 22:00:27 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
tcp ping6

Revision 911 - Directory Listing
Modified Tue Apr 11 21:56:56 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
tunnel docs

Revision 897 - Directory Listing
Modified Thu Apr 6 19:03:40 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
last update broke the peers cmd

Revision 894 - Directory Listing
Modified Wed Apr 5 20:50:53 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
hint() used many places, so add separate set_friend() function to call from gw

Revision 892 - Directory Listing
Modified Wed Apr 5 19:57:52 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
small bug fixes for previous commit

Revision 891 - Directory Listing
Modified Wed Apr 5 19:31:45 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
Router now learns about new peers from exising ones in order to find potential
rendezvous servers.  It also distinguishes between friends, which are peers
that it has specifically been asked to connect to via uiaroutedcmd or the GUI,
and peers that it has learned about from others.

Revision 886 - Directory Listing
Modified Tue Apr 4 19:50:02 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
pingpong program to test router latency without tun driver, etc. in the way

Revision 881 - Directory Listing
Modified Tue Apr 4 18:13:26 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
added peers changed callback to routersrv

Revision 878 - Directory Listing
Modified Tue Apr 4 17:47:31 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
router now using capi for XDR routines

Revision 874 - Directory Listing
Modified Mon Apr 3 17:45:16 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
bug fix: sslconnect may call back immediately

Revision 869 - Directory Listing
Modified Mon Apr 3 16:06:28 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
xdr->ydr

Revision 867 - Directory Listing
Modified Mon Apr 3 15:57:28 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
moved everything around:
 - yam/core renamed to yam/base
 - include path is now just yam/include
 - lib path is now just yam/lib
 - libyam_core.a renamed to libyam.a

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

Revision 861 - Directory Listing
Modified Mon Apr 3 14:01:05 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/router
rename xdr -> ydr in YAM-provided Sun RPC stubs,
to avoid breaking Mac OS X's C library,
which depends on its own XDR stubs for internal purposes
without adhering to the standard namespace cleanliness rules...

Revision 859 - Directory Listing
Modified Mon Apr 3 13:06:07 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/router
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 854 - Directory Listing
Modified Sun Apr 2 02:59:12 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
bug fix for "disappearing peers" bug; needed to use a multimap rather than a map in peerdb::most_recent

Revision 849 - Directory Listing
Modified Fri Mar 31 21:35:24 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
send keep alives in the absence of other traffic and check for liveness at application level

Revision 842 - Directory Listing
Modified Fri Mar 31 18:25:06 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
router will now try to reconnect a randomly chosen peer from the past every 60 seconds

Revision 836 - Directory Listing
Modified Thu Mar 30 22:56:58 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
off by one error

Revision 828 - Directory Listing
Modified Thu Mar 30 19:47:13 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
wasn't copying args path into succ_result path

Revision 812 - Directory Listing
Modified Thu Mar 30 00:04:00 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
fixed permissions and ownership on files during install

Revision 810 - Directory Listing
Modified Wed Mar 29 23:53:58 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
- Moved all Bonjour stuff into bonjour.[Ch].
- Router now listens for old peers to whom it is not currently connected to
  pop up in Bonjour and tries to connect to them when they do so.

Revision 802 - Directory Listing
Modified Wed Mar 29 20:01:03 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
Made mainloop an abstract base class, with implementation in mainloop_impl, so
that alternate mainloops can be used, e.g., one integrated with Qt's main
loop.

Revision 793 - Directory Listing
Modified Tue Mar 28 23:53:49 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
fixed peers gw rpc

Revision 790 - Directory Listing
Modified Tue Mar 28 22:34:01 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
most_recent was iterating in wrong order

Revision 789 - Directory Listing
Modified Tue Mar 28 22:24:20 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
got rid of old eid code, now in eid.h, and also stopped extraneous printing of "gateway dropped connection"

Revision 779 - Directory Listing
Modified Tue Mar 28 00:03:02 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/router
more YAM-related build fixes

Revision 777 - Directory Listing
Modified Mon Mar 27 23:50:36 2006 UTC (3 years, 7 months ago) by srhea
Original Path: trunk/uia/router
only one %.o: %.C rule now

Revision 776 - Directory Listing
Modified Mon Mar 27 23:36:54 2006 UTC (3 years, 7 months ago) by baford
Original Path: trunk/uia/router
Verify that 'make install' is run as root;
chown private key file to UIA_USER

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

Revision 772 - Directory Listing
Modified Mon Mar 27 22:43:03 2006 UTC (3 years, 8 months ago) by baford
Original Path: trunk/uia/router
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 766 - Directory Listing
Modified Mon Mar 27 20:11:10 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
removed commented out lines

Revision 765 - Directory Listing
Modified Mon Mar 27 20:10:19 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
removed debugging msg

Revision 746 - Directory Listing
Modified Sat Mar 25 16:28:42 2006 UTC (3 years, 8 months ago) by baford
Original Path: trunk/uia/router
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 735 - Directory Listing
Modified Thu Mar 23 01:42:26 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
lots of cleaning up, including use of weak pointers to get rid of
peer::destroy

also, only store peers in peer_db if we've actually connected to them (as a
client in the TCP sense) at the given IP and port; don't store the ports
associated with peers that connect to us, as they're not listening on them

Revision 728 - Directory Listing
Modified Wed Mar 22 23:16:44 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
should have been included with earlier dnspxy commit (oops)

Revision 722 - Directory Listing
Modified Wed Mar 22 01:18:47 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
bug fix for when a peer reconnects from a different socket address before we
notice it had dropped the previous connection

Revision 721 - Directory Listing
Modified Wed Mar 22 00:31:58 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
removed rpcc bits from router and tun

Revision 719 - Directory Listing
Modified Wed Mar 22 00:08:17 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
Router no longer requires the machine's IP address as an argument, and it
seems to handle IP address changes, at least in simple tests on Darwin.

Revision 697 - Directory Listing
Modified Sat Mar 18 18:19:43 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
no more "unused"

Revision 694 - Directory Listing
Modified Fri Mar 17 16:58:38 2006 UTC (3 years, 8 months ago) by baford
Original Path: trunk/uia/router
First cut at a configure script for UIA -
YAM still doesn't have one though.

Revision 680 - Directory Listing
Modified Tue Mar 14 21:40:08 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
more deps

Revision 679 - Directory Listing
Modified Tue Mar 14 21:40:00 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
more fixes related to using shared_ptrs as keys in maps or sets

Revision 677 - Directory Listing
Modified Tue Mar 14 21:12:03 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
fixed hug bug; comparison operators for maps with shared_ptrs as keys were all wrong

Revision 673 - Directory Listing
Modified Tue Mar 14 14:48:52 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
fix for infinite loop, and log msg fixes

Revision 671 - Directory Listing
Modified Tue Mar 14 00:32:25 2006 UTC (3 years, 8 months ago) by baford
Original Path: trunk/uia/router
make instal -> install in README; more compiler dependency fixes

Revision 669 - Directory Listing
Modified Mon Mar 13 23:20:06 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
bug in send_lookup_done

Revision 668 - Directory Listing
Modified Mon Mar 13 23:00:15 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
use a map instead of sort; sort was causing segfaults, and I couldn't figure out why

Revision 667 - Directory Listing
Modified Mon Mar 13 21:53:24 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
bug fix in lookup forwarding code

Revision 659 - Directory Listing
Modified Mon Mar 13 18:15:13 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
uiarouted no longer uses SFS; it builds, but has only been tested at a very
basic level so far.  Now only uiatunwprd and uiadnspxy use SFS.  The logger
has been split into an SFS version and a YAM version.  The SFS versions will
go away once uiatunwprd and uiadnspxy start using YAM.

Revision 655 - Directory Listing
Modified Fri Mar 10 22:54:50 2006 UTC (3 years, 8 months ago) by baford
Original Path: trunk/uia/router
compiles again on my Linux box

Revision 651 - Directory Listing
Modified Fri Mar 10 21:40:37 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
new call and set_handler functions

Revision 646 - Directory Listing
Modified Tue Mar 7 21:09:48 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
cmd.C now uses yam instead of sfs

Revision 643 - Directory Listing
Modified Tue Mar 7 16:14:03 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
use tcp sockets instead of unix domain sockets

Revision 642 - Directory Listing
Modified Tue Mar 7 16:13:07 2006 UTC (3 years, 8 months ago) by srhea
Original Path: trunk/uia/router
before I lose it

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

Revision 573 - Directory Listing
Modified Tue Jan 17 11:01:39 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
changed hint argument order to match browse output

Revision 562 - Directory Listing
Modified Sat Jan 14 22:17:17 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
owner and device for bonjour

Revision 556 - Directory Listing
Modified Sat Jan 14 20:14:12 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
print host IPs in browse cmd

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

Revision 517 - Directory Listing
Modified Sat Jan 7 20:35:56 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
forgot to use ntohs on port

Revision 516 - Directory Listing
Modified Sat Jan 7 20:19:22 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
use Apple's code instead of avahi

Revision 515 - Directory Listing
Modified Sat Jan 7 19:37:17 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
use of Bonjour for local discovery

Revision 514 - Directory Listing
Modified Fri Jan 6 21:07:34 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
can now query router for peers

Revision 513 - Directory Listing
Modified Fri Jan 6 19:48:10 2006 UTC (3 years, 10 months ago) by srhea
Original Path: trunk/uia/router
pulled peerdb out into its own class, plus other cleanup

Revision 507 - Directory Listing
Modified Thu Dec 22 18:49:06 2005 UTC (3 years, 11 months ago) by jastr
Original Path: trunk/uia/router
compiles on FC4 with gcc-4.0.2
gcc 4.0.0 on osx still won't work

Revision 505 - Directory Listing
Modified Wed Dec 21 20:54:55 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
added peer.db to router

Revision 502 - Directory Listing
Modified Thu Dec 8 20:54:08 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
moved SSL_accept/SSL_connect loop into axprt_ssl

Revision 501 - Directory Listing
Modified Tue Dec 6 15:35:43 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
no more representing eids as strings

Revision 499 - Directory Listing
Modified Mon Dec 5 20:22:53 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
- more info on SSL errors
- no srandomdev on Debian, so use read("/dev/urandom") instead
- fdcb(NULL) on SSL failure

Revision 498 - Directory Listing
Modified Mon Dec 5 20:18:24 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
also install cert/key utils

Revision 496 - Directory Listing
Modified Mon Dec 5 18:31:56 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
Direct connections between routers are now made over SSL.  This doesn't
provide any end-to-end security for forwarded packets (which is what we want),
but it does get us using keys for EIDs, and it requires the same basic
infrastructure (mainly, being able to do Sun RPC over SSL: see
uia/ssl/axprt_ssl.[Ch]), so it's a good midway point.  End-to-end security and
authentication of forwarded packets is coming soon.

Revision 493 - Directory Listing
Modified Tue Nov 29 19:07:45 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
now using logrotate-compatible logging

Revision 491 - Directory Listing
Modified Mon Nov 28 21:29:40 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
added installers and a launcher

Revision 490 - Directory Listing
Modified Mon Nov 28 21:28:16 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
don't need port arg anymore

Revision 488 - Directory Listing
Modified Mon Nov 28 18:46:50 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
use unix domain sockets

Revision 487 - Directory Listing
Modified Mon Nov 28 18:46:03 2005 UTC (3 years, 11 months ago) by srhea
Original Path: trunk/uia/router
removed dead code

Revision 486 - Directory Listing
Modified Fri Nov 25 18:17:03 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
cleaning up Makefiles

Revision 479 - Directory Listing
Modified Fri Nov 18 17:36:12 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
fail sends to unknown destinations

Revision 478 - Directory Listing
Modified Fri Nov 18 16:59:01 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
cleaned up a bit

Revision 477 - Directory Listing
Modified Fri Nov 18 16:50:54 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
listening added to test, works

Revision 476 - Directory Listing
Modified Fri Nov 18 15:59:58 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
basic test now passing

Revision 475 - Directory Listing
Modified Fri Nov 18 15:12:25 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
getting closer

Revision 474 - Directory Listing
Modified Fri Nov 18 02:54:30 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
cleanup

Revision 473 - Directory Listing
Modified Fri Nov 18 02:54:06 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
don't send a lookup back to the peer that sent it to us

Revision 472 - Directory Listing
Modified Thu Nov 17 23:03:16 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
recv now works through gw

Revision 471 - Directory Listing
Modified Thu Nov 17 21:40:51 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
lots of cleaning up

Revision 470 - Directory Listing
Modified Thu Nov 17 20:40:34 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
renaming files

Revision 469 - Directory Listing
Modified Thu Nov 17 20:32:59 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
forward working

Revision 379 - Directory Listing
Modified Thu Nov 3 20:52:01 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
changed program names

Revision 378 - Directory Listing
Modified Thu Nov 3 20:49:19 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
merged lookup.C and hint.C into routedcmd.C

Revision 371 - Directory Listing
Modified Wed Nov 2 21:48:29 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
lookups working

Revision 366 - Directory Listing
Modified Mon Oct 31 22:31:34 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
broke into two files, cleaned up

Revision 365 - Directory Listing
Added Mon Oct 31 21:42:33 2005 UTC (4 years ago) by srhea
Original Path: trunk/uia/router
two peers can now connect to each other

Sort log by:

Maintained by PDOS
ViewVC Help
Powered by ViewVC 1.0.3