Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-23-2003, 11:31 PM
|
#1
|
LQ Newbie
Registered: Dec 2001
Posts: 15
Rep:
|
anybody know what these packets are ?
I see these packets in pairs . Clearly they are something to do with netbios
and it looks like the firewall is blocking them . What are they trying to do ?
thanx
>>> NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
TrnID=0x100
OpCode=0
NmFlags=0x1
Rcode=0
QueryCount=1
AnsweerCount=0
AuthorityCount=0
AddressRecCount=0
QuestionRecords:
Name=* NameType=0x00 (Workstation)
QuestionType=0x21
QuestionClass=0x1
(ttl 110, id28542, len 78)
0x0000 4500 004e 6f7e 0000 6e11 991e 4474 633d E..No~..n...Dtc=
0x0010 d827 c429 0403 0089 003a 77a2 0100 0010 .'.).....:w.....
0x0020 0001 0000 0000 0000 2043 4b41 4141 4141 .........CKAAAAA
0x0030 4141 4141 "here all the same " AAAAAAAAAAAAAA
0x0040 "all the same hex 4141 here too " AAAAAAAAA..!..
23:19:14.531313 HOST-xxx-xx-xx-xx.xxx.com >ts46-04-qdr1339.porch.wa.chart.com
: icmp: HOST-xxx-xx-xxx-xx.xxx.com udp port netbios-ns unreachable for ts-04-qdr1339
.porch.wa.charter.com.1027 > HOST-xxx-xx-xxx-xx.xxx.com.netbios-ns:
c
|
|
|
03-24-2003, 03:18 AM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
If you mean "pair", you probably mean a request and reply pair?
Could post a scrubbed (rip our your IP using Snort or Netdude) dump somewhere? Else could you post a proper ASCII-fied packet from the dump for both?
|
|
|
03-24-2003, 11:27 PM
|
#3
|
LQ Newbie
Registered: Dec 2001
Posts: 15
Original Poster
Rep:
|
I didn't think I was opening such a can of worms.... forget
the original question ...how can I scrub and/or ASCII-fied the packet dumps
that would be more important to learn .... thank you for your time
|
|
|
03-25-2003, 03:17 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
Well, that depends on what scrubbing it needs and your tools.
It's common for ppl to post packet dumps w/o their own network/whateverelse info, minimizing the risk of having more nosey ppl scanning your network, especially if you're dealing with (reporting) badly configured/vulnerable services.
If you have Snort, you can have it scrub a tcpdump for your $HOME_NET variable (option -B), which works well for streams, but if it's just one packet you're sending off you might as well scrub it using Netdude which can also fix the packet checksums.
To print a dump in ASCII, run it tru tcpdump (-r <dump>) and use -x -X to print a Hexadecimal *and* ASCII representation. If you don't want to wait for network/service translation add "-n -nn".
Of course you could as well do "tcpdump -r <infile> 'not icmp' | sed -e "s/11.22.33.44/my.network/g" > <outfile>".
Also note the "not icmp" between single quotes, that's called a BPF filter, with a syntax similar to how you would select following a TCP stream in Ethereal. It allows you to output only certain packets. read more in man tcpdump.
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|