On Sunday, February 13, 2000, Marc Wandschneider wrote:
> i was wondering if FreeBSD had a kind of like DLL capability?
Yes, try ``man 3 dlopen''.
--
|Chris Costello <[EMAIL PROTECTED]>
|The programmer's national anthem is ''. -Weinberg, p.152
`--
>
> i was wondering if FreeBSD had a kind of like DLL capability?
>
> i'd like to be able to do something as follows:
>
> // ... construct char *fileName
> moduleHandle = loadCodeModule(fileName);
> (char *)(*fn char *) myfn; // ii'm pretty sure i screwed that up
>
On Sun, 13 Feb 2000, Marc Wandschneider wrote:
...
> i was wondering if FreeBSD had a kind of like DLL capability?
Yes.
man dlopen(3)
Bye!
Michael Reifenberger
Plaut Software GmbH, R/3 Basis
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the bod
On Sat, 12 Feb 2000, Egervary Gergely wrote:
> I'm running a PPP dialup server. (mgetty-autoppp) Is there any way to do
> login accounting (like solaris' PAM modules, or linux pam_limits.so)
A FreeBSD PAM module? ;)
We use the same PAM code as linux, so grab the source of the module you
use und
> > I'm running a PPP dialup server. (mgetty-autoppp) Is there any way to do
> > login accounting (like solaris' PAM modules, or linux pam_limits.so)
>
> A FreeBSD PAM module? ;)
>
> We use the same PAM code as linux, so grab the source of the module you
> use under linux and compile it on FreeB
hi, there!
On Mon, 14 Feb 2000, Egervary Gergely wrote:
> > > I'm running a PPP dialup server. (mgetty-autoppp) Is there any way to do
> > > login accounting (like solaris' PAM modules, or linux pam_limits.so)
> >
> > A FreeBSD PAM module? ;)
> >
> > We use the same PAM code as linux, so grab
Hi,
The new version of SPY - a kernel module for monitoring syscalls - is
available for download from:
http://www.freebsd.org/~abial/spy/
Please read the README.txt supplied with the package. This module has been
tested only with FreeBSD 4.0 - it may require some minor changes to work
w
dlopen(3):
#include
void *dlopen(const char *path, int mode);
void *dlsym(void *handle, const char *symbol);
...
void *dll_handle;
char (*my_func)(char *); // me too :)
dll_handle = dlopen("/my/tests/something.so", RTLD_NOW);
my_func = dlsym(dll_handle, "my_func");
...
so
> > :accounted:\
> > :sessionlimit=1:
> > and login still let me log in more than once.
>
> both login and pam_unix.so do not have accounting capabilities
ok, well - I've seen the sources.
anyway, what has accounting capabilities, and what are the plans about it?
-- mauzi
To Unsubscr
This message was sent from Geocrawler.com by "Pradesh Chanderpaul"
<[EMAIL PROTECTED]>
Be sure to reply to that address.
Hello All
I know that this question is more suited to the general
questions mailing group, but I tried, and failed to obtain
a response. So could someone please provide gu
Hi,
From: Egervary Gergely <[EMAIL PROTECTED]>
Subject: Re: accounting, ppp
Date: Mon, 14 Feb 2000 10:37:31 +0100 (CET)
mauzi> > > I'm running a PPP dialup server. (mgetty-autoppp) Is there any way to do
mauzi> > > login accounting (like solaris' PAM modules, or linux pam_limits.so)
mauzi> >
ma
> Did you see, `man 1 last` ?
> Here is a sample output list of last.
> tf051005.tf.or.jp is my ppp dial-up client.
> dhcp100.tf.or.jp is my dhcp client.
of course accounting means more than just getting information ;))
eg. limiting, etc ;)
-- mauzi
To Unsubscribe: send mail to [EMAIL PROTECT
Hey all;
We have several routers storing a full global routing table. Recently,
this table has grown rather large (currently at ~75k routes).
All are behaving in the same way;
When GateD starts, I can watch it growing on a 'top', as it builds a
routing table. Suddenly, it stops growing, cpu u
3.4-stable fsck core dumps. filesystem is ufs, part of a 36gb
ide drive. running "fsck -y /dev/rwd0s2e" produces the
following:
LINK COUNT FILE I=3690915 OWNER=1562247989 MODE=65764
SIZE=9880933937738515337 MTIME=Oct 19 22:53 1905 COUNT 4352 SHOULD BE 1
ADJUST? yes
UNREF FILE I=3690923
If you're really certain that you know what you're doing, you might
consider using _thread_sys_setsockopt() to go behind the pthread library's
back. Non-portable, and a really bad idea if you can get away without it
(in this case, I'd probably go with the second socket unless I determined
that it
i personally like shimon's st.d...
it exercises a disk very thoroughly, so if you want to benchmark - and,
of course, have plenty of time for the box to run the benchmark - st.d
is the choice since you got your free-of-charge(tm) burn in of the disk
subsystem with it. what it basically does is sim
On Tue, 15 Feb 2000, Greg Lehey wrote:
> > http://www.simon-shapiro.org/st_d/index.html
> I don't see anything that jumps out and tells me where to get this
> software, nor where I can get a printable version of the
> documentation. Shimon, can you help?
The above URL links to the documentatio
Hi,
I'm having a hard time setting the mtu on some of my cards. They are DEC
205's. They work fine... but I have to set the mtu to 1492 so adsl
works.
su-2.03# ifconfig le0 mtu 1492
ifconfig: ioctl (set mtu): Invalid argument
su-2.03# ifconfig le0
le0: flags=8843 mtu 1500
inet 19
we're trying to figure out how to setup a scsi adapter to function
as a target device, and would appreciate some help from anyone
who knows how to do it. we've looked at the code (scsi_target.c,
scsi_targ_bh.c) and man pages (man scsi), but we're still not
clear on the following:
a. settings on
:etc...
:
:The first symptom seems always to be the malloc failure. This happens
:within the first minute of uptime on this particular machine, a
:p2-400/128Mb. All machines run FreeBSD-3.2. The others take longer to
:develop the fault, but have slower processors.
'vmstat -m' before, durin
* Pradesh Chanderpaul <[EMAIL PROTECTED]> [000214 06:33] wrote:
> This message was sent from Geocrawler.com by "Pradesh Chanderpaul"
><[EMAIL PROTECTED]>
> Be sure to reply to that address.
>
> Hello All
>
> I know that this question is more suited to the general
> questions mailing group, bu
I don't have access to a -current machine to try this on, so this only
applies to 3.4.
I have my ulimit set to 8MB for data/etc:
ulimit -a
core file size (blocks) 8192
data seg size (kbytes) 8192
file size (blocks) 8192
max locked memory (kbytes) 4096
max memory size (kbytes
I'm using a threaded program to manage ipfw rules, and today discovered
the hardware that you cannot simultaneously have a thread blocking on a
recvfrom() on the raw socket to read icmp packets, and have another thread
perform a setsockopt() to manipulate the ipfw rules.
While it's easy to work
>a. settings on the controller card (e.g. scsi id, termination)
>b. freebsd configuration on the initiator and target PCs.
> (e.g. do we use scsi_pt.c, scsi_target.c, etc).
>
>here's a diagram depicting what we want to do. we're trying to setup
>a PC (PC2 below) with an adaptec controller t
> I'm using a threaded program to manage ipfw rules, and today discovered
> the hardware that you cannot simultaneously have a thread blocking on a
> recvfrom() on the raw socket to read icmp packets, and have another thread
> perform a setsockopt() to manipulate the ipfw rules.
Yea, it's because
On Tuesday, 15 February 2000 at 2:37:58 +0100, Karsten W. Rohrbach wrote:
> Greg Lehey([EMAIL PROTECTED])@Sun, Feb 13, 2000 at 03:16:50PM +1030:
>> On Friday, 11 February 2000 at 10:49:24 +0100, Christoph Kukulies wrote:
>>> PIII/500, 128 MB
>>>
>>> I'm wondering if this is trustable:
>>>
bo
Hello All,
Is it possible to get access to link layer (AF_LINK) via raw socket?
kind of Linux SOCK_PACKET. It seems to me that it is not. (hope I wrong :)
I can access raw IP via socket(AF_INET, SOCK_RAW, IPPROTO_RAW)
and event get access to IP header with setsockopt. But not AF_LINK :(
On the
On Mon, Feb 14, 2000 at 10:33:47AM -0800, Archie Cobbs wrote:
> Yevmenkin, Maksim N, CSCIO writes:
> > i was thinking about netgraph. would't it be nice to have netgraph interface
> > in each network driver?
>
> You already do. See ng_ether(8).
>
> Compile your kernel with options NETGRAPH and
David Malone writes:
> > Compile your kernel with options NETGRAPH and then each Ethernet
> > interface is a netgraph node. Take control of it by connecting
> > to the "divert" hook.
>
> I was trying to figure out if it is possible to route stuff out on
> a particular interface based on source ad
Yevmenkin, Maksim N, CSCIO writes:
> i was thinking about netgraph. would't it be nice to have netgraph interface
> in each network driver?
You already do. See ng_ether(8).
Compile your kernel with options NETGRAPH and then each Ethernet
interface is a netgraph node. Take control of it by conne
30 matches
Mail list logo