tcpdump behavior with netgraph

2013-09-27 Thread Riaan Kruger
I am trying to troubleshoot my netgraph setup. I have a custom node connected to ng_ether's orphan and upper hooks. This node inserts a special ethernet tag into certain UDP broadcast packets going out and strip it coming back in. With tcpdump I see two entries for each packet sent, one without

Re: adding new cipher support to kernel

2012-07-04 Thread Riaan Kruger
Soory the previous email had the wrong destinaton. A patch has been submitted to one of the commiters. It is in the process of being commited/approved/looked at (I not sure what to call it.) Riaan ___ freebsd-questions@freebsd.org mailing list

Re: Established method to enable suid scripts?

2011-05-11 Thread Riaan Kruger
Here is some information on what perl does: http://www.washington.edu/perl5man/pod/perlsec.html Also there is an option (not chosen by default) in the perl port to enable setuid. Riaan ___ freebsd-questions@freebsd.org mailing list

Re: redirecting command output depending on exit status

2011-04-21 Thread Riaan Kruger
I have a cron task set up using lockf. I'd like to redirect one exit status to /dev/null : I think that the exit status of a command will be after any output of the command to stderr or stdout. So first it will say This is wrong and then it will exit giving you the exit code. The only

X.21 PCI Express Cards for FreeBSD 7 or later

2009-08-27 Thread Riaan Kruger
Does anybody know of a X.21 (PCI Express From factor) card that works under FBSD7 or later. It is quite hard to figure out from the hardware/release notes. Thanx Riaan ___ freebsd-questions@freebsd.org mailing list

Re: IPsec's use of processors

2008-11-18 Thread Riaan Kruger
On Sat, Nov 15, 2008 at 3:15 PM, Patrick Lamaizière [EMAIL PROTECTED]wrote: Le Fri, 14 Nov 2008 13:37:58 +0200, Riaan Kruger [EMAIL PROTECTED] a écrit : I would like to know how IPsec makes use of a multi processor machine? I have gateway (FreeBSD 7.0) with four SAs configured. When

IPsec's use of processors

2008-11-14 Thread Riaan Kruger
I would like to know how IPsec makes use of a multi processor machine? I have gateway (FreeBSD 7.0) with four SAs configured. When testing throughput through the configured SAs, I see (with systat) that only one cpu works really hard (+-10% idle min), two others work a bit (+-70% idle min) and

Re: Driver debugging help

2008-09-12 Thread Riaan Kruger
On Fri, Sep 12, 2008 at 1:23 PM, Patrick Lamaizière [EMAIL PROTECTED]wrote: Le Thu, 11 Sep 2008 11:59:05 +0200, Riaan Kruger [EMAIL PROTECTED] a écrit : I am looking for hints to debug a driver I am working on. I get a page fault when running the driver intensively. The stack trace from

Driver debugging help

2008-09-11 Thread Riaan Kruger
I am looking for hints to debug a driver I am working on. I get a page fault when running the driver intensively. The stack trace from the kernel dump only goes up to a free command which I suspect is being called from my driver. No matter what I do I cannot get a more complete stack trace. kgdb

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread Riaan Kruger
On Wed, Aug 20, 2008 at 2:58 PM, John Almberg [EMAIL PROTECTED] wrote: I'm a newbie admin and I've just figure out something that will be obvious to most on this list... that apache log files can get big, fast. I did a df for another reason the other day and was surprised to see my /var

Re: rotatelogs is rotating too quickly...

2008-08-20 Thread Riaan Kruger
On Wed, Aug 20, 2008 at 4:03 PM, John Almberg [EMAIL PROTECTED] wrote: That does not look like 5 Meg but 5 Minutes. I don't think so... From the man pages: CustomLog |bin/rotatelogs /var/logs/logfile 5M common This configuration will rotate the logfile whenever it reaches

Re: ALTQ and services

2008-08-19 Thread Riaan Kruger
2008/8/19 Zbigniew Szalbot [EMAIL PROTECTED] Hello, I am trying to find out how to specify services in the below scenario: ext_if=kue0 altq on $­ext_if priq bandwidth 1024Kb queue { q_pri, q_def } queue q_pri priority 7 queue q_def priority 1 priq(default) pass out on $­ext_if proto

Re: make release and sysinstall

2008-08-14 Thread Riaan Kruger
Sysinstall has a configuration file with wich you can specify several options, see man sysinstall(8) for more details. When making a release you set the sysinstalls configuration file with the LOCAL_PATCHES option to patch it to the chroot environment release build environment. We use it to

Re: make release and sysinstall

2008-08-14 Thread Riaan Kruger
Another question: Suppose I create my own install.cfg for sysinstall and then I do a make release.If my sysinstall contains a couple of freeBSD packages (bash, python, etc..) plus a custom package created by me.. How must I instruct make release to include just those packages in the final

Prepending data to struct uio in kernel

2008-07-24 Thread Riaan Kruger
I wish to insert a small buffer into (actually in front of) a uio structure received from userland through an ioctl call. I then want to map this uio structure to a dma map. Currently I am mallocing a new buffer, copying the uio data and my own data to that buffer and then mapping the buffer to

Re: Query on kgdb output

2008-06-06 Thread Riaan Kruger
On Thu, Jun 5, 2008 at 11:59 AM, [EMAIL PROTECTED] wrote: Hi, I'm seeing regular kernel panics on my new box with a fresh install of 7.0-RELEASE. I'm trying to get some information out of kgdb by following the instructions in the handbook - however, I'm getting a 'cannot access memory'

pmcstat log file analysis

2008-06-02 Thread Riaan Kruger
I am looking for an explanation of the pmc native log file fields (or so called raw output) when doing a pmctstat -R /tmp/mylogfile. A typical sample entry will look like: sample0x1000401 874 0xc09da725 s I guess the 874 is a PID and the s means system as opposed to user. Could anybody

Make Release Customization

2007-10-26 Thread Riaan Kruger
What is the best way to add new files into the CHROOT environment when doing a make release? I am trying to create my own distribution using the make release, from release(7), mechanism. The problem is, is that I wish to add files to the CHROOT environment. These files are my own config files

FreeBSD Conferences 2008

2007-10-11 Thread Riaan Kruger
Where can I get the FreeBSD conference/event schedule for 2008? I think I am most interested in BSDCan, EuroBSDCon - they seem to be the best. Can anybody recommend any other? Riaan Kruger PS. Sorry for asking 2 questions in one email. ___ freebsd

What is proxy user for?

2007-08-27 Thread Riaan Kruger
Does anybody know why there is a proxy user? I am trying to get an understanding what the different users in /etc/passwd are for. A more general question probably would be, Is there any documentation/resource that gives information/motivation for the users and groups in /etc/? Thanx in advance