Using termpkg under xinetd
I installed termpkg (termnetd) successfully. Now, to be a real friendly terminal server I would like to have specific IP to each com port, and all will be listening to the default telnet port (23) using the bind option (man xinetd.conf). Of course, the daemon must change. What are the requirements for a deamon to work correctly under xinetd ? It should accept its bind port options. Tnx. ~ For every action, there is an equal and opposite criticism. ~ Iftach Hyams E.S.L. Haifa 972 - 4 - 831 5605 [EMAIL PROTECTED] This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended recipients only. The message may contain information that is privileged or confidential. If you are not the intended recipient you are hereby notified that any use, distribution or copying of this communication is strictly prohibited, and you are requested to delete the e-mail and any attachments and notify the sender immediately. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Using termpkg under xinetd
Iftach Hyams wrote: I installed termpkg (termnetd) successfully. Now, to be a real friendly terminal server I would like to have specific IP to each com port, and all will be listening to the default telnet port (23) using the bind option (man xinetd.conf). Of course, the daemon must change. What are the requirements for a deamon to work correctly under xinetd ? It should accept its bind port options. 1. Set up your terminal server to accept telnet connections for port 1 as 3001, 2 as 3002, etc. 2. Define a virtual interface for each IP address you want to use. In /etc/sysconfig/network-scripts you define each interface. Assuming they should exist on eth0, you create a file called ifcfg-eth0:1 which contains: DEVICE=eth0:1 BROADCAST=192.168.1.255 IPADDR=192.168.1.2 NETMASK=255.255.255.0 NETWORK=192.168.1.0 ONBOOT=yes And then sucessive files for each additional interface. All should be the SAME as eth0 except for IPADDR and DEVICE. 3. Now assuming your real interface is 192.168.1.1, you would add the line to ALL of your entries in /etc/xinetd.d: interface 192.168.1.1 This will prevent ftping,etc to the termnetd interfaces if you care, they only would get the same as the original address. I'm not sure xinetd is set up for pointing to different services for the same port based on ip address. You may have to run multiple xinted's, or use redirecting firewall rules, (see transparent proxy). If xinetd were to work, here's what to do: 3. Add lines to /etc/services for each port: termnet001 23/tcp # termnet server port 001. 4. Create an entry in /etc/xinetd.d called terment001. In it put: service termnet001 { interface = 192.168.1.2 redirect= 3001 } Duplicate as needed changing interface and service. Geoff. -- Geoffrey S. Mendelson Bloomberg L.P., BFM (Israel) 2 hours ahead of London, 7 hours ahead of New York. Tel: 972-(0)3-754-1158 Fax 972-(0)3-754-1236 Email: [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
small and extremely annoying question
What userland tool can derive /usr/local/bin from: `which gcc` that returns: /usr/local/bin/gcc ? TIA -- Miki Shapiro [EMAIL PROTECTED] Unixophilic Software Developer Aladdin Knowledge Systems - Tel: +972-(4)-8811433 ICQ: 3EE853 - God is real... unless declared an integer. *** IMPORTANT ! ** The content of this email and any attachments are confidential and intended for the named recipient(s) only. If you have received this email in error please notify the sender immediately. Do not disclose the content of this message or make copies. This email was scanned by eSafe Mail for viruses, vandals and other malicious content. ** = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
On Mon, Jun 03, 2002 at 04:32:25PM +0300, [EMAIL PROTECTED] wrote: What userland tool can derive /usr/local/bin from: `which gcc` that returns: /usr/local/bin/gcc You should read more shell scripts grin mulix@tea:~$ basename `which gcc` gcc mulix@tea:~$ dirname `which gcc` /usr/local/bin Hope this helps. -- Highday 12 Forelithe 7466 http://vipe.technion.ac.il/~mulix/ http://syscalltrack.sf.net/ msg19768/pgp0.pgp Description: PGP signature
Re: small and extremely annoying question
On Mon, 3 Jun 2002 [EMAIL PROTECTED] wrote: What userland tool can derive /usr/local/bin from: `which gcc` that returns: /usr/local/bin/gcc dirname `which gcc` (part of sh-utils, on my box. look at them for all sort of such useful tools for such annoying questions) -- Tzafrir Cohen/\ mailto:[EMAIL PROTECTED]\ / ASCII Ribbon Campaign Taub 229, 972-4-829-3942, X Against HTML Mail http://www.technion.ac.il/~tzafrir / \ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
use dirname and basename output /usr/local/bin and gcc. On Mon, 3 Jun 2002 [EMAIL PROTECTED] wrote: What userland tool can derive /usr/local/bin from: `which gcc` that returns: /usr/local/bin/gcc ? TIA -- Miki Shapiro [EMAIL PROTECTED] Unixophilic Software Developer Aladdin Knowledge Systems - Tel: +972-(4)-8811433 ICQ: 3EE853 - God is real... unless declared an integer. *** IMPORTANT ! ** The content of this email and any attachments are confidential and intended for the named recipient(s) only. If you have received this email in error please notify the sender immediately. Do not disclose the content of this message or make copies. This email was scanned by eSafe Mail for viruses, vandals and other malicious content. ** = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Behdad Esfahbod 13 Khordad 1381, 2002 Jun 3 http://behdad.org/ [Finger for Geek Code] I B M U B M We all B M For I B M -- H.A.R.L.I.E. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
On Mon, Jun 03, 2002, [EMAIL PROTECTED] wrote about small and extremely annoying question: What userland tool can derive /usr/local/bin from: `which gcc` that returns: /usr/local/bin/gcc $ dirname /usr/local/bin/gcc /usr/local/bin (or if you're into SM, you can do the same with the more generic but complicated expr tool. Shells like zsh or bash also have builtin features that let you do such substitutions). -- Nadav Har'El|Monday, Jun 3 2002, 23 Sivan 5762 [EMAIL PROTECTED] |- Phone: +972-53-245868, ICQ 13349191 |A witty saying proves nothing. -- http://nadav.harel.org.il |Voltaire = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
wow. ~10 replies in ~10 minutes. thanks guys :-) -- Miki Shapiro [EMAIL PROTECTED] Unixophilic Software Developer Aladdin Knowledge Systems - Tel: +972-(4)-8811433 ICQ: 3EE853 - God is real... unless declared an integer. On 06/03/2002 04:48:29 PM ZE3 Nadav Har'El wrote: On Mon, Jun 03, 2002, [EMAIL PROTECTED] wrote about small and extremely annoying question: What userland tool can derive /usr/local/bin from: `which gcc` that returns: /usr/local/bin/gcc $ dirname /usr/local/bin/gcc /usr/local/bin (or if you're into SM, you can do the same with the more generic but complicated expr tool. Shells like zsh or bash also have builtin features that let you do such substitutions). -- Nadav Har'El|Monday, Jun 3 2002, 23 Sivan 5762 [EMAIL PROTECTED] |- Phone: +972-53-245868, ICQ 13349191 |A witty saying proves nothing. -- http://nadav.harel.org.il |Voltaire = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] *** IMPORTANT ! ** The content of this email and any attachments are confidential and intended for the named recipient(s) only. If you have received this email in error please notify the sender immediately. Do not disclose the content of this message or make copies. This email was scanned by eSafe Mail for viruses, vandals and other malicious content. ** = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
On Mon, Jun 03, 2002, Nadav Har'El wrote about Re: small and extremely annoying question: $ dirname /usr/local/bin/gcc /usr/local/bin (or if you're into SM, you can do the same with the more generic but complicated expr tool. Shells like zsh or bash also have builtin features that let you do such substitutions). I figured that since I came out the total idiot (giving the 4th identical answer in 5 minutes), I'll expand your knowledge by showing *how* this can be done with expr(1) and using shell builtin features. expr(1), which I guess most people won't be very familar with, was Unix's original bag of tricks, that did things that nowadays are usually either done in the shell (like incrementing a counter, cutting of parts of strings) or with specialized utilities like the aforementioned dirname. For example, to cut off the dirname, one could use $ expr /usr/local/bin/gcc : '\(.*\)/[^/]*' /usr/local/bin What this scary thing (hence the reference to SM :) ) says is roughly this: take the first string (/usr/local/bin/gcc) and look for something followed by a slash and then only non-slash characters. Then output that something. A real implementation of dirname in terms of expr can be even uglier: see if you can understand the following (straight out of Solaris's /bin/dirname): exec /usr/bin/expr \ ${1:-.}/ : '\(/\)/*[^/]*//*$' \| \ ${1:-.}/ : '\(.*[^/]\)//*[^/][^/]*//*$' \| \ . expr's other most common use was to add numeric loop to shell scripts, in which you need to increment your counter variable: $ expr 7 + 1 8 Nowadays, with more advanced shells like bash and zsh, one would normally use the shell's builtin features instead of expr. For example (in bash): $ echo $((7+1)) 8 $ let i=7; let i++; echo $i 8 and for the dirname thing: $ FILE=/usr/local/bin/gcc $ echo ${FILE%/*} /usr/local/bin -- Nadav Har'El|Monday, Jun 3 2002, 23 Sivan 5762 [EMAIL PROTECTED] |- Phone: +972-53-245868, ICQ 13349191 |Open your arms to change, but don't let http://nadav.harel.org.il |go of your values. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
Quoth Nadav Har'El: I figured that since I came out the total idiot (giving the 4th identical answer in 5 minutes), I'll expand your knowledge by showing *how* this can be done with expr(1) and using shell builtin features. Nadav, nadav, nadav - this is over-obtuse. Let's try the other way :-) ---cuttez--- marc@hyena:marc/$ which gcc /usr/bin/gcc marc@hyena:marc/$ which gcc | rev | cut -f 2- -d/ | rev /usr/bin ---cuttez--- ch, basicly, says - take the returned string, if any, turn it over, chop off its head, turn it over, return it... But, I must admit, the expr games are quite... errr... esoteric ;-)... Marc = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
How many Linux-IL members are needed to replace a light bulb? (was:Re: small and extremely annoying question)
Let's see how many approaches are there to answering the question: 1. Dedicated command (dirname) 2. expr (known also as the SM method) 3. pipe rev pipe pipe rev (known also as the differential SCSI cable method) 4. PTP (Perl/Tcl/Python) 5. Custom COBOL-85 program 6.,7.,8.,... any more bright ideas? On Mon, 3 Jun 2002, Official Flamer/Cabal NON-Leader wrote: Quoth Nadav Har'El: I figured that since I came out the total idiot (giving the 4th identical answer in 5 minutes), I'll expand your knowledge by showing *how* this can be done with expr(1) and using shell builtin features. Nadav, nadav, nadav - this is over-obtuse. Let's try the other way :-) ---cuttez--- marc@hyena:marc/$ which gcc /usr/bin/gcc marc@hyena:marc/$ which gcc | rev | cut -f 2- -d/ | rev /usr/bin ---cuttez--- ch, basicly, says - take the returned string, if any, turn it over, chop off its head, turn it over, return it... But, I must admit, the expr games are quite... errr... esoteric ;-)... Marc --- Omer There is no IGLU Cabal. Therefore the light bulb at the Citadel Temple was not replaced. The deaf in Israel demand 100% captioning of TV news and other programs. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
RE: small and extremely annoying question
A long as / is not a valid character in file name. Is it ? Where is it written ? This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended recipients only. The message may contain information that is privileged or confidential. If you are not the intended recipient you are hereby notified that any use, distribution or copying of this communication is strictly prohibited, and you are requested to delete the e-mail and any attachments and notify the sender immediately. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: How many Linux-IL members are needed to replace a light bulb?(was: Re: small and extremely annoying question)
6. Kernel module that implements /proc/devname and /proc/pathname, by performing mount none /usr/local/bin/gcc -t fsfileparse -o ro (not applicable to this case, as the guy specifically asked for a userland solution) 7. Use the following code taken from glibc.. Port it to your favourite platform. 8. plex86/vmware etc. to run a windows program that will OCR the pixels of the display, and analyse the results. 8b. Use a pronunciation program to read out loud your text, and a voice recognition to parse it in. Not a solution to your problem, but back in the days bits were young and electricity was no faster than the lowest end personal home cold fusion devices of today, we used to be able to parse a file into the file and the dir part by tapping morse code on the bus lines and watching out for sparks (sparcs?). Shachar Omer Zak wrote: Let's see how many approaches are there to answering the question: 1. Dedicated command (dirname) 2. expr (known also as the SM method) 3. pipe rev pipe pipe rev (known also as the differential SCSI cable method) 4. PTP (Perl/Tcl/Python) 5. Custom COBOL-85 program 6.,7.,8.,... any more bright ideas? On Mon, 3 Jun 2002, Official Flamer/Cabal NON-Leader wrote: Quoth Nadav Har'El: I figured that since I came out the total idiot (giving the 4th identical answer in 5 minutes), I'll expand your knowledge by showing *how* this can be done with expr(1) and using shell builtin features. Nadav, nadav, nadav - this is over-obtuse. Let's try the other way :-) ---cuttez--- marc@hyena:marc/$ which gcc /usr/bin/gcc marc@hyena:marc/$ which gcc | rev | cut -f 2- -d/ | rev /usr/bin ---cuttez--- ch, basicly, says - take the returned string, if any, turn it over, chop off its head, turn it over, return it... But, I must admit, the expr games are quite... errr... esoteric ;-)... Marc --- Omer There is no IGLU Cabal. Therefore the light bulb at the Citadel Temple was not replaced. The deaf in Israel demand 100% captioning of TV news and other programs. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
Quoth Iftach Hyams: A long as / is not a valid character in file name. Is it ? Where is it written ? Yep, you are so write. I sit korrekted. Plis to creat a folder nam mit ein / im der centrum, ja!? M = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
The nice thing about Marc's sarcasm is that it is so subtle, as to be almost undetectable. Had you knot no own him, you wood have fought that he really clod not spill. But I no the sick rest! I spell cheque! Sahara Official Flamer/Cabal NON-Leader wrote: Quoth Iftach Hyams: A long as / is not a valid character in file name. Is it ? Where is it written ? Yep, you are so write. I sit korrekted. Plis to creat a folder nam mit ein / im der centrum, ja!? M = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Rube Goldberg (was: Re: small and extremely annoying question)
Thanks to the bright ideas of some nice people, I'd like to explore the possibilities provided by the typical Rube Goldberg equipment. Pipes can be implemented by running processes on separate processors, and networking them with carrier pigeons. Character manipulation - by means of monotype machine which casts them into lead, and having a font designed in such a way that the weight of '/' is significantly different from the weight of all other characters. Regular expression matching - by means of scales and conveyor belt (to convey the lead characters); or substitute snorks/elephants as character carriers instead of conveyor belts. The possibilities are endless! And when you attack the problem of writing a device driver using Rube Goldberg's technology, it will be pure bliss!!! On 3 Jun 2002, Moshe Zadka wrote: On Mon, 3 Jun 2002, Omer Zak [EMAIL PROTECTED] wrote: 6.,7.,8.,... any more bright ideas? I'm a sed/awk man myself. echo /bin/hello | sed 's#[^/]*$##' --- Omer There is no IGLU Cabal. All animals in the Rube Goldberg implementation of the IGLU Cabal have died from hunger. The deaf in Israel demand 100% captioning of Hebrew language movies, TV and cable TV programs. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
Official Flamer/Cabal NON-Leader [EMAIL PROTECTED] writes: Aye kin two spall! Yew wright aye know kin two spall? Yew larch eye-dot. Aye spall bitter tan moult pimples. Yew install may lung age! Aye carry knot ah wit four why or pill! Right. This is not sarcasm, this is seamless transition from something vaguely resembling 8th century rural Saxon dialect to something akin (pun intended) to 15th century highland Scottish slang. From someone fluent in ancient Suomi this is expected... Marc, are you working on new babelfish features? Will they be available on the next-generation wearable Linux devices? -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: How many Linux-IL members are needed to replace a light bulb? (was:Re: small and extremely annoying question)
On Mon, 3 Jun 2002, Omer Zak [EMAIL PROTECTED] wrote: 6.,7.,8.,... any more bright ideas? I'm a sed/awk man myself. echo /bin/hello | sed 's#[^/]*$##' = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
Quoth Oleg Goldshmidt: Marc, are you working on new babelfish features? Will they be available on the next-generation wearable Linux devices? Well, being a bubblehead, I am full of {cool,hot} {ideas,air}, especially when it comes to spouting nonsense. And, since all of ONE person was interested in participating in getting hardware for the wearable ;-), I am still in no position to purchase wearable bits and pieces, more's the pity. Ah well. Life's a bitch. M = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
funny - NT mind
http://www.ynet.co.il/YediothPortal/Ext/TalkBack/CdaViewTalkBack/0,2520,L-97 4625-1925015,00.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: GPL Nuances [was Re: RMS is back again]
Tzafrir Cohen [EMAIL PROTECTED] writes: The linux kernel is licensed under a license that is not exactly the GPL. It is the GPL with an extra clause that allows binary modules (to allow support of certain kinds of hardware, and with certain limitations, but this is really *not* the place to discuss them). I am assuming you mean this: http://www.gnu.org/licenses/gpl-faq.html#LinkingOverControlledInterface AFAIK, the Linux kernel does not include this stipulation, albeit Linus's note at the top of /usr/src/linux/COPYING is arguably similar in spirit. Thus, linking binary modules is a bit shaky (you may trust Linus who seems to be quite liberal, but parts of kernel code are copyrighted by others, who may adhere to stricter interpretations). A cautious solution would involve a GPLed (with the additional clause like in the URL above) interface module, and a proprietary module that will only use the facilities provided by the interface module. In addition, if you make sure that whatever your module does makes sense out of the context of the Linux kernel, you are probably covered (this last condition is difficult to satisfy in the case of hardware drivers and such). -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. What do you mean by `make sure that whatever your module does makes sense out of the context of the Linux kernel'? I guess that once I will get that sentence I will be able to understand why it is difficult to satisfy in the case of hardware drivers. -- Shaul Karl, [EMAIL PROTECTED] e t = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: How many Linux-IL members are needed to replace a light bulb? (was: Re: small and extremely annoying question)
I'm getting sorrier by the moment I helped flame this idiotic thread, but: On Mon, Jun 03, 2002, Moshe Zadka wrote about Re: How many Linux-IL members are needed to replace a light bulb? (was: Re: small and extremely annoying question): I'm a sed/awk man myself. echo /bin/hello | sed 's#[^/]*$##' But this solution uses two processes if echo is not a shell builtin! Better do it with one (and add a / where you forgot): $ FILE=/bin/hello $ sed 's#/[^/]*$##' END $FILE END /bin By the way, obviously all these solutions (sed, rev, and the shorter expr solution) fail to replicate one property of dirname: dirname of a slash-less path should return a .. For people still not fed up with this thread, here's an even simpler (and more correct in case of no slash) solution in zsh: $ FILE=/usr/bin/hello $ echo ${FILE:h} /usr/bin $ FILE=aaa $ echo ${FILE:h} . (I indented the whole paragraph above by one space, because who knows what kind of havoc a single dot on a line in an email would cause...) -- Nadav Har'El|Monday, Jun 3 2002, 24 Sivan 5762 [EMAIL PROTECTED] |- Phone: +972-53-245868, ICQ 13349191 |Spelling mistakes left in for people who http://nadav.harel.org.il |feel the need to correct others. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: small and extremely annoying question
On Mon, Jun 03, 2002, Official Flamer/Cabal NON-Leader wrote about Re: small and extremely annoying question: Aye kin two spall! Yew wright aye know kin two spall? Yew larch eye-dot. Aye spall bitter tan moult pimples. Yew install may lung age! Aye carry knot ah wit four why or pill! Mirk. From m-w.com: mirk, variant of murk GLOOM, DARKNESS; also : FOG Yes, very appropriate :) -- Nadav Har'El| Tuesday, Jun 4 2002, 24 Sivan 5762 [EMAIL PROTECTED] |- Phone: +972-53-245868, ICQ 13349191 |It's no use crying over spilt milk -- it http://nadav.harel.org.il |only makes it salty for the cat. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: GPL Nuances [was Re: RMS is back again]
Shaul Karl [EMAIL PROTECTED] writes: What do you mean by `make sure that whatever your module does makes sense out of the context of the Linux kernel'? I guess that once I will get that sentence I will be able to understand why it is difficult to satisfy in the case of hardware drivers. The whole notion of a derivative product that is central to GPL is about (crudely speaking) is this merely a feature/extension/fix/whatever of this GPLed program or is it a separate piece of software that has a right to exist and does/can do something non-trivial and useful outside of the context of this GPLed program. I would suggest you try to read GPL and what is written about it (search the archives - I posted on the subject before, including some URLs) to try to understand what this central notion of a derivative product is. If it still does not make sense, ask me nicely enough and I *might try* to dig up some notes I made and hopefully _they_ will make some sense. I'll try to illustrate this idea using the following example. AFAIK, (correct me if I am wrong - I just prefer to use something well-known for an example rather than describing the issues that I encountered in my own work, where a need arose to write proprietary kernel modules) CheckPoint's firewall - which is proprietary technology, of course - on Linux works as a kernel module. If you ask a purely legal question about whether or not this is permitted by GPL, one important consideration in determining whether or not this module is a derivative of Linux is whether or not CheckPoint's firewall makes sense outside of the context of Linux. The answer should be yes - the beast can be (and is) used with systems other than Linux, and the particular implementation as a kernel module (thus linked to the GPLed kernel) is just making this product work on Linux. This is not the whole argument, but it's one part of the whole argument why this is legal. Caveat emptor: IANAL, I just tried to understand the issues as well as I could and talked to lawyers at length in the process. Any misunderstandings and misinterpretations are mine, not the lawyers'. Also, please don't ask me to post the full transcripts of my communications with lawyers on the subject: it cost my employer a pretty penny and constitutes valuable intellectual property (in the sense of please do you own homework) - not mine, either. What I wrote above, including the specific example of CP-FW (I never checked myself whether it was indeed implemented as a kernel module, hence the correct me qualifier above - iptables/ipchains are modules, of course), is arguably general knowledge (or my interpretation of it) rather than a part of that intellectual property. Actually, come to think about it, contrary to what I wrote in the posting that puzzled you, one can argue that a device driver is a piece of software that makes a particular piece of software work, using knowledge of its specific characteristics that are outside of Linux scope. Thus a linux device driver is related to Linux only insofar as it enables the hardware to work with Linux, but the hardware spec it is based on is not Linux-specific, and thus the device driver is not a derivative product of the Linux kernel in this sense, so proprietary drivers are OK. I don't know if this or similar line of reasoning is used anywhere to justify proprietary device drivers, or nobody bothers. The cavaliere attitude along the lines of Linus doesn't mind (but are you sure Alan doesn't?) or Rubbini says it's OK [in Linux Device Drivers - OG] so it's OK (I really heard that given as a clinching argument) seems to prevail. It is shaky in the case of device drivers because, obviously, a driver just makes hardware work under Linux, so in this sense it does not have a right to exist outside of Linux. Which talmudic argument wins the day only a lawyer - or a rabbi, or Moshe Bar - both a talmudic scholar and a law student? - http://interviews.slashdot.org/article.pl?sid=02/06/02/1159242mode=threadtid=106 - can determine. I am neither, and maybe the more learned linux-il members (there are certainly quite a few religious ones; are there any lawyers lurking here?) will pity my feeble attempt to argue both sides. Firewall is a much cleaner case, IMHO, because the rules and the algorithms and the corresponding parts of _software_ are arguably broad and independent of Linux. For a device driver, the independent part is hardware, not software (and GPL does not deal with hardware or HW specs). My suggestion to use a controlled interface layer goes in the same direction. Keep the core of what you are doing proprietary if needed. If you need it to work inside (linked to) the kernel, do your best to separate whatever is needed to make it work in this particular context (I am not using this word in the software sense here) in a separate module, GPL the latter, and add the permissive clause from the FAQ to its license, so that your proprietary stuff can be legally
Re: funny - NT mind
Ben-Nes Michael [EMAIL PROTECTED] writes: http://www.ynet.co.il/YediothPortal/Ext/TalkBack/CdaViewTalkBack/0,2520,L-97 4625-1925015,00.html And *that* is sent from a hotmail account? shrug -- Oleg Goldshmidt | [EMAIL PROTECTED] A sense of the fundamental decencies is parceled out unequally at birth. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]