Help reqd: Configuring sppp

2005-12-13 Thread rashmi ns
Hi, I am facing problem in using sppp. Both local system amd remote systems are using the sppp. My questions are 1.Can we use sppp as PPP server? 2.If answer to first question is yes ,how can I do that? I tried out the following commands. $ifconfig hdlc0 up After this command interface is

anybody interested in "Usable lock..." project?

2005-12-13 Thread prime
hi hackers, Are there anybody are interested in project "Usable lock implementation with SX-semantics"(http://www.freebsd.org/projects/ideas/#p-sxsemantics)? Can we discuss it here? if so,share you ideas please. or anywhere else ? please tell me,thanks. -- Three passions, simple but overwhelming

Does tcpdump2xplot work?

2005-12-13 Thread Brian Reichert
This may be pilot error, but for the life of me, I can't get tcpdump2xplot to work as advertised. Every lick of documentation I can find say to first create a netdump libpcap file of TCP packets as such: tcpdump -tt -S -w tcpdump.out tcp Then, near as I can tell, I should be able to use tcp

Re: Does tcpdump2xplot work?

2005-12-13 Thread Brian Reichert
On Tue, Dec 13, 2005 at 11:00:57AM -0500, Brian Reichert wrote: > This may be pilot error, but for the life of me, I can't get > tcpdump2xplot to work as advertised. > > Every lick of documentation I can find say to first create a netdump > libpcap file of TCP packets as such: I misenterpreted th

ipfw forwarding

2005-12-13 Thread OxY
hi! i have a probably dumb question, can't get through it.. i have some ips on my server (x.x.x.28 and x.x.x.204 is important).. tried to forward packets from one ip to the other and ipfw doesn't do anything. i'd like to catch the packets on .204 port 80 and send them to one of my vhosts (do

Re: Does tcpdump2xplot work?

2005-12-13 Thread Brian Reichert
On Tue, Dec 13, 2005 at 11:20:49AM -0500, Brian Reichert wrote: > Other docs say I have to do this: > > tcpdump -tt -S -r tcpdump.out | tcpdump2xplot > > But, I get the same error... I've traced down the issue: tcpdump now creates lines like: IP > ... And tcpdump2xplot doesn't want to

Re: anybody interested in "Usable lock..." project?

2005-12-13 Thread Joel Dahl
On Tue, 2005-12-13 at 22:44 +0800, prime wrote: > hi hackers, > > Are there anybody are interested in project "Usable lock implementation with > SX-semantics"(http://www.freebsd.org/projects/ideas/#p-sxsemantics)? > Can we discuss it here? if so,share you ideas please. > or anywhere else ? please

Re: Does tcpdump2xplot work?

2005-12-13 Thread Dan Nelson
In the last episode (Dec 13), Brian Reichert said: > On Tue, Dec 13, 2005 at 11:20:49AM -0500, Brian Reichert wrote: > > Other docs say I have to do this: > > > > tcpdump -tt -S -r tcpdump.out | tcpdump2xplot > > > > But, I get the same error... > > I've traced down the issue: tcpdump now crea

Re: ipfw forwarding

2005-12-13 Thread Peter Jeremy
On Tue, 2005-Dec-13 18:27:43 +0100, OxY wrote: >i used this rule: > >$cmd 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80 > >what's wrong with it? You don't mention what is happening or not happening (running tcpdump and following packets as they go from system to system can be useful) but th

Equivalent of POLLERR for kqueue.

2005-12-13 Thread Vaclav Haisman
Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? I would like to use kqueue/kevent for sockets but error condition signaling is not clear to me from manpage. Vaclav Haisman ___ freebsd-hackers@freebsd.org mailing list http://l

Standard C-macro scripting

2005-12-13 Thread Hans Petter Selasky
Hi, What do you think about defining the following macros like this: #ifndef NOT #define NOT(arg) _NOT(YES arg(() NO)) #define _NOT(args...) args #endif #ifndef YES #define YES(args...) args #define NO(args...) #endif #ifndef END #define END(args...) args #endif #if ((1-YES(1)) || (1-

Re: ipfw forwarding

2005-12-13 Thread OxY
both addresses are on the same box, just 2 public ips.. .28 is the jail, .204 is one of the hosts alias - Original Message - From: "Peter Jeremy" <[EMAIL PROTECTED]> To: "OxY" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, December 13, 2005 7:20 PM Subject: Re: ipfw forwarding On Tue, 2005-

Re: Does tcpdump2xplot work?

2005-12-13 Thread Michael W. Oliver
On 2005-12-13T11:20:49-0500, Brian Reichert wrote: > On Tue, Dec 13, 2005 at 11:00:57AM -0500, Brian Reichert wrote: >> This may be pilot error, but for the life of me, I can't get >> tcpdump2xplot to work as advertised. >> Every lick of documentation I can find say to first create a netdump >> li

Re: Standard C-macro scripting

2005-12-13 Thread John Baldwin
On Tuesday 13 December 2005 01:36 pm, Hans Petter Selasky wrote: > Hi, > > ... > > What do you think about using C-macros like a scripting language? Honestly, I think I've now been scarred for life. :-/ I think that this stuff would be so obscure that no one else would be able to help with maint

Re: Does tcpdump2xplot work?

2005-12-13 Thread Brian Reichert
On Tue, Dec 13, 2005 at 12:01:11PM -0600, Dan Nelson wrote: > You'll probably get better results using the tcptrace port, which reads > capture files directly. That it does; I was exploring what tcpdump2xplot _could_ provide, as distinct from tcptrace, and ran in to the roadblock I originally ran

Re: Does tcpdump2xplot work?

2005-12-13 Thread Brian Reichert
On Tue, Dec 13, 2005 at 02:13:07PM -0500, Michael W. Oliver wrote: > Check this out... > > http://mail-index.netbsd.org/current-users/2004/11/30/0010.html > > Does that help? That confirms my own research; thanks... > -- > Mike Oliver -- Brian Reichert <[EMAIL PROTEC

COMPAT_43

2005-12-13 Thread Divacky Roman
hi, the only use of COMPAT_43 (beside running 43 programs) is linux emulation layer and some tty-related stuff. but GENERIC etc. still shouts KEEP THIS on this option. is this necessary? forcing COMPAT_43 pesimises performnce (additional locking in some places etc.) and most users dont need it (

Re: Standard C-macro scripting

2005-12-13 Thread Hans Petter Selasky
On Tuesday 13 December 2005 20:48, John Baldwin wrote: > On Tuesday 13 December 2005 01:36 pm, Hans Petter Selasky wrote: > > Hi, > > > > ... > > > > What do you think about using C-macros like a scripting language? > > Honestly, I think I've now been scarred for life. :-/ I think that this > stuf

kqueue/kevent and directories (Was: Equivalent of POLLERR for kqueue.)

2005-12-13 Thread Vaclav Haisman
On Tue, 13 Dec 2005, Vaclav Haisman wrote: Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? I would like to use kqueue/kevent for sockets but error condition signaling is not clear to me from manpage. Vaclav Haisman Another unclear area for me is how do changes in w

Re: kqueue/kevent and directories (Was: Equivalent of POLLERR for kqueue.)

2005-12-13 Thread John-Mark Gurney
Vaclav Haisman wrote this message on Wed, Dec 14, 2005 at 01:12 +0100: > On Tue, 13 Dec 2005, Vaclav Haisman wrote: > > >Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? > >I would like to use kqueue/kevent for sockets but error condition > >signaling is not clear to me

Re: ipfw forwarding

2005-12-13 Thread Vasil Dimov
On Tue, Dec 13, 2005 at 06:27:43PM +0100, OxY wrote: > hi! > > i have a probably dumb question, can't get through it.. > > i have some ips on my server (x.x.x.28 and x.x.x.204 is important).. > > tried to forward packets from one ip to the other and ipfw doesn't do > anything. > i'd like to cat

Re: Cardbus panics

2005-12-13 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Josef Grosch <[EMAIL PROTECTED]> writes: : : I have an IBM T22 thinkpad running FreeBSD 5.4-RELEASE-p8. I have the : CardBus devices in the current kernel. When I insert a CardBus device, A : Xircom RealPort CardBus Ethernet I get a kernel panic like so;