[cvs] / netsukuku / src / andna.c Repository:
ViewVC logotype

Log of /netsukuku/src/andna.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.124 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 23 08:12:19 2007 UTC (3 years, 7 months ago) by alpt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.123: +1 -1 lines
Diff to previous 1.123
Sources WoCified: see  http://www.freaknet.org/alpt/src/utils/woc/readme

Revision 1.123 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 2 11:14:40 2007 UTC (3 years, 8 months ago) by alpt
Branch: MAIN
Changes since 1.122: +4 -1 lines
Diff to previous 1.122
* rem.c:
        rtt32_t rem_rtt_8to32(rtt8_t x)
        rtt8_t rem_rtt_32to8(rtt32_t y)
        bw32_t rem_bw_8to32(bw8_t x)
        bw8_t rem_bw_32to8(bw32_t y)

* bandwidth_in_8bit() deprecated

* CITE.h added

Revision 1.122 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 30 14:45:23 2006 UTC (3 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.121: +6 -6 lines
Diff to previous 1.121
* The QSPN v2 article has been completed.

* The ANDNA_EXPIRATION_TIME has been incremented from 3days to 30days

* The RTT_DELTA has been lowered from 1000ms to 258ms

* Minor bugs fixed in andns.c, request.c

* The main document has been updated. It now refers to the QSPN v2 too

* The Ntk_bandwidth_measurement is being rewritten

Revision 1.121 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 12 20:04:39 2006 UTC (3 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.120: +24 -19 lines
Diff to previous 1.120
pkts.c and all the related coed has been converted to the new API.

Revision 1.120 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 06:28:10 2006 UTC (3 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.119: +51 -42 lines
Diff to previous 1.119
pkts.c now uses the new modular API of request.c.
Almost all the sources have been updated.

Revision 1.119 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 6 22:39:46 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.118: +33 -0 lines
Diff to previous 1.118
andna.c now uses rq_del_request()

Revision 1.118 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 6 22:33:05 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.117: +23 -23 lines
Diff to previous 1.117
* the Request API and its documentation is now completed, we just need to
  convert pkts.c and some other sources with this new API.

* accept.[ch] was removed because it has been never used, and now, with the
  API change it is obsolete.

Revision 1.117 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 4 04:59:26 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.116: +40 -0 lines
Diff to previous 1.116
* TODO updated
* continuing in request.c

Revision 1.116 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 27 17:50:30 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.115: +6 -4 lines
Diff to previous 1.115
rand.c written

Revision 1.115 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 27 07:06:28 2006 UTC (4 years ago) by alpt
Branch: MAIN
Changes since 1.114: +1 -1 lines
Diff to previous 1.114
module.c completed: the NTK API for modules is ready, now it's time to
modularize the rest of the code.

Revision 1.114 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 11 00:02:39 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.113: +9 -5 lines
Diff to previous 1.113
Yeahah. It works \o/
It was a stupid bug in pkt_compress(). -_'

0.0.9b coming soon

Revision 1.113 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 10 15:34:43 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.112: +1 -2 lines
Diff to previous 1.112
parse_options() fixed: it didn't handle well "-r 1"

Revision 1.112 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 24 15:32:47 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111
ghgrgrh, this little socket optimization is taking more time than required...

Revision 1.111 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 24 09:31:38 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.110: +9 -9 lines
Diff to previous 1.110
cleanings

Revision 1.110 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 24 08:12:14 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.109: +19 -24 lines
Diff to previous 1.109
It almost works, but it hangs on get_ext_maps()

Revision 1.109 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 20 05:33:20 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.108: +73 -61 lines
Diff to previous 1.108
	* An active tcp socket is kept for each rnode, in this way, it is
	  possible to send them tcp packets without the need of estabilishing
	  a new tcp connection each time.

	* The qspn packets are now sent using the tcp sockets described above.

	* Since the UDP isn't used anymore for ntk packets, the udp daemon has
	  been removed. The udp port of the radar daemon is now 269/udp.
	  The 271/udp port has been deprecated.

Revision 1.108 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 18 01:14:17 2006 UTC (4 years, 2 months ago) by efphe
Branch: MAIN
Changes since 1.107: +14 -14 lines
Diff to previous 1.107
All gcc4 compilation warnings removed!

Revision 1.107 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 14 21:10:05 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.106: +1 -1 lines
Diff to previous 1.106
releasing...

Revision 1.106 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 14 15:08:36 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.105: +1 -1 lines
Diff to previous 1.105
small things

Revision 1.105 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 12 10:43:57 2006 UTC (4 years, 2 months ago) by alpt
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104
hash_md5 description in andna.h

Revision 1.104 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 11 07:11:49 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.103: +13 -2 lines
Diff to previous 1.103
first draft of netsukuku.conf.pod

Revision 1.103 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 11 05:48:56 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.102: +8 -7 lines
Diff to previous 1.102
* The adding of snsd records in the rhc is now handled in a better and optimized
  way.
* snsd_*_merge() functions written

Revision 1.102 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 05:32:32 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.101: +1 -0 lines
Diff to previous 1.101
* it seems it is enough stable now.
* global queries still don't work. Dunno why.

Revision 1.101 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 04:22:36 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.100: +2 -1 lines
Diff to previous 1.100
memory is cleaner and shines under the Sun.

Revision 1.100 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 9 20:54:03 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.99: +1 -0 lines
Diff to previous 1.99
added references to http://bugs.dyne.org

Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 9 15:47:31 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.98: +50 -13 lines
Diff to previous 1.98
* If no SNSD record is present, fallback to the mainip
* RSA memory leaks fixed in andna.c

Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 9 13:07:33 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.97: +1 -1 lines
Diff to previous 1.97
Yeah, rh_cache bug fixed

Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 8 04:27:55 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96
* finally the gcc bug workaround on put_qspn_round()
  gccbug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27945
* new macros: bufget(), bufput()

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 7 16:17:57 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.95: +8 -3 lines
Diff to previous 1.95
*** empty log message ***

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 16:44:51 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.94: +43 -27 lines
Diff to previous 1.94
Bugs you dieeeeeeeeeee!

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 15:42:24 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.93: +4 -1 lines
Diff to previous 1.93
* -l logfile option added
* "rc.ntk cclean" cleans /usr/share/netsukuku
* conf.c cleans the environment now

Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 12:04:22 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.92: +19 -6 lines
Diff to previous 1.92
Once upon a time there was the Bug,
the Coder came with his mighty Vim.
With a quick movement of his fingers,
'<=' became '<' and the head of the
Bug was severed.
All the gdbies, lived happy and segfree.

Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 6 09:47:09 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.91: +19 -12 lines
Diff to previous 1.91
The amount of time passed debugging to find a specific bug is inversely
proportional to the lines of code that need to be modified to fix it.

	l = 1/t;

This means that if you pass an infinite amount of time debugging, you'll just
need to change one bit in your code.

Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 4 08:11:38 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.90: +1 -1 lines
Diff to previous 1.90
debugging...

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 19:25:58 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.89: +1 -1 lines
Diff to previous 1.89
WTH did I disabled andna_resolvconf_modify() in !restricted mode ?
oiasdjhasod

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 16:37:44 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.88: +1 -1 lines
Diff to previous 1.88
 resolv.conf is modified if -R is not specified AND if we are in restricted  mode

Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 16:01:42 2006 UTC (4 years, 3 months ago) by efphe
Branch: MAIN
Changes since 1.87: +1 -1 lines
Diff to previous 1.87
- resolv.conf is modified if -R is not specified

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 02:52:50 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.86: +1 -3 lines
Diff to previous 1.86
remember not what changed

Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 2 15:42:24 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.85: +24 -9 lines
Diff to previous 1.85
- load_maps and andna_load_caches use the file_exist() check, this prevents the
  stupid error message "file %s doesn't exist".

- code cleaning: return (EXPR) ? 1 : 0; is the same thing of return (EXPR);
  while return (EXPR) ? 0 : 1; is the same thing of return !(EXPR);

Revision 1.85 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 1 12:30:24 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.84: +3 -2 lines
Diff to previous 1.84
* Check for active ntkd processes. Use a pid file in /var/run/
* various fixes

Revision 1.84 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 31 05:48:37 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.83: +4 -20 lines
Diff to previous 1.83
- functions added:
	* str_to_snsd_service()
	* snsd_proto_to_str()
	* snsd_service_to_str()
- PACKET compression now works
- code cleaned
- test results:
	* snsd service registration	 WORKS
	* andna reverse ip resolution 	 WORKS
	* andna normal resolution 	 WORKS
	* andna snsd resolution		 UNTESTED

Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 30 05:34:00 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.82: +12 -4 lines
Diff to previous 1.82
Compressed pkts coded ;)

Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 28 07:38:44 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.81: +5 -5 lines
Diff to previous 1.81
snsd_cache.c has been completely tested.
Time to test the real stuff in andna.c

Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 27 15:00:55 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.80: +25 -6 lines
Diff to previous 1.80
Debugging snsd_cache.c:
	* stest.c has been written. It tests all the functions of snsd_cache.c
	* In this way, when it'll work completely, we are sure that
	* snsd_cache.c is ok.
	* Current status is 40-50%.

Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 24 16:13:54 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79
Now we can distinguish if a andna_cache is empty or malformed

Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 21 09:41:07 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.78: +5 -3 lines
Diff to previous 1.78
load_snsd() tested and working

Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 16 00:33:56 2006 UTC (4 years, 3 months ago) by alpt
Branch: MAIN
Changes since 1.77: +1 -1 lines
Diff to previous 1.77
added ntk-dig.8 in man/SConstruct and man/makefile.am

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 9 20:39:15 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76
ntkd compiled!
Time to test the goodies

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 5 10:31:28 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75
include errors solved

Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 5 08:29:01 2006 UTC (4 years, 4 months ago) by efphe
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74

Building andns_snsd.
andns_init() now takes a family argument.
andna.c updated.

Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 3 19:38:22 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.73: +53 -29 lines
Diff to previous 1.73
andna_resolve_hash() ready

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 3 01:08:19 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.72: +22 -112 lines
Diff to previous 1.72
andna_recv_rev_resolve_rq() and andna_reverse_resolve() converted to SNSD.
Yay! Is really SNSD completed?
^_^

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 3 00:20:12 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.71: +87 -65 lines
Diff to previous 1.71
andna_resolve_hname() and andna_recv_resolve() are now completely converted to
SNSD.
llist.c: welcome the new list_copy_some() function ;)

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 1 04:36:04 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.70: +90 -38 lines
Diff to previous 1.70
Converting andna_resolve_hname() to SNSD

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 30 16:18:48 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.69: +43 -15 lines
Diff to previous 1.69
andna_register_hname() and andna_recv_reg_rq() converted to SNSD.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 29 03:17:26 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.68: +88 -26 lines
Diff to previous 1.68
The code of the snsd requests has begun!

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 28 10:25:59 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.67: +41 -8 lines
Diff to previous 1.67
the snsd coding continues ;)

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 24 11:00:13 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.66: +4 -1 lines
Diff to previous 1.66
rh_cache and lcl_cache converted to SNSD

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 23 18:16:55 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.65: +6 -4 lines
Diff to previous 1.65
andna_cache converted to SNSD

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 16 20:53:21 2006 UTC (4 years, 4 months ago) by alpt
Branch: MAIN
Changes since 1.64: +21 -21 lines
Diff to previous 1.64
snsd struct stuff finished

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 11 09:48:29 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.63: +12 -178 lines
Diff to previous 1.63
The MX code previously written has been removed.
The coding of the SNSD has begun.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 21:55:47 2006 UTC (4 years, 5 months ago) by efphe
Branch: MAIN
Changes since 1.62: +1 -2 lines
Diff to previous 1.62
Andns library rewritten.
andnslib works on andns protocolo (NTK_RFC 0006).
dnslib works on dns packet
andns works on dns_wrapper.

MX now works for inet resolutions.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 18:37:50 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.61: +57 -62 lines
Diff to previous 1.61
andna_mx_resolve() <-- this is the function which the ANDNS wrapper shall use

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 1 16:09:57 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.60: +108 -12 lines
Diff to previous 1.60
andna_cache.c:
	* the integration of the MX stuff in the rh_cache is complete
	* the calls to *_del_expired() have been optimized (expecially for the
	  rh_cache)

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 29 16:54:46 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.59: +166 -24 lines
Diff to previous 1.59
llist.c:
	* it has been almost completely rewritten
	* list_add has now a different meaning: it adds the struct at the
	  start of the llist, in this way it hasn't to traverse the entire
	  llist.
	* a lot of new functions have been added:
		* list_append, list_swap, list_moveback, list_movefwd,
		  list_moveontop, clist_append
	* LLIST_HDR() macro written

andna:
	* The ANDNA keyring is now saved separately from the lcl_cache.
	  It is saved in andna_lcl_keyring.
	* The `andna_' prefix is now used for the filename of the andna
	  caches.
	* The struct of the resolved_hostnames_cache is changed, we just save
	  the 32bit hash of the hname.
still working on rh_cache....

Revision 1.46.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 24 03:00:40 2006 UTC (4 years, 5 months ago) by alpt
Branch: Released
Changes since 1.46.2.1: +9 -6 lines
Diff to previous 1.46.2.1 , to branch point 1.46 , to next main 1.124
0.0.7b Released

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 17 09:14:54 2006 UTC (4 years, 5 months ago) by alpt
Branch: MAIN
Changes since 1.58: +3 -0 lines
Diff to previous 1.58
set_tos_sk();

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 6 03:30:25 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.57: +6 -6 lines
Diff to previous 1.57
tunnels

Revision 1.46.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 2 04:25:46 2006 UTC (4 years, 6 months ago) by alpt
Branch: Released
Changes since 1.46: +41 -28 lines
Diff to previous 1.46
Branch "Released" updated to the current 0.0.6b version.

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 24 06:04:35 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
YEahaahahaha!!!! Now it works!!!
Yuppi, yeahah

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 24 06:02:11 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
Nooooooooo!
Another stupid ugly damned bug.

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 24 05:53:15 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
Finally I've found this damned bug

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 22 03:00:53 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53
little fixes

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 22 00:30:13 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.52: +2 -0 lines
Diff to previous 1.52
ANDNS_SKEY_LEN was a fixed value but a packed rsa privkey isn't always of the
same size. This has been fixed. Does the same happen for the pubkey?

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 03:54:00 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.51: +10 -7 lines
Diff to previous 1.51
Endian fixes in andna: it isn't necessary to convert the MD5 hash to network
order

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 18 04:01:11 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.50: +11 -13 lines
Diff to previous 1.50
endianness fix in get_single_acache()

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 18 03:13:05 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.49: +5 -1 lines
Diff to previous 1.49
debug

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 16 02:36:19 2006 UTC (4 years, 6 months ago) by alpt
Branch: MAIN
Changes since 1.48: +4 -4 lines
Diff to previous 1.48
cleaned some signedness warning

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 10 04:05:41 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
The NTK_RFC 0008 has been implemented (not tested).

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 5 00:44:33 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.46: +11 -6 lines
Diff to previous 1.46
- The NTK_RFC 0007 has been implemented. It fixes a bug in the ANDNA protocol.

- Added a timeout of 60 seconds for the reverse resolution request.

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 29 02:55:50 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Branch point for: Released
Changes since 1.45: +11 -9 lines
Diff to previous 1.45
* Fixed an heap overflow in andna.c
* Consider also LOOPBACK address to reverse resolve in andns_rslv.c

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 15:30:00 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.44: +15 -5 lines
Diff to previous 1.44
All the possible situation regarding the manual editing of /etc/resolv.conf
are now considered. The user cannot mess anymore it ;)

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 10:50:44 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.43: +14 -2 lines
Diff to previous 1.43
* Fixed a bug in the parser of netsukuku.conf
* loginfo -> debug in andns*.c
* When restoring resolv.conf.bak don't include the "nameserver 127.0.0.1"
  string in resolv.conf.
* Code cleaned

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 08:29:31 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.42: +23 -10 lines
Diff to previous 1.42
andna_reverse_resolve returns only currently registered hnames.
andna_reverse_resolve handles the request to resolve the same IP of the node
(which is doing the request).

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 06:17:00 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.41: +4 -3 lines
Diff to previous 1.41
Comment the other nameservers when we put "nameserver 127.0.0.1" in
/etc/resolv.conf

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 25 01:27:17 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.40: +19 -19 lines
Diff to previous 1.40
The ANDNS/ANDNA reverse resolution works!

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 25 00:57:09 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.39: +8 -7 lines
Diff to previous 1.39
Little errors fixed in recv_reverse_resolve()

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 23 06:08:01 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.38: +2 -4 lines
Diff to previous 1.38
little improvements

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 23 02:30:18 2006 UTC (4 years, 7 months ago) by efphe
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37

Is andns ok? Test, test, test

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 14 02:14:46 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.36: +9 -6 lines
Diff to previous 1.36
clean the opaque cristal.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 14 00:32:03 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.35: +9 -3 lines
Diff to previous 1.35
* andna.c: do not receive a flood we started
* andns_rslv.c: another endianness fix, andna_resolve_hname() returns host order ip.
* andns_pkt.c: use xstrndup() instead of str=xmalloc(len); strncpy(str, from, len);

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 12 06:37:33 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.34: +5 -3 lines
Diff to previous 1.34
Pointer bug in andns fixed

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 12 05:25:17 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.33: +6 -4 lines
Diff to previous 1.33
Fixed a double xfree() bug in andns_rslv.c
Andns integrated in dns_wrapper.c

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 11 04:30:49 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.32: +3 -0 lines
Diff to previous 1.32
Andns compiles.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 11 02:51:10 2006 UTC (4 years, 7 months ago) by alpt
Branch: MAIN
Changes since 1.31: +2 -15 lines
Diff to previous 1.31
andna bug fixed: there were too many op_set_filter() for the andna requests.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 29 05:02:07 2005 UTC (4 years, 8 months ago) by alpt
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30
* igw_order() optimized.
* #define FAMILY_LVLS GET_LEVELS(rpkt.from.family)

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 23:00:53 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.29: +21 -2 lines
Diff to previous 1.29
The 0001 still doesn't work perfectly.
- join_rate system improved
- op_filter() written: it is used to filter/drop incoming requests or replies.
- Invalid groups, i.e 234 in level 3, now are not chosen: is_group_invalid().
- code cleaned

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 7 23:52:44 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
merge_ext_maps() has been written.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 1 22:36:51 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.27: +2 -0 lines
Diff to previous 1.27
The test of the coded part of the 0001 has begun.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 28 20:53:37 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.26: +24 -1 lines
Diff to previous 1.26
Main part of the NTK_RFC 0001 finished (gotta test it now).

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 13 19:57:59 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25
In some andna pkts there is a `time_t timestamp' var, before this commit
the time was stored in the time() format but this was wrong since the time
can differ from one node to another, so the difference of seconds between
the current time and time_t must be used, moreover for the andna pkts it isn't
necessary to count the rtt between the two nodes since it is very small
compared to the ANDNA_EXPIRATION_TIME.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 13 12:07:04 2005 UTC (4 years, 9 months ago) by alpt
Branch: MAIN
Changes since 1.24: +34 -23 lines
Diff to previous 1.24
Coding of the RFC 0001 continues:
	- Now the number of nodes present in a gnode is counted. At hooking
	  this number is given to the hooking node which updates its counter.
	  For this reason the qspn_round_pkt is changed, so the 0.0.5 is no
	  more compatible with the previous versions.

	- The rehook() function has been written. It will be used to rehook.

- Bug 0001 solved (see //lab.dyne.org/Netsukuku_bugs)

- The command line options override the ones specified in the config file.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 8 22:22:51 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23
TODO updated

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 6 11:30:54 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22
accept.c was disabled.
There was a really stupid error in dns_wrapper.c, which maybe is the cause of
all those random crashes!

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 6 10:35:35 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
hname_update_too_early fix

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 5 19:51:15 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.20: +12 -8 lines
Diff to previous 1.20
-R option added: it prevents the modification of /etc/resolv.conf.
It can be set from netsukuku.conf too.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 3 17:40:57 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.19: +22 -1 lines
Diff to previous 1.19
/etc/resolv.conf is now modified automatically.

When the daemon is launched /etc/resolv.conf is modified automatically, so
the "nameserver 127.0.0.1" is added in the first line of resolv.conf. The
old resolv.conf is at /etc/resolv.conf.bak. When the daemon is closed
/etc/resolv.conf.bak is moved to /etc/resolv.conf.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 30 01:31:07 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.18: +10 -12 lines
Diff to previous 1.18
Compilation warnings annihilated

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 29 20:22:16 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.17: +1 -0 lines
Diff to previous 1.17
bug in andna_resolve_hname()

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 29 10:48:50 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.16: +19 -13 lines
Diff to previous 1.16
Small changes:
- Fixed andna_check_counter() in andna.c.
- Now when a node dies a qspn is sent. This is useful to keep the maps
  updated. Until now it was disabled.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 27 19:42:51 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.15: +47 -15 lines
Diff to previous 1.15
things are getting more stable.
Bug fixed:
	- the multi-if code didn't set right all the routes. krnl_route.c
	  needed a change in add_nexthop()
	- get_gw_ips() overwrote the stack if single_gw was used.
	- some crashes in the andna.c code.
	- the initialization of the int_info struct for the get_qspn_round
	  request was malformed.
	- qspn_b_add did a wrong memset.
	- the /usr/share/netsukuku directory wasn't created during the
	  installation.
	- Other stuff...

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 23 17:20:00 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
The multi-interfaces code seems to work.
Now you are welcomed to test the CVS version.
Before the release of the 0.0.4b other tests must be made, so one or two weeks
may pass.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 15 22:44:23 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13
Yeah!
The multipath support has been enabled for the external map, this means that
more than one route will be used to reach a gnode. In other words the load
balacing has been fully enabled.
Some tests has been done, it seems to work:
	207.0.0.0/8  proto 15
	        nexthop via 209.71.250.30  dev br0 weight 255
	        nexthop via 124.137.206.193  dev br0 weight 254

Enjoy ^_^ ( The multi network interface is next! hehehe )

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 14 21:45:24 2005 UTC (4 years, 10 months ago) by alpt
Branch: MAIN
Changes since 1.12: +139 -40 lines
Diff to previous 1.12
The code for the endianness support is now complete, but not all the tests has
been made.
All the the packet are now sent without any alignment.
The free_nodes struct has been finally optimised: to keep the list of free nodes
it uses single bits instead of single bytes, this means that the list is now of
32 bytes instead of 256.
The bug in the load_rh_cache code is now fixed.
The installation path of the man page is now fixed.
_THIS CVS VERSION HAS STILL PROBLEMS, DO NOT USE IT_

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 10 20:58:40 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11
From _NOW_ the source code of the CVS is not stable anymore.
The code to handle the endianness in the int/short variables of the packets is
being written. The main code to handle this is in src/endianness.[ch].

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 10:40:59 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
Netsukuku site (re)added in the CVS.
Some GPL legal stuff fixed.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 28 20:12:45 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.9: +20 -35 lines
Diff to previous 1.9
The DNS wrapper was completed, tested and it works. YEA. Thanks to Cyberz.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 22 21:01:36 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
Getting ready for publication. Count to 3 ;)

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 19 21:30:34 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.7: +525 -234 lines
Diff to previous 1.7
All the ANDNA tests finished and working! The next commit ANDNA will become
beta.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 13 21:17:22 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.6: +485 -84 lines
Diff to previous 1.6
Hostname resolve request and reverse resolve request testend and working.
Andna routing tested and worked.
Hash_gnode mutation almost finished.
71% of the english traslation done.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 11 22:55:06 2005 UTC (4 years, 11 months ago) by alpt
Branch: MAIN
Changes since 1.5: +47 -36 lines
Diff to previous 1.5
Counter_node tested and working.
English translation continued.
Code cleaned.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 10 22:23:51 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.4: +169 -70 lines
Diff to previous 1.4
Andna hostname registration tested and working (without counter_node for now ;)

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 7 23:39:01 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.3: +13 -0 lines
Diff to previous 1.3
The code for the configuration file was written.
Other little fixes.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 2 11:06:51 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.2: +94 -26 lines
Diff to previous 1.2
Andna improvements. Document cleaned. English traslation continued.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 30 15:38:15 2005 UTC (5 years ago) by alpt
Branch: MAIN
Changes since 1.1: +1008 -0 lines
Diff to previous 1.1
The ANDNA code is now complete! Joy my friends o/
Yes, and it compiles too. Time to become made testing it ^_.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 23 09:57:48 2005 UTC (5 years, 1 month ago) by alpt
Branch: MAIN
Correzioni varie del documento.
Aggiunta di andna.[ch]

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

alpt (at) freaknet (dot) org
ViewVC Help
Powered by ViewVC 1.1-dev