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

RE: Using ipfw



On Monday, February 19, 1996 9:25 AM, eckes[SMTP:ecki@lina.inka.de] wrote:
>
>You can send me or Peter Tobias the output of "strace ipfw -n l f". Which
>Kernel are u using?
>

The output is:

uselib("/lib/ld.so")                    = 0
getuid()                                = 0
geteuid()                               = 0
getgid()                                = 0
getegid()                               = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=593, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
mmap(0, 593, PROT_READ, MAP_SHARED, 3, 0) = 0x50000000
close(3)                                = 0
uselib("/lib/libc.so.4.6.27")           = 0
munmap(0x50000000, 593)                 = 0
munmap(0x62f00000, 20480)               = 0
brk(0)                                  = 0x7000
socket(PF_INET, SOCK_RAW, IPPROTO_??? (0xff)) = 3
brk(0xa000)                             = 0xa000
brk(0xb000)                             = 0xb000
open("/proc/net/ip_forward", O_RDONLY)  = 4
brk(0xc000)                             = 0xc000
fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
read(4, "IP firewall forward rules, defau"..., 1024) = 1024
read(4, " 24576 65172 49151 2\n00000000/0"..., 1024) = 1024
brk(0xd000)                             = 0xd000
read(4, "FFFF->CDF1CE40/FFFFFFC0 00000000"..., 1024) = 1024
brk(0xe000)                             = 0xe000
read(4, "0000 D 2 1          0          0"..., 1024) = 1024
read(4, "1 22968 0 65080 49151 39220 2457"..., 1024) = 294
brk(0xe000)                             = 0xe000
brk(0xf000)                             = 0xf000
read(4, "", 1024)                       = 0
close(4)                                = 0
brk(0x10000)                            = 0x10000
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 192), ...}) = 0
ioctl(1, TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(1, "Type\tProto        From         "..., 60Type  Proto        From 
                To             Ports
) = 60


If it helps, I am running the program from a telnet session.  The Debian 
box does not have a monitor or keyboard attached to it normally since its 
only use is to route packets and answer DNS querries.  I am running the 
standard kernal for R0.93 recompiled with firewalling and ip forwarding and 
the latest driver for the 3COM 3C509B network card (the one that Linux uses 
- found on a Linux WWW page).

Thank you for your time and attention.

Richard A. Guay
rag@asicint.com
http://www.asicint.com




Reply to: