Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About lefthook

  • Rank
    New Here
  1. Could someone recommend software for creating language course on CD or DVD with audio & video & click answers and so on....? Or just html & browser?
  2. I mean one that is installed on a compact flash card & runs from there, boots fast, no hd. (Ide adapter + CF Card). I have one, but it runs from FAT 16 with Syslinux. I wonder if I could use some other FS. http://chinese-watercolor.com/LRP/hd/
  3. Does anybody know a ready for install compact flash linux with apache & php & mail server. Ab. <64M size. Well I have a oldone made by myself, but....
  4. Can I preload audio files before imag. etc. on page?
  5. Well exactly two ISPs, this was not home networking... Everything is for sharing internet two client LANs and traffic limiting and so on... I found everything from lartc.org. This also for example for load balancing & high availibility. Don´t drink anymore...
  6. I ment with two gateways? One Linux. Two LANs. Problems with two gateways?
  7. Has someone experiences with this: LAN-1 -----eth0 LINUX eth2 ----------- INTERNET ROUTER-1 LAN-2 ----- eth1 eth3 ----------- INTERNET ROUTER-2 So, all traffic from LAN-1 goes to INTERNET ROUTER-1 & from LAN-2 to INTERNET ROUTER-2. This all done with iptables SNAT... Any problems with this? Points?
  8. Well I made it ok: & bw limiterrouter ---eth0 with about 40 virtual ips ----> winroute with 2way satellite (internet gateway). the command is (/etc/rc.d/rc.firewall): iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to I cannot do the normal masquerading because winroute sat gateway cannot handle many connections from the same IP, so I have 40 IP going to winroute.
  9. HI I need to SNAT the whole network to other, how? I mean: to I Know how to do SNAT to one outgoing IP, but is there any caveats to with this? I have to Exclude GW I think so?
  10. I think it was only: echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter what I missed...
  11. And it does not help if I put: iptables -A INPUT -s -j DROP
  12. Hi! Im working with a network like: clients-------switch----eth1--linux--eth0--------internet & rules for masquerading: iptables -A POSTROUTING -t nat -s -j MASQUERADE iptables --append FORWARD --in-interface eth1 -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forward if a bad configured client is connected to switch LM 9 starts to freeze? How to protect? What it could be, double IPs? For example: and 11 work very well, but if I connect a machine everything starts to freeze. I just & just can see with iptraf that it is the machine 93. The router has P4 & 256MB.
  13. Well, things start to clear. My Apache PHP has a chroot installation, so at last I looked /var/logs/error_log: sh: /var/qmail/bin/qmail-inject: No such file or directory sh: /bin/qmail-inject: No such file or directory sh: /var/www/usr/bin/qmail-inject: No such file or directory sh: /bin/qmail-inject: No such file or directory I made a link: sh: /var/qmail/bin/qmail-inject: Too many levels of symbolic links I think there is problem with chroot & links. I'm quite a newbie with this chroot. perhaps I should move this question: How to link correctly chroot binaries outside or is it possible? I have: /var/qmail/bin/ chroot: /var/www/: bin var apache usr etc.. & so on....
  14. What a problem! I suppose that the code is not the problem. I changed mail func to Qmail-injector function, so everything should be right for Qmail. The script does not return errors. But nothing appears to Qmails logs. From the command line I can send a message with qmail-inject. Here my little form: <HTML> <HEAD> <TITLE>E-Mail Form</TITLE> </HEAD> <BODY> <?php function qmail_inject($from,$to,$subject,$msg) { # just in case ... # $from = escapeshellarg($from); # change the email address below (returns@fodge.net) to the # address where you wish to receive bounced mail notification if ( $fh = popen("/var/qmail/bin/qmail-inject -f$from", 'w') ) { # opened qmail-inject # write to it // My code starts (I could not use the standart rn because it does // not work? with n it works fine) $content="Return-Path: ".$from."n"; $content.="Date: ".date®."n"; $content.="From: ".$from."n"; $content.="Subject: ".$subject."n"; $content.="To: ".$to."n"; $content.=$msg."n"; //..> My code Ends fputs ($fh, $content); # need to know what qmail-inject just got hit with? # print '<pre>'. htmlspecialchars($content) .'</pre>'; if ( ($qmail_exit = pclose($fh)) != 0 ) { # woops, qmail didn't like that return FALSE; } return TRUE; } else # couldn't do anything return FALSE; } // Your E-mail Address $to = "me@example.com"; if ($ACTION == "send-mail") { qmail_inject($from,$to,$subject,$msg); echo "<h2>Thanks for sending me a mail!</h2>n"; } else { echo "<h2>Hello! Use this form to send me mail!</h2>n"; } ?> <FORM METHOD=POST> <INPUT TYPE=HIDDEN NAME="ACTION" VALUE="send-mail"> Your E-mail: <INPUT TYPE=TEXT NAME="from"><br> Message Subject: <INPUT TYPE=TEXT NAME="subject"><p> Message:<br> <TEXTAREA NAME="msg" ROWS=5 COLS=50></TEXTAREA><p> <INPUT TYPE=SUBMIT> * <INPUT TYPE=RESET> </FORM> </BODY> </HTML>
  • Create New...