Menu

#2 ehntserv daemon error

open
nobody
None
5
2003-11-06
2003-11-06
Anonymous
No

I am having a problem running the ehnt server. It
compiled but did come up with some errors listed
below. I followed the procedure listed in the README file
but am getting the following error after the server starts,

[root@galleries ehnt]# ./ehntserv -u 2055 -t 4444 -d
Before setsockopt, SO_RCVBUF is 65535
After setsockopt, SO_RCVBUF is 131070
bind Unix error: No such file or directory
[root@galleries ehnt]#

My linux system is the following,

Linux galleries.ab.ca 2.2.14-5.0 #1 Tue Mar 7 20:53:41
EST 2000 i586
unknown or a standard Redhat 6.2 setup.

the compile returned the following,

[john@galleries ehnt]$ make
gcc -c ehntserv.c -DLINUX -Wall -
DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb
gcc -Wall -DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb -o
ehntserv ehntserv.o
-lm -Wall -DLOCALSTATEDIR=\"/var/run/ehnt\" -g
gdb
gcc -c ehnt_client.c -DLINUX -Wall -
DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb
ehnt_client.c: In function `ehnt_client_processmessage':
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:209: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
ehnt_client.c:246: warning: `.' not followed by `*' or
digit in format
gcc -c ehnt_lookup.c -DLINUX -Wall -
DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb
gcc -c ehnt_display.c -DLINUX -Wall
-DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb
gcc -c ehnt_processflow.c -DLINUX -Wall
-DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb
gcc -c ehnt_main.c -DLINUX -Wall -
DLOCALSTATEDIR=\"/var/run/ehnt\" -ggdb
gcc -o ehnt ehnt_client.o ehnt_lookup.o ehnt_display.o
ehnt_processflow.o
ehnt_main.o -lm -Wall -DLOCALSTATEDIR=\"/var/r
un/ehnt\" -ggdb

thanks,
john@galleries.ab.ca

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have resolved the problems I was having. The server was
    trying to create a file in /var/run/ehnt and was not able to. I
    created the directory and ran it as root to resolve this. I also
    had to copy the asn.txt to that directory. So the tool is
    successfully running at this point.

    On your homepage screenshot you show the packets
    separated by inbound and outbound on the top and bottom
    halves of the screen. How can I make it display this way as
    my ehnt is grouping them all together.

    john@galleries.ab.ca

     
  • Nobody/Anonymous

    Logged In: NO

    I got this worked out as well. You need to specify a router
    and interface number and then it will show outbound and
    inboud traffic.

     
  • Nobody/Anonymous

    Logged In: NO

    I want to have this display as you show it on the website, but all i see now are massive amounts of flow data w/o any summary. How do I get this to display with inbound/outbound traffic?

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.