[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to write packets on ethernet card..

Stalin Thangaraj

3/11/2009 10:48:00 AM

Hi all,
I want to write raw packets over the Ethernet card. I don't
how to do it in ruby. If anybody knows help me..
--
Posted via http://www.ruby-....

9 Answers

Gregory Brown

3/11/2009 11:59:00 AM

0

On Wed, Mar 11, 2009 at 6:48 AM, Stalin Thangaraj
<stalin@bksystems.co.in> wrote:
> Hi all,
> =A0 =A0 =A0 =A0 =A0I want to write raw packets over the Ethernet card. I =
don't
> how to do it in ruby. If anybody knows help me..

http://tinyurl....

When you have more specific questions, and have researched this a
little and can show what you have tried so far, post back and I'm sure
folks will help you.

-greg


--=20
Technical Blaag at: http://blog.majesticseacr...
Non-tech stuff at: http://metametta.bl...
"Ruby Best Practices" Book now in O'Reilly Roughcuts:
http://rubybestpra...

Brian Candler

3/11/2009 12:23:00 PM

0

Stalin Thangaraj wrote:
> I want to write raw packets over the Ethernet card. I don't
> how to do it in ruby. If anybody knows help me..

First find out how to do it in C using the Unix sockets API. Suggested
resource is "Unix Network Programming volume 1" by Richard Stevens, pub
Addison Wesley. Or you can find existing code which sends raw packets
and reverse-engineer that. Ask questions on a kernel/networking mailing
list if you have problems.

Once you know this, you can translate easily to Ruby, since ruby's
Socket is a thin layer on top of this.

Google "ruby socket" and the first hit is the socket documentation. Also
look in the sockets documentation at
http://www.ruby-doc.org/books/Progr... (click on "Network and Web
Libraries")
--
Posted via http://www.ruby-....

Eleanor McHugh

3/12/2009 1:18:00 AM

0

On 11 Mar 2009, at 12:23, Brian Candler wrote:
> Stalin Thangaraj wrote:
>> I want to write raw packets over the Ethernet card. I don't
>> how to do it in ruby. If anybody knows help me..
>
> First find out how to do it in C using the Unix sockets API. Suggested
> resource is "Unix Network Programming volume 1" by Richard Stevens,
> pub
> Addison Wesley. Or you can find existing code which sends raw packets
> and reverse-engineer that. Ask questions on a kernel/networking
> mailing
> list if you have problems.
>
> Once you know this, you can translate easily to Ruby, since ruby's
> Socket is a thin layer on top of this.
>
> Google "ruby socket" and the first hit is the socket documentation.
> Also
> look in the sockets documentation at
> http://www.ruby-doc.org/books/Progr... (click on "Network and
> Web
> Libraries")

Follow the link in my sig and you'll find some presentations bursting
with code for UDP and TCP network comms. These aren't raw packets in
the fullest sense of the term but depending on your intent they may
suffice.


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-...
----
raise ArgumentError unless @reality.responds_to? :reason



gitmomike

2/7/2011 3:41:00 PM

0

On Feb 7, 10:43 am, "seymour.shabow" <seymour.sha...@gmail.com> wrote:
> gitmomike wrote:
> > Does the Bally Party Animal LD bar supposed to have rivets?
>
> No.  Should be a standard bally bar IIRC.
>
> -scott CARGPB#29

Did a little research, the flyer shows it with rivets, and a Dungeons
& Dragons also shows a lock down bar with rivets. So, I guess from the
factory they did. Thanks for the help.

seymour-shabow

2/7/2011 5:25:00 PM

0

gitmomike wrote:
> On Feb 7, 10:43 am, "seymour.shabow" <seymour.sha...@gmail.com> wrote:
>> gitmomike wrote:
>>> Does the Bally Party Animal LD bar supposed to have rivets?
>> No. Should be a standard bally bar IIRC.
>>
>> -scott CARGPB#29
>
> Did a little research, the flyer shows it with rivets, and a Dungeons
> & Dragons also shows a lock down bar with rivets. So, I guess from the
> factory they did. Thanks for the help.

Hmmmm that's odd but I stand corrected. I guess if it looks OK it's
alright.... you should be able to swap the normal ones in there though
AFAIK all the bally bar spacing is the same (or am I thinking of WMS)?

Del

2/7/2011 5:31:00 PM

0

On Feb 7, 12:25 pm, "seymour.shabow" <seymour.sha...@gmail.com> wrote:
> gitmomike wrote:
> > On Feb 7, 10:43 am, "seymour.shabow" <seymour.sha...@gmail.com> wrote:
> >> gitmomike wrote:
> >>> Does the Bally Party Animal LD bar supposed to have rivets?
> >> No.  Should be a standard bally bar IIRC.
>
> >> -scott CARGPB#29
>
> > Did a little research, the flyer shows it with rivets, and a Dungeons
> > & Dragons also shows a lock down bar with rivets. So, I guess from the
> > factory they did. Thanks for the help.
>
> Hmmmm that's odd but I stand corrected.  I guess if it looks OK it's
> alright.... you should be able to swap the normal ones in there though
> AFAIK all the bally bar spacing is the same (or am I thinking of WMS)?

If anyone needs a nice lock-bar from a 6803 game, I have a spare .

Pin-Del,
cargpb28

Gott Lieb?

2/7/2011 5:39:00 PM

0

A "standard" classic Bally lockdown bar is interchangeable with the
Bally "6803" lockdown bars. Personally, I would use the classic bar,
because the 6803s are made with inferior stainless. They wear (and
rust) as badly as the crap siderails GTB used on the later Sys3s.

And something you may find interesting, Scott. A classic Stern bar
(Meteor era) will fit on a DE pin. I wonder why that is? :-)

Jim

On Feb 7, 12:25 pm, "seymour.shabow" <seymour.sha...@gmail.com> wrote:

> Hmmmm that's odd but I stand corrected.  I guess if it looks OK it's
> alright.... you should be able to swap the normal ones in there though
> AFAIK all the bally bar spacing is the same (or am I thinking of WMS)?

seymour-shabow

2/7/2011 6:05:00 PM

0

Gott Lieb? wrote:
> A "standard" classic Bally lockdown bar is interchangeable with the
> Bally "6803" lockdown bars. Personally, I would use the classic bar,
> because the 6803s are made with inferior stainless. They wear (and
> rust) as badly as the crap siderails GTB used on the later Sys3s.
>
> And something you may find interesting, Scott. A classic Stern bar
> (Meteor era) will fit on a DE pin. I wonder why that is? :-)
>

That's good to know if I ever make the mistake of buying another shallow
DE pin again. They're fun for a couple games..... but not long term.

-scott CARGPB#29

gitmomike

2/7/2011 6:13:00 PM

0

On Feb 7, 12:38 pm, "Gott Lieb?" <r...@papinball.com> wrote:
> A "standard" classic Bally lockdown bar is interchangeable with the
> Bally "6803" lockdown bars.  Personally, I would use the classic bar,
> because the 6803s are made with inferior stainless.  They wear (and
> rust) as badly as the crap siderails GTB used on the later Sys3s.

Mine is worn out where you rest your hands. Definatly part of the
Bally/Midway "cost savings" era.