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

2008-12-09 Thread oklahoma
- Original Message - From: "wang_jiabo" <[EMAIL PROTECTED]> To: Sent: Monday, December 08, 2008 11:56 AM Subject: [snmpd]could you tell me how to open upd6 port 161 Hello, all: could you help me how to open inet6 udp port 161 of snmpd agent as a listen port Basically just star

Re: kern/129517: [ipsec] [panic] double fault / stack overflow

2008-12-09 Thread linimon
Old Synopsis: Ipsec / panic: double fault / stack overflow New Synopsis: [ipsec] [panic] double fault / stack overflow Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Tue Dec 9 08:49:40 UTC 2008 Responsible-Changed-Why: Over to main

Re: how to program a driver?

2008-12-09 Thread Bruce M. Simpson
Espartano wrote: Actually i know how to program with C language in a basic level but i don't know nothing about hardware or computer organization, what topics i should study for gain knowledges about net-drivers ? or if someone can recommend me books about this topic i will be very thankful.

Re: how to program a driver?

2008-12-09 Thread Bruce M. Simpson
[Resend to list for everyone] Espartano wrote: Actually i know how to program with C language in a basic level but i don't know nothing about hardware or computer organization, what topics i should study for gain knowledges about net-drivers ? or if someone can recommend me books about this topi

Multiple routing table clarification

2008-12-09 Thread Angelo Turetta
I need to run squid, serving different networks with different (potentially conflicting) IP address schemes. I read the original implementation notes for setfib/multiple routing tables: http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/user/julian/routing/plan.txt and I would like to a

[patch] link state notifications for tun(4)

2008-12-09 Thread Christian Peron
I would like to propose a change for tun(4) but before I do, I would like to read any feedback this list might have. Basically we have a situation where we need to manually configure tunnel interfaces when a process opens them. We would like to hook into devd(8) for this. i.e. when we see tunX "l

start_if. comments

2008-12-09 Thread Jordi Espasa Clofent
Hi all, I'm testing the use of /etc/start_if. instead the classical 'ifconfig' in /etc/rc.conf. All seems work fine, but if I comment a line in /etc/start_if., any interface is loaded by the system! If I use $ cat /etc/start_if.nfe0 /sbin/ifconfig $1 inet netmask 255.255.254.0 /sbin/ifc

Re: Multiple routing table clarification

2008-12-09 Thread Julian Elischer
Angelo Turetta wrote: I need to run squid, serving different networks with different (potentially conflicting) IP address schemes. I read the original implementation notes for setfib/multiple routing tables: http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/user/julian/routing/plan.txt

Re: Multiple routing table clarification

2008-12-09 Thread Angelo Turetta
Julian Elischer wrote: Angelo Turetta wrote: - is it possible for a single process to listen for TCP connections using more than one socket, each with its own 'fib'? yes, but only if you have source. you need to do a setsockopt(SOO_SETFIB,...) on each socket before you do the listen(). Oth

kldload telling not finding .ko file when it is indeed there

2008-12-09 Thread Ferner Cilloniz
Hi everyone. I'm running into a problem where kldload is reporting that my .ko file is not found when it is indeed there. It is strange because when i comment out a call to the function sotoinpcb(struct socket *) it finds the .ko file and loads, but when i uncomment that line and try to load it,

Re: kldload telling not finding .ko file when it is indeed there

2008-12-09 Thread Robert Noland
On Tue, 2008-12-09 at 13:38 +, Ferner Cilloniz wrote: > Hi everyone. > > I'm running into a problem where kldload is reporting that my .ko file > is not found when it is indeed there. > > It is strange because when i comment out a call to the function > sotoinpcb(struct socket *) it finds the

MLDv2 on FreeBSD 7 (mcastread cannot work well)

2008-12-09 Thread Hideki Yamamoto
Hi, I have compiled mcast-tools on FreeBSD 7. When running mcastread to send join to MLDv2 available router, the command output as follows: "Can't allocate socket" It seems that KERNEL cannot support MLDv2, source specific multicast on my environment. Are there any special kernel paramters

[help]strange problem about gethostbyname/getaddrinfo

2008-12-09 Thread 陈小生
hi,all,we have a project which must resolv some domains in the server process our system in FreeBSD 6.2 or 6.3, the server process may open 7000+ sockets,not fork we have set the maxopensockets as 65536,as follows: kern.ipc.numopensockets: 4737 kern.ipc.maxsockets: 65536 socket: 356,6

Re: start_if. comments [SOLVED]

2008-12-09 Thread Jordi Espasa Clofent
It seems that I'd the file open with ee(1) when I forced a reboot during my tests. Surely the fsck process deleted the file. If I re-create the file, all seems ok. Rare but true. -- Thanks, Jordi Espasa Clofent ___ freebsd-net@freebsd.org mailing lis

last call for L2/L3 rewrite code review

2008-12-09 Thread Qing Li
As you know the L2+L3 rewrite project (aka arp-v2) for both ARP and ND6 has been active for quite some time now. In a nutshell, the work removes the L2 tables (ARP and ND6) from the L3 routing table. This redesign simplifies the routing code and completely eliminates the route cloning concept.

Re: [help]strange problem about gethostbyname/getaddrinfo

2008-12-09 Thread David DeSimone
<[EMAIL PROTECTED]> wrote: > > The problem is we found when the server porcess open 1000+ or higher > sockets(but we can query any legal domain in the system normally), the > gethostbyname or getaddrinfo might fetch nothing(sometimes the query > is ok), the gethostbyname's return error is: errno=2