
Log of /trunk/uia/uianet/tun
Directory Listing
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
3188 -
Directory Listing
Modified
Mon Mar 10 21:34:45 2008 UTC (20 months, 2 weeks ago) by
jastr
fix for the icmp-response larger than 1500 bytes bug.
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
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
2810 -
Directory Listing
Modified
Thu Oct 4 14:34:18 2007 UTC (2 years, 1 month ago) by
jastr
ignore unknown protocols (from rsc)
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
1388 -
Directory Listing
Modified
Mon Dec 4 18:05:24 2006 UTC (2 years, 11 months ago) by
jastr
Original Path:
trunk/uia/tun
dnspxy and tunwprd should try to dump core to /var/log/uia, not just
the router.
Revision
1200 -
Directory Listing
Modified
Wed Jul 26 19:57:52 2006 UTC (3 years, 4 months ago) by
jastr
Original Path:
trunk/uia/tun
nobody complained, so here goes.
merge n770 branch -> trunk
includes all of -r1159:1199
Revision
1176 -
Directory Listing
Modified
Tue Jul 11 17:39:50 2006 UTC (3 years, 4 months ago) by
srhea
Original Path:
trunk/uia/tun
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
1174 -
Directory Listing
Modified
Tue Jul 11 15:49:09 2006 UTC (3 years, 4 months ago) by
srhea
Original Path:
trunk/uia/tun
Now automatically removes extra 'fe80::...' IPv6 address that gets added to
tun0 on Darwin.
Revision
1153 -
Directory Listing
Modified
Tue Jun 27 20:11:40 2006 UTC (3 years, 5 months ago) by
jastr
Original Path:
trunk/uia/tun
merge in r1142:1151 from branches/add-ports-to-router
Revision
1141 -
Directory Listing
Modified
Tue Jun 13 18:07:55 2006 UTC (3 years, 5 months ago) by
srhea
Original Path:
trunk/uia/tun
Something I forgot at the meeting today: the tun driver on Mac used to fail if
you hadn't loaded the proper kernel extention. It now loads the extension
itself.
Revision
1106 -
Directory Listing
Modified
Tue May 23 08:22:40 2006 UTC (3 years, 6 months ago) by
baford
Original Path:
trunk/uia/tun
We don't need the old .cvsignore files anymore, do we?
Revision
1073 -
Directory Listing
Modified
Thu May 11 18:02:27 2006 UTC (3 years, 6 months ago) by
srhea
Original Path:
trunk/uia/tun
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
1067 -
Directory Listing
Modified
Wed May 10 18:07:29 2006 UTC (3 years, 6 months ago) by
srhea
Original Path:
trunk/uia/tun
1. Now sanitizes arguments, making sure that the device, prefix, and EID all
have the right form, and that the prefix is in fact a prefix of the EID.
2. No longer calls system(), but uses fork(), execve(), and wait() instead;
should further security (beyond just sanitizing parameters).
3. Makes sure all outgoing packets have the right prefixes on their src and
dst, and sets the prefixes on the src and dst of all incoming packets, in
preparation for being able to run more than one router per physical machine
(for testing purposes).
Revision
918 -
Directory Listing
Modified
Thu Apr 13 00:00:32 2006 UTC (3 years, 7 months ago) by
srhea
Original Path:
trunk/uia/tun
recompute tcp checksum after rewriting src and dst addrs on recv
Revision
879 -
Directory Listing
Modified
Tue Apr 4 17:51:24 2006 UTC (3 years, 7 months ago) by
srhea
Original Path:
trunk/uia/tun
tunwrp now using capi for XDR routines
Revision
867 -
Directory Listing
Modified
Mon Apr 3 15:57:28 2006 UTC (3 years, 7 months ago) by
srhea
Original Path:
trunk/uia/tun
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
861 -
Directory Listing
Modified
Mon Apr 3 14:01:05 2006 UTC (3 years, 7 months ago) by
baford
Original Path:
trunk/uia/tun
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
802 -
Directory Listing
Modified
Wed Mar 29 20:01:03 2006 UTC (3 years, 7 months ago) by
srhea
Original Path:
trunk/uia/tun
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
775 -
Directory Listing
Modified
Mon Mar 27 23:16:30 2006 UTC (3 years, 8 months ago) by
baford
Original Path:
trunk/uia/tun
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/tun
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
746 -
Directory Listing
Modified
Sat Mar 25 16:28:42 2006 UTC (3 years, 8 months ago) by
baford
Original Path:
trunk/uia/tun
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
721 -
Directory Listing
Modified
Wed Mar 22 00:31:58 2006 UTC (3 years, 8 months ago) by
srhea
Original Path:
trunk/uia/tun
removed rpcc bits from router and tun
Revision
682 -
Directory Listing
Modified
Tue Mar 14 23:28:00 2006 UTC (3 years, 8 months ago) by
srhea
Original Path:
trunk/uia/tun
tun wrappers for Darwin and Linux now use YAM instead of SFS. ssh tested and
working. FreeBSD tun wrapper didn't work before, and I don't have a FreeBSD
crash box, so I've removed it for now.
Revision
666 -
Directory Listing
Modified
Mon Mar 13 21:53:02 2006 UTC (3 years, 8 months ago) by
srhea
Original Path:
trunk/uia/tun
was still using unix domain sockets
Revision
659 -
Directory Listing
Modified
Mon Mar 13 18:15:13 2006 UTC (3 years, 8 months ago) by
srhea
Original Path:
trunk/uia/tun
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
570 -
Directory Listing
Modified
Sun Jan 15 20:28:23 2006 UTC (3 years, 10 months ago) by
jastr
Original Path:
trunk/uia/tun
disable jacob's fvcked up checksum stuff which broke mac<->mac somehow.
also don't do dns lookups to amsterdam is we knew of no dns servers.
Revision
566 -
Directory Listing
Modified
Sun Jan 15 00:42:19 2006 UTC (3 years, 10 months ago) by
jastr
Original Path:
trunk/uia/tun
fix linux route add
more logging for named
Revision
560 -
Directory Listing
Modified
Sat Jan 14 21:58:10 2006 UTC (3 years, 10 months ago) by
jastr
Original Path:
trunk/uia/tun
move ip6 checksum code into darwin.C
(this will break the linux build until I fix it shortly)
Revision
559 -
Directory Listing
Modified
Sat Jan 14 21:43:27 2006 UTC (3 years, 10 months ago) by
jastr
Original Path:
trunk/uia/tun
recompute ipv6 checksum on recieve
Revision
508 -
Directory Listing
Modified
Thu Dec 22 19:56:12 2005 UTC (3 years, 11 months ago) by
jastr
Original Path:
trunk/uia/tun
compiles with apple's gcc 4.0.1
Revision
501 -
Directory Listing
Modified
Tue Dec 6 15:35:43 2005 UTC (3 years, 11 months ago) by
srhea
Original Path:
trunk/uia/tun
no more representing eids as strings
Revision
494 -
Directory Listing
Modified
Fri Dec 2 15:37:58 2005 UTC (3 years, 11 months ago) by
srhea
Original Path:
trunk/uia/tun
open tun log file with unpriviledged uid
Revision
493 -
Directory Listing
Modified
Tue Nov 29 19:07:45 2005 UTC (3 years, 11 months ago) by
srhea
Original Path:
trunk/uia/tun
now using logrotate-compatible logging