- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- port scanner?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 07:37 AM
04-18-2003 07:37 AM
port scanner?
Sort of. ALL nslookup requests, and most DNS traffic is going to the new DNS server. However, The old DNS servers are still seeing traffic. I have been doing some packet sniffing and can see Standard queries happening on the OLD server. Gotta be that the old server is cached by some of the processes running. So the question is, How the heck can I find out which processes have the old DNS info cached. LSOF just doesn't seem to be fast enough ( the socket closes faster than the program can run ) Is there some sort of real-time LSOF program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 07:43 AM
04-18-2003 07:43 AM
Re: port scanner?
Can you just turn the old DNS server off and see what fails? I know that's not elegant, but I can't think of much else to try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 08:04 AM
04-18-2003 08:04 AM
Re: port scanner?
you must also think of time to live(TTL) of the queries which might have effect on stale caches.
I know that we now have control of TTL from bind8 which we lacked before.
I suggest reading DNS and BIND book
http://www.oreilly.com/catalog/dns4/toc.html
or the DNS-Howto that comes with Bind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 08:09 AM
04-18-2003 08:09 AM
Re: port scanner?
http://www.insecure.org/nmap/nmap_download.html
Or else you might also want to try "tcpdump" and "snoop"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 04:21 PM
04-18-2003 04:21 PM
Re: port scanner?
why not simply install "IPFilter/9000" on that *old* DNS server of yours, and have it log all traffic to port 53?
Both transport protocols, TCP *and* UDP, of course, as DNS clients use UDP, but other DNS servers use TCP for zone-transfers...
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 05:16 PM
04-18-2003 05:16 PM
Re: port scanner?
Ummmm...couple of obvious questions...
1) Do you know - for a fact - that ALL clients have the new as primary?
2) Have ALL clients rebooted since the new came in? Since we don't know just *what* type ALL the clients are - caching is certainly possible. But we all know that they wouldn't be HP. So lookup the the client hostnames on the sniffees.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 05:45 PM
04-18-2003 05:45 PM
Re: port scanner?
Use +|-r [t]
Where - = endless & + = stop at no lists. And t = delay in seconds. Set t=1 & let her rip..you're bound to hit it eventually.
So lsof -r 1 .... *ought* to catch it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 05:49 PM
04-18-2003 05:49 PM
Re: port scanner?
Can I ask a stupid question? Doesn't the sniffer tell you the originator of the packet? Wouldn't that be a big hint as to which machines are querying the old DNS server?
If everything is supposed to point to the new DNS server, try shutting down the old DNS server. You'll quickly find out which boxes were pointed to it.
Another stupid question. The new DNS server isn't pointing to the old one, is it?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:33 PM
04-18-2003 06:33 PM
Re: port scanner?
i agree with john . OLD DNS server information will not cached by local processes. But some resolvers support negative caching . ( Caching of non-existent replies ) which will not come in to picture in our case.
The real records are cached by other DNS servers or slave DNS servers . So if the clients querying the other DNS servers for records of your domain . Then those servers will return the OLD NS records of your domain from its cache ( memory ).
Idea to overcome this problem
Case 1:
You have slave servers:
Increment the serial number of the master DNS server when you make any change so that slave will update its zone .
Case 2:
you have other DNS servers:
Just restart the DNS service which will purge the cache and will force to look for fresh records
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 06:33 PM
04-18-2003 06:33 PM
Re: port scanner?
i agree with john . OLD DNS server information will not cached by local processes. But some resolvers support negative caching . ( Caching of non-existent replies ) which will not come in to picture in our case.
The real records are cached by other DNS servers or slave DNS servers . So if the clients querying the other DNS servers for records of your domain . Then those servers will return the OLD NS records of your domain from its cache ( memory ).
Idea to overcome this problem
Case 1:
You have slave servers:
Increment the serial number of the master DNS server when you make any change so that slave will update its zone .
Case 2:
you have other DNS servers:
Just restart the DNS service in all other DNS servers in your network, which will purge the cache and will force to look for fresh records
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2003 07:35 PM
04-18-2003 07:35 PM
Re: port scanner?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2003 07:45 AM
04-21-2003 07:45 AM
Re: port scanner?
I know that packets are being sent from a specific host to an Old DNS server. The only change I made, was to replace the old server's ip address with the new server in /etc/resolv.conf. I have confirmed this change many times now. an "nslookup" command tells you it will perform queries on the new server. The DNS servers in question are Windows. ( yeah i know, out of my control. )
Also, System has not been rebooted ( Downtime doesn't happen around here )
I *know* that the swagentd was one of the processes that "cached" the old DNS server, when i started swinstall, i got a flurry of packets to the old dns server. After i did an swagentd -r, they went to the new server.
So, I know that packets are coming from my UNIX client, but I still can't figure out what process is doing it. I will try some of the suggestions made here, including the lsof infinite loop. again, my trouble is, the socket closes so fast, lsof is not detecting it.
Somebody on-site suggested that glance might be of some help here. Are there any glance gurus in here?