[e-smith-devinfo] Virus Attack - sircam
G'Day All, All it took was a user to plug in an old PC and check mail - bingo Sircam virus worm. Check out Symantec.com. Very nasty. Anyway the file it chose to send was 700K. I now have a flooded 64K isdn connection. As mail is returned - sent to old email address and what not. Is there a way to setup the e-smith box to not accept any mail with a particular attachment or style? As the infected PC was left to send emails for a few days - that is a lot! And now a fair few are coming back as bounces. I can set e-smith to bounce all unknown email. However if you have read the Symantec page.. this virus has taken on an identity of some random person in the host computers email list to pretend to be the sender. It just so happens that this email address was for this organization - so we are getting mail sent back to that address. How can I stop this. As the load is so high I can't even ping the box, but telstra can. Turning the mail server off gave me a full clear ping back to the ISDN router. Now the link is flooded from incoming mail - how do I stem it or control it? The mail server is not infected as the worm only works on w98/dos machines. I now have a client offline. :( All my hard work and one old PC stuffed it all up! :-| I guess I need a way to bounce all mail to this particular user for a few hours or days. As if the user never existed. And I do not want to copy his home directory and delete him and recreate him as there are too many aliases and group permissions to worry about. Is there a .bounce file? Or some place I can add a user to bounce all mail. So that in the handshake stage before the 700k attachment is sent the message is bounced? Cheers, Richard Ford. Cubok PTY LTD [EMAIL PROTECTED] www.cubok.com The views expressed here are solely my own and do not necessarily represent those of my employer. -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] eth0 Ethernet Adapter Failure
Jon Thiele [EMAIL PROTECTED] said: (By the way, does anyone know how I can take the adapter down and then back up again without rebooting??? I know there are Linux commands to do this, but I was thinking in terms of essg...) ifconfig eth0 down ifconfig eth0 up -- Darrell May DMC NETSOURCED.COM http://netsourced.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] Virus Attack - sircam
Richard Ford [EMAIL PROTECTED] said: I guess I need a way to bounce all mail to this particular user for a few hours or days. Richard it's late and I'm off to bed but an edit of smtp_check_rules should do this. Maybe this will help. http://netsourced.com/servers/docs/smtp-restrict-howto.html -- Darrell May DMC NETSOURCED.COM http://netsourced.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
[e-smith-devinfo] DRAFT - Procmail HowTo
I've created a draft of a procmail HowTo. Still need help on what template is correct to edit in STEP 4. Other then that it seems to work for me. Here's the link: http://netsourced.com/servers/docs/procmail-howto.html Comments are welcomed. -- Darrell May DMC NETSOURCED.COM http://netsourced.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
[e-smith-devinfo] Forwarding Port 80 to Another PC
What is needed to forward port 80 coming in from the Internet to another PC on the Internal network ? -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] DRAFT - Procmail HowTo
Darrell, I don't know if you want to put a note in the how-to or not, but in step one, if the reader has followed your other how-to on changing mail folder locations, their root location for mail folders created by the user will be in the ~user directory itself. bh Darrell May wrote: I've created a draft of a procmail HowTo. Still need help on what template is correct to edit in STEP 4. Other then that it seems to work for me. Here's the link: http://netsourced.com/servers/docs/procmail-howto.html Comments are welcomed. -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] Forwarding Port 80 to Another PC
Thanks, forgot to mention it is Esmith v3.0 -Original Message- From: Lorenzo [mailto:[EMAIL PROTECTED]] Sent: 26 July 2001 15:19 To: Stephen Kearon Subject: Re: [e-smith-devinfo] Forwarding Port 80 to Another PC - Original Message - From: Stephen Kearon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 1:39 PM Subject: [e-smith-devinfo] Forwarding Port 80 to Another PC What is needed to forward port 80 coming in from the Internet to another PC on the Internal network ? ipmasqadm you can fint its rpm on rpmfind.net Bye Lorenzo -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] Forwarding Port 80 to Another PC
Stephen, Darrell has written a very good How-To at: http://netsourced.com/servers/docs/ipportfw-howto.html Good luck with that... Trev. -Original Message- From: Stephen Kearon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 5:39 AM To: '[EMAIL PROTECTED]' Subject: [e-smith-devinfo] Forwarding Port 80 to Another PC What is needed to forward port 80 coming in from the Internet to another PC on the Internal network ? -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] Forwarding Port 80 to Another PC
Quoting Stephen Kearon [EMAIL PROTECTED]: Thanks, forgot to mention it is Esmith v3.0 Upgrade. Seriously. 3.0 is ancient, and 4.1x is much improved. -- Dan Brown, KE6MKS, [EMAIL PROTECTED] Since all the world is but a story, it were well for thee to buy the more enduring story rather than the story that is less enduring. --The Judgment of St. Collum Cille -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] DRAFT - Procmail HowTo
Blake Heinemann [EMAIL PROTECTED] said: Darrell, I don't know if you want to put a note in the how-to or not, but in step one, if the reader has followed your other how-to on changing mail folder locations, their root location for mail folders created by the user will be in the ~user directory itself. Good point, worthy of a mention. -- Darrell May DMC NETSOURCED.COM http://netsourced.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
[e-smith-devinfo] msn messenger ipmasq rpm
Hi all, I searched the internet for an rpm for my e-smith box which allows me to send and receive files with msn messenger. Is there anyone who can tell me where to find this? ICQ is working perfect, but I prefer messenger. TIA, Timothée -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
[e-smith-devinfo] tomcat on e-smith
Hi there! I hope this is the right way to post to the list I'm new here... I was wondring if anyone has installed tomcat on e-smith and got it to work with apache... If so, could you share info on how you did it?? Thanks! -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] msn messenger ipmasq rpm
What if it's a firewall issue? # MSN messenger ipchains -A output -p tcp -s 192.168.100.10 1023:65535 --dport 1863 -j ACCEPT ipchains -A input -p tcp ! -y -s 64.4.13.0/24 --sport 1863 -d 192.168.100.10 1023:65535 -j ACCEPT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 10:49 AM To: e-smith-devinfo Subject: [e-smith-devinfo] msn messenger ipmasq rpm Hi all, I searched the internet for an rpm for my e-smith box which allows me to send and receive files with msn messenger. Is there anyone who can tell me where to find this? ICQ is working perfect, but I prefer messenger. TIA, Timothée -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] msn messenger ipmasq rpm
What if it's a firewall issue? # MSN messenger ipchains -A output -p tcp -s 192.168.100.10 1023:65535 --dport 1863 -j ACCEPT ipchains -A input -p tcp ! -y -s 64.4.13.0/24 --sport 1863 -d 192.168.100.10 1023:65535 -j ACCEPT Actually I believe it is a NAT issue. This is not an e-smith specific problem. Justin -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] msn messenger ipmasq rpm
It is a NAT problem...there is an rpm for icq but not for msn...but are you sure this ipchains rules should work?? Timothée - Original Message - From: Justin Funke [EMAIL PROTECTED] To: e-smith-devinfo [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 7:06 PM Subject: RE: [e-smith-devinfo] msn messenger ipmasq rpm What if it's a firewall issue? # MSN messenger ipchains -A output -p tcp -s 192.168.100.10 1023:65535 --dport 1863 -j ACCEPT ipchains -A input -p tcp ! -y -s 64.4.13.0/24 --sport 1863 -d 192.168.100.10 1023:65535 -j ACCEPT Actually I believe it is a NAT issue. This is not an e-smith specific problem. Justin -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] msn messenger ipmasq rpm
It is a NAT problem...there is an rpm for icq but not for msn...but are you sure this ipchains rules should work?? The IPChains will only allow the packets through but NAT will still mangle the connection. If you absolutely need this feature you may want to look at portforwarding the ports to the internal workstation but this has some complications that need to be considered first. Justin. -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] msn messenger ipmasq rpm
Hi Timothee, No I'm not sure that it will solve your file uploading/downloading probs, but if you only have one client on your network that uses it, then you can just port forward. As you and Justin mentioned, it is a NAT problem. So until a module is found, only one computer inside your network will be able to up/download files. trev. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 11:49 AM To: Justin Funke; e-smith-devinfo Subject: Re: [e-smith-devinfo] msn messenger ipmasq rpm It is a NAT problem...there is an rpm for icq but not for msn...but are you sure this ipchains rules should work?? Timothée - Original Message - From: Justin Funke [EMAIL PROTECTED] To: e-smith-devinfo [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 7:06 PM Subject: RE: [e-smith-devinfo] msn messenger ipmasq rpm What if it's a firewall issue? # MSN messenger ipchains -A output -p tcp -s 192.168.100.10 1023:65535 --dport 1863 -j ACCEPT ipchains -A input -p tcp ! -y -s 64.4.13.0/24 --sport 1863 -d 192.168.100.10 1023:65535 -j ACCEPT Actually I believe it is a NAT issue. This is not an e-smith specific problem. Justin -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] msn messenger ipmasq rpm
Rather than open ports to a workstation, can your security plan allow FTP to your server? If not, can you allow the users to use a shared internet file storage, several options are at: http://www.google.com/search?sourceid=navclientq=online+storage I wouldn't port forward an M$ product without a compelling reason. Just my opinion. Allen -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
RE: [e-smith-devinfo] msn messenger ipmasq rpm
ha, that's pretty funny... but it's true. There are better ways to send and recieve files. I wouldn't port forward an M$ product without a compelling reason. Just my opinion. Allen -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] msn messenger ipmasq rpm
I used to have accounts on about 8 or so different free ones...Almost all have gone under the only ones left that I know of are: briefcase.yahoo.com 25MB freedrive.com 20MB MyDocsOnline.com 20MB On Thu, 26 Jul 2001 14:03:58 -0400 Allen Rapini [EMAIL PROTECTED] wrote: | Rather than open ports to a workstation, can your security plan allow FTP | to | your server? If not, can you allow the users to use a shared internet file | storage, several options are at: | http://www.google.com/search?sourceid=navclientq=online+storage | | I wouldn't port forward an M$ product without a compelling reason. Just my | opinion. | | Allen | | | -- adam http://www.kaikun.org 5,000+ photos -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] Virus Attack - sircam
Thanks Darrell. It has subsided now. ! Phew Richard. - Original Message - From: Darrell May [EMAIL PROTECTED] To: Richard Ford [EMAIL PROTECTED]; Richard Ford [EMAIL PROTECTED]; dev info [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 7:01 PM Subject: Re: [e-smith-devinfo] Virus Attack - sircam Richard Ford [EMAIL PROTECTED] said: I guess I need a way to bounce all mail to this particular user for a few hours or days. Richard it's late and I'm off to bed but an edit of smtp_check_rules should do this. Maybe this will help. http://netsourced.com/servers/docs/smtp-restrict-howto.html -- Darrell May DMC NETSOURCED.COM http://netsourced.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] a Question of IP
You can set up a cron job to run ifconfig -a | grep addr: and pipe it to a file in one of your HTML directories. That will display all three IP addresses (eth0, eth1 and lo). At 17:45 26/7/2001, Lotas T Smartman wrote: Right, im having a few problems with DynDNS services i use. I use = No-ip.com and miniDNS.net. My problem is the finding of my ip address. I = have a tempory solution (well 2 of them). First one is a php script. = Here is the scrips output: www.lotas.f2s.com/test.php. The second one = involves me telnetting in to the server and running a script which gets = the ip address from ifconfig. Anyway, these dont work as well as liked. = Is there a way to post my IP to a file (html or txt) to the html = directory. Thanks for any information. Des Dougan -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
[e-smith-devinfo] Backup/restore
This is a thought that's been running around in my head for a while, but I've not gotten around to suggesting before. Now that e-smith supports tape backup of the whole system, it seems that it should be feasible to have a single floppy (or at most, two) that would boot, optionally partition and format the hard drive for e-smith, and then run a complete tape restore. Since it was a complete backup, this should restore everything (including all the configuration, as well as any customizations done on the server). I'd think all that would be needed would be the kernel, fdisk, mke2fs, buffer, dump, and flexbackup--am I missing anything? -- Dan Brown, KE6MKS, [EMAIL PROTECTED] Since all the world is but a story, it were well for thee to buy the more enduring story rather than the story that is less enduring. --The Judgment of St. Collum Cille -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] squidguard returns
Trevor Ouellette [EMAIL PROTECTED] said: Any ideas? Any perl wizards out there? Sounds like you've done quite a lot. I'm not a perl wizard at all but I'll offer to take a look. Forward me your scripts and any docs and I'll try to follow along and assist. My simple first thought for testing would be to create a webpage, place it in the ibay to capture the user input to a /tmp/squidgaurd-update file. Then have your scripts read in the file and process the variables. If this works then incorporate everything into the e-smith-manager by borrowing and editing some existing scripts. -- Darrell May DMC NETSOURCED.COM http://netsourced.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
Re: [e-smith-devinfo] squidguard returns
make another perl file called loader ( for this example ) that takes the script name the domain and the switch as variables and then check that script name is valid before running the domain and the switch thru it. this will keep users from being able to attempt to run other executables. in this loader you can also put html return calls to indicate success or failure and then call back to the original form. or generate an entire page in the loader with the success or failure notice and a link to add another. form name=squid-guard method=post action=/cgi-bin/loader?script=$scriptdomain=formelement1switch=$switch table width=75% border=0 trtd colspan=2 Choose list to modifyhr table width=100% border=1 tr td input type=radio name=script value=trusted-d trusted-d/td td input type=radio name=script value=trusted-e trusted-e/td td input type=radio name=script value=trusted-u trusted-u/td /tr tr td input type=radio name=script value=untrusted-d untrusted-d/td td input type=radio name=script value=untrusted-e untrusted-e/td td input type=radio name=script value=untrusted-u untrusted-u /td /tr /table /td /tr tr tdenter domain /td td input type=text name=formelement1 size=35 maxlength=55 /td /tr tr tdclick to unblock domain /td td input type=radio name=switch value=r /td /tr /table br /form Trevor Ouellette wrote: I've done a lot of work today on squidguard... but I still need to implement it into the manager. It automatically downloads the latest public blacklists and installs them weekly. I've written 6 scripts: trusted-d, trusted-e, trusted-u, untrusted-d, untrusted-e, and untrusted-u for updating the user-database in squidguard. It works perfectly. The scripts work like this: If I'm adding a pornographic domain (xxx.com) to my database, I simply enter: # ./untrusted-d xxx.com And it's added. I can remove them as well: # ./untrusted-d xxx.com r It's very simple. I would like to display forms on a webpage (ibay) that the administrator can enter the xxx.com in the box and hit submit. Then PHP or perl passes those arguments $1 and $2 to my 6 scripts. Any ideas? Any perl wizards out there? I can give you full details and a copy of the scripts if you are not sure. Trev. -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org