Networking :: Query Regarding Libnetfilter_queue Usage?
Jan 7, 2010
I am writing an application using libnetfilter_queue that should perform the following function- Receives packets from NFQUEUE- Apply a decryption algorithm to packets- Issue an ACCEPT verdict for decrypted packetsThese packets are destined to another box behind the firewall running the above mentioned application.Based on Fig 14-1 from the link belowI intend on siphoning out network packets at the PREROUTING chain of the Mangle table by usingiptables -t mangle -A PREROUTING -i eth0 -p 1234 -j NFQUEUE1) I would like to know if the PREROUTING chain in the mangle table is an appropriate place to pick off the encrypted packets ?2) Once the ACCEPT verdict is issued will the modified packets resume processing along the PREROUTING chain of the mangle table ?3) Is there a well documented reference for API's that i will need to use while developing this application ?
View 1 Replies
ADVERTISEMENT
Feb 26, 2010
I need to modify packet using libnetfilter_queue in c language,I tried to do that but I'm not found a good document to understand this library , any one make a packet modify or caputre using libnetfilter_queue
View 1 Replies
View Related
Sep 25, 2010
I am trying to install windows wireless drivers using ndiswrapper to have better connectivity around my house(I can only currently get online in certain rooms, very restricted). I have ndiswrapper installed OK, but I am a bit lost on the step where I have to browse to my windows wireless driver(a .inf file I believe), my question is how do I know where this is? I can't seem to locate it at all. I'm running on windows vista.
View 6 Replies
View Related
Jun 16, 2010
I'm trying to setup a linux box to act as just a DNS server. Its something I'd like to use just for WAN type requests and leave other domain related things to the Server running WIndows.At this point on my Linux box, I can run queries and nslookups from it. I can not however, from a Windows box, run a NSLOOKUP command from the Linux box which is telling me to check the permissions from Linux to enable that for the clients. It's enabled.From a C: I type in nslookup - *ip of Linux box* and it tells me -- Can't find server name for address.
View 4 Replies
View Related
Jan 13, 2010
I am an 'experienced perpetual newbie' using Ubuntu 9.04. I know a little about quite a few things but nothing past intermediate knowledge so:I am trying to set up a simple LAN between 'rhino' (192.168.1.102) and 'polly-laptop' (192.168.1.101). My router address is 192.168.1.1
From polly-laptop:
sudo mount rhino:/home /media/rhinohome
polly-laptop can access rhino:/home fine.
[code]....
View 8 Replies
View Related
May 14, 2010
I recently turned on query logging on our name server and immediately saw repeated queries for . (dot). I've not seen this before. It looks like a really sloppy DOS. What would this return if my NS was misconfigured?
May 13 18:11:41.710 queries: info: client 91.202.63.129#56089: query: . IN NS
May 13 18:11:42.083 queries: info: client 91.202.63.129#62826: query: . IN NS
May 13 18:11:42.788 queries: info: client 91.202.63.129#13620: query: . IN NS
[code]....
View 2 Replies
View Related
Mar 15, 2010
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
View 14 Replies
View Related
Dec 10, 2010
I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:
Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on
[code]....
View 5 Replies
View Related
Nov 15, 2010
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
View 2 Replies
View Related
Jul 8, 2011
I have two pcs connected through wifi in p2p mode...I would like to see the cpu usage of the network. Could anyone help me with tools I may use for seeing cpu usage in this network.
View 3 Replies
View Related
Nov 13, 2009
I have installed oracle enterprise Linux in my desktop.It is the free download from Sergio's blog(in 6 CD)Now i need to work with the yum in oel5 for installing packages and also i need to install the necessary packages in my client another system both are in a network.
View 2 Replies
View Related
Sep 14, 2010
I need to get usage's bytes of a specific (src/dst)IP adress;can i use this
#iptables -L -n -v -x
with the other options that get only byte of the specific IP address?
View 4 Replies
View Related
May 23, 2009
recently my server become a little slow and lazy, so I started a small investigation what's going on and found out, that there is some problem with network.All processes which uses network are able to use 99% of CPU time when they got any requests. First time i thought it's only a bad configured Apache but after some research I found even FTP or SSH does it if they have to do something more (for example getting data to another server using rsync).So far I wasn't able to find a cause of this. No new software installed, only updated every few days. I have another server which have the same config, same software, same hardware and is updated in same days. But this one works without any problem. I think it's probably hardware (LAN) leaving me to it's creator. Is there some way how can I test if it's really LAN or just something bad happened to the system?
Also there is another issue - maximum speed dropped down to 20-30kB/s for both download or upload.It's Debian Lenny 2.6.22-6 if you need to know.
View 5 Replies
View Related
Jan 13, 2009
I am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?
View 3 Replies
View Related
Jun 30, 2010
I now have a 10 GB cap on my Internet and would like a meter to tell me how much I use in a month , my IP address changes if that matters gnome ,lucid lynx
View 2 Replies
View Related
Jul 6, 2011
Since this is my number 1 place for asking questions, I figured I would go here first. So I live in New Zealand where good internet doesn't exist yet, and I'm in a flat with 3 other people and we get 40gb a month which hasn't been lasting more than 2 weeks. It is somewhat of a mystery where all our data has gone, so I need a way to monitor usage. We use a variety of operating systems including linux, xp & windows 7 on my pc, and xbox 360. Is there any kind of integrated solution I can use to monitor everything with password protection so it can't be disabled? I have tried looking in the router, but it doesn't give me many statistics, and I think it combines lan with wan usage. At this stage I don't have the money to make a linux box to put between the router and the switch that can monitor everything, but if it comes to it, I will shell out for one.
View 3 Replies
View Related
May 8, 2009
I have a server rack that I lease out to others. I need a way to monitor each persons bandwidth usage. How can I do this without installing software on their machines or disrupting traffic flow? I have no access to the router, as it is owned by the colo company. I do have access to the switch and firewall, as well as my machines (linux) on the rack.
View 2 Replies
View Related
Jul 13, 2010
A small "mom and pop" WISP would like to provide account usage information to customers.Basically, when a person connecting to the WISP's web site is a customer with an IP address from within the WISP's subnets, a link would appear on the web page where customers could read total bandwidth usage (daily, weekly, monthly, and yearly totals and averages) and public IP address. Information could include the top five bandwidth URLs visited; graphs or charts of usage; and usage during specific periods, such as business hours (8AM-5PM), evening hours (5PM-10PM), night (10PM-8AM), and weekends (10PM Friday-8AM Monday).
The WISP has installed cricket (http://cricket.sourceforge.net) and rrdtool (http://oss.oetiker.ch/rrdtool). The next trick is to grab and format the data for customers.I'm not looking for answers like "look at xyz package." Helpful responses will include a rudimentary outline to solve the problem. That is, "xyz package" might indeed be what the WISP needs, but some guidance how to use xyz is needed to move down the road.I have no experience with this type of thing. I appreciate responses from people who are experienced.
View 2 Replies
View Related
Jul 12, 2010
I'm diagnosing why my application is slow and I found the problem by writing a simple TCP client/server, where each side sends/receives 64k at a time. The bottleneck is on the receiving end, which uses has a Realtek 8139 100Mbit/s NIC and running Windows 7. I'm able to get 11.9 MiB/s as expected, but the CPU usage is very high - 80% on 0th CPU and ~20% on 1st CPU. Task manager shows conhost.exe taking 25% CPU and 10% for my program.
When I try the same receiving program on Debian, I can still get 11.9 MiB/s, but the CPU usage is now only 1% (user & system). On the sending side, the CPU usage is practically 0% in both Windows 7 and Debian.
I tried changing the TCP receive/send buffer sizes and disabled internet connection sharing (does extra packet processing?) on the receiving end,
View 2 Replies
View Related
Jul 13, 2010
I was wondering how do you slap a packet analyzer like Wireshark somewhere between all the computers in a house and the router, so you can tell what websites are being accessed? I mean websites, specifically. I'm not trying to monitor bittorrent, IRC or other things yet - I'll get to that later. I just want to break this insanely complex task into smaller bites for now.Also, since my ISP has bandwidth caps but does not have a means for consumers to monitor total network usage, I'd like to figure out how to use Wireshark to do that as well. This, I am assuming, is easier when wireshark is running on the pipeline going into the router.
View 6 Replies
View Related
Oct 15, 2010
we have 2 mbps broadband link for our internet connection configured on redhat 9 linux which acts as a proxy server with static ip.i had done dmz for the 2 pc's and given access of the 2 pc's to our client.The client use the remote admin software installed on their pc and connects to our static ip and from the static ip the request goes to inside our lan pc's which is configured with diffrent port and ip address for the remote admin.basically my question is that when they connects our internet goes slow and when they are not connected the internet works fine so i want to know how much bandwidth they are using or what command to check the bandwidth of this connection?
View 3 Replies
View Related
Sep 21, 2009
How can I figure out what is using my bandwidth? (command line or otherwise).
View 3 Replies
View Related
Aug 6, 2010
I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":
Code:
[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092
[code]....
View 2 Replies
View Related
Aug 18, 2009
I'm on Comcast (insert vomit sound here) and they have a 250GB monthly limit. I don't think I'm remotely close to this on a normal month and want to figure out if I could perhaps squeak by with the 5GB limit imposed by Verizon's 3G wireless broadband.
I'm ideally looking for a quick easy-to-use GUI application, rather than something that's done via the command line.
I thought perhaps I could look in my Account and find a nice "You've used X percent of 250 GB thus far" window. Then I called, but Comcast couldn't tell me. They just borked me off to some Windoze application 3rd party which I'm supposed to install.
I run Skype and occasionally download Fedora iso images and so on. Rarely am I doing more than surfing the web, chatting, and sending emails. I doubt I'm even close to 250GBs but I'm guessing that 5GB will end up being problematic.
Are there any programs that will keep track of how much bandwidth I'm using? It'd be great to have an application that runs there in the taskbar and just shows a graph of how much I've used thus far.
View 2 Replies
View Related
Aug 27, 2011
What I want to do is to write a script that gathers some information (like cpu temperature and bandwidth usage) and logs it into a file. I can't figure out how to get a single sample of the current used bandwidth: I've found that there's plenty of tools to get this information from command line, but the majority of them are curses based, so I can't take their output to put it into a file. Among these I've found bmon, that has a nice ascii output. The problem is that this output is updated constantly, while what I want is a single "sample" per program call.
Is there a way to get this done with bmon or someone knows another program to accomplish this task?
View 3 Replies
View Related
Jan 28, 2010
I wish to setup my spare PC as a router. I was wondering what programs, in ubuntu, I can use to monitor and change settings concerning bandwidth usage. I want to throttle down a computer in my network so what program would be good for this?
View 1 Replies
View Related
Aug 31, 2010
Is there any tool similar to NetMonitor for Ubuntu, which can be used to monitor the data usage.
View 1 Replies
View Related
Jul 24, 2011
I'm using ubuntu 11.04 and have a DSL connection straight from my local telephone (landline) provider.I need a ubuntu app, preferably a daemon/service (that I can start up on boot) that, in essence, can simply log to a file, on a per session basis (with timestamps of course), the bandwidth I use (download + upload bytes).
I'm not interested in logging site info etc., just want raw data usage so at the end of the month I can run some summary reports on it.Basically I was to see if my ISP is cheating me or not (and in general to control myself on my HUGE ..... + ISO download habbits)..I need nothing fancy, even a basic command will do in which case i'll be happy to write my own basj script for that...
View 3 Replies
View Related
May 9, 2010
I have looked for and found several tools to show a system's total network usage. I have not, however, been able to find any that show this information in the context of individual processes. Do any such tools for linux exist?
View 4 Replies
View Related
May 10, 2009
Can you suggest bandwidth monitoring software for GUN/Linux that will log bandwidth based on usage/consumption.
Not options:
- slurm or any other "real time" bandwidth monitoring
- /sbin/ifconfig <interface> | grep "RX bytes" or the like
What do you use to monitor your monthly, daily, hourly bandwidth consumption (assuming that you do).
View 4 Replies
View Related