Re: FreeBSD kernel module and sending udp packets

2008-12-08 Thread Julian Elischer
Ferner Cilloniz wrote: Hello everyone. I need help with documentation concerning how to send a udp or tcp packet from a kernel module. I have found this information for Linux but not for FreeBSD. Please help me. you could give your module a netgraph interface. Then it can connect directly

Re: FreeBSD kernel module and sending udp packets

2008-12-08 Thread Julian Elischer
Julian Elischer wrote: Ferner Cilloniz wrote: Thanks for the reply. I read something about that but I didn't understand what was being said. Can you please help me in understanding. I have googled for sample code and didn't find anything useful. Can you, or anyone else, please help me

Vimage howto

2008-12-08 Thread Julian Elischer
Well not completely, but I've had a number of questions over the last few months about what it is, so, as Marko and I have written the following how to virtualize your module document, I've been directing people to it. After another couple of questions I think this could do with wider

[snmpd]could you tell me how to open upd6 port 161

2008-12-08 Thread wang_jiabo
Hello, all: could you help me how to open inet6 udp port 161 of snmpd agent as a listen port Thanks jiabo ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to [EMAIL

Re: vlan support trouble in if_sis driver ?

2008-12-08 Thread Vladimir Ermakov
Pyun YongHyeon wrote: Good. Would you show me the output of pciconf -lcv? If I don't see any oddities in the output, I would commit the patch. what tests need to try? If parent interface sis0 still works as expected(i.e. without VLAN) there is no need to test other cases, I guess.

Re: Vimage howto

2008-12-08 Thread Bruce M. Simpson
Julian, Thank you (and Marko) very much for preparing this document. The VIMAGE import has had me at something of an impasse re: the IGMPv3 branch and clearly written documentation is a big help indeed. Julian Elischer wrote: Well not completely, but I've had a number of questions over the

Driver Iwn in FreeBSD 7.1 ?

2008-12-08 Thread Espartano
Hi list, Someone know if the driver iwn will be officially included in FreeBSD 7.1 ? -- Linux is for people who hate Windows, BSD is for people who love UNIX. Social Engineer - Because there is no patch for human stupidity The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ;

Re: FreeBSD kernel module and sending udp packets

2008-12-08 Thread Ferner Cilloniz
Hi Julian. I'm very happy for your help. I have read the guide to netgraph and find it very interesting :) I still dont understand when you say you could give your module a netgraph interface. Can you please explain this a little more please? Thanks. On Mon, 2008-12-08 at 00:23 -0800, Julian

Re: FreeBSD kernel module and sending udp packets

2008-12-08 Thread Julian Elischer
Ferner Cilloniz wrote: Hi Julian. I'm very happy for your help. I have read the guide to netgraph and find it very interesting :) I still dont understand when you say you could give your module a netgraph interface. Can you please explain this a little more please? You indicated that you

Re: Problem with new source address selection

2008-12-08 Thread Bjoern A. Zeeb
On Wed, 3 Dec 2008, Frank Behrens wrote: Hi, As I mentioned earlier I believe the main problem is IPSEC itself, where we don't have an interface for tunneled connections. So I made a workaround with a dummy loopback device. So I have a question to the network specialists: Is there no other

ipfw policy routing esp

2008-12-08 Thread Eric W. Bates
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We have a bewildering problem attempting to policy route esp traffic. We have 2 up steam internet sources: a routable T1 and a cable modem. The cable modem provides better bandwidth so while we default to the T1, we use policy routing to send some

[Fwd: ipfw policy routing esp]

2008-12-08 Thread Eric W. Bates
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I forgot to mention: we are using 6.2-RELEASE-p1. - Original Message Subject: ipfw policy routing esp Date: Mon, 08 Dec 2008 15:57:35 -0500 From: Eric W. Bates [EMAIL PROTECTED] To: freebsd-net@freebsd.org We have a bewildering

Re: ipfw policy routing esp

2008-12-08 Thread Julian Elischer
Eric W. Bates wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We have a bewildering problem attempting to policy route esp traffic. We have 2 up steam internet sources: a routable T1 and a cable modem. The cable modem provides better bandwidth so while we default to the T1, we use policy

Re: kern/129508: [panic] Kernel panic with EtherIP (may be related to SVN commit 178025)

2008-12-08 Thread linimon
Old Synopsis: Kernel panic with EtherIP (may be related to SVN commit 178025) New Synopsis: [panic] Kernel panic with EtherIP (may be related to SVN commit 178025) Responsible-Changed-From-To: freebsd-bugs-freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 8 22:04:09

Re: FreeBSD kernel module and sending udp packets

2008-12-08 Thread Ferner Cilloniz
Yes I am writing my own loadable kernel module such that I can send a UDP packet when i tell it to by issuing a homemade system call. I have been looking at /usr/src/sys/netgraph/ng_sample.c Am i supposed to implement the functions in that file? I am a little lost. I only want to send a UDP

Re: if_gif/if_bridge problem

2008-12-08 Thread Boris Kochergin
Eugene Grosbein wrote: On Thu, Oct 23, 2008 at 03:29:10PM -0400, Boris Kochergin wrote: #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:241 241 dumptid = curthread-td_tid; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:241 #1 0xc05583ef in boot (howto=260)

Re: FreeBSD kernel module and sending udp packets

2008-12-08 Thread Ferner Cilloniz
Julian, thank you for the reply and for the information :) What I am trying to is send data across the network. I have a created a system call such that i give it a string and the necesarry networking information and it will send it across the network. I just dont know where to start coding

how to program a driver?

2008-12-08 Thread Espartano
hi people first and foremost apologize me for my bad english I have a little question, if i want to understand how work a net driver, what things i will need to learn? Actually i know how to program with C language in a basic level but i don't know nothing about hardware or computer organization,

Re: vlan support trouble in if_sis driver ?

2008-12-08 Thread Pyun YongHyeon
On Mon, Dec 08, 2008 at 01:17:08PM +0300, Vladimir Ermakov wrote: Pyun YongHyeon wrote: Good. Would you show me the output of pciconf -lcv? If I don't see any oddities in the output, I would commit the patch. what tests need to try? If parent interface sis0 still works as

Re: how to program a driver?

2008-12-08 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Espartano wrote: hi people first and foremost apologize me for my bad english I have a little question, if i want to understand how work a net driver, what things i will need to learn? Actually i know how to program with C language in a basic