Current problem reports assigned to freebsd-net@FreeBSD.org

2011-12-26 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o kern/163482  netIP address  is not round robined if DNS name has many 
o kern/163481  netfreebsd do not add itself to ping route packet
o kern/162927  net[tun] Modem-PPP error ppp[1538]: tun0: Phase: Clearing
o kern/162926  net[ipfilter] Infinite loop in ipfilter with fragmented I
o kern/162558  net[dummynet] [panic] seldom dummynet panics
o kern/162509  net[re] [panic] Kernel panic may be related to if_re.c (r
o kern/162352  net[patch] Enhancement: add SO_PROTO to socket.h
o kern/162153  net[em] intel em driver 7.2.4 don't compile
o kern/162110  net[igb] [panic] RELENG_9 panics on boot in IGB driver - 
o kern/162028  net[ixgbe] [patch] misplaced #endif in ixgbe.c
o kern/161899  net[route] ntpd(8): Repeating RTM_MISS packets causing hi
o kern/161381  net[re] RTL8169SC - re0: PHY write failed
o kern/161277  net[em] [patch] BMC cannot receive IPMI traffic after loa
o kern/160873  net[igb] igb(4) from HEAD fails to build on 7-STABLE
o kern/160750  netIntel PRO/1000 connection breaks under load until rebo
o kern/160693  net[gif] [em] Multicast packet are not passed from GIF0 t
o kern/160420  net[msk] phy write timeout on HP 5310m
o kern/160293  net[ieee80211] ppanic] kernel panic during network setup 
o kern/160206  net[gif] gifX stops working after a while (IPv6 tunnel)
o kern/159817  net[udp] write UDPv4: No buffer space available (code=55)
o kern/159795  net[tcp] excessive duplicate ACKs and TCP session freezes
o kern/159629  net[ipsec] [panic] kernel panic with IPsec in transport m
o kern/159621  net[tcp] [panic] panic: soabort: so_count
o kern/159603  net[netinet] [patch] in_ifscrubprefix() - network route c
o kern/159601  net[netinet] [patch] in_scrubprefix() - loopback route re
o kern/159294  net[em] em watchdog timeouts
o kern/159203  net[wpi] Intel 3945ABG Wireless LAN not support IBSS
o kern/158930  net[bpf] BPF element leak in ifp->bpf_if->bif_dlist
o kern/158726  net[ip6] [patch] ICMPv6 Router Announcement flooding limi
o kern/158694  net[ix] [lagg] ix0 is not working within lagg(4)
o kern/158665  net[ip6] [panic] kernel pagefault in in6_setscope()
o kern/158635  net[em] TSO breaks BPF packet captures with em driver
f kern/157802  net[dummynet] [panic] kernel panic in dummynet
o kern/157785  netamd64 + jail + ipfw + natd = very slow outbound traffi
o kern/157429  net[re] Realtek RTL8169 doesn't work with re(4)
o kern/157418  net[em] em driver lockup during boot on Supermicro X9SCM-
o kern/157410  net[ip6] IPv6 Router Advertisements Cause Excessive CPU U
o kern/157287  net[re] [panic] INVARIANTS panic (Memory modified after f
o kern/157209  net[ip6] [patch] locking error in rip6_input() (sys/netin
o kern/157200  net[network.subr] [patch] stf(4) can not communicate betw
o kern/157182  net[lagg] lagg interface not working together with epair 
o kern/156877  net[dummynet] [panic] dummynet move_pkt() null ptr derefe
o kern/156667  net[em] em0 fails to init on CURRENT after March 17
o kern/156408  net[vlan] Routing failure when using VLANs vs. Physical e
o kern/156328  net[icmp]: host can ping other subnet but no have IP from
o kern/156317  net[ip6] Wrong order of IPv6 NS DAD/MLD Report
o kern/156283  net[ip6] [patch] nd6_ns_input - rtalloc_mpath does not re
o kern/156279  net[if_bridge][divert][ipfw] unable to correctly re-injec
o kern/156226  net[lagg]: failover does not announce the failover to swi
o kern/156030  net[ip6] [panic] Crash in nd6_dad_start() due to null ptr
o kern/155772  netifconfig(8): ioctl (SIOCAIFADDR): File exists on direc
o kern/155680  net[multicast] problems with multicast
s kern/155642  net[request] Add driver for Realtek RTL8191SE/RTL8192SE W
o kern/155604  net[flowtable] Flowtable excessively caches dest MAC addr
o kern/155597  net[panic] Kernel panics with "sbdrop" message
o kern/155420  net[vlan] adding vlan break existent vlan
o kern/155177  net[route] [panic] Panic when inject routes in kernel
o kern/155030  net[igb] igb(4) DEVICE_POLLING does not work with carp(4)
o kern/155010  net[msk] ntfs-3g via iscsi using msk driver cause kernel 
o kern/154943  net[gif] ifconfig gifX create on existing gifX clea

Re: kern/163481: freebsd do not add itself to ping route packet

2011-12-26 Thread Bjoern A. Zeeb
The following reply was made to PR kern/163481; it has been noted by GNATS.

From: "Bjoern A. Zeeb" 
To: bug-follo...@freebsd.org, kes-...@yandex.ru
Cc:  
Subject: Re: kern/163481: freebsd do not add itself to ping route packet
Date: Mon, 26 Dec 2011 11:46:41 + (UTC)

 Unfortunately there is HTML escapes in there, probably due to
 non-ASCII characters.  Could you please re-mail without that
 so that it would be parseable?
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: kern/163478: [re] interface does not count bytes on interface

2011-12-26 Thread eadler
Old Synopsis: interface does not count bytes on interface
New Synopsis: [re] interface does not count bytes on interface

Responsible-Changed-From-To: freebsd-i386->freebsd-net
Responsible-Changed-By: eadler
Responsible-Changed-When: Mon Dec 26 13:33:43 UTC 2011
Responsible-Changed-Why: 
assign 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163478
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Can we do perform a C style file Read/Write from within a ARP module

2011-12-26 Thread Rajneesh Kumar
Hello sir/madam,

I am new to this. Kindly reply.

I am modifying the native ARP version to thwart any ARP Poisoning attack
against my machine. I need to save some additional data to achieve my idea.
So, My question is, can I do a file read/write operation using C code from
within any ARP function (precisely from in_arpinput() function in
net/if_ether.c) ?
If no, how can I do it?
If yes, at what location my files would reside? Can I access those files
after system reboot? or it will be in some temporary location and flushed
off after every reboot?
Thank You.

-- 
Regards,
Rajneesh
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Can we do perform a C style file Read/Write from within a ARP module

2011-12-26 Thread Jason Hellenthal

See siftr(4). This module writes to a file.

On Mon, Dec 26, 2011 at 07:13:46PM +0530, Rajneesh Kumar wrote:
> Hello sir/madam,
> 
> I am new to this. Kindly reply.
> 
> I am modifying the native ARP version to thwart any ARP Poisoning attack
> against my machine. I need to save some additional data to achieve my idea.
> So, My question is, can I do a file read/write operation using C code from
> within any ARP function (precisely from in_arpinput() function in
> net/if_ether.c) ?
> If no, how can I do it?
> If yes, at what location my files would reside? Can I access those files
> after system reboot? or it will be in some temporary location and flushed
> off after every reboot?
> Thank You.
> 
> -- 
> Regards,
> Rajneesh
> ___
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

-- 
;s =;
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Which function can allocate memory for a given structure type

2011-12-26 Thread Rajneesh Kumar
Hello sir/madam,

Please help!
I am trying to modify the ARP module. I want to know which function can
allocate memory for a given structure type and return me back the same?
e.g. I want to have declared a pointer of sockaddr_dl{} type. Now I want to
allocate memory to it. How can I do it?

Thank You!
-- 
Regards,
Rajneesh
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Which function can allocate memory for a given structure type

2011-12-26 Thread Julian Elischer

On 12/26/11 8:44 AM, Rajneesh Kumar wrote:

Hello sir/madam,

Please help!
I am trying to modify the ARP module. I want to know which function can
allocate memory for a given structure type and return me back the same?
e.g. I want to have declared a pointer of sockaddr_dl{} type. Now I want to
allocate memory to it. How can I do it?

Thank You!
for in-kernel resources, there is a special section (section 9)  in 
the freeBSD man pages..

in this case start with

man 9 malloc and fiollow teh "see also" links.

here's a link to get you started.

http://www.freebsd.org/cgi/man.cgi?query=malloc&sektion=9



___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re[2]: kern/163481: freebsd do not add itself to ping route packet

2011-12-26 Thread Коньков Евгений
The following reply was made to PR kern/163481; it has been noted by GNATS.

From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= 
To: "Bjoern A. Zeeb" 
Cc: bug-follo...@freebsd.org
Subject: Re[2]: kern/163481: freebsd do not add itself to ping route packet
Date: Mon, 26 Dec 2011 21:16:07 +0200

 Çäðàâñòâóéòå, Bjoern.
 
 Âû ïèñàëè 26 äåêàáðÿ 2011 ã., 13:46:41:
 
 BAZ> Unfortunately there is HTML escapes in there, probably due to
 BAZ> non-ASCII characters.  Could you please re-mail without that
 BAZ> so that it would be parseable?
 
 screen shot
 http://piccy.info/view3/2409865/88357f995c395d5eb93428ddd4cfc932/
 
 
 -- 
 Ñ óâàæåíèåì,
  Êîíüêîâ  mailto:kes-...@yandex.ru
 
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


bsnmpd not showing out octets for vlan interfaces

2011-12-26 Thread Joe Holden

Hi guys,

Hope you're all enjoying the holiday.

Is anyone using bsnmpd with vlan interfaces?  I see the following:

ifOutOctets.10 = Counter32: 0
ifOutOctets.11 = Counter32: 3061
ifOutOctets.12 = Counter32: 0
ifOutOctets.13 = Counter32: 0

The ones with 0 are vlan interfaces, everything else is fine - is this a 
known issue or am I doing something wrong?


Thanks,
Joe
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: bsnmpd not showing out octets for vlan interfaces

2011-12-26 Thread Коньков Евгений
Здравствуйте, Joe.

Вы писали 26 декабря 2011 г., 21:53:06:

JH> Hi guys,

JH> Hope you're all enjoying the holiday.

JH> Is anyone using bsnmpd with vlan interfaces?  I see the following:

JH> ifOutOctets.10 = Counter32: 0
JH> ifOutOctets.11 = Counter32: 3061
JH> ifOutOctets.12 = Counter32: 0
JH> ifOutOctets.13 = Counter32: 0

JH> The ones with 0 are vlan interfaces, everything else is fine - is this a
JH> known issue or am I doing something wrong?

This is mine PR
http://www.freebsd.org/cgi/query-pr.cgi?pr=163478

any utilies does not show outoctets for vlan interfaces.
but show packets =)


-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Firewall Profiling.

2011-12-26 Thread Pawel Tyll
Hi lists,

Are  there any profiling tools in the system or ports that would allow
me  to  determine how much processing is being done per packet and how
long  does  it  take? I would like to predict possible PPS load for my
system and perhaps locate and remove some bottlenecks.

Is  IPFW  efficient  enough  to  firewall  2x10GE  (in+out) interfaces
without  much  latency  increase,  when  running  on  modern  hardware
with Intel NICs? Majority of processing tasks would probably be setfib
according to matches in tables.

Pawel.


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Failed to compile kernel because ioctl.h not found

2011-12-26 Thread Rajneesh Kumar
Hi list,

I did slight modification in ARP module of 4.4FreeBSD-Lite (getting help
from the book TCP/IP illustrated vol 2 by Richard Stevens). After that I
found this kernel is replaced by a new version. I am trying to incorporate
those changes in new kernel but facing problem.

There was #include  in if_ether.c of old module. But its not
there in the new one. While compilation it shows me error ioctl.h is not
found, please use xxxio.h instead. Which header I should include in place
of ioctl.h ??
Also there was a function called arplookup() in if_ether.c but its not
there in the new kernel. Which function is now used to perform the same
task in the new kernel?

Any help would be appreciated.
Thank You.

-- 
Regards,
Rajneesh
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: bsnmpd not showing out octets for vlan interfaces

2011-12-26 Thread YongHyeon PYUN
On Mon, Dec 26, 2011 at 07:53:06PM +, Joe Holden wrote:
> Hi guys,
> 
> Hope you're all enjoying the holiday.
> 
> Is anyone using bsnmpd with vlan interfaces?  I see the following:
> 
> ifOutOctets.10 = Counter32: 0
> ifOutOctets.11 = Counter32: 3061
> ifOutOctets.12 = Counter32: 0
> ifOutOctets.13 = Counter32: 0
> 
> The ones with 0 are vlan interfaces, everything else is fine - is this a 
> known issue or am I doing something wrong?

Try attached patch and let me know how it goes.

> 
> Thanks,
> Joe
Index: sys/net/if_vlan.c
===
--- sys/net/if_vlan.c	(revision 228906)
+++ sys/net/if_vlan.c	(working copy)
@@ -1012,10 +1012,12 @@
 {
 	struct ifvlan *ifv;
 	struct ifnet *p;
-	int error;
+	int error, len, mcast;
 
 	ifv = ifp->if_softc;
 	p = PARENT(ifv);
+	len = m->m_pkthdr.len;
+	mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0;
 
 	BPF_MTAP(ifp, m);
 
@@ -1025,7 +1027,7 @@
 	 */
 	if (!UP_AND_RUNNING(p)) {
 		m_freem(m);
-		ifp->if_collisions++;
+		ifp->if_oerrors++;
 		return (0);
 	}
 
@@ -1081,9 +1083,11 @@
 	 * Send it, precisely as ether_output() would have.
 	 */
 	error = (p->if_transmit)(p, m);
-	if (!error)
+	if (!error) {
 		ifp->if_opackets++;
-	else
+		ifp->if_omcasts += mcast;
+		ifp->if_obytes += len;
+	} else
 		ifp->if_oerrors++;
 	return (error);
 }
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: bsnmpd not showing out octets for vlan interfaces

2011-12-26 Thread Gleb Smirnoff
On Mon, Dec 26, 2011 at 07:25:29PM -0800, YongHyeon PYUN wrote:
Y> Index: sys/net/if_vlan.c
Y> ===
Y> --- sys/net/if_vlan.c(revision 228906)
Y> +++ sys/net/if_vlan.c(working copy)
Y> @@ -1012,10 +1012,12 @@
Y>  {
Y>  struct ifvlan *ifv;
Y>  struct ifnet *p;
Y> -int error;
Y> +int error, len, mcast;
Y>  
Y>  ifv = ifp->if_softc;
Y>  p = PARENT(ifv);
Y> +len = m->m_pkthdr.len;
Y> +mcast = (m->m_flags & (M_MCAST | M_BCAST)) ? 1 : 0;
Y>  
Y>  BPF_MTAP(ifp, m);
Y>  
Y> @@ -1025,7 +1027,7 @@
Y>   */
Y>  if (!UP_AND_RUNNING(p)) {
Y>  m_freem(m);
Y> -ifp->if_collisions++;
Y> +ifp->if_oerrors++;
Y>  return (0);
Y>  }
Y>  
Y> @@ -1081,9 +1083,11 @@
Y>   * Send it, precisely as ether_output() would have.
Y>   */
Y>  error = (p->if_transmit)(p, m);
Y> -if (!error)
Y> +if (!error) {
Y>  ifp->if_opackets++;
Y> -else
Y> +ifp->if_omcasts += mcast;
Y> +ifp->if_obytes += len;
Y> +} else
Y>  ifp->if_oerrors++;
Y>  return (error);
Y>  }

Thanks, Pyun! You can count me in as reviewer.

I have also added jhb@ to Cc, the author of changed code, so that he
can review, too.

-- 
Totus tuus, Glebius.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Transitioning if_addr_lock to an rwlock

2011-12-26 Thread Gleb Smirnoff
On Thu, Dec 22, 2011 at 11:30:01AM -0500, John Baldwin wrote:
J> You can find the patch for 8.x at 
J> http://www.freebsd.org/~jhb/patches/if_addr_rwlock.patch

Just my two pennies: for head/ patching if ip_carp.c should
be straightforward:

1) Using W in carp_alloc_if() and carp_free_if().
2) Using R everywhere else.

-- 
Totus tuus, Glebius.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node

2011-12-26 Thread Gleb Smirnoff
On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote:
S> Hi,
S> 
S> I've searched the net andfound basicly 2 threads talking about the message:
S> 
S> ng_mppc_decompress: too many (4094) packets dropped, disabling node
S> 
S> in FBSD 6.3
S> http://lists.freebsd.org/pipermail/freebsd-bugs/2008-April/030183.html its
S> a pr 123045
S> and 5.4. http://markmail.org/message/lptpp4qmiwksazxc
S> basicly suggested to set define MPPE_MAX_REKEY to a higher values
S> and found somewhere a patch that changes it to variable rather than using
S> it as macro
S> 
S> i saw no answer indicating this really solves the problem.
S> 
S> did anyone have a solution tothe problem? i'm suffering from it even i have
S> about 200 concurrent connections, as i read MPD+FREEBSD usually can utilize
S> thousands of sessions.

Do you run the node in compression or in encryption mode?

-- 
Totus tuus, Glebius.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node

2011-12-26 Thread Gleb Smirnoff
On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote:
S> Hi,
S> 
S> I've searched the net andfound basicly 2 threads talking about the message:
S> 
S> ng_mppc_decompress: too many (4094) packets dropped, disabling node
S> 
S> in FBSD 6.3
S> http://lists.freebsd.org/pipermail/freebsd-bugs/2008-April/030183.html its
S> a pr 123045
S> and 5.4. http://markmail.org/message/lptpp4qmiwksazxc
S> basicly suggested to set define MPPE_MAX_REKEY to a higher values
S> and found somewhere a patch that changes it to variable rather than using
S> it as macro
S> 
S> i saw no answer indicating this really solves the problem.
S> 
S> did anyone have a solution tothe problem? i'm suffering from it even i have
S> about 200 concurrent connections, as i read MPD+FREEBSD usually can utilize
S> thousands of sessions.

A couple of questions:

1) Is the number always 4094?
2) Have you tried to disable this code, thus never disable node? How
this performs? A patch for this is avaliable in
http://www.freebsd.org/cgi/query-pr.cgi?pr=123045&cat=

-- 
Totus tuus, Glebius.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node

2011-12-26 Thread Gleb Smirnoff
On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote:
S> I've searched the net andfound basicly 2 threads talking about the message:
S> 
S> ng_mppc_decompress: too many (4094) packets dropped, disabling node

The 4094 value both in your report and in the old PR look suspicious.

Can you please try the attached patch and report which values are logged
now.

-- 
Totus tuus, Glebius.
Index: ng_mppc.c
===
--- ng_mppc.c	(revision 228838)
+++ ng_mppc.c	(working copy)
@@ -647,9 +647,9 @@
 			rekey = ((d->cfg.bits & MPPE_STATELESS) != 0) ?
 			numLost : (numLost / (MPPE_UPDATE_MASK + 1));
 			if (rekey > MPPE_MAX_REKEY) {
-log(LOG_ERR, "%s: too many (%d) packets"
+log(LOG_ERR, "%s: too many (%u %u) packets"
 " dropped, disabling node %p!",
-__func__, numLost, node);
+__func__, cc, d->cc, node);
 priv->recv.cfg.enable = 0;
 goto failed;
 			}
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: Can we do perform a C style file Read/Write from within a ARP module

2011-12-26 Thread perryh
Jason Hellenthal  wrote:
>
> See siftr(4). This module writes to a file.

Is siftr(4) new since 8.1?

  $ man siftr
  No manual entry for siftr
  $ cd /usr/ports
  $ ls -d */*siftr*
  ls: */*siftr*: No such file or directory
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Compiling only "network" part of the kernel

2011-12-26 Thread Rajneesh Kumar
Hi list,

During my development, I want to check if my modules compile successfully
or not. I am only changing the ARP portion and whenever I compile my
kernel, it takes around 20mins and compiles all different modules also.
I just want to compile and check whether my ARP modules, which I have
changed, compile fine or not. How to do it?

-- 
Regards,
Rajneesh
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Compiling only "network" part of the kernel

2011-12-26 Thread Adrian Chadd
Shouldn't just a normal "make" in the kernel config directory only
rebuild those parts that have changed?


Adrian

On 26 December 2011 22:23, Rajneesh Kumar  wrote:
> Hi list,
>
> During my development, I want to check if my modules compile successfully
> or not. I am only changing the ARP portion and whenever I compile my
> kernel, it takes around 20mins and compiles all different modules also.
> I just want to compile and check whether my ARP modules, which I have
> changed, compile fine or not. How to do it?
>
> --
> Regards,
> Rajneesh
> ___
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Compiling only "network" part of the kernel

2011-12-26 Thread Juli Mallett
On Mon, Dec 26, 2011 at 22:23, Rajneesh Kumar  wrote:
> During my development, I want to check if my modules compile successfully
> or not. I am only changing the ARP portion and whenever I compile my
> kernel, it takes around 20mins and compiles all different modules also.
> I just want to compile and check whether my ARP modules, which I have
> changed, compile fine or not. How to do it?

You need to tell us what process you are using so we can give an
example that best fits your existing workflow.  There are ways we
suggest for users and ways developers use, and it would be a shame to
give you irrelevant suggestions.

If you're using "make buildkernel" then you can add -DNO_CLEAN (or
perhaps it's -DNOCLEAN) to avoid cleaning out the object directory
first.  This will keep dependencies up-to-date for you, and only
rebuild what's necessary.

What may be better, if you don't need a cross-compiler, is to do the
kernel configuration by hand.  So you might do something like:

cd /path/to/src/sys/amd64/conf
config GENERIC
cd ../compile/GENERIC
make depend
make kernel

And then when you make changes you can just do "make kernel".  If you
make a change that requires rerunning config(8), it will tell you to
do "make cleandepend && make depend" or something like that first, to
fix header and option dependencies that may not exist with your new
configuration.

Hopefully one of those two things will help, as anything else you
might be doing is probably based on one of those processes, but if not
you should let us know what you're doing now.

Thanks,
Juli.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Compiling only "network" part of the kernel

2011-12-26 Thread Yuri Pankov
On Mon, Dec 26, 2011 at 10:35:33PM -0800, Adrian Chadd wrote:
> On 26 December 2011 22:23, Rajneesh Kumar  wrote:
> > Hi list,
> >
> > During my development, I want to check if my modules compile successfully
> > or not. I am only changing the ARP portion and whenever I compile my
> > kernel, it takes around 20mins and compiles all different modules also.
> > I just want to compile and check whether my ARP modules, which I have
> > changed, compile fine or not. How to do it?
>
> Shouldn't just a normal "make" in the kernel config directory only
> rebuild those parts that have changed?

It also does a lot of cleanup and stuff, which can be skipped using
-DKERNFAST (which in turn defines NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}),
if you know what you are doing. This is all described in Makefile.inc1.

There's also MODULES_OVERRIDE (described in make.conf(5)), and, of
course, sys/modules/ :-)


Yuri
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Can we do perform a C style file Read/Write from within a ARP module

2011-12-26 Thread Eugene Grosbein
27.12.2011 20:11, per...@pluto.rain.com пишет:
> Jason Hellenthal  wrote:
>>
>> See siftr(4). This module writes to a file.
> 
> Is siftr(4) new since 8.1?
> 
>   $ man siftr
>   No manual entry for siftr
>   $ cd /usr/ports
>   $ ls -d */*siftr*
>   ls: */*siftr*: No such file or directory

HISTORY
 SIFTR first appeared in FreeBSD 7.4 and FreeBSD 8.2.

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Fw:inanilmaz Fiyatlar

2011-12-26 Thread Merhaba-musteri-destek-9WR2WISWL7VK

Görüntülemek İçin TlKLAYlN.


The Beatles


From 1963 to 1970, The Beatles released a string of iconic albums — and  
their influence continues to reverberate through music today. Now, all of  
those studio albums, as well as the remarkable compilation of No. 1 hits,  
1, are available from $9.99 for a limited time. Plus, watch a streaming  
video of the newest Beatles TV spot and a short overview of the band's  
music and history.




Check It Out Go





Great Albums, Great Prices

Get some of 2011's most exciting chart-toppers — including music from  
Coldplay, Foo Fighters, and Britney Spears — along with a host of classic  
hits from pop masters Elton John, Neil Diamond, and more. Each album is  
just $7.99 for a limited time.




Check It Out Go



Chart Toppers






Guided By Voices The Girl With the Dragon Tattoo The Fray





App Store Rewind 2011

This year was filled some amazing apps. Find out which ones we chose as the  
best. Stream video trailers of our App of the Year and Game of the Year for  
iPhone and iPad from your computer, browse the year's top downloads, and  
more.




Apps for iPhone Go





Apps for iPad Go



App Store Rewind 2011






Hipstamatic Disposable Apple Apps Grand Theft Auto 3





Moneyball

Brad Pitt turned in one of the best performances of the year in this  
engrossing, real-life drama about a major league baseball team's general  
manager fighting against the system to build a winning team.




Check It Out Go



Moneyball






Great Films at Great Prices Avatar Midnight in Paris





Complete My Season

Now when you've bought individual episodes of a TV show, the amount you've  
already spent on episodes is deducted from the overall price of the season  
or Season Pass.




Check It Out Go



Complete My Season






Arrested Development Pan Am Holiday TV Shows





Holiday Children's Books Old Time Radio Podcast Redeem iTunes Gift Cards





Inside iTunes



New Music





The Dreamer, The Believer





The Dreamer, The Bel...

Common




Wild Ones (feat. Sia) - Single





Wild Ones (feat. Sia...

Flo Rida




Right Back Atcha Babe - Single





Right Back Atcha Bab...

Tim McGraw




JUICE





JUICE

Roscoe Dash




TM:103 Hustlerz Ambition (Deluxe Version)





TM:103 Hustlerz Ambi...

Young Jeezy




Naked - Single





Naked - Single

Dev & Enrique Iglesias




Better Than I Know Myself - Single





Better Than I Know M...

Adam Lambert




Time Is Love - Single





Time Is Love - Single

Josh Turner




Everybody Talks - Single





Everybody Talks - Si...

Neon Trees




New York - Single





New York - Single

Snow Patrol








No. 1 Album





TM:103 Hustlerz Ambition (Deluxe Version)





TM:103 Hustlerz Ambition
(Deluxe Version)

Young Jeezy








Video Spotlight





Straw Dogs





Straw Dogs

iTunes Extras




Dolphin Tale





Dolphin Tale

New Release Movie




30 Rock, Season 6





30 Rock

Sneak Peek




A Charlie Brown Christmas





A Charlie Brown Christmas

Specials + More





The iTunes Store, iBookstore, and App Store are available only to persons  
age 13 or older and in the US iTunes 10 or later, compatible hardware and  
software, and Internet access (fees may apply) are required. Books require  
iBooks 1.5 on a device with iOS 4.2 or later. Some content has specific  
hardware or software requirements; please review product information before  
purchasing. Full terms apply, available at  
www.apple.com/legal/itunes/us/terms.html. For more information see  
www.apple.com/itunes/. Content prices and availability subject to change  
and do not include taxes.


iTunes for Mac and Windows

Copyright © 2011 Apple Inc. 1 Infinite Loop, Cupertino, CA 95014
All rights reserved • Privacy Policy • Terms and Conditions
iTunes Store Customer Service • Download iTunes
Subscribe • Unsubscribe







0


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node

2011-12-26 Thread Sami Halabi
Hi,
>Do you run the node in compression or in encryption mode?

I enabled the compression in the mpd.conf if you mean that so its beoing
negotiated, but isee in the mpd portal not all the clients use compression

Sami

2011/12/27 Gleb Smirnoff 

> On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote:
> S> Hi,
> S>
> S> I've searched the net andfound basicly 2 threads talking about the
> message:
> S>
> S> ng_mppc_decompress: too many (4094) packets dropped, disabling node
> S>
> S> in FBSD 6.3
> S> http://lists.freebsd.org/pipermail/freebsd-bugs/2008-April/030183.htmlits
> S> a pr 123045
> S> and 5.4. http://markmail.org/message/lptpp4qmiwksazxc
> S> basicly suggested to set define MPPE_MAX_REKEY to a higher values
> S> and found somewhere a patch that changes it to variable rather than
> using
> S> it as macro
> S>
> S> i saw no answer indicating this really solves the problem.
> S>
> S> did anyone have a solution tothe problem? i'm suffering from it even i
> have
> S> about 200 concurrent connections, as i read MPD+FREEBSD usually can
> utilize
> S> thousands of sessions.
>
> Do you run the node in compression or in encryption mode?
>
> --
> Totus tuus, Glebius.
>



-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node

2011-12-26 Thread Sami Halabi
On Tue, Dec 27, 2011 at 9:44 AM, Sami Halabi  wrote:

> Hi,
>
> >1) Is the number always 4094?
>
> No, i see 4092, 4093 also:
> Dec 24 09:17:04 mpd2 kernel: ng_mppc_decompress: too many (4092) packets
> dropped
> , disabling node 0xff003051e400!
> Dec 24 09:17:04 mpd2 kernel:
> Dec 24 14:22:45 mpd2 kernel: ng_mppc_decompress: too many (4093) packets
> dropped
> , disabling node 0xff003d53db00!
> Dec 24 14:22:45 mpd2 kernel:
> Dec 24 19:28:45 mpd2 kernel: ng_mppc_decompress: too many (4092) packets
> dropped
> , disabling node 0xff00304e8500!
>
>
> >2) Have you tried to disable this code, thus never disable node? How
> >this performs? A patch for this is avaliable in
> >http://www.freebsd.org/cgi/query-pr.cgi?pr=123045&cat=
> didn't try yet.. should I? i saw later mail by you with patch
>
> Sami
>
>
> 2011/12/27 Gleb Smirnoff 
>
>> On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote:
>> S> Hi,
>> S>
>> S> I've searched the net andfound basicly 2 threads talking about the
>> message:
>> S>
>> S> ng_mppc_decompress: too many (4094) packets dropped, disabling node
>> S>
>> S> in FBSD 6.3
>> S> http://lists.freebsd.org/pipermail/freebsd-bugs/2008-April/030183.htmlits
>> S> a pr 123045
>> S> and 5.4. http://markmail.org/message/lptpp4qmiwksazxc
>> S> basicly suggested to set define MPPE_MAX_REKEY to a higher values
>> S> and found somewhere a patch that changes it to variable rather than
>> using
>> S> it as macro
>> S>
>> S> i saw no answer indicating this really solves the problem.
>> S>
>> S> did anyone have a solution tothe problem? i'm suffering from it even i
>> have
>> S> about 200 concurrent connections, as i read MPD+FREEBSD usually can
>> utilize
>> S> thousands of sessions.
>>
>> A couple of questions:
>>
>> 1) Is the number always 4094?
>> 2) Have you tried to disable this code, thus never disable node? How
>> this performs? A patch for this is avaliable in
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=123045&cat=
>>
>> --
>> Totus tuus, Glebius.
>>
>
>
>
> --
> Sami Halabi
> Information Systems Engineer
> NMS Projects Expert
>
>


-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"