in it.
alternatively, use poll() or select() to check for readability event.
char resultBuffer[65536];
ret = read(thisint-bpfInt, resultBuffer, sizeof(resultBuffer));
if(ret 0) return TRUE;
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL
cannot hack Aqua
or Quartz sources because there ain't any in public access.
Otherwise, you could just install Darwin, it will run on your
PC without any hacking.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org
to catch send a few packets now and then, not anything
complex or bandwidth demanding).
man bpf
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL
Ivan Voras wrote:
Lev Walkin wrote:
Ivan Voras wrote:
I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get
relevant packets (of appropriate ethernet type). I looked around in
/usr/include and can't find the support, at least not under that and
similar names. Is there support
/Cole
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED
/~esr/writings/taoup/html/ch07s03.html#id2923376
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
the
heap/stack corruption!?
Valgrind is available for FreeBSD.
http://eirikn.kerneled.com/valgrind/
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail
/atomic.h help you to perform
certain functions uninterrupted, possibly via a single assembly instruction,
hence the atomic prefix.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
(EXIT_SUCCESS);
}
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL
which handles
a large number of events. I am interested in seeing
the scalability of kqueue() as the number of events
increases.
One of the most comprehensive sites about that problem is:
http://www.kegel.com/c10k.html
--
Lev Walkin
[EMAIL PROTECTED
===
And then somebody changed assert() into a direct if()!
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
pointed out.
Absolutely NOT.
According to RFC1423 and FIPS81, the padding length may be somewhere
in between 1 to 16 bytes, which translated into
if(padLen 0 || padLen = 16)
for this particular code.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL
Lev Walkin wrote:
Absolutely NOT.
According to RFC1423 and FIPS81, the padding length may be somewhere
in between 1 to 16 bytes, which translated into
if(padLen 0 || padLen = 16)
for this particular code.
Sorry, ignore this comment.
--
Lev Walkin
[EMAIL PROTECTED
Hajimu UMEMOTO wrote:
Hi,
On Wed, 17 Sep 2003 01:09:24 -0700
[EMAIL PROTECTED] (Lev Walkin) said:
I saw it during working on next KAME merge into 5-CURRENT.
KAME/NetBSD uses assert() here like:
assert(padLen 0 padLen = 16);
Since FreeBSD doesn't have assert() in kernel, this line
out the better
half of Internet after a while.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
Dmitry Morozovsky wrote:
On Sun, 7 Sep 2003, Lev Walkin wrote:
LW [all below is for 4-STABLE]
LW
LW I'm trying to write effective arp scanner for multi-interface router (esp.
LW multi-vlan); I plan to use multiple bpf devices attached to different
LW interfaces emitting ARP requests
Dmitry Morozovsky wrote:
On Mon, 8 Sep 2003, Lev Walkin wrote:
[snip]
LW LW Yes, you're missing the interactive mode.
LW LW Refer to BIOCIMMEDIATE in the bpf(4) manual page.
LW
LW Unfortunately not ;-)
LW
LW Fortunately, yes.
LW
LW if (ioctl(fd, BIOCPROMISC, NULL) == -1)
LW
? References (surely, I'd already read
manpages for bpf, pcap and related -- but did I still missed something
serious?) would be greatly appreciated.
Yes, you're missing the interactive mode.
Refer to BIOCIMMEDIATE in the bpf(4) manual page.
--
Lev Walkin
[EMAIL PROTECTED
, and only the
program itsel will see the changed portion).
Thank you for your patience.
Zera
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL
a coredump of
your own memory (and, it'll be nice to have all that stack frames and
registers written as they were when the signal did occured, not what
they were when we are already in signal handler)
man 3 abort
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL
Artem 'Zazoobr' Ignatjev wrote:
At Thu, 21.08.2003, 22:05, Lev Walkin wrote:
Artem 'Zazoobr' Ignatjev wrote:
Hello, hackers
I'm writing some program, which dlopens() a lot of shared objects, and
can do nasty things to it's own memory. Some day I decided to trap fatal
memory signals, like SIGILL
appriciated.
port 21 or ... or port 25 or port 113
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
/getaddrinfo.c.
Indeed, it would be useful to have it configurable either in resolv.conf
(options) or as an environment variable (RES_OPTIONS).
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
Linux) or Free/NetBSD ones (migrating to the old Solaris'
behavior)?
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
BIOCSSEESENT that enables you to skip
over locally generated packets on the interface in question.
See ports/net/ipcad.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
that I should also check?
tmp = 0.
--
Lev Walkin
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
);
Please, please read `man 3 printf`. Consider using %f instead of %lld.
--
Lev Walkin
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
27 matches
Mail list logo