News: This forum is now permanently frozen.
Pages: [1]
Topic: hash algorithm, kernel module  (Read 5935 times)
« on: September 22, 2011, 19:31:14 »
monolover *
Posts: 10

Hi

I wrote some kernel modules that those implement my own hash and cryptographic
algorithms.

How can i load and use these modules with racoon ?

Can i load my modules in boot time by copy them in "/boot/kernel" directory ?

i'm sorry for my english.
« Last Edit: September 22, 2011, 20:23:30 by monolover »
« Reply #1 on: September 24, 2011, 12:36:11 »
brushedmoss ****
Posts: 446

upload the kernel module  by navigating to exec.php, then load them with kldload command at the same page.  i.e. kldload /tmp/kernelmodule.ko

How you get them working with racoon is up to you, it depends on the module etc.
« Reply #2 on: September 24, 2011, 18:56:00 »
monolover *
Posts: 10


thanks for your answer.

If i reboot the monowall box, i must retry to upload the modules?
How can i save them for ever?
« Reply #3 on: September 25, 2011, 01:18:34 »
brushedmoss ****
Posts: 446

yes, you will lose them on reboot.

you should modify an image (search the forums) or build your own image.  For what you want to do, I'd go with modifying an image.
« Reply #4 on: September 25, 2011, 17:54:36 »
monolover *
Posts: 10

I have two goal from this action.

  1. for my university project.
  2. i'd like to know, inside of an embedded OS (Monowall is small enough).

- I think, I must download an rootfs directory of a specific version of Monowall and add
  my own module to it then recompile it.
  Is it ok? or has a simple way to do that?

- Can i copy my module in '/boot/kernel' in the rootfs file and recompile it then use them when Monowall starts.

- I could not find out the module's location that them implement encryption and hash algorithms for racoon? where are them in root directory?

- Can i use dev handbook for FreeBsd 8.0 or newer version of that?
« Last Edit: September 25, 2011, 18:09:27 by monolover »
« Reply #5 on: September 27, 2011, 00:44:03 »
brushedmoss ****
Posts: 446

I covered modifying an image in this thread http://forum.m0n0.ch/index.php/topic,4215.0.html#msg13576
« Reply #6 on: September 27, 2011, 01:37:08 »
Fred Grayson *****
Posts: 994

cmb's workon.sh seems to have gone missing.

--
Google is your friend and Bob's your uncle.
« Reply #7 on: October 12, 2011, 23:37:16 »
brushedmoss ****
Posts: 446

Here it is,  cmb said it was good to share :-)

rename to .sh instead of .txt

* workon.txt (1.29 KB - downloaded 147 times.)
« Reply #8 on: October 12, 2011, 23:49:26 »
Fred Grayson *****
Posts: 994

Thanks.

Not sure if you mangled it or I did, but I had to run it through dos2unix to correct the line ends.
« Last Edit: October 13, 2011, 01:44:41 by fredg »

--
Google is your friend and Bob's your uncle.
« Reply #9 on: October 20, 2011, 22:34:35 »
monolover *
Posts: 10


 Huh please help me for this questions:

- Can i copy my module in '/boot/kernel' in the rootfs file and recompile it then use them when Monowall starting.

- I could not find out the module's location that them implement encryption and hash algorithms for racoon? where are them in root directory?

- Can i use dev handbook for FreeBsd 8.0 or newer version of that?

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines