[Job] MySQL consultation

2007-03-21 Thread Elazar Leibovich
email is also possible. I need it pretty soon. Regards Elazar Leibovich 054.4 9 6 7 7.8.4 = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscr

Re: [Job] MySQL consultation

2007-03-21 Thread Elazar Leibovich
It seems that my question boils down to this: I'm having a 3Gb table with three TEXT columns and an ID. Counting it takes between 1 to 2 minutes, is it normal for such a size of a table? On 3/21/07, Elazar Leibovich <[EMAIL PROTECTED]> wrote: I need a MySQL consultant for a small c

Re: [Job] MySQL consultation

2007-03-21 Thread Elazar Leibovich
The whole table. SELECT COUNT(*) FROM tbl WHERE id>1; Thanks for the speedy reply. On 3/21/07, Jonathan Ben Avraham <[EMAIL PROTECTED]> wrote: Hi Elazar, What is it exactly that you are counting? - yba On Wed, 21 Mar 2007, Elazar Leibovich wrote: > Date: Wed, 21 Mar 2007 15

Re: [Job] MySQL consultation

2007-03-21 Thread Elazar Leibovich
directions (reducing logs resolution etc.). Will the fact I'll have no TEXT columns speed things up? Will removing all columns except of id from the giant posts table throttle things up significantly? On 3/21/07, Jonathan Ben Avraham <[EMAIL PROTECTED]> wrote: On Wed, 21 Mar 2007, Elaza

Re: [Job] MySQL consultation

2007-03-21 Thread Elazar Leibovich
my wish, but to actually process the data. On 3/21/07, Tzahi Fadida <[EMAIL PROTECTED]> wrote: On Wednesday 21 March 2007 16:02, Elazar Leibovich wrote: > The whole table. SELECT COUNT(*) FROM tbl WHERE id>1; > Thanks for the speedy reply. Without knowing how mysql works, i can t

Tracing the functions stack through gdb

2007-04-26 Thread Elazar Leibovich
Problem: I wish to hack and solve Bidirectionality related bugs in Lyx. However, I don't want to read all and understand all the code in Lyx, but only the code related to cursor movement, character insertion, etc. How can I find the relevant pieces of code quickly? Suggested Solution: Run Lyx with

SMTP relay server

2007-05-16 Thread Elazar Leibovich
I'm looking for a SMTP relay server, that would enable me to recieve a list of bounced emails. It needs to support delivery of 400K messages daily. Can you provide me any recommendations? = To unsubscribe, send mail to [EMAIL PROTECT

Re: SMTP relay server

2007-05-16 Thread Elazar Leibovich
essages and your bandwidth. Sendmail has the log format and rule rewriting capabilityies that you probably need, here as PostFix is probably harder to configure for this type of specialized task. - yba On Thu, 17 May 2007, Elazar Leibovich wrote: > Date: Thu, 17 May 2007 08:52:55 +0300 >

Re: SMTP relay server

2007-05-16 Thread Elazar Leibovich
gned for such mail distribution, with subscription management done by the users themselves, and of course, built-in ability to detect bounces and automatically unsubscribe such users? For example, mailman[1] ? -- Shimi [1] http://www.gnu.org/software/mailman/ On Thursday 17 May 2007 09:16, Elazar Lei

Communicating with google talk voice

2007-05-22 Thread Elazar Leibovich
I've been trying to find a solution for audio communication (ie libjingle) with google talk clients on windows. So far, no luck. I tried tapiocaui, gossip-telepathy, but nothing worked. Either installation went havoc (needed a specific version of a specific library I couldn't find) or it installed

immitating Magiccard with linux.

2005-10-19 Thread Elazar Leibovich
There's a PCI card called Magiccard[1] which is recoverring one of your harddrive's partitions after each period of time or manually. The main use of that is to back up a windows partition, and make ruining it impossible. I'd like to immitate it on software. My plan is to divide the harddrives i

SiS613u trendnet WLAN adapter on linux

2005-10-30 Thread Elazar Leibovich
I'm trying to get Trendnet's TEW 424UB WLAN USB adaptor [1] to work with linux. I couldn't find a native support with google, NDISwrapper claims to support this exact trendnet model. Installation worked fine for me (clean knoppix4.02) however it couldn't find the hotspot nearby. In both winXP an

Re: Upgrading live RH9

2006-06-11 Thread Elazar Leibovich
Are you quite sure this is necessary?In debian, you just 'apt-get upgrade' can't you immitate it with RH?On 6/11/06, Oded Arbel < [EMAIL PROTECTED]> wrote: On Sat, 2006-06-10 at 19:42 -0700, E Leibovich wrote: Given a live server that runs many relatively uncommon programs (for instance

Re: Preventing email spoofing

2006-06-19 Thread Elazar Leibovich
That's very true, I haven't thought of that. Thanks. Any smarter idea? Maybe I can filter emails coming from my host email address and then make sure they're not recieved: from unknown source (spammers has the habbit of including your hostname in the from: field, so that you'll whitelist them) On

Re: Preventing email spoofing

2006-06-19 Thread Elazar Leibovich
ut Sender Policy Framework (SPF). Using a mail server with SPF is about all you can do; it ain't good news, but trust the smart people who thought SPF up there isn't a better option. Elazar Leibovich wrote: > That's very true, I haven't thought of that. Thanks. > Any smar

Unable_to_run_qmail-remote and "trouble in select" problems (are they related?)

2006-06-23 Thread Elazar Leibovich
qmail complains occasionaly he's"Unable_to_run_qmail-remote./" in the logs, I'vefailed to find decent documentation on the web forsuch a failure, peeking at qmail's source reveals that it reports such an error is reported ifread(probablly-qmail-remote-pipe,...) returns zero and(status_of_qmail-remo

How do I benchmark a spin lock?

2014-11-25 Thread Elazar Leibovich
The first question I have in mind, is, how do you define a lock benchmark? Is your goal to minimize overhead? Is your goal to minimize the latency of a successful uncontended acquire? Is your goal to minimize bus load for other CPU when three CPUs are waiting for the spin lock? What we're measurin

Re: How do I benchmark a spin lock?

2014-11-26 Thread Elazar Leibovich
case. I'll be glad for any feedback. Thanks again. On Wed Nov 26 2014 at 10:43:43 AM Muli Ben-Yehuda wrote: > On Tue, Nov 25, 2014 at 08:56:01PM +, Elazar Leibovich wrote: > > > The first question I have in mind, is, how do you define a lock > > benchmark?

Copying kernel stack in a generic way

2014-12-19 Thread Elazar Leibovich
I'm given a stopped virtual machine, with access to the CPU and the memory. It is now running a kernel function. I want to copy the entire kernel stack. How can I do that in a generic way, that would hopefully work across multiple kernels. For simplification, let's discuss x64. I know where the

Re: Copying kernel stack in a generic way

2014-12-21 Thread Elazar Leibovich
Thanks, On Sun, Dec 21, 2014 at 9:27 AM, Muli Ben-Yehuda wrote: > On Fri, Dec 19, 2014 at 02:19:07PM +0000, Elazar Leibovich wrote: > >> I know where the stack ends, but how can I know where it begins? > > What assumptions can you make? Can you run kernel code in the VM >

Re: Copying kernel stack in a generic way

2014-12-21 Thread Elazar Leibovich
> configurations and new versions. > > On the other hand, reliance upon OS identification would at least enable > the user to call Support when he runs your code on an OS not identified > as a supported OS. > > --- Omer > > > On Sun, 2014-12-21 at 11:08 +0200, Elazar Leib

Re: Copying kernel stack in a generic way

2015-01-07 Thread Elazar Leibovich
e->return_address; print_ftrace_graph_addr(addr, data, ops, tinfo, graph); } On Sun Dec 21 2014 at 9:28:01 AM Muli Ben-Yehuda wrote: > On Fri, Dec 19, 2014 at 02:19:07PM +, Elazar Leibovich wrote: > > > I know where the stack ends, but how can I know where it begins? > &g

Re: Copying kernel stack in a generic way

2015-03-12 Thread Elazar Leibovich
bvious improvement was to traverse two stack pages instead of one, but so far it doesn't look like I've seen truncated stacks. On Wed, Jan 7, 2015 at 11:50 AM, Elazar Leibovich wrote: > For future reference. > > I examined what perf does when sampling the stack, (e.g. "-g&quo

Good design to expose debug info from kernel module

2015-03-26 Thread Elazar Leibovich
Hi, I'm writing a kernel module, and I want to expose some debug information about it. The debug information is often of the form of request-response. For example: - Hey module, what's up with data at 0xe8ff0040c000? - Cached, populated two hours ago. - Hey module, please invalidate data a

Re: Good design to expose debug info from kernel module

2015-03-27 Thread Elazar Leibovich
s: > > http://www.linuxfoundation.org/collaborate/workgroups/networking/generic_netlink_howto > > (link got broken - place it all on a single line) > > --guy > > > On 03/26/2015 11:36 PM, Elazar Leibovich wrote: >> >> Hi, >> >> I'm writing a kernel module,

Re: Good design to expose debug info from kernel module

2015-03-27 Thread Elazar Leibovich
simply mempcy > structures, without really writing serialization code (there's no endianess > issues, with both sides running on the same host, by definition). > > --guy > > > On 03/27/2015 10:03 AM, Elazar Leibovich wrote: >> >> Thanks, didn't know netlink. >

Re: Good design to expose debug info from kernel module

2015-03-28 Thread Elazar Leibovich
itch.py On Sat, Mar 28, 2015 at 12:49 AM, Amos Shapira wrote: > If serialisation (aka "marshalling") is considered, how about making it > text based? > Then you can use simple shell tools to talk to it. > > > On 27 March 2015 at 22:34, Elazar Leibovich wrote: > >

Re: Good design to expose debug info from kernel module

2015-03-30 Thread Elazar Leibovich
Sounds good, thanks (although it'll be harder to use from non-C programs). Do you have a good idea how to stream information as a response to ioctl? On Mon, Mar 30, 2015 at 3:31 PM, Gilboa Davara wrote: > On Thu, Mar 26, 2015 at 11:36 PM, Elazar Leibovich > wrote: > > Hi, &g

Re: Good design to expose debug info from kernel module

2015-03-30 Thread Elazar Leibovich
emcpy. Or at least this is one of the reasons. Thanks, On Mon, Mar 30, 2015 at 5:08 PM, Gilboa Davara wrote: > On Mon, Mar 30, 2015 at 3:44 PM, Elazar Leibovich > wrote: > > Sounds good, thanks (although it'll be harder to use from non-C > programs). > > I usually

Accessing static variables from kernel modules

2015-03-31 Thread Elazar Leibovich
Hi, I was extending perf counters to sample the stack of a KVM guest from a module[0]. The current KVM profiling architecture, keeps a CPU local variable current_vcpu of the current vcpu running before vm_enter, and removes it after a vm_exit. Then, when an NMI occurs, it could check the current

Memory pool interface design

2015-05-15 Thread Elazar Leibovich
I'm writing a small C library, that I want to open source. I want them to be usable for embedded environment, where memory allocation must be controlled. Hence, I abstracted away calls to malloc/realloc, and replaced them with struct mem_pool { void *(*allloc)(void *mem_pool, void *prev_ptr,

Re: Memory pool interface design

2015-05-16 Thread Elazar Leibovich
; be very annoying to the user. Give him a null and let him crash or handle > it as he sees fit. > > Baruch > > On Fri, May 15, 2015 at 5:47 PM, Elazar Leibovich > wrote: > >> I'm writing a small C library, that I want to open source. >> >> I want them to b

Re: Memory pool interface design

2015-05-16 Thread Elazar Leibovich
seng: Market-Driven Memory Allocation > <http://www.cs.technion.ac.il/~ladypine/vee18-agmon-ben-yehuda.pdf>, Orna > Agmon Ben-Yehuda, Eyal Posener, Muli Ben-Yehuda, Assaf Schuster, Ahuva > Mu'alem. In proceedings of VEE 2014. > > > On Sat, May 16, 2015 at 9:14 PM, El

Re: Memory pool interface design

2015-05-16 Thread Elazar Leibovich
y speaking, but allocates memory. Those would have to return error, and the user would have to check the error. Thanks, On Sat, May 16, 2015 at 11:18 PM, Oleg Goldshmidt wrote: > Elazar Leibovich writes: > > > My question is, should I support the case of malloc failure. On one >

Re: Memory pool interface design

2015-05-17 Thread Elazar Leibovich
What are other practical use cases where malloc returns NULL. You mentioned programmer error. I second, and mention restricted environment where admin ulimits your virtual memory. I'll be happy to hear more. On Sun, May 17, 2015 at 9:51 PM, Oleg Goldshmidt wrote: > Elazar Leibovich

HW breakpoint on physical address w/ VM

2015-08-29 Thread Elazar Leibovich
Does anyone have a creative idea how to set a hardware breakpoint on physical address with a VM. In x86-64 architecture. The best idea I've had, is patching KVM, and let him pretend some non-canonical vaddress is actually a physical address (e.g., hbr *0xf00d0A-BCDE-FGHI is equiv to a breakpoint o

Re: HW breakpoint on physical address w/ VM

2015-08-29 Thread Elazar Leibovich
Oh, and the idea of the KVM patch is, for each physical HW bp, add a relevant entry in the spt, and set the hardware breakpoint there. This is assuming KVM HW bp works like I think they do. On Sat, Aug 29, 2015 at 10:13 PM, Elazar Leibovich wrote: > Does anyone have a creative idea how to se

[job] Ravello systems in Ra'anana Zarhin 13

2016-01-06 Thread Elazar Leibovich
Ravello systems is developing an hypervisor/virtual machine capable of running on the cloud. Companies who want to run, e.g., ESXi on the cloud, are running their software on Ravello's hypervisor which is capable of running nested on AWS or Google cloud. Ravello also emulates Layer 2 network for

Measuring time period with rdtsc in liux

2016-04-19 Thread Elazar Leibovich
Hi, In all recent Intel hardware, rdtsc is providing number of ticks since boot, with a constant rate, and is equal among CPUs. Vol III 17.14 For Pentium 4 processors, (...): the time-stamp counter increments at a constant rate. That rate may be set by the maximum core-clock to bus-clock ratio of

Re: Measuring time period with rdtsc in liux

2016-04-20 Thread Elazar Leibovich
gainst the hpet, assume it's in khz precision and round it down from userspace, but I'm still looking for a better solution to do that. I'm not a kernel expert, maybe tsc_khz is exported to userspace somehow. Anyone have any idea? On Wed, Apr 20, 2016 at 8:10 AM, Elazar Leibovich

Re: Measuring time period with rdtsc in liux

2016-04-20 Thread Elazar Leibovich
some way to measure that in userspace even without the kernel. On Wed, Apr 20, 2016 at 1:03 PM, Elazar Leibovich wrote: > I didn't think about it at first, but since the kernel uses tsc as a > clock source, I'd better have a look at what it does. > > Note that there are some ts

Gradual installation of debian packages

2016-08-02 Thread Elazar Leibovich
Hi, I'm having a few (say, a few tens) Debian machines, with a local repository defined. In the local repository I have some home made packages I'm building and pushing to the local repository. When I'm upgrading my package, I want to be sure the update wouldn't cause a problem. So I wish to in

Re: Gradual installation of debian packages

2016-08-02 Thread Elazar Leibovich
be parallel-ssh install on all the servers. > > P. S. In case of few tens of servers I'd prefer to work with ansible or > alternative, it's worh it in most cases/ > > Best Regards, Evgeniy. > > > On Tue, Aug 2, 2016 at 8:50 PM, Elazar Leibovich > wrote: > &g

Re: Gradual installation of debian packages

2016-08-05 Thread Elazar Leibovich
7;d even go > for immutable server images (e.g. Packer building AMI's, or Docker > containers), then it's a matter of just firing up an instance of the new > image both when testing and in production. > > --Amos > > On 3 August 2016 at 16:55, Elazar Leibovich wrote: >

Re: Gradual installation of debian packages

2016-08-06 Thread Elazar Leibovich
software do that you can't test before installing on production > servers? > > On 6 August 2016 at 02:14, Elazar Leibovich wrote: > >> All real servers, with custom hardware attached, geographically >> distributed across the planet. >> >> Real people actually

Interop with Windows zeroconf/LLMNR

2016-11-28 Thread Elazar Leibovich
Hi, It's really convenient that two Linux computers usuallly have mDNS installed by default. I can then do scp x moshe.local, to my friend's laptop. In order for that to work with Windows, one can enable Window's zeroconf standard, LLMNR. The easiest way is by configuring systemd-resolved to supp

Re: Interop with Windows zeroconf/LLMNR

2016-11-29 Thread Elazar Leibovich
ue, Nov 29, 2016 at 3:21 PM, Shay Gover wrote: > Once upon a time I was a Windows sysadmin. Anyway, there was a nice site, > called blackviper.com that listed windows services default state. However > it's appears it's down now. Maybe tomorrow it'll be up? > > Shay >

Modern open source/standard for Arabic translitiration

2017-05-07 Thread Elazar Leibovich
Hi, While a little bit niche, and while unfortunately not enough Arabic speaking folks are in the hi-tech scene in Israel, I still send this query, and feel free to ask an Arabic speaking friend. Is there an open standard/de facto standard/implementation of Arabic transliteration. From Hebrew or

Smart home/electricity open standard

2017-05-21 Thread Elazar Leibovich
Hi, Is there some open standard for smart home. The only thing I've seen which is close to open standard is KNX. But I'm not sure if there's a free/open source implementation of the standard ETS5 software used to configure KNX modules. Is the files specifying KNX hardware data, e.g., vd2, knxprod h

Re: Smart home/electricity open standard

2017-05-21 Thread Elazar Leibovich
k with KNX, it's not just the wire protocol. On Sun, May 21, 2017, 2:59 PM Rabin Yasharzadehe wrote: > Please clarify what do you mean by "open standard for smart home" > are you referring to the communication between devices ? > > -- > Rabin > > On 21 May 2017 at

Re: Smart home/electricity open standard

2017-05-21 Thread Elazar Leibovich
one of them call OpenHAB <https://www.openhab.org/> > > some devices will require a firmware flashing to make them to work with > your "cloud" and not the vendor. > > one popular and cheep devices to start with are the Sonoff switches. > > -- > Rabin >

Re: Smart home/electricity open standard

2017-05-21 Thread Elazar Leibovich
e because the option to reprogram there firmware > and avoid the vendor lock problem which most of this devices have. > > The OpenHAB froums are also a great place to find devices which work > seamlessly with OpenHAB and find other hardware recommendation. > > -- > Rabin > >

Re: HW breakpoint on physical address w/ VM

2017-10-23 Thread Elazar Leibovich
/software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf [1] https://patchwork.kernel.org/patch/10007161/ On Sun, Aug 30, 2015 at 7:58 AM, Muli Ben-Yehuda wrote: > On Sat, Aug 29, 2015 at 10:44:17PM +0300, Elazar Leibovich wrote: >

[job] KVM/hypervisor developer @Ravello/Oracle Ra'anana

2018-01-24 Thread Elazar Leibovich
Oracle is building its own cloud, OCI, with Ravello's cloud is running above it. Ravello is the only organization I know, running nested KVM in production, sometimes nested 3 levels deep, which presents some unique challenges. Here are some patches from the team: https://patchwork.kernel.org/pat

Re: Security-What can be done in kernel to disable forever executable memory modificaton

2019-01-17 Thread Elazar Leibovich
What you probably want, is something similar to Windows VBS HVCI, which is usually achieved via underlying hypervisor. It forces you to pass the security boundary of the hypervisor, even if security boundary between user/kernel is bypassed. Have a look at Bromium or QubeOS for a full solution

Re: Security-What can be done in kernel to disable forever executable memory modificaton

2019-01-17 Thread Elazar Leibovich
om a real security professional (e.g., not me), because there are probably other concerns you and me are not even considering now. On 17/01/2019 11:26, Elazar Leibovich wrote: What you probably want, is something similar to Windows VBS HVCI, which is usually achieved via underlying hypervisor.

Re: Whicl linux technology existd to protect file's data at run at file granularity?

2019-02-24 Thread Elazar Leibovich
Sounds like you want IMA+EVM, specifically IMA-appraisal. I've no experience with that in practice. https://sourceforge.net/p/linux-ima/wiki/Home/#ima-appraisal https://events.linuxfoundation.org/wp-content/uploads/2017/12/LSS2018-EU-LinuxIntegrityOverview_Mimi-Zohar.pdf As I mentioned before, ju

<    1   2   3