r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Henrik
28-Aug-2009
[3113]
I would love to see data mining tools that can detect such attempts 
at access in the access log without having to read through the log. 
Do they exist?
yeksoon
28-Aug-2009
[3114]
wonder if it is a permission issue on the index.php file
Gabriele
28-Aug-2009
[3115]
I'm ready to bet it was a deki wiki or php vulnerability rather than 
an apache one...
Graham
28-Aug-2009
[3116x3]
php I bet
now to figure how to backup the mysql files and transfer them to 
a backup of the vm
Looks like I was not the only vm user who was attacked.  Mindtouch 
are investigating.  They suspect a PHP5 vulnerability that I guess 
I should have updated :(
Graham
29-Aug-2009
[3119x2]
the vulnerability has been identified.  There is a vulnerability 
in the rich text editor which allow a user to upload a php file as 
an image type and then browse to it executing it.  http://xinha.webfactional.com/ticket/1363
 So, not really a php exploit ...
I would have thought that this was pretty basic stuff ... not allowing 
non image types to be uploaded!
MaxV
2-Sep-2009
[3121x4]
Hello everybody, does DRAW works with Linux?
I wrote a software with DRAW with 2 arrow and 2 text (Cartesian axes), 
in windows works, in Linux appear just the vertical row and notihng 
else...
Example:
stats:  [ 
	'arrow 1x0
	'line  10x390  10x10	
	'text 100x10 "EURO"
	'line  10x390  420x390
	'text 350x350 "Days"
	'pen blue
	'line 420x390 420x10
	'text 370x10 "Cash"
	'pen white
	'arrow 0x0
	'line  5x370 15x370
	'line  5x350 15x350
	'line  5x330 15x330
	'line  5x310 15x310
	'line  5x290 15x290
	]
view layout [ box 400x500 effect [draw stats]]
Henrik
2-Sep-2009
[3125]
there could be font problems with DRAW under other platforms than 
Windows.
MaxV
2-Sep-2009
[3126]
So if I change font ,will it  work?
Graham
2-Sep-2009
[3127x2]
yes
you have to define the font path
MaxV
2-Sep-2009
[3129x2]
I think you are right, beacause after text Rebol do nothing
how I define Font and Fontpath, and how I can make that work in Windows 
and Linux?
Graham
2-Sep-2009
[3131]
this way ... http://www.compkarori.com/vanilla/display/AGG
MaxV
2-Sep-2009
[3132]
THANK YOU!!!!
Geomol
2-Sep-2009
[3133]
News to me. Is there a similar trick under OS X?
Graham
2-Sep-2009
[3134x2]
That's a pretty old post
I wasn't aware that agg fonts don't display in OSX .. but since it's 
also BSD based probably.
Geomol
2-Sep-2009
[3136]
I tried to change the agg script to point to a ttf font file under 
OS X. It doesn't display.
Pekr
2-Sep-2009
[3137x2]
I can ask Cyphre on ICQ ....
Sent request to him, but he's not online right now ...
Geomol
2-Sep-2009
[3139]
Thanks!
Pekr
2-Sep-2009
[3140x3]
Cyphre is not sure, if there is support for fonts in AGG under OS-X, 
he did it together with Carl, but long time ago ...
I am moving few domains of my friend to my server. However - he wants 
to access email, which means, I need to provide him with authenticated 
smtp. I have my old sendmail in simple mode - simply relying allowed 
from local 10* network, but not from the outside.


Has anyone succesfull configured sendmail, so that it would use authentication 
by username, password? My friend sent me following link, but I don't 
understand, what should I do :-) Hopefully I don't need to recompile 
sendmail :-)

http://www.sendmail.org/~ca/email/auth.html
I found out, that my Sendmail is probably compiled with SASL support:

[[root-:-linux] mail]# sendmail -d0.1 -bv root | grep SASL

                NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS
[[root-:-linux] mail]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

220 linux.pekr.dom ESMTP Sendmail 8.12.10/8.12.10; Wed, 2 Sep 2009 
15:37:31 +0200
ehlo localhost

250-linux.pekr.dom Hello localhost.localdomain [127.0.0.1], pleased 
to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5   <---- This means SASL is allowed
250-DELIVERBY
250 HELP

... now just how to further instruct sendmail to use it?
Graham
2-Sep-2009
[3143]
only allow the SSL ports to be used?
Pekr
2-Sep-2009
[3144x3]
I got it running thanks to some sane persons, not linux top gurus, 
who can't explain kind of anything to mortal man. Those ppl will 
always wonder, why linux is still not mainstream ...
http://www.jonfullmer.com/smtpauth/
Simply put - starting "saslauthd -a shadow" daemon, then uncommenting 
2-3 lines in sendmail.mc, restarting sendmail, and voila, it was 
done ...
Pekr
4-Sep-2009
[3147x2]
Thinking about providing my brother with some webmail option on my 
Linux server. In the past, I used simple Squirrel mail. Then I know 
some ppl do use Horde. Now my friend suggested me a Zimbra. Isn't 
Zimbra a little bit too much for just an occassional web option to 
pop3 account?
or would you move email out from your server to gmail? Does it allow 
you to host your domain?
Graham
4-Sep-2009
[3149]
Zimbra is overkill
Pekr
4-Sep-2009
[3150]
I thought so - more a groupware than a simple webmail interface to 
email, right? Most of us use Thunderbird anyway, so ...
Graham
4-Sep-2009
[3151]
squirrel is fine .
Oldes
11-Sep-2009
[3152]
What ftp server do you use?
Pekr
11-Sep-2009
[3153x2]
wsftpd
under windows FileZilla, xlightftpd ...
Oldes
12-Sep-2009
[3155]
you mean vsftpd?
Pekr
12-Sep-2009
[3156]
ah, probably yes ... but I use old fedora, dunno if new distros use 
it still, or if it got replaced by some better/different system ...
Janko
27-Sep-2009
[3157x6]
does anyone have any idea why is this happening to me.. I setup iptables 
firewall and now my rebol send method (to SMTP on some completely 
other server) doesn't work any more..
setup file is like this: 
#!/bin/bash
#
# iptables example configuration script 
#
# Let's not lock ourselves out of the server
#
 iptables -P INPUT ACCEPT
#
# Flush all current rules from iptables
#
 iptables -F
#
# Allow SSH connections on tcp port 22

# This is essential when working on remote servers via SSH to prevent 
locking yourself out of the system
#
 iptables -A INPUT -p tcp --dport 22 -j ACCEPT
#
# Allow HTTP connections on tcp port 80
#
 iptables -A INPUT -p tcp --dport 80 -j ACCEPT
 iptables -A INPUT -p tcp --dport 443 -j ACCEPT
#
# Set default policies for INPUT, FORWARD and OUTPUT chains
#
 iptables -P INPUT DROP
 iptables -P FORWARD DROP
 iptables -P OUTPUT ACCEPT
#
# Set access for localhost
#
 iptables -A INPUT -i lo -j ACCEPT
#
# Accept packets belonging to established and related connections
#
 iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
#
# Save settings
#
 /sbin/service iptables save
#
# List rules
#
 iptables -L -v
it doesn't work unless I put input on ACCEPT again (  iptables -P 
INPUT DROP )
does the sending of email through external smtp require that the 
server also accepts some connection? Could it be that the delay with 
iptables is too long somehow .. I notice that ssh login works visibly 
slower when setup
what is additionally strange is that on the other VPS where I have 
the same iptables setup this works
sending email works