Commit Graph
96 Commits
Author SHA1 Message Date
Tobias Brunner 4a5a5dd290 Using the thread wrapper in charon, libstrongswan and their plugins. 2009-12-23 17:03:41 +01:00
Martin Willi f469754f7f Undef PACKAGE_BUG/URL of strongSwan before including ruby variants 2009-12-08 14:36:22 +01:00
Martin Willi 7b3814f75d remove spaces before tabs at the beginning of lines (^( )+\t) 2009-09-04 15:02:11 +02:00
Martin Willi 323f9f990f replaces four spaces by tabs, where appropriate 2009-09-04 14:50:23 +02:00
Martin Willi 7daf5226b7 removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00
Martin Willi d9796a4311 fixed printf fromat for length limited string 2009-08-07 10:31:21 +02:00
Martin Willi 2b7129f9b3 added mconsole exec patch based on 2.6.30 2009-07-01 13:53:46 +02:00
Martin Willi fb64239cab added mconsole exec patch based on 2.6.29 2009-07-01 13:52:54 +02:00
Martin Willi 66b8345f9f added generated extconf.rb to .gitignore, removed it from distribution 2009-05-25 15:45:05 +02:00
Tobias Brunner ad36ab252e Automatically build (and install) the DUMM Ruby extension. 2009-05-20 19:38:01 +02:00
Tobias Brunner 2d9ce480fa Enable building the DUMM Ruby extension in a VPATH build. 2009-05-20 19:38:01 +02:00
Tobias Brunner d2e9cbc9a2 The configure script now tries to figure out where ruby.h is located.
This is required because the location depends on the architecture.
2009-05-20 19:38:01 +02:00
Martin Willi 4a0c97e7d4 also update permission in template/guest folders
some identation cleanups
2009-05-11 17:26:13 +02:00
Martin Willi db879fdfac removed @brief doxygen keywords 2009-05-11 17:24:51 +02:00
Martin Willi 5d47f284b8 list available templates using "template" alias 2009-05-11 17:20:01 +02:00
Martin Willi 47a9a48f5b ruby bindings for template enumerator 2009-05-11 17:19:36 +02:00
Martin Willi 608046c09c added a Dumm template enumerator 2009-05-11 17:18:59 +02:00
Martin Willi 05ac17f0e1 allow "others" to read created dumm files/folders 2009-05-11 16:38:04 +02:00
Martin Willi a4df55e363 added .gitignore files for dumm 2009-05-07 10:19:19 +02:00
Tobias Brunner 8c5d72cd0b removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
Martin Willi be0a03be64 set default CFLAGS globally, including -Wno-format 2009-04-27 11:34:07 +00:00
Andreas Steffen 08b2d288a1 scepclient and pluto use asn1 from libstrongswan 2009-04-20 20:53:38 +00:00
Martin Willi 6e5c8d9413 do not load guests starting with a ".", such as ".svn" 2009-04-09 13:43:26 +00:00
Martin Willi d848b951fc simplified statfs 2009-04-09 12:06:01 +00:00
Martin Willi 79f81838bc added template() shortcut 2009-04-07 17:58:23 +00:00
Martin Willi 8a7d32452c added Dumm.method_missing, allows direct invocation of guests/bridges 2009-04-07 17:54:15 +00:00
Martin Willi cf61575dc3 added booted?/boot methods 2009-04-07 17:13:44 +00:00
Martin Willi 801548155c use safe each() implementations, allowing delete() in block
implement Client.reset() in ruby
2009-04-07 14:56:19 +00:00
Martin Willi c4087a8e70 added a reset() method to Dumm and each client
identation cleanups
2009-04-07 14:22:02 +00:00
Martin Willi 28970d5967 fixed template loading/unloading
identation cleanups
2009-04-07 13:07:13 +00:00
Martin Willi 58da11911b store all templates in a subdirectory 2009-04-07 13:06:33 +00:00
Martin Willi 5ec7ff5675 do not purge interfaces on template load 2009-04-07 12:59:54 +00:00
Martin Willi c587052624 added updated mconsole-exec patch for 2.6.28 2009-03-05 14:32:15 +00:00
Martin Willi 479f295049 fixed compiler warnings issued by:
gcc 4.3
	curl.h gcc type-checking
	glibc with enabled FORTIFY_SOURCE checking
2008-11-11 18:37:19 +00:00
Martin Willi ae42288a81 fixed some minor issues found when using -DFORTIFY_SOURCE=2 2008-11-10 15:45:19 +00:00
Martin Willi ac29400e34 added missing includes 2008-11-05 14:22:58 +00:00
Martin Willi a1db79b31a fixed some compiler warnings 2008-10-27 11:13:33 +00:00
Martin Willi 61508be2f5 added a guest.mconsole() method to script mconsole (e.g. add additional conX=) 2008-10-15 14:47:52 +00:00
Tobias Brunner 1adaa02bb2 merging kernel_pfkey plugin back from kernel-interface branch 2008-10-14 08:46:31 +00:00
Martin Willi 405e8ecfe3 set guest-specific kernel parameters
removed memory setting, use mem= instead
2008-10-10 11:20:04 +00:00
Martin Willi c8ba5125d6 guest bootup waits for init, not for network stack (fixes 2.6.27 guest kernels) 2008-10-07 16:31:41 +00:00
Martin Willi 693a244d0f ported mconsole-exec patch to 2.6.27-rc7 2008-10-07 09:09:34 +00:00
Tobias Brunner 8bbc7ca710 * allow to load templates from arbitrary places
* changed implementation of guest?/iface?
2008-08-28 08:05:07 +00:00
Tobias Brunner ca4f63383c * guest#running?
* guest?, iface? (also Guest.include? resp. guest.include?)
 * easy accessors for guests and ifaces (Guest.sun instead of Guest["sun"] and guest.eth0 instead of guest["eth0"])
 * if a block is given for iface#add or iface#del then the change is only temporary while executing the block and gets reverted afterwards
2008-08-27 07:35:20 +00:00
Martin Willi 7c112a12c0 run guests with some niceness 2008-08-22 08:37:15 +00:00
Tobias Brunner e5d6f165fc * ruby extension extracted from irdumm
* guests do not shutdown anymore on SIGINT in irb
2008-08-07 14:56:54 +00:00
Tobias Brunner f753e03ab8 added missing cleanup on failure 2008-08-06 07:31:26 +00:00
Tobias Brunner 5e9346ed92 exec on a guest now returns the return value of the executed process 2008-07-31 12:59:59 +00:00
Tobias Brunner eadd460f7c the list of addresses on the interface of a guest is not cached anymore, but queried directly from the interface 2008-07-30 13:15:18 +00:00
Tobias Brunner 9901cdb4cd * Guest#exec uses the new exec_str function
* tab completion in irdumm enabled
2008-07-30 13:01:04 +00:00