Page 19 of 19 FirstFirst ... 9171819
Results 181 to 186 of 186

Thread: Itrepid~snort error in terminal !

  1. #181
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Itrepid~snort error in terminal !

    Ah, so your ip address is in fact changing rapidly.

    Try the variable as suggested i nth econfig file :

    use global variable $<interfacename>_ADDRESS which will be always
    # initialized to IP address and netmask of the network interface which you run
    # snort at.
    so
    Code:
    var HOME_NET $<interfacename>_ADDRESS
    I am not sure if you need to change $<interfacename> to eth0 or not, you will have to try and watch snort for errors as you start it manually.

    Code:
    /usr/local/bin/snort -c /etc/snort/snort.conf -u snort -g snort
    YOU NEED TO START SNORT AS ROOT, so either sudo -i then enter that command.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  2. #182
    Join Date
    Feb 2008
    Beans
    821

    Re: Itrepid~snort error in terminal !

    Quote Originally Posted by bodhi.zazen View Post
    ;

    Code:
    output database: log, mysql, user=mysql_user_name password=psswed dbname=snortme host=localhost
    # output database: alert, postgresql, user=snort dbname=snort
    ok, but do mean that i just left the "#" out? sorry that is a typo its in there =)

  3. #183
    Join Date
    Feb 2008
    Beans
    821

    Re: Itrepid~snort error in terminal !

    Quote Originally Posted by bodhi.zazen View Post
    Ah, so your ip address is in fact changing rapidly.

    Try the variable as suggested i nth econfig file :



    so
    Code:
    var HOME_NET $<interfacename>_ADDRESS
    I am not sure if you need to change $<interfacename> to eth0 or not, you will have to try and watch snort for errors as you start it manually.

    Code:
    /usr/local/bin/snort -c /etc/snort/snort.conf -u snort -g snort
    YOU NEED TO START SNORT AS ROOT, so either sudo -i then enter that command.
    where would i find my interfacename? you mean the os?

  4. #184
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Itrepid~snort error in terminal !

    interface name is eth0 and is your network card and is listed with

    sudo ifconfig

    I would start with the syntax as in the config file :

    var HOME_NET $<interfacename>_ADDRESS
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #185
    Join Date
    Feb 2008
    Beans
    821

    Re: Itrepid~snort error in terminal !

    Quote Originally Posted by bodhi.zazen View Post
    interface name is eth0 and is your network card and is listed with

    sudo ifconfig

    I would start with the syntax as in the config file :

    var HOME_NET $<interfacename>_ADDRESS
    pardon? do i put this whole thing?
    Code:
    var HOME_NET $eth0      Link encap:Ethernet  HWaddr 00:0d:60:23:0d:13  
              inet addr:96.54.115.44  Bcast:96.54.115.255  Mask:255.255.252.0
              UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
              RX packets:17672779 errors:0 dropped:0 overruns:0 frame:0
              TX packets:17404351 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1514096023 (1.5 GB)  TX bytes:2005261126 (2.0 GB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:45 errors:0 dropped:0 overruns:0 frame:0
              TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:3232 (3.2 KB)  TX bytes:3232 (3.2 KB)_ADDRESS

  6. #186
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Itrepid~snort error in terminal !

    no

    In the snort confing file you need to define the variable for HOME_NET

    so use

    Code:
    var HOME_NET $<interfacename>_ADDRESS
    work for word, as is , in the appropriate place in the config file.

    You also really need to start snort manually to see the error message.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

Page 19 of 19 FirstFirst ... 9171819

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •