Jump to content

lefthook

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by lefthook

  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: 192.168.200.0/24----Linux & 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 192.168.2.2-192.168.2.41 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: 192.168.2.0/255.255.255.0 to 192.168.3.0/255.255.255.0. 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 192.168.200.93 -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 192.168.200.0/24 -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: 192.168.200.65 and 11 work very well, but if I connect a machine 192.168.200.93 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>
  15. Hi! I just downloaded PHP greeting cards script to make Ecards service on my server, but it cannot connect to my mail server. I have Qmail working with proper sendmail substitute link. Here is a little part of mail func.: function mymail($to, $subject, $message, $headers){ <snip> $mailer = popen ("/usr/sbin/sendmail -t -i -f$from","w"); fwrite ($mailer,"To: $to $headers Subject: $subject $message "); pclose ($mailer); return 1; } I just don't get any logs that it tried to connect to mail server. original mail func. was normal: mail($recipientemail,"E-Greeting Card from $sendername",$notification,"From: $sendername <$senderemail>nReply-To: $senderemail"); Which I just changed to mymail. With mail I got errors. With mymail it says ok, but never connects to mailserver. Where from to start to find the error?
  16. Thanks to this far. But my server does not have X or any browser, so I have to test it from my LM 8.1. Or perhaps if I install Lynx hmmm.. . I see java appletts & frames. Sygate looks good. But I think that Web based checks do not have so many exploit checks than real progs. Perhaps I found some easy install rpms. BUT, THANKS!
  17. Install Qmail! Easy & more secure than p or s.
  18. What kind of results do you have if so? or other bencmark prog test results?
  19. What good remote security scanners you recommend? I have tested my server now with ess.0.86. NSAT I could not compile with LM 8.1. Not Nessus because I have understood that it needs parts on tested machine? & I have built my server from scrap & LRP things & its diffcult add things there. With Satan I had compile problems too.
  20. Ok, I found that if I have just : AuthUserFile .htpasswd it points (apache searches) to my server root -> /var/www/apache, not to same dir where .htaccess file is. But auth. / .htpasswd works from there & I suppose that it is good enough place for it. I Did not found yet why it points there as default.
  21. Ok I got .htaccess almost working, it shows login box, but I cannot enter with right password. I have in /var/www/apache/htdocs/secure .htaccess file which points to /var/www/apache/.htpasswd & there I have .htpasswd with user & passwd made ok. The file has rw right for apache. Why I cannot access with right user / passwd? Error_log says: Could not open password file & user X not found. I have read some tutos,but they don.t talk about httpd.conf if there is something to add. Thanks to Paul for the last time help. Now more searches with google...
  22. I cannot get .htaccess working. I have a dir under doc root which I want to secure (/var/www/apache/htdocs/user-x. I have: .htaccess file in that dir: AuthUserFile /www/htdocs/secure/.htpasswd AuthGroupFile /dev/null AuthName My Secure Directory AuthType Basic require valid-user & I made .htpasswd file Ok. I tried to check chmods, but no. .htaccess is configured in httpd.conf. Just nothing happens I can browse dir where .htacess file is without restrictions. What I'm missing? or other ways to sec dirs?
  23. Ok! working too late at night. I checked My IP from dyndns account & it shows that ez-ipupdate sends server's IP, not Gateways. Some guys wrote before that they have no problems with DSL router & dyndns services. What clients you're using to get router's external ip to be sended for dyndns?
  24. Hi! I have dyndns client ez-ipupdate on my http server & shows ok after update. I can do ping myhost.example.org (name) from the server behind gw-router. I can do the same from my gateway machine & it resolves & I can enter the server by using it's name & browser on gateway machine. From internet others cannot enter my web server by using name, but they can enter by using IP, so 80 is not blocked. Is there sometimes long delays with DNS? Or is it just this from dyndns.org/status: 12/17/2002 12:56 We will shortly be beginning the main part of the move of our main datacenter. The most users should see is two short (less than 30 minute) outages of the NIC while we transition systems. DNS resolution will not be affected by these events. More details will be posted as applicable, but please note that support queries may take a little longer to be answered due to this move as well. Or something to still check? That announcement says "DNS resolution will not be affected by these events".
×
×
  • Create New...