we have a tool called trace which takes a memory address as input and gives the function name corresponding to that as output.I have a file which has around 200 addresses, which needs to be given as input to this trace tool.I can start the tool in this way.There is another file called address.txt from which I need to feed these addresses to this tool.Manually it takes lot of time to give the addresses which are in other file one by one. I have idea about some basic awk one liners.
I'm encountering a strange problem. I need to open and forward all UDP and TCP ports related to VoIPtelephony (5000:32000) in the Suse 11.1 server that's acting as router/firewall in our setup. The ports must redirect to a Asterisk server in the local network. (This server has the IP adress 192.168.0.3)I've opened ports in Yast (Firewall>Ports>Advanced) and putted in some masquerading rulesirewall>Masquerading):0/0,192.168.0.3,tcp,5000:31000,5000:310000/0,192.168.0.3,udp,5000:31000,5000:31000when I do a nmap localhost I get:Starting Nmap 4.75 at 2010-01-08 16:52 CETInteresting ports on localhost (127.0.0.1):
Not shown: 991 closed ports PORT STATE SERVICE 21/tcp open ftp
I am looking for such a tool, very much like the one that is on Windows 7, where you can basically with one glance see how much of a volume is occupied (graphical bar) and that for all mounted volumes. I have been looking for this, but so far I have not found it.Also, important: that it is auto updated. So that it is not like a report that was generated and then does not change anymore, but a live thing
How can I find out list of multicast addresses and port in use?"netstat -ng" only gives list of multicast addresses that have been joined, it does not give port number.I have several hundred servers running application that listens to several multicast addresses on different ports. I want to write an audit script and get the list of multicast address and port numbers.
I'm on Fedora core 14 linux. and I'm online with the HSPDA modem. My modem is /dev/ttyUSB0 and when it's dialed it creates the interface /dev/ppp0 , My question is when I hit ifcofig it shows two IP addresses in the ppp0 interface.
[nature@localhost ~]$ ifconfig eth0 Link encap:Ethernet HWaddr 20:6A:8A:12:CF:53 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
when I get the routing table, the gateway is setten to the 10.64.64.64 and when I look my Ip address global I found it's 184.108.40.206.
naman@naman-laptop:~$ traceroute google.co.in google.co.in: Name or service not known Cannot handle "host" cmdline arg `google.co.in' on position 1 (argc 1)
Then I tracked the IP address of google.com on [URL] and tried
naman@naman-laptop:~$ traceroute 220.127.116.11 traceroute to 18.104.22.168 (22.214.171.124), 30 hops max, 40 byte packets connect: Network is unreachable
I have to use my college proxy server to connect to the Internet. When I traceroute to a host within the LAN there is no problem. What should I do to be able to traceroute to a host outside my local network?
I am a new learner. I need a simple scripts that compute the average ping time for hosts, and the average number of hosts that respond to pings during a traceroute. I have finished the ping part but I confused how to start the traceroute part
Code: #!/bin/bash #!/bin/sh txt=$* count=0; for host in $txt; do echo $host
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
If I traceroute to google, it hits my router and stops there. Generically, my Setup is this. AT&T Uverse residential gateway ---> wired to 54g router running tomato ---> wireless ethernet bridge to 54gl router running tomato in another room ---> wired to ubuntu and win7 box.
The ATT RG hands its external IP over the the 54g running tomato. the 54gl running tomato is a wireless ethernet bride in the den running the same with 2 machines wired to. The two machines are static IP to the first router, which does all DCHP, stuff like that. The Windows box is fine. The subnets are the same. What should I be looking at to figure this out? This is the only "network" issue I have come across.
what the difference between the commands tracert and traceroute is? I need to run tracert as superuser, while traceroute is no problem in user mode.
Also, it appers like tracert is showing nodes completely different from traceroute:
Code: sudo tracert google.nl traceroute to google.nl (126.96.36.199), 30 hops max, 60 byte packets 1 192.168.1.254 (192.168.1.254) 1.078 ms 1.699 ms * 2 * * *
Another thing.. Is it correct to assume that hop 5 and 7 above are loadbalanced nodes? How should I interpret this result, is the traceroute initiating it's path three times? Otherwise it'd be rather strange as to display other addresses in the same node..
Why linux traceroute uses UDP protocol, we have basic ICMP protocol which is used in MS-windows tracert.Any specific use of traceroute using with UDP,TCP than ICMP?Windows is displaying all HOPs address but linux printing *.*.*
As i've installed the new fedora update packets ,i've seemed to develope a strange networking problem .. Network description Fedora 15 with 3 LAN adaptors eth0 > LAN (IP address 192.168.0.254)eth1 > network connected to a pppoe conection eth2 > WAN to another provider. Ok so let's ignore eth2 because i've disable mangle(i was using trafic shifting on some ports). So now i'm using it as a simple NAT server .. so the problem is : >>my server is not responding to the traceroute command is it should .. the network works thou but this is what i get. C:UsersDUAL>tracert google.ro
As root I get the following result: ngssuse:~ # traceroute -nI 10.200.123.45
Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied. Is this a bug?
I've used linuxquestions.org from time to time, but never needed to register until now.An in-depth explanation of this issue is already described over here: [URL], so I will merely quote it again here - it seems nobody knows the solution over at Ubuntu's forums...:
Quote: I recently switched my home server from debian lenny to ubuntu maverick. I've managed to port all my configs and stuff and so far I'm very happy. There's one tiny thing that's griping me, that I never experienced before with debian's (older) packages/configuration... Here's the situation: My server dials up 2 pppoe (adsl) interfaces (different isp's) with split internet routes.
If I run a general traceroute to an internet IP, all the hops which are not routed via the same interface as the destination host/IP, will appear as "* * *" in the traceroute. This was never the case before and it would be preferred to see the IP's of all routers along the way regardless of whether they are routed... (I used to be able to see IP's like 10.0.0.x before through INTERNET traceroutes if they were hops along the way [IP's which would be unreachable if traced directly], and that's no longer the case) - isn't this kinda defeating the point of traceroute?
I'm trying to use traceroute to view hop count between my machine and a specified external host but no matter what I give to it, it provides me the same output:
What am I doing wrong? Should I be disabling DNS caching? Is there a property I haven't set correctly? Just a small FYI, but I dual boot this computer with Win7 and it's tracert works fine. UPDATE: I also ran the command from a different network and it worked fine. I'm assuming I need a port forward then?
I have my email on a separate partition so that my email doesn't get destroyed when I do new linux installs (I have emails from 5 years ago now). I also keep my sylpheed email addressbooks. This partition is writable by anybody and I have also made my user the owner of this partition during each linux install (media/email). When I set up sylpheed I tell it that my email is in /media/email and then it is able to write incoming messages to that location. The problem I am having is that I make symbolic links for my addressbooks from ~/.sylpheed* to /media/email using this:cd ~/.sylpheed*rm addrbook-000001.xmlln -s /media/email/addrbook-000001.xml addrbook-000001.xmlSylpheed finds my addressbook ok on my email partition but changes that symbolic link to a file on ~ when it writes new addresses. What am I doing wrong...I want it to write new addresses to my email partition?
In school, use SUSE Server and made it by DHCP but in my hand I changed many rules. All are OK at the start but now they requested that they who are principal, and vice principals are want to use the Internet without filtering.
So I've made new rules by using Webmin software to control the SUSE Server. 1st I've gave static IP from LAN x.x.x.40 to x.x.x.45. 2nd IP is x.x.x.12 to x.x.x.15.
At First, there's nothing happen but now I've got problems because Server gave DHCP so that Server gives IP itself and conflict with static IPs. And also I can't find in Webmin software how to disable the DHCP Assign.