Commit Graph

184 Commits

Author SHA1 Message Date
MissValeska
325b82ff3c Checking the value of rule in insert_rule 2014-12-03 13:00:17 -08:00
MissValeska
4dcc515709 Checking the value of rule in insert_rule 2014-12-03 12:58:47 -08:00
MissValeska
564da85dc8 Checking the value of rule in insert_rule 2014-12-03 12:51:52 -08:00
MissValeska
6ef905da67 Merge origin/master 2014-12-03 12:32:28 -08:00
MissValeska
9ec62661b2 Checking the value of rule in mark_init 2014-12-03 12:31:04 -08:00
Valeska
93eac85586 Merge pull request #10 from dyne/ml_links
fixed links to mailinglist
2014-12-01 21:30:25 -08:00
Jeremy Sturdivant
e3e0217ca9 Retyped lxlee1102's fix for #11 2014-11-26 07:43:49 -08:00
MissValeska
de85724e7b The ntk-wifi script should work now, Including it's new --undo argument. 2014-11-25 11:15:41 -08:00
MissValeska
66500c1c2c Improvements 2014-11-25 08:28:58 -08:00
Jaromil
c8f8615ba5 fixed links to mailinglist 2014-11-11 01:43:15 +01:00
MissValeska
677df07d69 netsplit argument fix 2014-11-06 20:05:00 -08:00
MissValeska
796c09a799 netsplit debug info 2014-11-06 20:04:02 -08:00
MissValeska
de9f35eb02 debug info/usage format fixes 2014-11-06 20:02:39 -08:00
MissValeska
704b7ebd76 I changed a lot in implementing and setting up testing stuff for netsplit, Including a new netsplit struct in netsukuku.h which may or may not be permanent. It was the only way I could find to preserve a variable from netsukuku.c to andns.c. Also, The netsukuku.c interface argument has, apparently, been just a break statement for a long time, I have reverted it. I still don't totally understand how it works, though. There is more to come! 2014-11-06 19:17:14 -08:00
MissValeska
8c39cf1d98 netsplit work 2014-11-06 17:27:44 -08:00
MissValeska
37deedce61 netsplit.c format fix 2014-11-06 16:47:04 -08:00
MissValeska
f8a151e7fb Netsplit progress, ntk_mode properly set up. 2014-11-06 15:59:07 -08:00
MissValeska
c5cfe42811 Netsplit functionality in-progress 2014-11-06 15:49:43 -08:00
MissValeska
9fd91b8e01 fixed usage() 2014-11-06 15:47:34 -08:00
MissValeska
09826bb34a Massive experimental work done on implementing ntk netsplit as defined in the rfc http://netsukuku.freaknet.org/docs/main_doc/ntk_rfc/Ntk_net_split 2014-11-06 15:44:02 -08:00
MissValeska
dd2e7d5649 always more work to do 2014-10-28 18:33:01 -07:00
MissValeska
2cc1ce7892 Fixed the strcmp comparison and printing error in the exclude_interface function. 2014-10-28 16:39:08 -07:00
MissValeska
84b6ed71d5 Fixed some stuff 2014-10-28 16:30:26 -07:00
MissValeska
454aa9a776 I have found some stuff in netsukuku which I have used to fix the exclude argument, It should now function correctly. Testing is needed. 2014-10-27 11:04:57 -07:00
MissValeska
247d4895e9 it should finally be fixed. 2014-10-26 09:39:25 -07:00
MissValeska
8bc5d69758 The ntk-console client command console_uptime should now not print negative numbers, And inet_sendto should now properly print ipv4 addresses in a human readable format. 2014-10-26 09:31:49 -07:00
MissValeska
175f795a2b Maybe it will work now? 2014-10-26 08:54:47 -07:00
MissValeska
2c1bdf5990 Maybe it will work now? 2014-10-26 07:43:06 -07:00
MissValeska
201b69221e okay, so I will need to find another way to display an ipv4 address in a human readable format. 2014-10-26 07:28:07 -07:00
MissValeska
67b7f162ff Experimental Debug text fixes. 2014-10-26 07:21:35 -07:00
MissValeska
cfa05e3a64 Fixed Debug text. 2014-10-26 07:02:26 -07:00
MissValeska
b48ef3560f Fixed Debug text. 2014-10-26 06:58:14 -07:00
MissValeska
0150e04c01 Cleaned up some more spam texts. 2014-10-26 06:50:49 -07:00
MissValeska
4b512c8ef8 Adding some debug options, And cleaned up spam texts. 2014-10-26 06:46:44 -07:00
MissValeska
738f6cf903 I just noticed that inet_sendto does NOT call inet_send as I previously assumed, It calls sendto itself. I guess I didn't see that it didn't have inet_ before it. I, Also, Realised that this means that the fragmentation code I copied from inet_send won't work because it calls inet_send instead of inet_sendto. I, Also, Realised that, I need to add the inet_sendto arguments as well. This should fix the cannot send(): Destination address required errors. 2014-10-21 02:31:41 -07:00
MissValeska
ae7fc0ee70 Added Packet Successfully sent text plus errno for inet_sendto. 2014-10-21 01:20:46 -07:00
MissValeska
d6986b3f4d Adds errno and err reporting to inet_sendto. 2014-10-21 01:18:26 -07:00
MissValeska
7953b9af92 I just made a change and realised, If the the EMSGSIZE case is ever called upon, We won't know if that is actually an error or not. It has a procedure to resolve it, And if we see a big error message, It might scare us even though it is probably fixed. We, Also, Don't know if the error message is for the same packet, or another. I will have to look into fixing this. 2014-10-21 01:09:38 -07:00
MissValeska
06de3f1f9e This should fix the packet artifically fragmented errors, Hopefully. 2014-10-21 01:04:01 -07:00
MissValeska
e6bea6b2c0 I fixed a compilation error, Dunno why a number in a #define wouldn't be in quotation marks, Also, Why is config.h in .gitignore? 2014-10-16 05:31:13 -07:00
MissValeska
5469434241 Merge branch 'kallisti5-master'
The Merge should now be complete! Please revert if anything was removed accidentally or that you would like to be replaced. Especially revert if any problems/regressions are noticed! - Valeska
2014-10-15 21:45:39 -07:00
MissValeska
0fdc2ad732 working 2014-10-15 21:45:14 -07:00
MissValeska
01fd7798ca merging 2014-10-15 21:35:27 -07:00
MissValeska
e52842f8d8 Modified the console time function to always produce a non-negative and correct value. 2014-09-25 14:03:24 -07:00
Valeska
719232b6f9 A comment to explain how inet_send works with the EMSGSIZE case.
I almost made a very complicated and unneeded change instead of just leaving it as it is because I didn't think of this. So I want this to be here so everyone can understand how this works.
2014-09-21 16:15:48 -07:00
Alexander von Gluck IV
eb6648d7ec Revert "gmap: Limit new IPv4 nodes to a class-b private network"
This reverts commit 1dc21e5bc5.

* May bike-shed the ipv4 address to a class A.
2014-09-19 18:18:42 -05:00
Alexander von Gluck IV
1dc21e5bc5 gmap: Limit new IPv4 nodes to a class-b private network
* 172 is generally used for auto-config... so it fits
  well with the ad-hoc mesh nature of Netsukuku
* IPv6 could be limited to a uni-cast local address
  as well.
2014-09-19 14:37:48 -05:00
Alexander von Gluck IV
ba6c7a6bf9 headers: Fix missing header comments 2014-09-17 10:36:24 -05:00
Alexander von Gluck IV
3c840072e0 qspn-empiric: If we return non-void we have to return *something* 2014-09-17 07:54:18 -05:00
Alexander von Gluck IV
e264723db2 all: Automatic style cleanup, KnR. No functional change.
* Style varied wildly between files and within files.
* find . -name "*.c" -exec indent {} -ut -ts4 -kr -psl \;
* find . -name "*.h" -exec indent {} -ut -ts4 -kr -psl \;
2014-09-17 07:41:24 -05:00