09-05-2011
If you are running on a router, there are ways to log all packets, or to be called for every packet, but often if they do not have a logging feature, you need to install a firewall just to do the logging. Now, remotely, on telnet accessible hard coded routers, not so easy.
If you get a product for snooping the net, it turns your lan card to promiscuous and you see all traffic on the local lan segment/collision domain. If you are on a switch, bridged cd or smart hub, it may mask packets from you.
9 More Discussions You Might Find Interesting
1. IP Networking
i have two questions actually...
i need to block certain ports with openbsd and PF in a large lan, the firewall is supposed to be a router between the internet and the first lan switch.
first of all, would this work at all in theory?
second, i tried doing this a few days ago at a huge lan but i... (2 Replies)
Discussion started by: nocturnal
2 Replies
2. UNIX for Dummies Questions & Answers
What are my options for monitoring bandwidth on a per user basis? Ideally, I'd like something thats easy to configure (like a webmin module pleeeease?), and that could monitor ALL bandwidth. Not just web bandwidth but also ftp/afp uploading and downloading, and email traffic. I know this is a... (4 Replies)
Discussion started by: l008com
4 Replies
3. UNIX for Advanced & Expert Users
Is there a way to monitor FTP and AFP bandwidth on a per user basis? AFP = AppleFilesharingProtocol, and by monitor, I don't mean graphs, I mean getting raw byte counts I can use in my scripts any way I choose. I am attempting to use mod_watch to monitor virtual domain bandwidth usage, but I really... (0 Replies)
Discussion started by: l008com
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm looking for some way to bring up in a shell window a realtime (or something that updates at 10 second intervals or whatever) bandwidth monitor.
I just want something that shows me how much kbps is going in and how much is going out of each interface. Is there something that might... (2 Replies)
Discussion started by: d11wtq
2 Replies
5. UNIX for Advanced & Expert Users
Hi Gurus,
Need to have a way to monitor Bandwidth utilization on Linux servers, running squid .
Have worked on 3rd party monitoring tools like Bandwidth d, Nagios etc.
But we are working to find out a way to monitor this through Sitescope, for which we need to find a file where the... (4 Replies)
Discussion started by: Crazy_murli
4 Replies
6. IP Networking
Hi,
1-What is bandewidth ?
2-How to calculate ?
3-How to measure ? Any free software to measure it ?
Many thanks. (4 Replies)
Discussion started by: big123456
4 Replies
7. IP Networking
Hi all
I have been running iptraf on a linux box for a few months monitoring bandwidth utilization realtime from mac address with port mirroring.
Now I want to graph these bandwidth utilization. Is MRTG the right software?
Any ideas? (4 Replies)
Discussion started by: palm101
4 Replies
8. UNIX for Beginners Questions & Answers
Are there any existing python module for service monitoring? For example apache service? (1 Reply)
Discussion started by: ctrld
1 Replies
9. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT DEBIAN
python-config
PYTHON-CONFIG(1) General Commands Manual PYTHON-CONFIG(1)
NAME
python-config - output build options for python C/C++ extensions or embedding
SYNOPSIS
python-config [ --prefix ] [ --exec-prefix ] [ --includes ] [ --libs ] [ --cflags ] [ --ldflags ] [ --extension-suffix ] [ --configdir ] [
--help ]
DESCRIPTION
python-config helps compiling and linking programs, which embed the Python interpreter, or extension modules that can be loaded dynamically
(at run time) into the interpreter.
OPTIONS
--cflags
print the C compiler flags.
--ldflags
print the flags that should be passed to the linker.
--includes
similar to --cflags but only with -I options (path to python header files).
--libs similar to --ldflags but only with -l options (used libraries).
--prefix
prints the prefix (base directory) under which python can be found.
--exec-prefix
print the prefix used for executable program directories (such as bin, sbin, etc).
--extension-suffix
print suffix used for extension modules (including the _d modified for debug builds).
--configdir
prints the path to the configuration directory under which the Makefile, etc. can be found).
--help print the usage message.
EXAMPLES
To build the singe-file c program prog against the python library, use
gcc $(python-config --cflags --ldflags) progr.cpp -o progr.cpp
The same in a makefile:
CFLAGS+=$(shell python-config --cflags)
LDFLAGS+=$(shell python-config --ldflags)
all: progr
To build a dynamically loadable python module, use
gcc $(python-config --cflags --ldflags) -shared -fPIC progr.cpp -o progr.so
SEE ALSO
python (1)
http://docs.python.org/extending/extending.html
/usr/share/doc/python/faq/extending.html
AUTHORS
This manual page was written by Johann Felix Soden <johfel@gmx.de> for the Debian project (and may be used by others).
November 27, 2011 PYTHON-CONFIG(1)