Commit 28a8022e authored by Seblu's avatar Seblu
Browse files

utilisation de sll => correction du bug sur les connections

amelioration de sll avec ajout de getlocalhostname et getremotehostname
parent 09aa09d0
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
@@ -16,16 +16,22 @@

bin_PROGRAMS=	sld

sld_SOURCES=	src/sld.hh		\
		src/sld.cc		\
		src/options.hh		\
sld_SOURCES=	src/sld.cc		\
		src/options.cc		\
		src/daemon.hh		\
		src/daemon.cc		\
		src/log.hh		\
		src/log.cc		\
		src/error.hh		\
		src/error.cc
		src/sll/error.cc	\
		src/sll/connection.cc

noinst_HEADER=	src/sld.hh		\
		src/options.hh		\
		src/daemon.hh		\
		src/log.hh		\
		src/sll/slm.hh		\
		src/sll/error.hh	\
		src/sll/connection.hh	\
		src/sll/connection.hxx


CLEANFILES= *~ '\#*' .*.swp .*~

+2 −4
Original line number Diff line number Diff line
IMPROVMENTS:
faire les fonctions recv et flush de connection dans sll
remove static magic MAX_LINE_SIZE in sscanf
Print start date and stop date in log file
effacer les scripts avant de quitter
Ajout une fonction qui delete un script
ajouter la commande ping/pong
utiliser le gestionnaire d'option generique

BUG:
-
echo -e "EXIT\ntoto" |nc -p 18136 -l localhost
when server send data after exit, daemon segfault
-
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ AC_INIT([sld],[1.0],[contact@seblu.net],[sld])
AC_CONFIG_AUX_DIR([build])

# Auto Make init
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip subdir-objects])

# Check platform
AC_CANONICAL_HOST
@@ -68,6 +68,7 @@ AC_PROG_MAKE_SET

# Check for libs
AC_CHECK_LIB([ssl], [SSL_library_init],,[AC_MSG_ERROR([Library ssl not found!])])
AC_CHECK_LIB([pthread], [pthread_create],,[AC_MSG_ERROR([Library pthread not found!])])

# Set efence library
AS_IF([test "x$with_efence" = "xyes" ],
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@

# host login
# Default = see the result of hostname command
host=trinity
# host=raptor

# host password
# Default = none
+212 −204

File changed.

Preview size limit exceeded, changes collapsed.

Loading