Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/storage



Module Name:    othersrc
Committed By:   agc
Date:           Wed Jan 25 21:37:09 UTC 2006

Modified Files:
        othersrc/storage/dist/iscsi/include: config.h.in target.h
        othersrc/storage/dist/iscsi/src: configure configure.ac iscsi-target.c
            target.c
        othersrc/storage/iscsi/include: config.h

Log Message:
Now that the iscsi-target is using daemon(3) to detach from the controlling
tty, use syslog(3) to log Discovery and Normal logins and logouts.

Add autoconf tests for <syslog.h> and daemon(3).

Only use functionality where appropriate.

Re-generate configure script and input header file, and copy the generated
config header into the reachover tree.

Produces messages of the form:

Jan 25 21:27:51 sys3 iscsi-target: > Discovery login from 
iqn.1993-03.org.NetBSD.iscsi-initiator:agc on 127.0.0.1
Jan 25 21:27:51 sys3 iscsi-target: < Discovery logout from 
iqn.1993-03.org.NetBSD.iscsi-initiator:agc on 127.0.0.1
Jan 25 21:27:51 sys3 iscsi-target: > Normal login from 
iqn.1993-03.org.NetBSD.iscsi-initiator:agc on 127.0.0.1
Jan 25 21:27:55 sys3 iscsi-target: < Normal logout from 
iqn.1993-03.org.NetBSD.iscsi-initiator:agc on 127.0.0.1

from the NetBSD iSCSI target test harness, and

Jan 25 21:34:20 sys3 iscsi-target: > Discovery login from 
iqn.1991-05.com.microsoft:inspiron on 10.4.1.5
Jan 25 21:34:20 sys3 iscsi-target: < Discovery logout from 
iqn.1991-05.com.microsoft:inspiron on 10.4.1.5
Jan 25 21:34:28 sys3 iscsi-target: > Normal login from 
iqn.1991-05.com.microsoft:inspiron on 10.4.1.5
Jan 25 21:34:43 sys3 iscsi-target: < Normal logout from 
iqn.1991-05.com.microsoft:inspiron on 10.4.1.5

from the Microsoft 1.06 initiator.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 othersrc/storage/dist/iscsi/include/config.h.in
cvs rdiff -r1.3 -r1.4 othersrc/storage/dist/iscsi/include/target.h
cvs rdiff -r1.1.1.1 -r1.2 othersrc/storage/dist/iscsi/src/configure \
    othersrc/storage/dist/iscsi/src/configure.ac
cvs rdiff -r1.9 -r1.10 othersrc/storage/dist/iscsi/src/iscsi-target.c
cvs rdiff -r1.6 -r1.7 othersrc/storage/dist/iscsi/src/target.c
cvs rdiff -r1.1 -r1.2 othersrc/storage/iscsi/include/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index