DevHeads.net

Postings by Sylvain Daubert

packetgen 2.1.2 released

packetgen 2.1.2 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS and IKE.

Changes:

### 2.1.2 / 2017-09-30

* remove support for ruby 2.1
* remove depency on net-proto gem

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/

packetgen 2.1.1 released

packetgen 2.1.1 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS and IKE.

Changes:

### 2.1.1 / 2017-08-31

* Remove dependency on pry: pgconsole will use it if installed, else use IRB
* Fix access to config in pgconsole

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscr

packetgen 2.1.0 released

packetgen 2.1.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, ARP, IP, IPv6, GRE, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS and IKE.

Changes:

### 2.1.0 / 2017-08-15

* Add support for GRE protocol.
* Types::Fields.define_field takes a new option +optional+ to make a
field optional in a header.
* Fix 2 bugs:
* Packet#to_f raised unconditionally.

packetgen 2.0.1 released

packetgen 2.0.1 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS and IKE.

Changes:

### 2.0.1 / 2017-08-13

* Fix 2 bugs:
* Trap-PDU (trapv1) was commented in choice (Header::SNMP::PDUs class).
* SetRequest-PDU was defined with 0 implicit tag, instead of 3.

Unsubscribe: <mailto:ruby-talk-re

packetgen 2.0.0 released

packetgen 2.0.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, SNMP, ESP, DNS and IKE.

Changes:

### 2.0.0 / 2017-08-11

* add Header::ASN1Base as a base class for ASN.1-defined protocols (new
dependency: rasn1 gem)
* add support for SNMP and IKE protocols
* remove deprecated Packet::Capture#initialize API
*

rasn1 0.3.1 released

rasn1 0.3.1 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <http://www.rubydoc.info/gems/rasn1>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

The RASN1::Model class is the entry point to create a parser/encoder.

Simple example:
From ASN1.

rasn1 0.3.0 released

rasn1 0.3.0 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <http://www.rubydoc.info/gems/rasn1>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

The RASN1::Model class is the entry point to create a parser/encoder.

Simple example:
From ASN1.

rasn1 0.2.0 released

rasn1 0.2.0 has been released.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <http://www.rubydoc.info/gems/rasn1>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

The RASN1::Model class is the entry point to create a parser/encoder.

Simple example:
From ASN1.

rasn1 0.1.0 released

rasn1 0.1.0 has been released. This is the first public release.

* home: <https://github.com/sdaubert/rasn1>
* bugs: <https://github.com/sdaubert/rasn1/issues>
* doc: <http://www.rubydoc.info/gems/rasn1>

RASN1 is a pure ruby ASN.1 library. RASN1 helps to create ASN.1 parsers
and encoders.

The RASN1::Model class is the entry point to create a parser/encoder.

Simple example:
From ASN1.

packetgen 1.4.3 released

packetgen 1.4.3 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.3 / 2017-06-04

* PacketGen::Packet.read can now read pcap files, in addition to PcapNG ones

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/opt

letscert 0.6.0 released

letscert 0.6.0 has been released.

* home: <https://github.com/sdaubert/letscert>
* bugs: <https://github.com/sdaubert/letscert/issues>
* doc: <http://www.rubydoc.info/gems/letscert>

Letscert provides a simple Let's Encrypt client in ruby.

Changes:

### 0.6.0 / 2017-06-03

* add support for ECDSA account keys

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

letscert 0.5.0 released

letscert 0.5.0 has been released.

* home: <https://github.com/sdaubert/letscert>
* bugs: <https://github.com/sdaubert/letscert/issues>
* doc: <http://www.rubydoc.info/gems/letscert>

Letscert provides a simple Let's Encrypt client in ruby.

Changes:

### 0.5.0 / 2017-04/18

* add support for ECDSA keys

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

packetgen 1.4.2 released

packetgen 1.4.2 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.2 / 2017-03-30

* add Types::Int#sz
* fix Types::Array#read to not grab all data in string but only bytes needed
* improve Types::Array:
** add .set_of to define type of objects handled by array
** add a default #re

packetgen 1.4.1 released

packetgen 1.4.1 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.1 / 2017-03-11

* PacketGen::Capture.new: iface argument is no more mandatory.

packetgen 1.4.0 released

packetgen 1.4.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, Dot11, Dot1x, IP, IPv6, ARP, ICMP,
ICMPv6, UDP, TCP, ESP and DNS.

Changes:

### 1.4.0 / 2017-02-17

* add IEEE 802.11 (Wi-Fi) header support, as PacketGen::Header::Dot11 class,
* add IEEE 802.1x header support, as PacketGen::Header::Dot1x class,
* add Ethernet VLAN tagging/QoS (IEEE 802.1Q, PacketG

packetgen 1.3.0 released

packetgen 1.3.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets.

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP, ICMPv6, UDP, TCP,
ESP and DNS.

Changes:

### 1.3.0 / 2017-01-27

* add DNS header support,
* PCapNG file reading improvement: now take care of link type given in
Interface Description Block to parse packet,
* big internal changes:
* remove StructFu module
* use new types in

Add or remove members from a Struct class

Hi,

I have a class defines from a Struct:
class A < Struct.new(:a, :b, :c)
end

I have a second class:
class B < A
end

Is there a way to remove a member (say c) from A in B?
Or is there a way to do the inverse (declare B with 2 members, and make
A be a subclass of B with a new third member) ?

Regards,

Sylvain

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

<DKIM> [ANN] packetgen 1.2.0 released

packetgen 1.2.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP, ICMPv6, UDP, TCP and
ESP.

# Create packets:
pkt = PacketGen.gen('Eth').add('IP')
pkt = PacketGen.gen('IP', src: '192.168.1.2', dst:
'192.168.1.3').add('UDP', dport: 53, sport: 45657)

# Manipulate packets:
pkt.is?

Try to use openssl gem with ruby 2.3

Hi,

I am trying to use openssl gem 2.0.2 with ruby 2.3.

My Gemfile contains:
```
gem 'openssl', '~> 2.0'

```

But when I run my app, OpenSSL::VERSION is still 1.1.0

Any idea?

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>

packetgen 1.1.0 released

packetgen 1.1.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP, ICMPv6, UDP and TCP.

# Create packets:
pkt = PacketGen.gen('Eth').add('IP')
pkt = PacketGen.gen('IP', src: '192.168.1.2', dst:
'192.168.1.3').add('UDP', dport: 53, sport: 45657)

# Manipulate packets:
pkt.is?

packetgen 1.0.1 released

packetgen 1.0.1 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

Known protocols are: Ethernet, IP, IPv6, ARP, ICMP

packetgen 1.0.0 released

packetgen 1.0.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

# Create packets:
pkt = PacketGen.gen('Eth').add('

<DKIM> [ANN] packetgen 0.3.0 released

packetgen 0.3.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

# Create packets:
pkt = PacketGen.gen('Eth').add('

packetgen 0.2.0 released

packetgen 0.2.0 has been released.

* home: <https://github.com/sdaubert/packetgen>
* bugs: <https://github.com/sdaubert/packetgen/issues>
* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:
- make easy building of packets, not class-defined as PacketFu
- may handle tunneled packets
- will encapsulate and/or decapsulate packets (TODO)
- parse packets bottom-up, so correctly guess lower protocols
- send packets at IP/IPv6 layers

# Create packets:
pkt = PacketGen.gen('Eth').add('

packetgen initial release

packetgen 0.1.0 has been released.

* home: <https://github.com/sdaubert/packetgen>

* bugs: <https://github.com/sdaubert/packetgen/issues>

* doc: <http://www.rubydoc.info/gems/packetgen>

PacketGen provides simple ways to generate, send and capture network
packets easily.

Compared to PacketFu, PacketGen:

- make easy building of packets, not class-defined as PacketFu

- may handle tunneled packets

- will encapsulate and/or decapsulate packets (TODO)

- parse packets bottom-up, so correctly guess lower protocols

- will send packets at IP/IPv6 layers (TODO, only Eth level for now)

Crea

Improve Regexp documentation

Issue #5709 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: ruby 1.9.3p0

Improve Regexp documentation:
* add a section to explain differences between =~ operator and #match
* in Options section, explain how use options with Regexp.new
* add a section about special global variables ($~ and so on)

Update documentation for Complex

Issue #5623 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:

Add documentation to Complex

Update documentation for BigDecimal

Issue #5622 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:

Adding documentation for BigDecimal::INFINITY, BigDecimal::Nan, BigDecimal#hash, BigDecimal#-@ and BigDecimal#+@

Add exception hierarchy in Exception class documentation.

Issue #5438 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2p290

[PATCH] * error.c: Add exception hierarchy in Exception class documentation.

Update documentation for PP

Issue #5430 has been reported by Sylvain Daubert.

Author: Sylvain Daubert
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version:
ruby -v: 1.9.2p290

Move documentation block in front of class definition.