43 Commits (679665b305d539dc4b5c1bbdeeb1126e47df1fdc)

Author SHA1 Message Date
  Yann Weber 679665b305 Solves #3 : fixing interface deduplication 5 years ago
  Yann Weber d33cd91c1c Deleted warnings in netsuku.c 6 years ago
  MissValeska f439b7d549 Many changes, Some possible fixes/optimisations in inet.c and the addition of inet_sendfile64 9 years ago
  MissValeska 66500c1c2c Improvements 9 years ago
  MissValeska 677df07d69 netsplit argument fix 9 years ago
  MissValeska 796c09a799 netsplit debug info 9 years ago
  MissValeska de9f35eb02 debug info/usage format fixes 9 years ago
  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! 9 years ago
  MissValeska 9fd91b8e01 fixed usage() 9 years ago
  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 9 years ago
  MissValeska dd2e7d5649 always more work to do 9 years ago
  MissValeska 2cc1ce7892 Fixed the strcmp comparison and printing error in the exclude_interface function. 9 years ago
  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. 9 years ago
  Alexander von Gluck IV e264723db2 all: Automatic style cleanup, KnR. No functional change. 9 years ago
  Alexander von Gluck IV fd551da7b4 ntk: Don't return in function that doesn't use returns 9 years ago
  Alexander von Gluck IV cf9063f92b ntk: Clean up console spawning 9 years ago
  MissValeska b13c3bf5de I have done a LOT of work! I have changed the whole paradigm of the ntk console client and console bindings! I have changed it from peer to peer to server-client because there was no point doing it the other way, And that way was hard and I didn't really know what I was doing. I followed some IBM examples, And didn't try to extrapolate. 9 years ago
  MissValeska bd9a10620f Wow! That was a lot of work! But, Netsukuku now has (or should have) a functioni 9 years ago
  MissValeska a7b9b6cf51 I added more complete comments, And cleaned up some stuff. 10 years ago
  MissValeska e542a51345 Wow! I've done A LOT of work on the netsukuku console recently! I still haven't set up any way for ntkd to receive the commands, Or done much of anything in netsukuku itself recently except change some stuff in the exclude function to prevent possible errors if an interface had the same name up until the end of the one specified. I.E if it had tunl012, It wouldn't work because it had tunl0 in the beginning. Now, It will read from the entire length of the variable, And if it doesn't match it entirely, Then it is okay. 10 years ago
  MissValeska 15ddf1c45b Fixed a variable declaration 10 years ago
  MissValeska 9d790fcc07 Okay, Testing again, I've been doing a bunch of reading of netsukuku's code, Hopefully this will work. 10 years ago
  MissValeska 0f9b385a31 Okay, So, I seem to have fixed the compilation errors, I will begin testing now. 10 years ago
  MissValeska c57ad438ed More testing, Re-enabled exclude functions. 10 years ago
  MissValeska e148dc2389 Okay, There are some compilation errors, And, While the check_interfaces function will work, It will only work if the interface lists are already populated. Which, Doesn't seem to happen until after the argument section of netsukuku. I guess we will have to, Either, Call those functions somehow (In a way that won't cause them to be called twice, And, Thus, Create duplicates.), Or, Use the exclude_interfaces function. However, That function is probably sub-par, I don't know how well it will really work with the rest of netsukuku. 10 years ago
  MissValeska 19ce039cee I added a lot of stuff! I fully set up exclude_interface to ignore inactive interfaces, and optarg, Along with a small list of other interfaces. I did some bug fixing, And looked into how netsukuku sets it's interfaces by default, And added some stuff to deal with that too. 10 years ago
  MissValeska 3b039c4e55 More testing 10 years ago
  MissValeska b8c8d1142b Added the beginnings of a function to check if a second exclude argument is excluding something that was already added into netsukuku's interface list, And removes it. 10 years ago
  MissValeska b16541893c I decreased the amount of code, Improved the readiablity, And, Hopefully, Fixed some bugs. 10 years ago
  MissValeska 27f363f9b1 Oh, My, GOD! You may think I was just doing afk the past week or so, But, You'd be wrong, So, So, SO wrong. I've spent almost every day working as hard as I can on this commit here. It should work perfectly now, It should properly exclude interfaces, And, It should automatically exclude inactive ones. More testing is needed, Especially testing of running the -e argument multiple times, I.E -e eth0 -e wlan0. Anyway, Thank you for reading, And for downloading. 10 years ago
  MissValeska a7bbd6dff7 Sorry, I should have read more about goto, I understand now, And it should work now. 10 years ago
  MissValeska d286e89ddd Here is a vagrant file I have been testing with, You will have to use vde_switch in order to run netsukuku without being disconnected from ssh. Also, I've done some work on the exclude argument, I'm testing some goto stuff right now, I'm primarily pushing this for testing purposes across multiple devices. 10 years ago
  MissValeska f976e01bc3 The Exclude argument should only use active interfaces. 10 years ago
  MissValeska 6e7d252878 Everything should now be okay, Just, Don't leave any interfaces disabled. We still need to figure out how to handle excluding multiple interfaces, And for ignoring disabled ones. 10 years ago
  MissValeska e5eaf16cab The Exclude argument should now work, And some unneccesary debugging stuff has been removed. 10 years ago
  MissValeska e06db959e8 Exclude would work, If there wasn't a segmentation fault. 10 years ago
  MissValeska 7333da2f7c gah, So many errors with this exclude thing. 10 years ago
  MissValeska 01042aaadc I've done A LOT of work on an exclude interface argument. I.E us all interfaces except this one. It does not work yet, Any help anyone provides in fixing it will be appreciated. 10 years ago
  MissValeska ec70f4cb47 Changed SIGKILL to SIGINT, So Netsukuku will clean and save everything properly. I, Also, Added more stuff to inet_sendto for packet division in the case of errno 90. Still working 10 years ago
  MissValeska 54195c8b76 I spent a few hours adding a kill argument to ntkd, You can now kill an instance of ntkd by just running another with -k 10 years ago
  MissValeska eb91be8f93 I fixed the compilation errors, And netsukuku now works correctly! Probably 10 years ago
  Valeska e636fdb93c I improved the wording of the help list. 10 years ago
  Kirill Sotnikov f1761cad9a git repo init 10 years ago