World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Kaj 22-Sep-2008 [2291] | There's some voodoo in there that needs to match the guest configuration |
Robert 23-Sep-2008 [2292x2] | Yes, it's that same. Really strange. |
I might just make a new copy of the running VM ;-) | |
Graham 29-Sep-2008 [2294] | how copy a file from a samba server with a space in it ? |
Henrik 29-Sep-2008 [2295] | file\ with\ space ? |
Graham 29-Sep-2008 [2296] | tried that |
Henrik 29-Sep-2008 [2297] | interesting. Don't think I've seen that problem before with Samba |
Robert 29-Sep-2008 [2298] | How about using ' or " to suround the path? |
Pekr 1-Oct-2008 [2299] | Need an adice from Linux gurus. My webserver might get kind of hacked. It is hidden behind 5 firewall nodes, and only ports forwarded (= no public IP address there) are 110, 80, 25, 21. What actually is happening is, that I found around 20K spam emails in mail queue :-( I provide Squirrel Mail to few of my friends, but it is rather old version 1.4.3a. When I start sendmail service, I can see two processes started, sendmail, and sm-msp-queue, so I wonder if the second one is valid? It might be for sending mails from localhost? After some time, many of processes are started: root 5069 0.0 0.5 6836 2680 ? S 22:30 0:00 sendmail: accepting connections smmsp 5078 0.0 0.4 7144 2332 ? S 22:30 0:00 sendmail: Queue [runner-:-00]:10:00 for /var/spool/clientmqueue root 5194 0.0 0.6 7300 3412 ? S 22:58 0:00 sendmail: ./m91Kw05b005192 msa-mx6.hinet.net.: client greeting root 5199 0.0 0.6 7584 3504 ? S 22:58 0:00 sendmail: ./m91L1x5b005199 mx01.uchicago.edu.: client greeting root 5230 0.0 0.6 7292 3388 ? S 22:59 0:00 sendmail: ./m91KxO5b005213 relay2.peterlink.ru.: user open root 5239 0.0 0.7 7444 3764 ? S 23:00 0:00 sendmail: ./m91Kxd5b005220 148.240.4.32.: user open root 5261 0.1 0.6 7568 3300 ? S 23:01 0:00 sendmail: server 123-204-0-27.dynamic.seed.net.tw [123.204.0.27] (may be forged) cmd read root 5269 0.0 0.6 7568 3252 ? S 23:01 0:00 sendmail: server [61.110.143.2] cmd read root 5271 0.4 0.6 7568 3252 ? S 23:02 0:00 sendmail: server c-98-235-97-52.hsd1.nj.comcast.net [98.235.97.52] cmd read root 5272 0.0 0.6 7568 3240 ? S 23:02 0:00 sendmail: server dynamic-98-140-229-24.dsl.cavtel.net [98.140.229.24] cmd read root 5273 0.5 0.6 7292 3156 ? S 23:02 0:00 sendmail: server [222.162.139.49] cmd read root 5274 0.0 0.1 3336 796 pts/3 R 23:02 0:00 ps -aux Any clues where should I look to remove the hack? |
Dockimbel 1-Oct-2008 [2300] | Your 5 FW don't help if port 25 (SMTP) is open. Properly configure Sendmail to not relay spams (lot of online documentation about that) or drop it and use Postfix instead (see http://www.postfix.org/spam.html). I'm not a Linux guru, but we ran with enough issues with sendmail a few years ago in my company to know how bad it is. |
Pekr 1-Oct-2008 [2301x2] | I thought that after all those years, it should be stable :-) I am not on CBL listing, so those mails actually don't get send. I can see "relying denied" in the log, as I allow only localhost and our internal domain 10* for relay .... |
But I am scared a abit, as if Squirrel would be vulnerable, it sends mails from localhost, and then it would be really bad. Time to finally build new machine, install vmware ESXi, and some new distro upon that. | |
Robert 2-Oct-2008 [2303x2] | Take a look at ASSP. This one runs on port 25 and performs a lot of checks. And it drops the connection if traffic is identified as spam. |
I use Exim as SMTP agent. | |
Robert 3-Oct-2008 [2305x6] | Why does Command on Linux require the libX... libraries? |
And, is there a list of required libX... ? | |
SQLite: My version (shared library) on Linux fails as an "undefined symbol" error is reported: pthread_mutexattr_init How can this be? | |
Did I miss to link with something when compile SQLite? | |
Ok got it. It's necessary to link with -lpthread -ldl Whatever DL ist... | |
Next question: My dynamic library loads other dynamic libraries but can't find it. | |
Kaj 3-Oct-2008 [2311x3] | Just run ldd on the rebol executable to find out which libraries it needs |
LibDL is the dynamic (runtime) loader/linker | |
An executable needs it if it wants to load plug-ins | |
Graham 3-Oct-2008 [2314x3] | Just playing with Ubuntu JeOS. How does one download stuff without a GUI ? I tried wget and that isn't available. |
how come we can do sudo aptitude install REBOL ? | |
can't do ... | |
kcollins 3-Oct-2008 [2317] | Graham, did you try using apt-get to download stuff? |
Graham 3-Oct-2008 [2318] | Nope. |
Izkata 3-Oct-2008 [2319] | Rebol isn't in the Ubuntu repositories |
Graham 3-Oct-2008 [2320] | so what does one use in a server environment to download stuff? |
Izkata 3-Oct-2008 [2321x2] | wget <url> downloads files |
So I guess you could get it directly from rebol.net that way? | |
Graham 3-Oct-2008 [2323] | I tried wget ... and command not recognized. |
Izkata 3-Oct-2008 [2324] | Try an "apt-get install wget"? |
Graham 3-Oct-2008 [2325] | thanks .. that worked |
Graham 4-Oct-2008 [2326x2] | How does one launch a new shell from an existing ? bash shell |
oh ... just do this ./cheyenne & | |
Robert 4-Oct-2008 [2328] | Kaj, I know which libraries are necessary. But Rebol (or LibDL) can't find them even the libs are installed in /usr/local/lib |
Kaj 4-Oct-2008 [2329] | /usr/local/ is an odd place to have the X11 libraries. How were they installed there, and is that place in the library search paths? |
Robert 4-Oct-2008 [2330x8] | I'm not talking abot X11 libs. |
I'm talking about a dynamic lib I compiled myself that I use from Rebol. | |
This lib is linked against other dynamic libs (and GCC preferrs to use dynamic libs). And these other libs can't be found when I load my lib into Rebol. | |
I have switched to a static linking in which case it works. But I don't understand why the system can find dynamic libs in /usr/local/lib. Those other libs are selfcompiled ones as well. | |
On Windows I start my Rebol scripts with such a line: D:\rebol\sdk-2-7-5\tools\rebface.exe -s "D:\rebol\link\xpeers\users\privat\_incl.r" "%1" This is the default action for .R files. | |
How can I mimic such a behaviour on Linux (only command line no GUI)? I tried a shebang line but doesn't work. | |
Ok, the shebang line has to have a Linux LF only otherwise the CR gets appended to the next argument. | |
Which leads me to the next question: How do you handle Rebol scripts that are used on Windows and Linux regarding returns? Do you just use the LF or CRLF or CR (OSX)? | |
Henrik 4-Oct-2008 [2338] | by handling, do you mean running? because rebol on linux would not have any trouble running scripts written in windows notepad. |
Robert 4-Oct-2008 [2339x2] | Yes, that's what I mean. |
Ok, but the shebang can only be used if written in Unix style. | |
older newer | first last |