Tools for FreeBSD development

2006-12-02 Thread Vishal Patil
I have recently moved over from Linux to FreeBSD and would like to if there is something similar to UML (User Mode Linux) for doing kernel development for FreeBSD. Reading different mailing lists, wikis etc it seems that qemu seems to be the best option. Is this tool used by most of the FreeBSD

Example network protocol implementation

2006-12-09 Thread Vishal Patil
Could someone point me to an example that shows a SIMPLE network protocol implemented over TCP/IP inside the FreeBSD kernel. I think I could look at the NFS client driver but is there an example simpler than that. Also is there a guide explaining how to go about developing TCP/IP based network

Re: Example network protocol implementation

2006-12-09 Thread Vishal Patil
For implementing iSCSI protocol as a kernel driver. On 12/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Vishal Patil [EMAIL PROTECTED] wrote: Could someone point me to an example that shows a SIMPLE network protocol implemented over TCP/IP inside the FreeBSD kernel. I think I could look

vpnc problem

2007-01-01 Thread Vishal Patil
I am trying to use vpnc 0.3.3 on FreeBSD 6.1 but I get the following errors route: bad address: delete net default Also this completely screws up the network on my machine :( Has anyone being successfully in using vpnc 0.3.3 on FreeBSD 6.1? Thanks. - Vishal

Re: vpnc problem

2007-01-03 Thread Vishal Patil
I have found the answer to this question. I basically had to edit the vpnc-script and replace the body of the function get_default_gw with netstat -r -n | sed 's/default/0.0.0.0/' | grep '^0.0.0.0' | awk '{print $2}' So now I have vpnc-0.3.3 working on FreeBSD. - Vishal On 1/1/07, Vishal