[9fans] dns failure in smtp

2008-08-24 Thread Kenji Arisawa
); if(debug) fprint(2, dns: %s\n, buf); if(strstr(buf, dns failure)){ /* if dns fails for the mx lookup, we have to stop */ close(fd); return -1; } } else { Kenji

[9fans] test command

2008-09-10 Thread Kenji Arisawa
Hello, test command of plan 9 has a operator older, the usage is: test f -older t where f is a file and t is a time. however the command does not have newer operator. why? Kenji Arisawa

Re: [9fans] test command

2008-09-11 Thread Kenji Arisawa
Hello, On 2008/09/11, at 11:38, Russ Cox wrote: there are certainly better ways to do this, but this works: as does /bin/mtime. I didn't know this command. thanks russ and erik. Kenji Arisawa

[9fans] broken smtpd

2008-11-05 Thread Kenji Arisawa
char *ctim, *p; 39 va_list arg; 40 int n; 41 Dir *d; 42 char err[ERRMAX]; 43 44 err[0] = '\0'; 45 errstr(err, sizeof err); 46 lock(sl); 47 ... Is this phenomenon specific to me? Kenji Arisawa

Re: [9fans] broken smtpd

2008-11-17 Thread Kenji Arisawa
to fix the problem. Kenji Arisawa On 2008/11/06, at 21:59, erik quanstrom wrote: Is this phenomenon specific to me? No, it isn't: term% ps|grep Broken none9172:08 42:50 264K Broken smtpd impressive! i don't see this problem, but i have implemented some fairly agressive

Re: [9fans] broken smtpd

2008-11-18 Thread Kenji Arisawa
=0x7463 ar Nov 19 02:23:08 note: sys: trap: fault read addr=0x4 pc=0x7463 Kenji Arisawa On 2008/11/17, at 21:51, erik quanstrom wrote: d'oh! the return value from catchalarm looks reversed. from notify(2) [...] A handler must return a non-zero number if the note

Re: [9fans] (no subject)

2008-11-21 Thread Kenji Arisawa
Hello, If such an attack continues for some minutes and the server does not reject the connections the server will create thousands of smtpd processes and might be hung up. Kenji Arisawa On 2008/11/22, at 3:28, erik quanstrom wrote: Subjet: email attacks since our friends in sweeden

Re: [9fans] dealing with spam

2009-01-08 Thread Kenji Arisawa
Hello, I am using this one: http://plan9.aichi-u.ac.jp/spamfilter/ which is working quite comfortably for me. Kenji Arisawa On 2009/01/09, at 5:49, erik quanstrom wrote: I am using the standard smtpd with -D and the greylisting, and also a modified validateserder which probably qualifies

Re: [9fans] Sources Gone?

2009-01-27 Thread Kenji Arisawa
. The laxness makes replica very slow. If replica is to be improved I hope replica looks owner/group information of files in updating. If these information is different from official one, then the file should be regarded as having modified by users. Kenji Arisawa On 2009/01/28, at 8:32, Russ Cox

[9fans] Pegasus 2.6 is released

2009-01-31 Thread Kenji Arisawa
Hello, Pegasus 2.6 is released with new WebDAV script written in Lua. Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more details. Enjoy Kenji Arisawa

Re: [9fans] Pegasus 2.6 is released

2009-01-31 Thread Kenji Arisawa
Sorry, http://plan9.aichi-u.ac.jp/pegasus/eman-2.6/ Kenji Arisawa On 2009/02/01, at 13:41, lu...@proxima.alt.za wrote: Pegasus 2.6 is released with new WebDAV script written in Lua. Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more details. We need a little bit more than

[9fans] tlssrv and tlsclient

2009-02-20 Thread Kenji Arisawa
sys 199254 May 10 2008 /bin/tlsclient --rwxrwxr-x M 9 sys sys 199634 Jun 27 2008 /bin/tlssrv term% Kenji Arisawa

[9fans] proxy server

2009-02-20 Thread Kenji Arisawa
difficult. Kenji Arisawa

Re: [9fans] Realtek 8111C

2009-03-12 Thread Kenji Arisawa
Hello, I tried 8111C on GIGABYTE GA-G31M-S2L, but the controller did not work for me. I don't know if recent driver works. Additional information welcome. Kenji Arisawa On 2009/03/13, at 5:27, Tharaneedharan Vilwanathan wrote: hi erik, thanks for the quick response. regards dharani On Thu

[9fans] validateaddress

2009-08-10 Thread Kenji Arisawa
num=0x36333231 bootstrap=0x2 i=0x1 _main+0x31 /sys/src/libc/386/main9.s:16 acid: Kenji Arisawa

Re: [9fans] validateaddress

2009-08-10 Thread Kenji Arisawa
Thanks Erik. However I don't know how to truss running process. Kenji Arisawa On 2009/08/11, at 2:13, erik quanstrom wrote: would be interesting to see *(0x16548\s). have you tried truss(1)ing that process? - erik

Re: [9fans] validateaddress

2009-08-10 Thread Kenji Arisawa
1236297 bootes 20563280:00 0:00 1472K Stopwait acid -l /sys/lib/ acid/truss 1236297 bootes 20563290:00 0:00 188K Preadps -a where ACID does chmod 660 /proc/1236297/mem acid -l /sys/lib/acid/truss 1236297 Thanks Kenji Arisawa On 2009/08/11, at 13:07

Re: [9fans] validateaddress

2009-08-12 Thread Kenji Arisawa
(klook) acid: cont(); stdin:5: (error) msg: pid=1236297 startstop: interrupted acid: bpdel(klook) Kenji Arisawa On 2009/08/12, at 0:27, Russ Cox wrote: acid pid bpset(strcmp) loop 1,20 do { cont(); print(strcmp ', *(*strcmp:s1\s), ' ', *(*strcmp:s2\s), '\n); } bpdel(strcmp) also bpset(klook

Re: [9fans] validateaddress

2009-08-12 Thread Kenji Arisawa
mem(*(kw+25*4), 16X) // dumps entry for 'in' ? Kenji Arisawa On 2009/08/12, at 23:59, Russ Cox wrote: so strcmp is being called a lot but klook isn't. that means that klook is looping inside, which basically means the p-next pointer is pointing at itself. final script: kw mem(kw, 30X

[9fans] entire cache is busy, 999 dirty

2010-01-30 Thread Kenji Arisawa
part swap 115434108 117532164 part bloom 117532164 117597700 part vac 152100272 152100273 part fs 152100273 160826715 hera% # don't mined vac, that is my own use. Kenji Arisawa

Re: [9fans] entire cache is busy, 999 dirty

2010-01-31 Thread Kenji Arisawa
Hello erik, are you running the latest version of fossil? probably not. I will refresh my file server. Thanks Kenji Arisawa On 2010/02/01, at 2:22, erik quanstrom wrote: My question is: (a) where these messages come from? venti? fossil. (cache.c) (b) what is the problem? (c

[9fans] checkarenas

2010-09-16 Thread Kenji Arisawa
/checkarenas -v file consults only the given file. Kenji Arisawa

Re: [9fans] checkarenas

2010-09-17 Thread Kenji Arisawa
was older then that of io. sorry for the fuss. Kenji Arisawa

[9fans] acme

2010-11-27 Thread Kenji Arisawa
Hello 9fans, After recent update, acme does not run normally. When I execute acme command in a rio window then the window falls into blank with an error message something like qunlock ... Anyone experience similar phenomena? Kenji Arisawa

Re: [9fans] acme

2010-11-28 Thread Kenji Arisawa
Thanks Ron, Reboot dissolved the problem. The acme problem was happened both on my file server and the terminal. They had been running since the middle of this August. Kenji Arisawa On 2010/11/28, at 3:12, ron minnich wrote: On Sat, Nov 27, 2010 at 4:39 AM, Kenji Arisawa aris...@ar.aichi

Re: [9fans] dns

2012-08-21 Thread Kenji Arisawa
(my program). don't mind reboot } } ar% Kenji Arisawa On 2012/08/21, at 14:08, Jeff Sickel wrote: As in using: Apr 12 22:46:05 CDT 2012 /n/sourcesdump/2012/0501/plan9/386/bin/ndb/dns 310819 [jmk] Oct 14 13:32:38 CDT 2011 /n/sourcesdump/2012/0412/plan9/386/bin/ndb/dns 310519

Re: [9fans] dns

2012-08-22 Thread Kenji Arisawa
); unlock(dnlock); return nd; returned value may be Maxdest. This code is in function serveraddrs(), and the function must return index. (must not be Maxdest) Kenji Arisawa

Re: [9fans] dns

2012-08-24 Thread Kenji Arisawa
mf=0xbac50 main(argv=0xdfffefb0,argc=0x0)+0x32c /sys/src/cmd/ndb/dns.c:267 ext=0x0 _argc=0x72 _args=0xdfffefc7 servefile=0x642f7323 dir=0x0 kid=0x0 _main+0x31 /sys/src/libc/386/main9.s:16 acid: echo kill /proc/41356/ctl ar% Kenji Arisawa

Re: [9fans] dns

2012-08-25 Thread Kenji Arisawa
Hello cinap, broken dns triggers Fauth problem, so I have rebooted. I will get snapshot at next crash. Kenji Arisawa On 2012/08/25, at 19:54, cinap_len...@gmx.de wrote: always make a process snapshot as the kernel might discard your broken process once it runs low on memory so you have

[9fans] pjpeg in /sys/lib/memetype

2014-11-14 Thread Kenji Arisawa
thought that the file provides conventional way to determine mime type from file suffix. If so, what is the mime time for foo.jpg? Kenji Arisawa