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

proper format for /etc/networks



whats the proper format for /etc/networks in
debian? i've never had to use this file before
but it looks like i do now in order to use
certain options with snort.

theres no manpage on it, i looked at the solaris
version of networks and tried to do the file that
way but it didn't seem to work.

network_name  192.168.50.0

from the solaris manpage:
     Network numbers may be specified  in  the  conventional  dot
     (`.')  notation  using  the  inet_network  routine  from the
     Internet address  manipulation  library,  inet(7P).  Network
     names may contain any printable character other than a field
     delimiter, NEWLINE, or comment character.
[..]
     The network database does not support subnet masks  in  gen-
     eral,  so getnetbyaddr(3N) cannot differentiate between net-
     works of 11.128.0.0/255.192.0.0 and 11.128.0.0/255.240.0.0.


nate





Reply to: